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// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
164// with awserr.Error's Code and Message methods to get detailed information about
165// the error.
166//
167// See the AWS API reference guide for Amazon SageMaker Service's
168// API operation AddTags for usage and error information.
169// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AddTags
170func (c *SageMaker) AddTags(input *AddTagsInput) (*AddTagsOutput, error) {
171	req, out := c.AddTagsRequest(input)
172	return out, req.Send()
173}
174
175// AddTagsWithContext is the same as AddTags with the addition of
176// the ability to pass a context and additional request options.
177//
178// See AddTags for details on how to use this API operation.
179//
180// The context must be non-nil and will be used for request cancellation. If
181// the context is nil a panic will occur. In the future the SDK may create
182// sub-contexts for http.Requests. See https://golang.org/pkg/context/
183// for more information on using Contexts.
184func (c *SageMaker) AddTagsWithContext(ctx aws.Context, input *AddTagsInput, opts ...request.Option) (*AddTagsOutput, error) {
185	req, out := c.AddTagsRequest(input)
186	req.SetContext(ctx)
187	req.ApplyOptions(opts...)
188	return out, req.Send()
189}
190
191const opAssociateTrialComponent = "AssociateTrialComponent"
192
193// AssociateTrialComponentRequest generates a "aws/request.Request" representing the
194// client's request for the AssociateTrialComponent operation. The "output" return
195// value will be populated with the request's response once the request completes
196// successfully.
197//
198// Use "Send" method on the returned Request to send the API call to the service.
199// the "output" return value is not valid until after Send returns without error.
200//
201// See AssociateTrialComponent for more information on using the AssociateTrialComponent
202// API call, and error handling.
203//
204// This method is useful when you want to inject custom logic or configuration
205// into the SDK's request lifecycle. Such as custom headers, or retry logic.
206//
207//
208//    // Example sending a request using the AssociateTrialComponentRequest method.
209//    req, resp := client.AssociateTrialComponentRequest(params)
210//
211//    err := req.Send()
212//    if err == nil { // resp is now filled
213//        fmt.Println(resp)
214//    }
215//
216// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AssociateTrialComponent
217func (c *SageMaker) AssociateTrialComponentRequest(input *AssociateTrialComponentInput) (req *request.Request, output *AssociateTrialComponentOutput) {
218	op := &request.Operation{
219		Name:       opAssociateTrialComponent,
220		HTTPMethod: "POST",
221		HTTPPath:   "/",
222	}
223
224	if input == nil {
225		input = &AssociateTrialComponentInput{}
226	}
227
228	output = &AssociateTrialComponentOutput{}
229	req = c.newRequest(op, input, output)
230	return
231}
232
233// AssociateTrialComponent API operation for Amazon SageMaker Service.
234//
235// Associates a trial component with a trial. A trial component can be associated
236// with multiple trials. To disassociate a trial component from a trial, call
237// the DisassociateTrialComponent API.
238//
239// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
240// with awserr.Error's Code and Message methods to get detailed information about
241// the error.
242//
243// See the AWS API reference guide for Amazon SageMaker Service's
244// API operation AssociateTrialComponent for usage and error information.
245//
246// Returned Error Types:
247//   * ResourceNotFound
248//   Resource being access is not found.
249//
250//   * ResourceLimitExceeded
251//   You have exceeded an Amazon SageMaker resource limit. For example, you might
252//   have too many training jobs created.
253//
254// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AssociateTrialComponent
255func (c *SageMaker) AssociateTrialComponent(input *AssociateTrialComponentInput) (*AssociateTrialComponentOutput, error) {
256	req, out := c.AssociateTrialComponentRequest(input)
257	return out, req.Send()
258}
259
260// AssociateTrialComponentWithContext is the same as AssociateTrialComponent with the addition of
261// the ability to pass a context and additional request options.
262//
263// See AssociateTrialComponent for details on how to use this API operation.
264//
265// The context must be non-nil and will be used for request cancellation. If
266// the context is nil a panic will occur. In the future the SDK may create
267// sub-contexts for http.Requests. See https://golang.org/pkg/context/
268// for more information on using Contexts.
269func (c *SageMaker) AssociateTrialComponentWithContext(ctx aws.Context, input *AssociateTrialComponentInput, opts ...request.Option) (*AssociateTrialComponentOutput, error) {
270	req, out := c.AssociateTrialComponentRequest(input)
271	req.SetContext(ctx)
272	req.ApplyOptions(opts...)
273	return out, req.Send()
274}
275
276const opCreateAction = "CreateAction"
277
278// CreateActionRequest generates a "aws/request.Request" representing the
279// client's request for the CreateAction operation. The "output" return
280// value will be populated with the request's response once the request completes
281// successfully.
282//
283// Use "Send" method on the returned Request to send the API call to the service.
284// the "output" return value is not valid until after Send returns without error.
285//
286// See CreateAction for more information on using the CreateAction
287// API call, and error handling.
288//
289// This method is useful when you want to inject custom logic or configuration
290// into the SDK's request lifecycle. Such as custom headers, or retry logic.
291//
292//
293//    // Example sending a request using the CreateActionRequest method.
294//    req, resp := client.CreateActionRequest(params)
295//
296//    err := req.Send()
297//    if err == nil { // resp is now filled
298//        fmt.Println(resp)
299//    }
300//
301// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAction
302func (c *SageMaker) CreateActionRequest(input *CreateActionInput) (req *request.Request, output *CreateActionOutput) {
303	op := &request.Operation{
304		Name:       opCreateAction,
305		HTTPMethod: "POST",
306		HTTPPath:   "/",
307	}
308
309	if input == nil {
310		input = &CreateActionInput{}
311	}
312
313	output = &CreateActionOutput{}
314	req = c.newRequest(op, input, output)
315	return
316}
317
318// CreateAction API operation for Amazon SageMaker Service.
319//
320// Creates an action. An action is a lineage tracking entity that represents
321// an action or activity. For example, a model deployment or an HPO job. Generally,
322// an action involves at least one input or output artifact. For more information,
323// see Amazon SageMaker ML Lineage Tracking (https://docs.aws.amazon.com/sagemaker/latest/dg/lineage-tracking.html).
324//
325// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
326// with awserr.Error's Code and Message methods to get detailed information about
327// the error.
328//
329// See the AWS API reference guide for Amazon SageMaker Service's
330// API operation CreateAction for usage and error information.
331//
332// Returned Error Types:
333//   * ResourceLimitExceeded
334//   You have exceeded an Amazon SageMaker resource limit. For example, you might
335//   have too many training jobs created.
336//
337// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAction
338func (c *SageMaker) CreateAction(input *CreateActionInput) (*CreateActionOutput, error) {
339	req, out := c.CreateActionRequest(input)
340	return out, req.Send()
341}
342
343// CreateActionWithContext is the same as CreateAction with the addition of
344// the ability to pass a context and additional request options.
345//
346// See CreateAction for details on how to use this API operation.
347//
348// The context must be non-nil and will be used for request cancellation. If
349// the context is nil a panic will occur. In the future the SDK may create
350// sub-contexts for http.Requests. See https://golang.org/pkg/context/
351// for more information on using Contexts.
352func (c *SageMaker) CreateActionWithContext(ctx aws.Context, input *CreateActionInput, opts ...request.Option) (*CreateActionOutput, error) {
353	req, out := c.CreateActionRequest(input)
354	req.SetContext(ctx)
355	req.ApplyOptions(opts...)
356	return out, req.Send()
357}
358
359const opCreateAlgorithm = "CreateAlgorithm"
360
361// CreateAlgorithmRequest generates a "aws/request.Request" representing the
362// client's request for the CreateAlgorithm operation. The "output" return
363// value will be populated with the request's response once the request completes
364// successfully.
365//
366// Use "Send" method on the returned Request to send the API call to the service.
367// the "output" return value is not valid until after Send returns without error.
368//
369// See CreateAlgorithm for more information on using the CreateAlgorithm
370// API call, and error handling.
371//
372// This method is useful when you want to inject custom logic or configuration
373// into the SDK's request lifecycle. Such as custom headers, or retry logic.
374//
375//
376//    // Example sending a request using the CreateAlgorithmRequest method.
377//    req, resp := client.CreateAlgorithmRequest(params)
378//
379//    err := req.Send()
380//    if err == nil { // resp is now filled
381//        fmt.Println(resp)
382//    }
383//
384// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAlgorithm
385func (c *SageMaker) CreateAlgorithmRequest(input *CreateAlgorithmInput) (req *request.Request, output *CreateAlgorithmOutput) {
386	op := &request.Operation{
387		Name:       opCreateAlgorithm,
388		HTTPMethod: "POST",
389		HTTPPath:   "/",
390	}
391
392	if input == nil {
393		input = &CreateAlgorithmInput{}
394	}
395
396	output = &CreateAlgorithmOutput{}
397	req = c.newRequest(op, input, output)
398	return
399}
400
401// CreateAlgorithm API operation for Amazon SageMaker Service.
402//
403// Create a machine learning algorithm that you can use in Amazon SageMaker
404// and list in the AWS Marketplace.
405//
406// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
407// with awserr.Error's Code and Message methods to get detailed information about
408// the error.
409//
410// See the AWS API reference guide for Amazon SageMaker Service's
411// API operation CreateAlgorithm for usage and error information.
412// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAlgorithm
413func (c *SageMaker) CreateAlgorithm(input *CreateAlgorithmInput) (*CreateAlgorithmOutput, error) {
414	req, out := c.CreateAlgorithmRequest(input)
415	return out, req.Send()
416}
417
418// CreateAlgorithmWithContext is the same as CreateAlgorithm with the addition of
419// the ability to pass a context and additional request options.
420//
421// See CreateAlgorithm for details on how to use this API operation.
422//
423// The context must be non-nil and will be used for request cancellation. If
424// the context is nil a panic will occur. In the future the SDK may create
425// sub-contexts for http.Requests. See https://golang.org/pkg/context/
426// for more information on using Contexts.
427func (c *SageMaker) CreateAlgorithmWithContext(ctx aws.Context, input *CreateAlgorithmInput, opts ...request.Option) (*CreateAlgorithmOutput, error) {
428	req, out := c.CreateAlgorithmRequest(input)
429	req.SetContext(ctx)
430	req.ApplyOptions(opts...)
431	return out, req.Send()
432}
433
434const opCreateApp = "CreateApp"
435
436// CreateAppRequest generates a "aws/request.Request" representing the
437// client's request for the CreateApp operation. The "output" return
438// value will be populated with the request's response once the request completes
439// successfully.
440//
441// Use "Send" method on the returned Request to send the API call to the service.
442// the "output" return value is not valid until after Send returns without error.
443//
444// See CreateApp for more information on using the CreateApp
445// API call, and error handling.
446//
447// This method is useful when you want to inject custom logic or configuration
448// into the SDK's request lifecycle. Such as custom headers, or retry logic.
449//
450//
451//    // Example sending a request using the CreateAppRequest method.
452//    req, resp := client.CreateAppRequest(params)
453//
454//    err := req.Send()
455//    if err == nil { // resp is now filled
456//        fmt.Println(resp)
457//    }
458//
459// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateApp
460func (c *SageMaker) CreateAppRequest(input *CreateAppInput) (req *request.Request, output *CreateAppOutput) {
461	op := &request.Operation{
462		Name:       opCreateApp,
463		HTTPMethod: "POST",
464		HTTPPath:   "/",
465	}
466
467	if input == nil {
468		input = &CreateAppInput{}
469	}
470
471	output = &CreateAppOutput{}
472	req = c.newRequest(op, input, output)
473	return
474}
475
476// CreateApp API operation for Amazon SageMaker Service.
477//
478// Creates a running App for the specified UserProfile. Supported Apps are JupyterServer
479// and KernelGateway. This operation is automatically invoked by Amazon SageMaker
480// Studio upon access to the associated Domain, and when new kernel configurations
481// are selected by the user. A user may have multiple Apps active simultaneously.
482//
483// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
484// with awserr.Error's Code and Message methods to get detailed information about
485// the error.
486//
487// See the AWS API reference guide for Amazon SageMaker Service's
488// API operation CreateApp for usage and error information.
489//
490// Returned Error Types:
491//   * ResourceLimitExceeded
492//   You have exceeded an Amazon SageMaker resource limit. For example, you might
493//   have too many training jobs created.
494//
495//   * ResourceInUse
496//   Resource being accessed is in use.
497//
498// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateApp
499func (c *SageMaker) CreateApp(input *CreateAppInput) (*CreateAppOutput, error) {
500	req, out := c.CreateAppRequest(input)
501	return out, req.Send()
502}
503
504// CreateAppWithContext is the same as CreateApp with the addition of
505// the ability to pass a context and additional request options.
506//
507// See CreateApp for details on how to use this API operation.
508//
509// The context must be non-nil and will be used for request cancellation. If
510// the context is nil a panic will occur. In the future the SDK may create
511// sub-contexts for http.Requests. See https://golang.org/pkg/context/
512// for more information on using Contexts.
513func (c *SageMaker) CreateAppWithContext(ctx aws.Context, input *CreateAppInput, opts ...request.Option) (*CreateAppOutput, error) {
514	req, out := c.CreateAppRequest(input)
515	req.SetContext(ctx)
516	req.ApplyOptions(opts...)
517	return out, req.Send()
518}
519
520const opCreateAppImageConfig = "CreateAppImageConfig"
521
522// CreateAppImageConfigRequest generates a "aws/request.Request" representing the
523// client's request for the CreateAppImageConfig operation. The "output" return
524// value will be populated with the request's response once the request completes
525// successfully.
526//
527// Use "Send" method on the returned Request to send the API call to the service.
528// the "output" return value is not valid until after Send returns without error.
529//
530// See CreateAppImageConfig for more information on using the CreateAppImageConfig
531// API call, and error handling.
532//
533// This method is useful when you want to inject custom logic or configuration
534// into the SDK's request lifecycle. Such as custom headers, or retry logic.
535//
536//
537//    // Example sending a request using the CreateAppImageConfigRequest method.
538//    req, resp := client.CreateAppImageConfigRequest(params)
539//
540//    err := req.Send()
541//    if err == nil { // resp is now filled
542//        fmt.Println(resp)
543//    }
544//
545// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAppImageConfig
546func (c *SageMaker) CreateAppImageConfigRequest(input *CreateAppImageConfigInput) (req *request.Request, output *CreateAppImageConfigOutput) {
547	op := &request.Operation{
548		Name:       opCreateAppImageConfig,
549		HTTPMethod: "POST",
550		HTTPPath:   "/",
551	}
552
553	if input == nil {
554		input = &CreateAppImageConfigInput{}
555	}
556
557	output = &CreateAppImageConfigOutput{}
558	req = c.newRequest(op, input, output)
559	return
560}
561
562// CreateAppImageConfig API operation for Amazon SageMaker Service.
563//
564// Creates a configuration for running a SageMaker image as a KernelGateway
565// app. The configuration specifies the Amazon Elastic File System (EFS) storage
566// volume on the image, and a list of the kernels in the image.
567//
568// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
569// with awserr.Error's Code and Message methods to get detailed information about
570// the error.
571//
572// See the AWS API reference guide for Amazon SageMaker Service's
573// API operation CreateAppImageConfig for usage and error information.
574//
575// Returned Error Types:
576//   * ResourceInUse
577//   Resource being accessed is in use.
578//
579// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAppImageConfig
580func (c *SageMaker) CreateAppImageConfig(input *CreateAppImageConfigInput) (*CreateAppImageConfigOutput, error) {
581	req, out := c.CreateAppImageConfigRequest(input)
582	return out, req.Send()
583}
584
585// CreateAppImageConfigWithContext is the same as CreateAppImageConfig with the addition of
586// the ability to pass a context and additional request options.
587//
588// See CreateAppImageConfig for details on how to use this API operation.
589//
590// The context must be non-nil and will be used for request cancellation. If
591// the context is nil a panic will occur. In the future the SDK may create
592// sub-contexts for http.Requests. See https://golang.org/pkg/context/
593// for more information on using Contexts.
594func (c *SageMaker) CreateAppImageConfigWithContext(ctx aws.Context, input *CreateAppImageConfigInput, opts ...request.Option) (*CreateAppImageConfigOutput, error) {
595	req, out := c.CreateAppImageConfigRequest(input)
596	req.SetContext(ctx)
597	req.ApplyOptions(opts...)
598	return out, req.Send()
599}
600
601const opCreateArtifact = "CreateArtifact"
602
603// CreateArtifactRequest generates a "aws/request.Request" representing the
604// client's request for the CreateArtifact operation. The "output" return
605// value will be populated with the request's response once the request completes
606// successfully.
607//
608// Use "Send" method on the returned Request to send the API call to the service.
609// the "output" return value is not valid until after Send returns without error.
610//
611// See CreateArtifact for more information on using the CreateArtifact
612// API call, and error handling.
613//
614// This method is useful when you want to inject custom logic or configuration
615// into the SDK's request lifecycle. Such as custom headers, or retry logic.
616//
617//
618//    // Example sending a request using the CreateArtifactRequest method.
619//    req, resp := client.CreateArtifactRequest(params)
620//
621//    err := req.Send()
622//    if err == nil { // resp is now filled
623//        fmt.Println(resp)
624//    }
625//
626// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateArtifact
627func (c *SageMaker) CreateArtifactRequest(input *CreateArtifactInput) (req *request.Request, output *CreateArtifactOutput) {
628	op := &request.Operation{
629		Name:       opCreateArtifact,
630		HTTPMethod: "POST",
631		HTTPPath:   "/",
632	}
633
634	if input == nil {
635		input = &CreateArtifactInput{}
636	}
637
638	output = &CreateArtifactOutput{}
639	req = c.newRequest(op, input, output)
640	return
641}
642
643// CreateArtifact API operation for Amazon SageMaker Service.
644//
645// Creates an artifact. An artifact is a lineage tracking entity that represents
646// a URI addressable object or data. Some examples are the S3 URI of a dataset
647// and the ECR registry path of an image. For more information, see Amazon SageMaker
648// ML Lineage Tracking (https://docs.aws.amazon.com/sagemaker/latest/dg/lineage-tracking.html).
649//
650// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
651// with awserr.Error's Code and Message methods to get detailed information about
652// the error.
653//
654// See the AWS API reference guide for Amazon SageMaker Service's
655// API operation CreateArtifact for usage and error information.
656//
657// Returned Error Types:
658//   * ResourceLimitExceeded
659//   You have exceeded an Amazon SageMaker resource limit. For example, you might
660//   have too many training jobs created.
661//
662// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateArtifact
663func (c *SageMaker) CreateArtifact(input *CreateArtifactInput) (*CreateArtifactOutput, error) {
664	req, out := c.CreateArtifactRequest(input)
665	return out, req.Send()
666}
667
668// CreateArtifactWithContext is the same as CreateArtifact with the addition of
669// the ability to pass a context and additional request options.
670//
671// See CreateArtifact for details on how to use this API operation.
672//
673// The context must be non-nil and will be used for request cancellation. If
674// the context is nil a panic will occur. In the future the SDK may create
675// sub-contexts for http.Requests. See https://golang.org/pkg/context/
676// for more information on using Contexts.
677func (c *SageMaker) CreateArtifactWithContext(ctx aws.Context, input *CreateArtifactInput, opts ...request.Option) (*CreateArtifactOutput, error) {
678	req, out := c.CreateArtifactRequest(input)
679	req.SetContext(ctx)
680	req.ApplyOptions(opts...)
681	return out, req.Send()
682}
683
684const opCreateAutoMLJob = "CreateAutoMLJob"
685
686// CreateAutoMLJobRequest generates a "aws/request.Request" representing the
687// client's request for the CreateAutoMLJob operation. The "output" return
688// value will be populated with the request's response once the request completes
689// successfully.
690//
691// Use "Send" method on the returned Request to send the API call to the service.
692// the "output" return value is not valid until after Send returns without error.
693//
694// See CreateAutoMLJob for more information on using the CreateAutoMLJob
695// API call, and error handling.
696//
697// This method is useful when you want to inject custom logic or configuration
698// into the SDK's request lifecycle. Such as custom headers, or retry logic.
699//
700//
701//    // Example sending a request using the CreateAutoMLJobRequest method.
702//    req, resp := client.CreateAutoMLJobRequest(params)
703//
704//    err := req.Send()
705//    if err == nil { // resp is now filled
706//        fmt.Println(resp)
707//    }
708//
709// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAutoMLJob
710func (c *SageMaker) CreateAutoMLJobRequest(input *CreateAutoMLJobInput) (req *request.Request, output *CreateAutoMLJobOutput) {
711	op := &request.Operation{
712		Name:       opCreateAutoMLJob,
713		HTTPMethod: "POST",
714		HTTPPath:   "/",
715	}
716
717	if input == nil {
718		input = &CreateAutoMLJobInput{}
719	}
720
721	output = &CreateAutoMLJobOutput{}
722	req = c.newRequest(op, input, output)
723	return
724}
725
726// CreateAutoMLJob API operation for Amazon SageMaker Service.
727//
728// Creates an Autopilot job.
729//
730// Find the best performing model after you run an Autopilot job by calling
731// . Deploy that model by following the steps described in Step 6.1: Deploy
732// the Model to Amazon SageMaker Hosting Services (https://docs.aws.amazon.com/sagemaker/latest/dg/ex1-deploy-model.html).
733//
734// For information about how to use Autopilot, see Automate Model Development
735// with Amazon SageMaker Autopilot (https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-automate-model-development.html).
736//
737// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
738// with awserr.Error's Code and Message methods to get detailed information about
739// the error.
740//
741// See the AWS API reference guide for Amazon SageMaker Service's
742// API operation CreateAutoMLJob for usage and error information.
743//
744// Returned Error Types:
745//   * ResourceInUse
746//   Resource being accessed is in use.
747//
748//   * ResourceLimitExceeded
749//   You have exceeded an Amazon SageMaker resource limit. For example, you might
750//   have too many training jobs created.
751//
752// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAutoMLJob
753func (c *SageMaker) CreateAutoMLJob(input *CreateAutoMLJobInput) (*CreateAutoMLJobOutput, error) {
754	req, out := c.CreateAutoMLJobRequest(input)
755	return out, req.Send()
756}
757
758// CreateAutoMLJobWithContext is the same as CreateAutoMLJob with the addition of
759// the ability to pass a context and additional request options.
760//
761// See CreateAutoMLJob for details on how to use this API operation.
762//
763// The context must be non-nil and will be used for request cancellation. If
764// the context is nil a panic will occur. In the future the SDK may create
765// sub-contexts for http.Requests. See https://golang.org/pkg/context/
766// for more information on using Contexts.
767func (c *SageMaker) CreateAutoMLJobWithContext(ctx aws.Context, input *CreateAutoMLJobInput, opts ...request.Option) (*CreateAutoMLJobOutput, error) {
768	req, out := c.CreateAutoMLJobRequest(input)
769	req.SetContext(ctx)
770	req.ApplyOptions(opts...)
771	return out, req.Send()
772}
773
774const opCreateCodeRepository = "CreateCodeRepository"
775
776// CreateCodeRepositoryRequest generates a "aws/request.Request" representing the
777// client's request for the CreateCodeRepository operation. The "output" return
778// value will be populated with the request's response once the request completes
779// successfully.
780//
781// Use "Send" method on the returned Request to send the API call to the service.
782// the "output" return value is not valid until after Send returns without error.
783//
784// See CreateCodeRepository for more information on using the CreateCodeRepository
785// API call, and error handling.
786//
787// This method is useful when you want to inject custom logic or configuration
788// into the SDK's request lifecycle. Such as custom headers, or retry logic.
789//
790//
791//    // Example sending a request using the CreateCodeRepositoryRequest method.
792//    req, resp := client.CreateCodeRepositoryRequest(params)
793//
794//    err := req.Send()
795//    if err == nil { // resp is now filled
796//        fmt.Println(resp)
797//    }
798//
799// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateCodeRepository
800func (c *SageMaker) CreateCodeRepositoryRequest(input *CreateCodeRepositoryInput) (req *request.Request, output *CreateCodeRepositoryOutput) {
801	op := &request.Operation{
802		Name:       opCreateCodeRepository,
803		HTTPMethod: "POST",
804		HTTPPath:   "/",
805	}
806
807	if input == nil {
808		input = &CreateCodeRepositoryInput{}
809	}
810
811	output = &CreateCodeRepositoryOutput{}
812	req = c.newRequest(op, input, output)
813	return
814}
815
816// CreateCodeRepository API operation for Amazon SageMaker Service.
817//
818// Creates a Git repository as a resource in your Amazon SageMaker account.
819// You can associate the repository with notebook instances so that you can
820// use Git source control for the notebooks you create. The Git repository is
821// a resource in your Amazon SageMaker account, so it can be associated with
822// more than one notebook instance, and it persists independently from the lifecycle
823// of any notebook instances it is associated with.
824//
825// The repository can be hosted either in AWS CodeCommit (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html)
826// or in any other Git repository.
827//
828// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
829// with awserr.Error's Code and Message methods to get detailed information about
830// the error.
831//
832// See the AWS API reference guide for Amazon SageMaker Service's
833// API operation CreateCodeRepository for usage and error information.
834// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateCodeRepository
835func (c *SageMaker) CreateCodeRepository(input *CreateCodeRepositoryInput) (*CreateCodeRepositoryOutput, error) {
836	req, out := c.CreateCodeRepositoryRequest(input)
837	return out, req.Send()
838}
839
840// CreateCodeRepositoryWithContext is the same as CreateCodeRepository with the addition of
841// the ability to pass a context and additional request options.
842//
843// See CreateCodeRepository for details on how to use this API operation.
844//
845// The context must be non-nil and will be used for request cancellation. If
846// the context is nil a panic will occur. In the future the SDK may create
847// sub-contexts for http.Requests. See https://golang.org/pkg/context/
848// for more information on using Contexts.
849func (c *SageMaker) CreateCodeRepositoryWithContext(ctx aws.Context, input *CreateCodeRepositoryInput, opts ...request.Option) (*CreateCodeRepositoryOutput, error) {
850	req, out := c.CreateCodeRepositoryRequest(input)
851	req.SetContext(ctx)
852	req.ApplyOptions(opts...)
853	return out, req.Send()
854}
855
856const opCreateCompilationJob = "CreateCompilationJob"
857
858// CreateCompilationJobRequest generates a "aws/request.Request" representing the
859// client's request for the CreateCompilationJob operation. The "output" return
860// value will be populated with the request's response once the request completes
861// successfully.
862//
863// Use "Send" method on the returned Request to send the API call to the service.
864// the "output" return value is not valid until after Send returns without error.
865//
866// See CreateCompilationJob for more information on using the CreateCompilationJob
867// API call, and error handling.
868//
869// This method is useful when you want to inject custom logic or configuration
870// into the SDK's request lifecycle. Such as custom headers, or retry logic.
871//
872//
873//    // Example sending a request using the CreateCompilationJobRequest method.
874//    req, resp := client.CreateCompilationJobRequest(params)
875//
876//    err := req.Send()
877//    if err == nil { // resp is now filled
878//        fmt.Println(resp)
879//    }
880//
881// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateCompilationJob
882func (c *SageMaker) CreateCompilationJobRequest(input *CreateCompilationJobInput) (req *request.Request, output *CreateCompilationJobOutput) {
883	op := &request.Operation{
884		Name:       opCreateCompilationJob,
885		HTTPMethod: "POST",
886		HTTPPath:   "/",
887	}
888
889	if input == nil {
890		input = &CreateCompilationJobInput{}
891	}
892
893	output = &CreateCompilationJobOutput{}
894	req = c.newRequest(op, input, output)
895	return
896}
897
898// CreateCompilationJob API operation for Amazon SageMaker Service.
899//
900// Starts a model compilation job. After the model has been compiled, Amazon
901// SageMaker saves the resulting model artifacts to an Amazon Simple Storage
902// Service (Amazon S3) bucket that you specify.
903//
904// If you choose to host your model using Amazon SageMaker hosting services,
905// you can use the resulting model artifacts as part of the model. You can also
906// use the artifacts with AWS IoT Greengrass. In that case, deploy them as an
907// ML resource.
908//
909// In the request body, you provide the following:
910//
911//    * A name for the compilation job
912//
913//    * Information about the input model artifacts
914//
915//    * The output location for the compiled model and the device (target) that
916//    the model runs on
917//
918//    * The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker
919//    assumes to perform the model compilation job.
920//
921// You can also provide a Tag to track the model compilation job's resource
922// use and costs. The response body contains the CompilationJobArn for the compiled
923// job.
924//
925// To stop a model compilation job, use StopCompilationJob. To get information
926// about a particular model compilation job, use DescribeCompilationJob. To
927// get information about multiple model compilation jobs, use ListCompilationJobs.
928//
929// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
930// with awserr.Error's Code and Message methods to get detailed information about
931// the error.
932//
933// See the AWS API reference guide for Amazon SageMaker Service's
934// API operation CreateCompilationJob for usage and error information.
935//
936// Returned Error Types:
937//   * ResourceInUse
938//   Resource being accessed is in use.
939//
940//   * ResourceLimitExceeded
941//   You have exceeded an Amazon SageMaker resource limit. For example, you might
942//   have too many training jobs created.
943//
944// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateCompilationJob
945func (c *SageMaker) CreateCompilationJob(input *CreateCompilationJobInput) (*CreateCompilationJobOutput, error) {
946	req, out := c.CreateCompilationJobRequest(input)
947	return out, req.Send()
948}
949
950// CreateCompilationJobWithContext is the same as CreateCompilationJob with the addition of
951// the ability to pass a context and additional request options.
952//
953// See CreateCompilationJob for details on how to use this API operation.
954//
955// The context must be non-nil and will be used for request cancellation. If
956// the context is nil a panic will occur. In the future the SDK may create
957// sub-contexts for http.Requests. See https://golang.org/pkg/context/
958// for more information on using Contexts.
959func (c *SageMaker) CreateCompilationJobWithContext(ctx aws.Context, input *CreateCompilationJobInput, opts ...request.Option) (*CreateCompilationJobOutput, error) {
960	req, out := c.CreateCompilationJobRequest(input)
961	req.SetContext(ctx)
962	req.ApplyOptions(opts...)
963	return out, req.Send()
964}
965
966const opCreateContext = "CreateContext"
967
968// CreateContextRequest generates a "aws/request.Request" representing the
969// client's request for the CreateContext operation. The "output" return
970// value will be populated with the request's response once the request completes
971// successfully.
972//
973// Use "Send" method on the returned Request to send the API call to the service.
974// the "output" return value is not valid until after Send returns without error.
975//
976// See CreateContext for more information on using the CreateContext
977// API call, and error handling.
978//
979// This method is useful when you want to inject custom logic or configuration
980// into the SDK's request lifecycle. Such as custom headers, or retry logic.
981//
982//
983//    // Example sending a request using the CreateContextRequest method.
984//    req, resp := client.CreateContextRequest(params)
985//
986//    err := req.Send()
987//    if err == nil { // resp is now filled
988//        fmt.Println(resp)
989//    }
990//
991// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateContext
992func (c *SageMaker) CreateContextRequest(input *CreateContextInput) (req *request.Request, output *CreateContextOutput) {
993	op := &request.Operation{
994		Name:       opCreateContext,
995		HTTPMethod: "POST",
996		HTTPPath:   "/",
997	}
998
999	if input == nil {
1000		input = &CreateContextInput{}
1001	}
1002
1003	output = &CreateContextOutput{}
1004	req = c.newRequest(op, input, output)
1005	return
1006}
1007
1008// CreateContext API operation for Amazon SageMaker Service.
1009//
1010// Creates a context. A context is a lineage tracking entity that represents
1011// a logical grouping of other tracking or experiment entities. Some examples
1012// are an endpoint and a model package. For more information, see Amazon SageMaker
1013// ML Lineage Tracking (https://docs.aws.amazon.com/sagemaker/latest/dg/lineage-tracking.html).
1014//
1015// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1016// with awserr.Error's Code and Message methods to get detailed information about
1017// the error.
1018//
1019// See the AWS API reference guide for Amazon SageMaker Service's
1020// API operation CreateContext for usage and error information.
1021//
1022// Returned Error Types:
1023//   * ResourceLimitExceeded
1024//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1025//   have too many training jobs created.
1026//
1027// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateContext
1028func (c *SageMaker) CreateContext(input *CreateContextInput) (*CreateContextOutput, error) {
1029	req, out := c.CreateContextRequest(input)
1030	return out, req.Send()
1031}
1032
1033// CreateContextWithContext is the same as CreateContext with the addition of
1034// the ability to pass a context and additional request options.
1035//
1036// See CreateContext for details on how to use this API operation.
1037//
1038// The context must be non-nil and will be used for request cancellation. If
1039// the context is nil a panic will occur. In the future the SDK may create
1040// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1041// for more information on using Contexts.
1042func (c *SageMaker) CreateContextWithContext(ctx aws.Context, input *CreateContextInput, opts ...request.Option) (*CreateContextOutput, error) {
1043	req, out := c.CreateContextRequest(input)
1044	req.SetContext(ctx)
1045	req.ApplyOptions(opts...)
1046	return out, req.Send()
1047}
1048
1049const opCreateDataQualityJobDefinition = "CreateDataQualityJobDefinition"
1050
1051// CreateDataQualityJobDefinitionRequest generates a "aws/request.Request" representing the
1052// client's request for the CreateDataQualityJobDefinition operation. The "output" return
1053// value will be populated with the request's response once the request completes
1054// successfully.
1055//
1056// Use "Send" method on the returned Request to send the API call to the service.
1057// the "output" return value is not valid until after Send returns without error.
1058//
1059// See CreateDataQualityJobDefinition for more information on using the CreateDataQualityJobDefinition
1060// API call, and error handling.
1061//
1062// This method is useful when you want to inject custom logic or configuration
1063// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1064//
1065//
1066//    // Example sending a request using the CreateDataQualityJobDefinitionRequest method.
1067//    req, resp := client.CreateDataQualityJobDefinitionRequest(params)
1068//
1069//    err := req.Send()
1070//    if err == nil { // resp is now filled
1071//        fmt.Println(resp)
1072//    }
1073//
1074// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateDataQualityJobDefinition
1075func (c *SageMaker) CreateDataQualityJobDefinitionRequest(input *CreateDataQualityJobDefinitionInput) (req *request.Request, output *CreateDataQualityJobDefinitionOutput) {
1076	op := &request.Operation{
1077		Name:       opCreateDataQualityJobDefinition,
1078		HTTPMethod: "POST",
1079		HTTPPath:   "/",
1080	}
1081
1082	if input == nil {
1083		input = &CreateDataQualityJobDefinitionInput{}
1084	}
1085
1086	output = &CreateDataQualityJobDefinitionOutput{}
1087	req = c.newRequest(op, input, output)
1088	return
1089}
1090
1091// CreateDataQualityJobDefinition API operation for Amazon SageMaker Service.
1092//
1093// Creates a definition for a job that monitors data quality and drift. For
1094// information about model monitor, see Amazon SageMaker Model Monitor (https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor.html).
1095//
1096// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1097// with awserr.Error's Code and Message methods to get detailed information about
1098// the error.
1099//
1100// See the AWS API reference guide for Amazon SageMaker Service's
1101// API operation CreateDataQualityJobDefinition for usage and error information.
1102//
1103// Returned Error Types:
1104//   * ResourceLimitExceeded
1105//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1106//   have too many training jobs created.
1107//
1108//   * ResourceInUse
1109//   Resource being accessed is in use.
1110//
1111// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateDataQualityJobDefinition
1112func (c *SageMaker) CreateDataQualityJobDefinition(input *CreateDataQualityJobDefinitionInput) (*CreateDataQualityJobDefinitionOutput, error) {
1113	req, out := c.CreateDataQualityJobDefinitionRequest(input)
1114	return out, req.Send()
1115}
1116
1117// CreateDataQualityJobDefinitionWithContext is the same as CreateDataQualityJobDefinition with the addition of
1118// the ability to pass a context and additional request options.
1119//
1120// See CreateDataQualityJobDefinition for details on how to use this API operation.
1121//
1122// The context must be non-nil and will be used for request cancellation. If
1123// the context is nil a panic will occur. In the future the SDK may create
1124// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1125// for more information on using Contexts.
1126func (c *SageMaker) CreateDataQualityJobDefinitionWithContext(ctx aws.Context, input *CreateDataQualityJobDefinitionInput, opts ...request.Option) (*CreateDataQualityJobDefinitionOutput, error) {
1127	req, out := c.CreateDataQualityJobDefinitionRequest(input)
1128	req.SetContext(ctx)
1129	req.ApplyOptions(opts...)
1130	return out, req.Send()
1131}
1132
1133const opCreateDeviceFleet = "CreateDeviceFleet"
1134
1135// CreateDeviceFleetRequest generates a "aws/request.Request" representing the
1136// client's request for the CreateDeviceFleet operation. The "output" return
1137// value will be populated with the request's response once the request completes
1138// successfully.
1139//
1140// Use "Send" method on the returned Request to send the API call to the service.
1141// the "output" return value is not valid until after Send returns without error.
1142//
1143// See CreateDeviceFleet for more information on using the CreateDeviceFleet
1144// API call, and error handling.
1145//
1146// This method is useful when you want to inject custom logic or configuration
1147// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1148//
1149//
1150//    // Example sending a request using the CreateDeviceFleetRequest method.
1151//    req, resp := client.CreateDeviceFleetRequest(params)
1152//
1153//    err := req.Send()
1154//    if err == nil { // resp is now filled
1155//        fmt.Println(resp)
1156//    }
1157//
1158// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateDeviceFleet
1159func (c *SageMaker) CreateDeviceFleetRequest(input *CreateDeviceFleetInput) (req *request.Request, output *CreateDeviceFleetOutput) {
1160	op := &request.Operation{
1161		Name:       opCreateDeviceFleet,
1162		HTTPMethod: "POST",
1163		HTTPPath:   "/",
1164	}
1165
1166	if input == nil {
1167		input = &CreateDeviceFleetInput{}
1168	}
1169
1170	output = &CreateDeviceFleetOutput{}
1171	req = c.newRequest(op, input, output)
1172	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
1173	return
1174}
1175
1176// CreateDeviceFleet API operation for Amazon SageMaker Service.
1177//
1178// Creates a device fleet.
1179//
1180// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1181// with awserr.Error's Code and Message methods to get detailed information about
1182// the error.
1183//
1184// See the AWS API reference guide for Amazon SageMaker Service's
1185// API operation CreateDeviceFleet for usage and error information.
1186//
1187// Returned Error Types:
1188//   * ResourceInUse
1189//   Resource being accessed is in use.
1190//
1191//   * ResourceLimitExceeded
1192//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1193//   have too many training jobs created.
1194//
1195// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateDeviceFleet
1196func (c *SageMaker) CreateDeviceFleet(input *CreateDeviceFleetInput) (*CreateDeviceFleetOutput, error) {
1197	req, out := c.CreateDeviceFleetRequest(input)
1198	return out, req.Send()
1199}
1200
1201// CreateDeviceFleetWithContext is the same as CreateDeviceFleet with the addition of
1202// the ability to pass a context and additional request options.
1203//
1204// See CreateDeviceFleet for details on how to use this API operation.
1205//
1206// The context must be non-nil and will be used for request cancellation. If
1207// the context is nil a panic will occur. In the future the SDK may create
1208// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1209// for more information on using Contexts.
1210func (c *SageMaker) CreateDeviceFleetWithContext(ctx aws.Context, input *CreateDeviceFleetInput, opts ...request.Option) (*CreateDeviceFleetOutput, error) {
1211	req, out := c.CreateDeviceFleetRequest(input)
1212	req.SetContext(ctx)
1213	req.ApplyOptions(opts...)
1214	return out, req.Send()
1215}
1216
1217const opCreateDomain = "CreateDomain"
1218
1219// CreateDomainRequest generates a "aws/request.Request" representing the
1220// client's request for the CreateDomain operation. The "output" return
1221// value will be populated with the request's response once the request completes
1222// successfully.
1223//
1224// Use "Send" method on the returned Request to send the API call to the service.
1225// the "output" return value is not valid until after Send returns without error.
1226//
1227// See CreateDomain for more information on using the CreateDomain
1228// API call, and error handling.
1229//
1230// This method is useful when you want to inject custom logic or configuration
1231// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1232//
1233//
1234//    // Example sending a request using the CreateDomainRequest method.
1235//    req, resp := client.CreateDomainRequest(params)
1236//
1237//    err := req.Send()
1238//    if err == nil { // resp is now filled
1239//        fmt.Println(resp)
1240//    }
1241//
1242// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateDomain
1243func (c *SageMaker) CreateDomainRequest(input *CreateDomainInput) (req *request.Request, output *CreateDomainOutput) {
1244	op := &request.Operation{
1245		Name:       opCreateDomain,
1246		HTTPMethod: "POST",
1247		HTTPPath:   "/",
1248	}
1249
1250	if input == nil {
1251		input = &CreateDomainInput{}
1252	}
1253
1254	output = &CreateDomainOutput{}
1255	req = c.newRequest(op, input, output)
1256	return
1257}
1258
1259// CreateDomain API operation for Amazon SageMaker Service.
1260//
1261// Creates a Domain used by Amazon SageMaker Studio. A domain consists of an
1262// associated Amazon Elastic File System (EFS) volume, a list of authorized
1263// users, and a variety of security, application, policy, and Amazon Virtual
1264// Private Cloud (VPC) configurations. An AWS account is limited to one domain
1265// per region. Users within a domain can share notebook files and other artifacts
1266// with each other.
1267//
1268// EFS storage
1269//
1270// When a domain is created, an EFS volume is created for use by all of the
1271// users within the domain. Each user receives a private home directory within
1272// the EFS volume for notebooks, Git repositories, and data files.
1273//
1274// SageMaker uses the AWS Key Management Service (AWS KMS) to encrypt the EFS
1275// volume attached to the domain with an AWS managed customer master key (CMK)
1276// by default. For more control, you can specify a customer managed CMK. For
1277// more information, see Protect Data at Rest Using Encryption (https://docs.aws.amazon.com/sagemaker/latest/dg/encryption-at-rest.html).
1278//
1279// VPC configuration
1280//
1281// All SageMaker Studio traffic between the domain and the EFS volume is through
1282// the specified VPC and subnets. For other Studio traffic, you can specify
1283// the AppNetworkAccessType parameter. AppNetworkAccessType corresponds to the
1284// network access type that you choose when you onboard to Studio. The following
1285// options are available:
1286//
1287//    * PublicInternetOnly - Non-EFS traffic goes through a VPC managed by Amazon
1288//    SageMaker, which allows internet access. This is the default value.
1289//
1290//    * VpcOnly - All Studio traffic is through the specified VPC and subnets.
1291//    Internet access is disabled by default. To allow internet access, you
1292//    must specify a NAT gateway. When internet access is disabled, you won't
1293//    be able to run a Studio notebook or to train or host models unless your
1294//    VPC has an interface endpoint to the SageMaker API and runtime or a NAT
1295//    gateway and your security groups allow outbound connections.
1296//
1297// For more information, see Connect SageMaker Studio Notebooks to Resources
1298// in a VPC (https://docs.aws.amazon.com/sagemaker/latest/dg/studio-notebooks-and-internet-access.html).
1299//
1300// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1301// with awserr.Error's Code and Message methods to get detailed information about
1302// the error.
1303//
1304// See the AWS API reference guide for Amazon SageMaker Service's
1305// API operation CreateDomain for usage and error information.
1306//
1307// Returned Error Types:
1308//   * ResourceLimitExceeded
1309//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1310//   have too many training jobs created.
1311//
1312//   * ResourceInUse
1313//   Resource being accessed is in use.
1314//
1315// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateDomain
1316func (c *SageMaker) CreateDomain(input *CreateDomainInput) (*CreateDomainOutput, error) {
1317	req, out := c.CreateDomainRequest(input)
1318	return out, req.Send()
1319}
1320
1321// CreateDomainWithContext is the same as CreateDomain with the addition of
1322// the ability to pass a context and additional request options.
1323//
1324// See CreateDomain for details on how to use this API operation.
1325//
1326// The context must be non-nil and will be used for request cancellation. If
1327// the context is nil a panic will occur. In the future the SDK may create
1328// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1329// for more information on using Contexts.
1330func (c *SageMaker) CreateDomainWithContext(ctx aws.Context, input *CreateDomainInput, opts ...request.Option) (*CreateDomainOutput, error) {
1331	req, out := c.CreateDomainRequest(input)
1332	req.SetContext(ctx)
1333	req.ApplyOptions(opts...)
1334	return out, req.Send()
1335}
1336
1337const opCreateEdgePackagingJob = "CreateEdgePackagingJob"
1338
1339// CreateEdgePackagingJobRequest generates a "aws/request.Request" representing the
1340// client's request for the CreateEdgePackagingJob operation. The "output" return
1341// value will be populated with the request's response once the request completes
1342// successfully.
1343//
1344// Use "Send" method on the returned Request to send the API call to the service.
1345// the "output" return value is not valid until after Send returns without error.
1346//
1347// See CreateEdgePackagingJob for more information on using the CreateEdgePackagingJob
1348// API call, and error handling.
1349//
1350// This method is useful when you want to inject custom logic or configuration
1351// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1352//
1353//
1354//    // Example sending a request using the CreateEdgePackagingJobRequest method.
1355//    req, resp := client.CreateEdgePackagingJobRequest(params)
1356//
1357//    err := req.Send()
1358//    if err == nil { // resp is now filled
1359//        fmt.Println(resp)
1360//    }
1361//
1362// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEdgePackagingJob
1363func (c *SageMaker) CreateEdgePackagingJobRequest(input *CreateEdgePackagingJobInput) (req *request.Request, output *CreateEdgePackagingJobOutput) {
1364	op := &request.Operation{
1365		Name:       opCreateEdgePackagingJob,
1366		HTTPMethod: "POST",
1367		HTTPPath:   "/",
1368	}
1369
1370	if input == nil {
1371		input = &CreateEdgePackagingJobInput{}
1372	}
1373
1374	output = &CreateEdgePackagingJobOutput{}
1375	req = c.newRequest(op, input, output)
1376	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
1377	return
1378}
1379
1380// CreateEdgePackagingJob API operation for Amazon SageMaker Service.
1381//
1382// Starts a SageMaker Edge Manager model packaging job. Edge Manager will use
1383// the model artifacts from the Amazon Simple Storage Service bucket that you
1384// specify. After the model has been packaged, Amazon SageMaker saves the resulting
1385// artifacts to an S3 bucket that you specify.
1386//
1387// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1388// with awserr.Error's Code and Message methods to get detailed information about
1389// the error.
1390//
1391// See the AWS API reference guide for Amazon SageMaker Service's
1392// API operation CreateEdgePackagingJob for usage and error information.
1393//
1394// Returned Error Types:
1395//   * ResourceLimitExceeded
1396//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1397//   have too many training jobs created.
1398//
1399// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEdgePackagingJob
1400func (c *SageMaker) CreateEdgePackagingJob(input *CreateEdgePackagingJobInput) (*CreateEdgePackagingJobOutput, error) {
1401	req, out := c.CreateEdgePackagingJobRequest(input)
1402	return out, req.Send()
1403}
1404
1405// CreateEdgePackagingJobWithContext is the same as CreateEdgePackagingJob with the addition of
1406// the ability to pass a context and additional request options.
1407//
1408// See CreateEdgePackagingJob for details on how to use this API operation.
1409//
1410// The context must be non-nil and will be used for request cancellation. If
1411// the context is nil a panic will occur. In the future the SDK may create
1412// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1413// for more information on using Contexts.
1414func (c *SageMaker) CreateEdgePackagingJobWithContext(ctx aws.Context, input *CreateEdgePackagingJobInput, opts ...request.Option) (*CreateEdgePackagingJobOutput, error) {
1415	req, out := c.CreateEdgePackagingJobRequest(input)
1416	req.SetContext(ctx)
1417	req.ApplyOptions(opts...)
1418	return out, req.Send()
1419}
1420
1421const opCreateEndpoint = "CreateEndpoint"
1422
1423// CreateEndpointRequest generates a "aws/request.Request" representing the
1424// client's request for the CreateEndpoint operation. The "output" return
1425// value will be populated with the request's response once the request completes
1426// successfully.
1427//
1428// Use "Send" method on the returned Request to send the API call to the service.
1429// the "output" return value is not valid until after Send returns without error.
1430//
1431// See CreateEndpoint for more information on using the CreateEndpoint
1432// API call, and error handling.
1433//
1434// This method is useful when you want to inject custom logic or configuration
1435// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1436//
1437//
1438//    // Example sending a request using the CreateEndpointRequest method.
1439//    req, resp := client.CreateEndpointRequest(params)
1440//
1441//    err := req.Send()
1442//    if err == nil { // resp is now filled
1443//        fmt.Println(resp)
1444//    }
1445//
1446// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpoint
1447func (c *SageMaker) CreateEndpointRequest(input *CreateEndpointInput) (req *request.Request, output *CreateEndpointOutput) {
1448	op := &request.Operation{
1449		Name:       opCreateEndpoint,
1450		HTTPMethod: "POST",
1451		HTTPPath:   "/",
1452	}
1453
1454	if input == nil {
1455		input = &CreateEndpointInput{}
1456	}
1457
1458	output = &CreateEndpointOutput{}
1459	req = c.newRequest(op, input, output)
1460	return
1461}
1462
1463// CreateEndpoint API operation for Amazon SageMaker Service.
1464//
1465// Creates an endpoint using the endpoint configuration specified in the request.
1466// Amazon SageMaker uses the endpoint to provision resources and deploy models.
1467// You create the endpoint configuration with the CreateEndpointConfig API.
1468//
1469// Use this API to deploy models using Amazon SageMaker hosting services.
1470//
1471// For an example that calls this method when deploying a model to Amazon SageMaker
1472// hosting services, see Deploy the Model to Amazon SageMaker Hosting Services
1473// (AWS SDK for Python (Boto 3)). (https://docs.aws.amazon.com/sagemaker/latest/dg/ex1-deploy-model.html#ex1-deploy-model-boto)
1474//
1475// You must not delete an EndpointConfig that is in use by an endpoint that
1476// is live or while the UpdateEndpoint or CreateEndpoint operations are being
1477// performed on the endpoint. To update an endpoint, you must create a new EndpointConfig.
1478//
1479// The endpoint name must be unique within an AWS Region in your AWS account.
1480//
1481// When it receives the request, Amazon SageMaker creates the endpoint, launches
1482// the resources (ML compute instances), and deploys the model(s) on them.
1483//
1484// When you call CreateEndpoint, a load call is made to DynamoDB to verify that
1485// your endpoint configuration exists. When you read data from a DynamoDB table
1486// supporting Eventually Consistent Reads (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadConsistency.html),
1487// the response might not reflect the results of a recently completed write
1488// operation. The response might include some stale data. If the dependent entities
1489// are not yet in DynamoDB, this causes a validation error. If you repeat your
1490// read request after a short time, the response should return the latest data.
1491// So retry logic is recommended to handle these possible issues. We also recommend
1492// that customers call DescribeEndpointConfig before calling CreateEndpoint
1493// to minimize the potential impact of a DynamoDB eventually consistent read.
1494//
1495// When Amazon SageMaker receives the request, it sets the endpoint status to
1496// Creating. After it creates the endpoint, it sets the status to InService.
1497// Amazon SageMaker can then process incoming requests for inferences. To check
1498// the status of an endpoint, use the DescribeEndpoint API.
1499//
1500// If any of the models hosted at this endpoint get model data from an Amazon
1501// S3 location, Amazon SageMaker uses AWS Security Token Service to download
1502// model artifacts from the S3 path you provided. AWS STS is activated in your
1503// IAM user account by default. If you previously deactivated AWS STS for a
1504// region, you need to reactivate AWS STS for that region. For more information,
1505// see Activating and Deactivating AWS STS in an AWS Region (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html)
1506// in the AWS Identity and Access Management User Guide.
1507//
1508// To add the IAM role policies for using this API operation, go to the IAM
1509// console (https://console.aws.amazon.com/iam/), and choose Roles in the left
1510// navigation pane. Search the IAM role that you want to grant access to use
1511// the CreateEndpoint and CreateEndpointConfig API operations, add the following
1512// policies to the role.
1513//
1514//    * Option 1: For a full Amazon SageMaker access, search and attach the
1515//    AmazonSageMakerFullAccess policy.
1516//
1517//    * Option 2: For granting a limited access to an IAM role, paste the following
1518//    Action elements manually into the JSON file of the IAM role: "Action":
1519//    ["sagemaker:CreateEndpoint", "sagemaker:CreateEndpointConfig"] "Resource":
1520//    [ "arn:aws:sagemaker:region:account-id:endpoint/endpointName" "arn:aws:sagemaker:region:account-id:endpoint-config/endpointConfigName"
1521//    ] For more information, see Amazon SageMaker API Permissions: Actions,
1522//    Permissions, and Resources Reference (https://docs.aws.amazon.com/sagemaker/latest/dg/api-permissions-reference.html).
1523//
1524// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1525// with awserr.Error's Code and Message methods to get detailed information about
1526// the error.
1527//
1528// See the AWS API reference guide for Amazon SageMaker Service's
1529// API operation CreateEndpoint for usage and error information.
1530//
1531// Returned Error Types:
1532//   * ResourceLimitExceeded
1533//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1534//   have too many training jobs created.
1535//
1536// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpoint
1537func (c *SageMaker) CreateEndpoint(input *CreateEndpointInput) (*CreateEndpointOutput, error) {
1538	req, out := c.CreateEndpointRequest(input)
1539	return out, req.Send()
1540}
1541
1542// CreateEndpointWithContext is the same as CreateEndpoint with the addition of
1543// the ability to pass a context and additional request options.
1544//
1545// See CreateEndpoint for details on how to use this API operation.
1546//
1547// The context must be non-nil and will be used for request cancellation. If
1548// the context is nil a panic will occur. In the future the SDK may create
1549// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1550// for more information on using Contexts.
1551func (c *SageMaker) CreateEndpointWithContext(ctx aws.Context, input *CreateEndpointInput, opts ...request.Option) (*CreateEndpointOutput, error) {
1552	req, out := c.CreateEndpointRequest(input)
1553	req.SetContext(ctx)
1554	req.ApplyOptions(opts...)
1555	return out, req.Send()
1556}
1557
1558const opCreateEndpointConfig = "CreateEndpointConfig"
1559
1560// CreateEndpointConfigRequest generates a "aws/request.Request" representing the
1561// client's request for the CreateEndpointConfig operation. The "output" return
1562// value will be populated with the request's response once the request completes
1563// successfully.
1564//
1565// Use "Send" method on the returned Request to send the API call to the service.
1566// the "output" return value is not valid until after Send returns without error.
1567//
1568// See CreateEndpointConfig for more information on using the CreateEndpointConfig
1569// API call, and error handling.
1570//
1571// This method is useful when you want to inject custom logic or configuration
1572// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1573//
1574//
1575//    // Example sending a request using the CreateEndpointConfigRequest method.
1576//    req, resp := client.CreateEndpointConfigRequest(params)
1577//
1578//    err := req.Send()
1579//    if err == nil { // resp is now filled
1580//        fmt.Println(resp)
1581//    }
1582//
1583// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpointConfig
1584func (c *SageMaker) CreateEndpointConfigRequest(input *CreateEndpointConfigInput) (req *request.Request, output *CreateEndpointConfigOutput) {
1585	op := &request.Operation{
1586		Name:       opCreateEndpointConfig,
1587		HTTPMethod: "POST",
1588		HTTPPath:   "/",
1589	}
1590
1591	if input == nil {
1592		input = &CreateEndpointConfigInput{}
1593	}
1594
1595	output = &CreateEndpointConfigOutput{}
1596	req = c.newRequest(op, input, output)
1597	return
1598}
1599
1600// CreateEndpointConfig API operation for Amazon SageMaker Service.
1601//
1602// Creates an endpoint configuration that Amazon SageMaker hosting services
1603// uses to deploy models. In the configuration, you identify one or more models,
1604// created using the CreateModel API, to deploy and the resources that you want
1605// Amazon SageMaker to provision. Then you call the CreateEndpoint API.
1606//
1607// Use this API if you want to use Amazon SageMaker hosting services to deploy
1608// models into production.
1609//
1610// In the request, you define a ProductionVariant, for each model that you want
1611// to deploy. Each ProductionVariant parameter also describes the resources
1612// that you want Amazon SageMaker to provision. This includes the number and
1613// type of ML compute instances to deploy.
1614//
1615// If you are hosting multiple models, you also assign a VariantWeight to specify
1616// how much traffic you want to allocate to each model. For example, suppose
1617// that you want to host two models, A and B, and you assign traffic weight
1618// 2 for model A and 1 for model B. Amazon SageMaker distributes two-thirds
1619// of the traffic to Model A, and one-third to model B.
1620//
1621// For an example that calls this method when deploying a model to Amazon SageMaker
1622// hosting services, see Deploy the Model to Amazon SageMaker Hosting Services
1623// (AWS SDK for Python (Boto 3)). (https://docs.aws.amazon.com/sagemaker/latest/dg/ex1-deploy-model.html#ex1-deploy-model-boto)
1624//
1625// When you call CreateEndpoint, a load call is made to DynamoDB to verify that
1626// your endpoint configuration exists. When you read data from a DynamoDB table
1627// supporting Eventually Consistent Reads (https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/HowItWorks.ReadConsistency.html),
1628// the response might not reflect the results of a recently completed write
1629// operation. The response might include some stale data. If the dependent entities
1630// are not yet in DynamoDB, this causes a validation error. If you repeat your
1631// read request after a short time, the response should return the latest data.
1632// So retry logic is recommended to handle these possible issues. We also recommend
1633// that customers call DescribeEndpointConfig before calling CreateEndpoint
1634// to minimize the potential impact of a DynamoDB eventually consistent read.
1635//
1636// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1637// with awserr.Error's Code and Message methods to get detailed information about
1638// the error.
1639//
1640// See the AWS API reference guide for Amazon SageMaker Service's
1641// API operation CreateEndpointConfig for usage and error information.
1642//
1643// Returned Error Types:
1644//   * ResourceLimitExceeded
1645//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1646//   have too many training jobs created.
1647//
1648// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpointConfig
1649func (c *SageMaker) CreateEndpointConfig(input *CreateEndpointConfigInput) (*CreateEndpointConfigOutput, error) {
1650	req, out := c.CreateEndpointConfigRequest(input)
1651	return out, req.Send()
1652}
1653
1654// CreateEndpointConfigWithContext is the same as CreateEndpointConfig with the addition of
1655// the ability to pass a context and additional request options.
1656//
1657// See CreateEndpointConfig for details on how to use this API operation.
1658//
1659// The context must be non-nil and will be used for request cancellation. If
1660// the context is nil a panic will occur. In the future the SDK may create
1661// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1662// for more information on using Contexts.
1663func (c *SageMaker) CreateEndpointConfigWithContext(ctx aws.Context, input *CreateEndpointConfigInput, opts ...request.Option) (*CreateEndpointConfigOutput, error) {
1664	req, out := c.CreateEndpointConfigRequest(input)
1665	req.SetContext(ctx)
1666	req.ApplyOptions(opts...)
1667	return out, req.Send()
1668}
1669
1670const opCreateExperiment = "CreateExperiment"
1671
1672// CreateExperimentRequest generates a "aws/request.Request" representing the
1673// client's request for the CreateExperiment operation. The "output" return
1674// value will be populated with the request's response once the request completes
1675// successfully.
1676//
1677// Use "Send" method on the returned Request to send the API call to the service.
1678// the "output" return value is not valid until after Send returns without error.
1679//
1680// See CreateExperiment for more information on using the CreateExperiment
1681// API call, and error handling.
1682//
1683// This method is useful when you want to inject custom logic or configuration
1684// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1685//
1686//
1687//    // Example sending a request using the CreateExperimentRequest method.
1688//    req, resp := client.CreateExperimentRequest(params)
1689//
1690//    err := req.Send()
1691//    if err == nil { // resp is now filled
1692//        fmt.Println(resp)
1693//    }
1694//
1695// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateExperiment
1696func (c *SageMaker) CreateExperimentRequest(input *CreateExperimentInput) (req *request.Request, output *CreateExperimentOutput) {
1697	op := &request.Operation{
1698		Name:       opCreateExperiment,
1699		HTTPMethod: "POST",
1700		HTTPPath:   "/",
1701	}
1702
1703	if input == nil {
1704		input = &CreateExperimentInput{}
1705	}
1706
1707	output = &CreateExperimentOutput{}
1708	req = c.newRequest(op, input, output)
1709	return
1710}
1711
1712// CreateExperiment API operation for Amazon SageMaker Service.
1713//
1714// Creates an SageMaker experiment. An experiment is a collection of trials
1715// that are observed, compared and evaluated as a group. A trial is a set of
1716// steps, called trial components, that produce a machine learning model.
1717//
1718// The goal of an experiment is to determine the components that produce the
1719// best model. Multiple trials are performed, each one isolating and measuring
1720// the impact of a change to one or more inputs, while keeping the remaining
1721// inputs constant.
1722//
1723// When you use Amazon SageMaker Studio or the Amazon SageMaker Python SDK,
1724// all experiments, trials, and trial components are automatically tracked,
1725// logged, and indexed. When you use the AWS SDK for Python (Boto), you must
1726// use the logging APIs provided by the SDK.
1727//
1728// You can add tags to experiments, trials, trial components and then use the
1729// Search API to search for the tags.
1730//
1731// To add a description to an experiment, specify the optional Description parameter.
1732// To add a description later, or to change the description, call the UpdateExperiment
1733// API.
1734//
1735// To get a list of all your experiments, call the ListExperiments API. To view
1736// an experiment's properties, call the DescribeExperiment API. To get a list
1737// of all the trials associated with an experiment, call the ListTrials API.
1738// To create a trial call the CreateTrial API.
1739//
1740// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1741// with awserr.Error's Code and Message methods to get detailed information about
1742// the error.
1743//
1744// See the AWS API reference guide for Amazon SageMaker Service's
1745// API operation CreateExperiment for usage and error information.
1746//
1747// Returned Error Types:
1748//   * ResourceLimitExceeded
1749//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1750//   have too many training jobs created.
1751//
1752// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateExperiment
1753func (c *SageMaker) CreateExperiment(input *CreateExperimentInput) (*CreateExperimentOutput, error) {
1754	req, out := c.CreateExperimentRequest(input)
1755	return out, req.Send()
1756}
1757
1758// CreateExperimentWithContext is the same as CreateExperiment with the addition of
1759// the ability to pass a context and additional request options.
1760//
1761// See CreateExperiment for details on how to use this API operation.
1762//
1763// The context must be non-nil and will be used for request cancellation. If
1764// the context is nil a panic will occur. In the future the SDK may create
1765// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1766// for more information on using Contexts.
1767func (c *SageMaker) CreateExperimentWithContext(ctx aws.Context, input *CreateExperimentInput, opts ...request.Option) (*CreateExperimentOutput, error) {
1768	req, out := c.CreateExperimentRequest(input)
1769	req.SetContext(ctx)
1770	req.ApplyOptions(opts...)
1771	return out, req.Send()
1772}
1773
1774const opCreateFeatureGroup = "CreateFeatureGroup"
1775
1776// CreateFeatureGroupRequest generates a "aws/request.Request" representing the
1777// client's request for the CreateFeatureGroup operation. The "output" return
1778// value will be populated with the request's response once the request completes
1779// successfully.
1780//
1781// Use "Send" method on the returned Request to send the API call to the service.
1782// the "output" return value is not valid until after Send returns without error.
1783//
1784// See CreateFeatureGroup for more information on using the CreateFeatureGroup
1785// API call, and error handling.
1786//
1787// This method is useful when you want to inject custom logic or configuration
1788// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1789//
1790//
1791//    // Example sending a request using the CreateFeatureGroupRequest method.
1792//    req, resp := client.CreateFeatureGroupRequest(params)
1793//
1794//    err := req.Send()
1795//    if err == nil { // resp is now filled
1796//        fmt.Println(resp)
1797//    }
1798//
1799// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateFeatureGroup
1800func (c *SageMaker) CreateFeatureGroupRequest(input *CreateFeatureGroupInput) (req *request.Request, output *CreateFeatureGroupOutput) {
1801	op := &request.Operation{
1802		Name:       opCreateFeatureGroup,
1803		HTTPMethod: "POST",
1804		HTTPPath:   "/",
1805	}
1806
1807	if input == nil {
1808		input = &CreateFeatureGroupInput{}
1809	}
1810
1811	output = &CreateFeatureGroupOutput{}
1812	req = c.newRequest(op, input, output)
1813	return
1814}
1815
1816// CreateFeatureGroup API operation for Amazon SageMaker Service.
1817//
1818// Create a new FeatureGroup. A FeatureGroup is a group of Features defined
1819// in the FeatureStore to describe a Record.
1820//
1821// The FeatureGroup defines the schema and features contained in the FeatureGroup.
1822// A FeatureGroup definition is composed of a list of Features, a RecordIdentifierFeatureName,
1823// an EventTimeFeatureName and configurations for its OnlineStore and OfflineStore.
1824// Check AWS service quotas (https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html)
1825// to see the FeatureGroups quota for your AWS account.
1826//
1827// You must include at least one of OnlineStoreConfig and OfflineStoreConfig
1828// to create a FeatureGroup.
1829//
1830// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1831// with awserr.Error's Code and Message methods to get detailed information about
1832// the error.
1833//
1834// See the AWS API reference guide for Amazon SageMaker Service's
1835// API operation CreateFeatureGroup for usage and error information.
1836//
1837// Returned Error Types:
1838//   * ResourceInUse
1839//   Resource being accessed is in use.
1840//
1841//   * ResourceLimitExceeded
1842//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1843//   have too many training jobs created.
1844//
1845// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateFeatureGroup
1846func (c *SageMaker) CreateFeatureGroup(input *CreateFeatureGroupInput) (*CreateFeatureGroupOutput, error) {
1847	req, out := c.CreateFeatureGroupRequest(input)
1848	return out, req.Send()
1849}
1850
1851// CreateFeatureGroupWithContext is the same as CreateFeatureGroup with the addition of
1852// the ability to pass a context and additional request options.
1853//
1854// See CreateFeatureGroup for details on how to use this API operation.
1855//
1856// The context must be non-nil and will be used for request cancellation. If
1857// the context is nil a panic will occur. In the future the SDK may create
1858// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1859// for more information on using Contexts.
1860func (c *SageMaker) CreateFeatureGroupWithContext(ctx aws.Context, input *CreateFeatureGroupInput, opts ...request.Option) (*CreateFeatureGroupOutput, error) {
1861	req, out := c.CreateFeatureGroupRequest(input)
1862	req.SetContext(ctx)
1863	req.ApplyOptions(opts...)
1864	return out, req.Send()
1865}
1866
1867const opCreateFlowDefinition = "CreateFlowDefinition"
1868
1869// CreateFlowDefinitionRequest generates a "aws/request.Request" representing the
1870// client's request for the CreateFlowDefinition operation. The "output" return
1871// value will be populated with the request's response once the request completes
1872// successfully.
1873//
1874// Use "Send" method on the returned Request to send the API call to the service.
1875// the "output" return value is not valid until after Send returns without error.
1876//
1877// See CreateFlowDefinition for more information on using the CreateFlowDefinition
1878// API call, and error handling.
1879//
1880// This method is useful when you want to inject custom logic or configuration
1881// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1882//
1883//
1884//    // Example sending a request using the CreateFlowDefinitionRequest method.
1885//    req, resp := client.CreateFlowDefinitionRequest(params)
1886//
1887//    err := req.Send()
1888//    if err == nil { // resp is now filled
1889//        fmt.Println(resp)
1890//    }
1891//
1892// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateFlowDefinition
1893func (c *SageMaker) CreateFlowDefinitionRequest(input *CreateFlowDefinitionInput) (req *request.Request, output *CreateFlowDefinitionOutput) {
1894	op := &request.Operation{
1895		Name:       opCreateFlowDefinition,
1896		HTTPMethod: "POST",
1897		HTTPPath:   "/",
1898	}
1899
1900	if input == nil {
1901		input = &CreateFlowDefinitionInput{}
1902	}
1903
1904	output = &CreateFlowDefinitionOutput{}
1905	req = c.newRequest(op, input, output)
1906	return
1907}
1908
1909// CreateFlowDefinition API operation for Amazon SageMaker Service.
1910//
1911// Creates a flow definition.
1912//
1913// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1914// with awserr.Error's Code and Message methods to get detailed information about
1915// the error.
1916//
1917// See the AWS API reference guide for Amazon SageMaker Service's
1918// API operation CreateFlowDefinition for usage and error information.
1919//
1920// Returned Error Types:
1921//   * ResourceLimitExceeded
1922//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1923//   have too many training jobs created.
1924//
1925//   * ResourceInUse
1926//   Resource being accessed is in use.
1927//
1928// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateFlowDefinition
1929func (c *SageMaker) CreateFlowDefinition(input *CreateFlowDefinitionInput) (*CreateFlowDefinitionOutput, error) {
1930	req, out := c.CreateFlowDefinitionRequest(input)
1931	return out, req.Send()
1932}
1933
1934// CreateFlowDefinitionWithContext is the same as CreateFlowDefinition with the addition of
1935// the ability to pass a context and additional request options.
1936//
1937// See CreateFlowDefinition for details on how to use this API operation.
1938//
1939// The context must be non-nil and will be used for request cancellation. If
1940// the context is nil a panic will occur. In the future the SDK may create
1941// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1942// for more information on using Contexts.
1943func (c *SageMaker) CreateFlowDefinitionWithContext(ctx aws.Context, input *CreateFlowDefinitionInput, opts ...request.Option) (*CreateFlowDefinitionOutput, error) {
1944	req, out := c.CreateFlowDefinitionRequest(input)
1945	req.SetContext(ctx)
1946	req.ApplyOptions(opts...)
1947	return out, req.Send()
1948}
1949
1950const opCreateHumanTaskUi = "CreateHumanTaskUi"
1951
1952// CreateHumanTaskUiRequest generates a "aws/request.Request" representing the
1953// client's request for the CreateHumanTaskUi operation. The "output" return
1954// value will be populated with the request's response once the request completes
1955// successfully.
1956//
1957// Use "Send" method on the returned Request to send the API call to the service.
1958// the "output" return value is not valid until after Send returns without error.
1959//
1960// See CreateHumanTaskUi for more information on using the CreateHumanTaskUi
1961// API call, and error handling.
1962//
1963// This method is useful when you want to inject custom logic or configuration
1964// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1965//
1966//
1967//    // Example sending a request using the CreateHumanTaskUiRequest method.
1968//    req, resp := client.CreateHumanTaskUiRequest(params)
1969//
1970//    err := req.Send()
1971//    if err == nil { // resp is now filled
1972//        fmt.Println(resp)
1973//    }
1974//
1975// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateHumanTaskUi
1976func (c *SageMaker) CreateHumanTaskUiRequest(input *CreateHumanTaskUiInput) (req *request.Request, output *CreateHumanTaskUiOutput) {
1977	op := &request.Operation{
1978		Name:       opCreateHumanTaskUi,
1979		HTTPMethod: "POST",
1980		HTTPPath:   "/",
1981	}
1982
1983	if input == nil {
1984		input = &CreateHumanTaskUiInput{}
1985	}
1986
1987	output = &CreateHumanTaskUiOutput{}
1988	req = c.newRequest(op, input, output)
1989	return
1990}
1991
1992// CreateHumanTaskUi API operation for Amazon SageMaker Service.
1993//
1994// Defines the settings you will use for the human review workflow user interface.
1995// Reviewers will see a three-panel interface with an instruction area, the
1996// item to review, and an input area.
1997//
1998// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1999// with awserr.Error's Code and Message methods to get detailed information about
2000// the error.
2001//
2002// See the AWS API reference guide for Amazon SageMaker Service's
2003// API operation CreateHumanTaskUi for usage and error information.
2004//
2005// Returned Error Types:
2006//   * ResourceLimitExceeded
2007//   You have exceeded an Amazon SageMaker resource limit. For example, you might
2008//   have too many training jobs created.
2009//
2010//   * ResourceInUse
2011//   Resource being accessed is in use.
2012//
2013// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateHumanTaskUi
2014func (c *SageMaker) CreateHumanTaskUi(input *CreateHumanTaskUiInput) (*CreateHumanTaskUiOutput, error) {
2015	req, out := c.CreateHumanTaskUiRequest(input)
2016	return out, req.Send()
2017}
2018
2019// CreateHumanTaskUiWithContext is the same as CreateHumanTaskUi with the addition of
2020// the ability to pass a context and additional request options.
2021//
2022// See CreateHumanTaskUi for details on how to use this API operation.
2023//
2024// The context must be non-nil and will be used for request cancellation. If
2025// the context is nil a panic will occur. In the future the SDK may create
2026// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2027// for more information on using Contexts.
2028func (c *SageMaker) CreateHumanTaskUiWithContext(ctx aws.Context, input *CreateHumanTaskUiInput, opts ...request.Option) (*CreateHumanTaskUiOutput, error) {
2029	req, out := c.CreateHumanTaskUiRequest(input)
2030	req.SetContext(ctx)
2031	req.ApplyOptions(opts...)
2032	return out, req.Send()
2033}
2034
2035const opCreateHyperParameterTuningJob = "CreateHyperParameterTuningJob"
2036
2037// CreateHyperParameterTuningJobRequest generates a "aws/request.Request" representing the
2038// client's request for the CreateHyperParameterTuningJob operation. The "output" return
2039// value will be populated with the request's response once the request completes
2040// successfully.
2041//
2042// Use "Send" method on the returned Request to send the API call to the service.
2043// the "output" return value is not valid until after Send returns without error.
2044//
2045// See CreateHyperParameterTuningJob for more information on using the CreateHyperParameterTuningJob
2046// API call, and error handling.
2047//
2048// This method is useful when you want to inject custom logic or configuration
2049// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2050//
2051//
2052//    // Example sending a request using the CreateHyperParameterTuningJobRequest method.
2053//    req, resp := client.CreateHyperParameterTuningJobRequest(params)
2054//
2055//    err := req.Send()
2056//    if err == nil { // resp is now filled
2057//        fmt.Println(resp)
2058//    }
2059//
2060// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateHyperParameterTuningJob
2061func (c *SageMaker) CreateHyperParameterTuningJobRequest(input *CreateHyperParameterTuningJobInput) (req *request.Request, output *CreateHyperParameterTuningJobOutput) {
2062	op := &request.Operation{
2063		Name:       opCreateHyperParameterTuningJob,
2064		HTTPMethod: "POST",
2065		HTTPPath:   "/",
2066	}
2067
2068	if input == nil {
2069		input = &CreateHyperParameterTuningJobInput{}
2070	}
2071
2072	output = &CreateHyperParameterTuningJobOutput{}
2073	req = c.newRequest(op, input, output)
2074	return
2075}
2076
2077// CreateHyperParameterTuningJob API operation for Amazon SageMaker Service.
2078//
2079// Starts a hyperparameter tuning job. A hyperparameter tuning job finds the
2080// best version of a model by running many training jobs on your dataset using
2081// the algorithm you choose and values for hyperparameters within ranges that
2082// you specify. It then chooses the hyperparameter values that result in a model
2083// that performs the best, as measured by an objective metric that you choose.
2084//
2085// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2086// with awserr.Error's Code and Message methods to get detailed information about
2087// the error.
2088//
2089// See the AWS API reference guide for Amazon SageMaker Service's
2090// API operation CreateHyperParameterTuningJob for usage and error information.
2091//
2092// Returned Error Types:
2093//   * ResourceInUse
2094//   Resource being accessed is in use.
2095//
2096//   * ResourceLimitExceeded
2097//   You have exceeded an Amazon SageMaker resource limit. For example, you might
2098//   have too many training jobs created.
2099//
2100// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateHyperParameterTuningJob
2101func (c *SageMaker) CreateHyperParameterTuningJob(input *CreateHyperParameterTuningJobInput) (*CreateHyperParameterTuningJobOutput, error) {
2102	req, out := c.CreateHyperParameterTuningJobRequest(input)
2103	return out, req.Send()
2104}
2105
2106// CreateHyperParameterTuningJobWithContext is the same as CreateHyperParameterTuningJob with the addition of
2107// the ability to pass a context and additional request options.
2108//
2109// See CreateHyperParameterTuningJob for details on how to use this API operation.
2110//
2111// The context must be non-nil and will be used for request cancellation. If
2112// the context is nil a panic will occur. In the future the SDK may create
2113// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2114// for more information on using Contexts.
2115func (c *SageMaker) CreateHyperParameterTuningJobWithContext(ctx aws.Context, input *CreateHyperParameterTuningJobInput, opts ...request.Option) (*CreateHyperParameterTuningJobOutput, error) {
2116	req, out := c.CreateHyperParameterTuningJobRequest(input)
2117	req.SetContext(ctx)
2118	req.ApplyOptions(opts...)
2119	return out, req.Send()
2120}
2121
2122const opCreateImage = "CreateImage"
2123
2124// CreateImageRequest generates a "aws/request.Request" representing the
2125// client's request for the CreateImage operation. The "output" return
2126// value will be populated with the request's response once the request completes
2127// successfully.
2128//
2129// Use "Send" method on the returned Request to send the API call to the service.
2130// the "output" return value is not valid until after Send returns without error.
2131//
2132// See CreateImage for more information on using the CreateImage
2133// API call, and error handling.
2134//
2135// This method is useful when you want to inject custom logic or configuration
2136// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2137//
2138//
2139//    // Example sending a request using the CreateImageRequest method.
2140//    req, resp := client.CreateImageRequest(params)
2141//
2142//    err := req.Send()
2143//    if err == nil { // resp is now filled
2144//        fmt.Println(resp)
2145//    }
2146//
2147// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateImage
2148func (c *SageMaker) CreateImageRequest(input *CreateImageInput) (req *request.Request, output *CreateImageOutput) {
2149	op := &request.Operation{
2150		Name:       opCreateImage,
2151		HTTPMethod: "POST",
2152		HTTPPath:   "/",
2153	}
2154
2155	if input == nil {
2156		input = &CreateImageInput{}
2157	}
2158
2159	output = &CreateImageOutput{}
2160	req = c.newRequest(op, input, output)
2161	return
2162}
2163
2164// CreateImage API operation for Amazon SageMaker Service.
2165//
2166// Creates a custom SageMaker image. A SageMaker image is a set of image versions.
2167// Each image version represents a container image stored in Amazon Container
2168// Registry (ECR). For more information, see Bring your own SageMaker image
2169// (https://docs.aws.amazon.com/sagemaker/latest/dg/studio-byoi.html).
2170//
2171// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2172// with awserr.Error's Code and Message methods to get detailed information about
2173// the error.
2174//
2175// See the AWS API reference guide for Amazon SageMaker Service's
2176// API operation CreateImage for usage and error information.
2177//
2178// Returned Error Types:
2179//   * ResourceInUse
2180//   Resource being accessed is in use.
2181//
2182//   * ResourceLimitExceeded
2183//   You have exceeded an Amazon SageMaker resource limit. For example, you might
2184//   have too many training jobs created.
2185//
2186// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateImage
2187func (c *SageMaker) CreateImage(input *CreateImageInput) (*CreateImageOutput, error) {
2188	req, out := c.CreateImageRequest(input)
2189	return out, req.Send()
2190}
2191
2192// CreateImageWithContext is the same as CreateImage with the addition of
2193// the ability to pass a context and additional request options.
2194//
2195// See CreateImage for details on how to use this API operation.
2196//
2197// The context must be non-nil and will be used for request cancellation. If
2198// the context is nil a panic will occur. In the future the SDK may create
2199// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2200// for more information on using Contexts.
2201func (c *SageMaker) CreateImageWithContext(ctx aws.Context, input *CreateImageInput, opts ...request.Option) (*CreateImageOutput, error) {
2202	req, out := c.CreateImageRequest(input)
2203	req.SetContext(ctx)
2204	req.ApplyOptions(opts...)
2205	return out, req.Send()
2206}
2207
2208const opCreateImageVersion = "CreateImageVersion"
2209
2210// CreateImageVersionRequest generates a "aws/request.Request" representing the
2211// client's request for the CreateImageVersion operation. The "output" return
2212// value will be populated with the request's response once the request completes
2213// successfully.
2214//
2215// Use "Send" method on the returned Request to send the API call to the service.
2216// the "output" return value is not valid until after Send returns without error.
2217//
2218// See CreateImageVersion for more information on using the CreateImageVersion
2219// API call, and error handling.
2220//
2221// This method is useful when you want to inject custom logic or configuration
2222// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2223//
2224//
2225//    // Example sending a request using the CreateImageVersionRequest method.
2226//    req, resp := client.CreateImageVersionRequest(params)
2227//
2228//    err := req.Send()
2229//    if err == nil { // resp is now filled
2230//        fmt.Println(resp)
2231//    }
2232//
2233// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateImageVersion
2234func (c *SageMaker) CreateImageVersionRequest(input *CreateImageVersionInput) (req *request.Request, output *CreateImageVersionOutput) {
2235	op := &request.Operation{
2236		Name:       opCreateImageVersion,
2237		HTTPMethod: "POST",
2238		HTTPPath:   "/",
2239	}
2240
2241	if input == nil {
2242		input = &CreateImageVersionInput{}
2243	}
2244
2245	output = &CreateImageVersionOutput{}
2246	req = c.newRequest(op, input, output)
2247	return
2248}
2249
2250// CreateImageVersion API operation for Amazon SageMaker Service.
2251//
2252// Creates a version of the SageMaker image specified by ImageName. The version
2253// represents the Amazon Container Registry (ECR) container image specified
2254// by BaseImage.
2255//
2256// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2257// with awserr.Error's Code and Message methods to get detailed information about
2258// the error.
2259//
2260// See the AWS API reference guide for Amazon SageMaker Service's
2261// API operation CreateImageVersion for usage and error information.
2262//
2263// Returned Error Types:
2264//   * ResourceInUse
2265//   Resource being accessed is in use.
2266//
2267//   * ResourceLimitExceeded
2268//   You have exceeded an Amazon SageMaker resource limit. For example, you might
2269//   have too many training jobs created.
2270//
2271//   * ResourceNotFound
2272//   Resource being access is not found.
2273//
2274// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateImageVersion
2275func (c *SageMaker) CreateImageVersion(input *CreateImageVersionInput) (*CreateImageVersionOutput, error) {
2276	req, out := c.CreateImageVersionRequest(input)
2277	return out, req.Send()
2278}
2279
2280// CreateImageVersionWithContext is the same as CreateImageVersion with the addition of
2281// the ability to pass a context and additional request options.
2282//
2283// See CreateImageVersion for details on how to use this API operation.
2284//
2285// The context must be non-nil and will be used for request cancellation. If
2286// the context is nil a panic will occur. In the future the SDK may create
2287// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2288// for more information on using Contexts.
2289func (c *SageMaker) CreateImageVersionWithContext(ctx aws.Context, input *CreateImageVersionInput, opts ...request.Option) (*CreateImageVersionOutput, error) {
2290	req, out := c.CreateImageVersionRequest(input)
2291	req.SetContext(ctx)
2292	req.ApplyOptions(opts...)
2293	return out, req.Send()
2294}
2295
2296const opCreateLabelingJob = "CreateLabelingJob"
2297
2298// CreateLabelingJobRequest generates a "aws/request.Request" representing the
2299// client's request for the CreateLabelingJob operation. The "output" return
2300// value will be populated with the request's response once the request completes
2301// successfully.
2302//
2303// Use "Send" method on the returned Request to send the API call to the service.
2304// the "output" return value is not valid until after Send returns without error.
2305//
2306// See CreateLabelingJob for more information on using the CreateLabelingJob
2307// API call, and error handling.
2308//
2309// This method is useful when you want to inject custom logic or configuration
2310// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2311//
2312//
2313//    // Example sending a request using the CreateLabelingJobRequest method.
2314//    req, resp := client.CreateLabelingJobRequest(params)
2315//
2316//    err := req.Send()
2317//    if err == nil { // resp is now filled
2318//        fmt.Println(resp)
2319//    }
2320//
2321// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateLabelingJob
2322func (c *SageMaker) CreateLabelingJobRequest(input *CreateLabelingJobInput) (req *request.Request, output *CreateLabelingJobOutput) {
2323	op := &request.Operation{
2324		Name:       opCreateLabelingJob,
2325		HTTPMethod: "POST",
2326		HTTPPath:   "/",
2327	}
2328
2329	if input == nil {
2330		input = &CreateLabelingJobInput{}
2331	}
2332
2333	output = &CreateLabelingJobOutput{}
2334	req = c.newRequest(op, input, output)
2335	return
2336}
2337
2338// CreateLabelingJob API operation for Amazon SageMaker Service.
2339//
2340// Creates a job that uses workers to label the data objects in your input dataset.
2341// You can use the labeled data to train machine learning models.
2342//
2343// You can select your workforce from one of three providers:
2344//
2345//    * A private workforce that you create. It can include employees, contractors,
2346//    and outside experts. Use a private workforce when want the data to stay
2347//    within your organization or when a specific set of skills is required.
2348//
2349//    * One or more vendors that you select from the AWS Marketplace. Vendors
2350//    provide expertise in specific areas.
2351//
2352//    * The Amazon Mechanical Turk workforce. This is the largest workforce,
2353//    but it should only be used for public data or data that has been stripped
2354//    of any personally identifiable information.
2355//
2356// You can also use automated data labeling to reduce the number of data objects
2357// that need to be labeled by a human. Automated data labeling uses active learning
2358// to determine if a data object can be labeled by machine or if it needs to
2359// be sent to a human worker. For more information, see Using Automated Data
2360// Labeling (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-automated-labeling.html).
2361//
2362// The data objects to be labeled are contained in an Amazon S3 bucket. You
2363// create a manifest file that describes the location of each object. For more
2364// information, see Using Input and Output Data (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-data.html).
2365//
2366// The output can be used as the manifest file for another labeling job or as
2367// training data for your machine learning models.
2368//
2369// You can use this operation to create a static labeling job or a streaming
2370// labeling job. A static labeling job stops if all data objects in the input
2371// manifest file identified in ManifestS3Uri have been labeled. A streaming
2372// labeling job runs perpetually until it is manually stopped, or remains idle
2373// for 10 days. You can send new data objects to an active (InProgress) streaming
2374// labeling job in real time. To learn how to create a static labeling job,
2375// see Create a Labeling Job (API) (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-create-labeling-job-api.html)
2376// in the Amazon SageMaker Developer Guide. To learn how to create a streaming
2377// labeling job, see Create a Streaming Labeling Job (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-streaming-create-job.html).
2378//
2379// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2380// with awserr.Error's Code and Message methods to get detailed information about
2381// the error.
2382//
2383// See the AWS API reference guide for Amazon SageMaker Service's
2384// API operation CreateLabelingJob for usage and error information.
2385//
2386// Returned Error Types:
2387//   * ResourceInUse
2388//   Resource being accessed is in use.
2389//
2390//   * ResourceLimitExceeded
2391//   You have exceeded an Amazon SageMaker resource limit. For example, you might
2392//   have too many training jobs created.
2393//
2394// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateLabelingJob
2395func (c *SageMaker) CreateLabelingJob(input *CreateLabelingJobInput) (*CreateLabelingJobOutput, error) {
2396	req, out := c.CreateLabelingJobRequest(input)
2397	return out, req.Send()
2398}
2399
2400// CreateLabelingJobWithContext is the same as CreateLabelingJob with the addition of
2401// the ability to pass a context and additional request options.
2402//
2403// See CreateLabelingJob for details on how to use this API operation.
2404//
2405// The context must be non-nil and will be used for request cancellation. If
2406// the context is nil a panic will occur. In the future the SDK may create
2407// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2408// for more information on using Contexts.
2409func (c *SageMaker) CreateLabelingJobWithContext(ctx aws.Context, input *CreateLabelingJobInput, opts ...request.Option) (*CreateLabelingJobOutput, error) {
2410	req, out := c.CreateLabelingJobRequest(input)
2411	req.SetContext(ctx)
2412	req.ApplyOptions(opts...)
2413	return out, req.Send()
2414}
2415
2416const opCreateModel = "CreateModel"
2417
2418// CreateModelRequest generates a "aws/request.Request" representing the
2419// client's request for the CreateModel operation. The "output" return
2420// value will be populated with the request's response once the request completes
2421// successfully.
2422//
2423// Use "Send" method on the returned Request to send the API call to the service.
2424// the "output" return value is not valid until after Send returns without error.
2425//
2426// See CreateModel for more information on using the CreateModel
2427// API call, and error handling.
2428//
2429// This method is useful when you want to inject custom logic or configuration
2430// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2431//
2432//
2433//    // Example sending a request using the CreateModelRequest method.
2434//    req, resp := client.CreateModelRequest(params)
2435//
2436//    err := req.Send()
2437//    if err == nil { // resp is now filled
2438//        fmt.Println(resp)
2439//    }
2440//
2441// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModel
2442func (c *SageMaker) CreateModelRequest(input *CreateModelInput) (req *request.Request, output *CreateModelOutput) {
2443	op := &request.Operation{
2444		Name:       opCreateModel,
2445		HTTPMethod: "POST",
2446		HTTPPath:   "/",
2447	}
2448
2449	if input == nil {
2450		input = &CreateModelInput{}
2451	}
2452
2453	output = &CreateModelOutput{}
2454	req = c.newRequest(op, input, output)
2455	return
2456}
2457
2458// CreateModel API operation for Amazon SageMaker Service.
2459//
2460// Creates a model in Amazon SageMaker. In the request, you name the model and
2461// describe a primary container. For the primary container, you specify the
2462// Docker image that contains inference code, artifacts (from prior training),
2463// and a custom environment map that the inference code uses when you deploy
2464// the model for predictions.
2465//
2466// Use this API to create a model if you want to use Amazon SageMaker hosting
2467// services or run a batch transform job.
2468//
2469// To host your model, you create an endpoint configuration with the CreateEndpointConfig
2470// API, and then create an endpoint with the CreateEndpoint API. Amazon SageMaker
2471// then deploys all of the containers that you defined for the model in the
2472// hosting environment.
2473//
2474// For an example that calls this method when deploying a model to Amazon SageMaker
2475// hosting services, see Deploy the Model to Amazon SageMaker Hosting Services
2476// (AWS SDK for Python (Boto 3)). (https://docs.aws.amazon.com/sagemaker/latest/dg/ex1-deploy-model.html#ex1-deploy-model-boto)
2477//
2478// To run a batch transform using your model, you start a job with the CreateTransformJob
2479// API. Amazon SageMaker uses your model and your dataset to get inferences
2480// which are then saved to a specified S3 location.
2481//
2482// In the CreateModel request, you must define a container with the PrimaryContainer
2483// parameter.
2484//
2485// In the request, you also provide an IAM role that Amazon SageMaker can assume
2486// to access model artifacts and docker image for deployment on ML compute hosting
2487// instances or for batch transform jobs. In addition, you also use the IAM
2488// role to manage permissions the inference code needs. For example, if the
2489// inference code access any other AWS resources, you grant necessary permissions
2490// via this role.
2491//
2492// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2493// with awserr.Error's Code and Message methods to get detailed information about
2494// the error.
2495//
2496// See the AWS API reference guide for Amazon SageMaker Service's
2497// API operation CreateModel for usage and error information.
2498//
2499// Returned Error Types:
2500//   * ResourceLimitExceeded
2501//   You have exceeded an Amazon SageMaker resource limit. For example, you might
2502//   have too many training jobs created.
2503//
2504// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModel
2505func (c *SageMaker) CreateModel(input *CreateModelInput) (*CreateModelOutput, error) {
2506	req, out := c.CreateModelRequest(input)
2507	return out, req.Send()
2508}
2509
2510// CreateModelWithContext is the same as CreateModel with the addition of
2511// the ability to pass a context and additional request options.
2512//
2513// See CreateModel for details on how to use this API operation.
2514//
2515// The context must be non-nil and will be used for request cancellation. If
2516// the context is nil a panic will occur. In the future the SDK may create
2517// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2518// for more information on using Contexts.
2519func (c *SageMaker) CreateModelWithContext(ctx aws.Context, input *CreateModelInput, opts ...request.Option) (*CreateModelOutput, error) {
2520	req, out := c.CreateModelRequest(input)
2521	req.SetContext(ctx)
2522	req.ApplyOptions(opts...)
2523	return out, req.Send()
2524}
2525
2526const opCreateModelBiasJobDefinition = "CreateModelBiasJobDefinition"
2527
2528// CreateModelBiasJobDefinitionRequest generates a "aws/request.Request" representing the
2529// client's request for the CreateModelBiasJobDefinition operation. The "output" return
2530// value will be populated with the request's response once the request completes
2531// successfully.
2532//
2533// Use "Send" method on the returned Request to send the API call to the service.
2534// the "output" return value is not valid until after Send returns without error.
2535//
2536// See CreateModelBiasJobDefinition for more information on using the CreateModelBiasJobDefinition
2537// API call, and error handling.
2538//
2539// This method is useful when you want to inject custom logic or configuration
2540// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2541//
2542//
2543//    // Example sending a request using the CreateModelBiasJobDefinitionRequest method.
2544//    req, resp := client.CreateModelBiasJobDefinitionRequest(params)
2545//
2546//    err := req.Send()
2547//    if err == nil { // resp is now filled
2548//        fmt.Println(resp)
2549//    }
2550//
2551// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelBiasJobDefinition
2552func (c *SageMaker) CreateModelBiasJobDefinitionRequest(input *CreateModelBiasJobDefinitionInput) (req *request.Request, output *CreateModelBiasJobDefinitionOutput) {
2553	op := &request.Operation{
2554		Name:       opCreateModelBiasJobDefinition,
2555		HTTPMethod: "POST",
2556		HTTPPath:   "/",
2557	}
2558
2559	if input == nil {
2560		input = &CreateModelBiasJobDefinitionInput{}
2561	}
2562
2563	output = &CreateModelBiasJobDefinitionOutput{}
2564	req = c.newRequest(op, input, output)
2565	return
2566}
2567
2568// CreateModelBiasJobDefinition API operation for Amazon SageMaker Service.
2569//
2570// Creates the definition for a model bias job.
2571//
2572// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2573// with awserr.Error's Code and Message methods to get detailed information about
2574// the error.
2575//
2576// See the AWS API reference guide for Amazon SageMaker Service's
2577// API operation CreateModelBiasJobDefinition for usage and error information.
2578//
2579// Returned Error Types:
2580//   * ResourceLimitExceeded
2581//   You have exceeded an Amazon SageMaker resource limit. For example, you might
2582//   have too many training jobs created.
2583//
2584//   * ResourceInUse
2585//   Resource being accessed is in use.
2586//
2587// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelBiasJobDefinition
2588func (c *SageMaker) CreateModelBiasJobDefinition(input *CreateModelBiasJobDefinitionInput) (*CreateModelBiasJobDefinitionOutput, error) {
2589	req, out := c.CreateModelBiasJobDefinitionRequest(input)
2590	return out, req.Send()
2591}
2592
2593// CreateModelBiasJobDefinitionWithContext is the same as CreateModelBiasJobDefinition with the addition of
2594// the ability to pass a context and additional request options.
2595//
2596// See CreateModelBiasJobDefinition for details on how to use this API operation.
2597//
2598// The context must be non-nil and will be used for request cancellation. If
2599// the context is nil a panic will occur. In the future the SDK may create
2600// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2601// for more information on using Contexts.
2602func (c *SageMaker) CreateModelBiasJobDefinitionWithContext(ctx aws.Context, input *CreateModelBiasJobDefinitionInput, opts ...request.Option) (*CreateModelBiasJobDefinitionOutput, error) {
2603	req, out := c.CreateModelBiasJobDefinitionRequest(input)
2604	req.SetContext(ctx)
2605	req.ApplyOptions(opts...)
2606	return out, req.Send()
2607}
2608
2609const opCreateModelExplainabilityJobDefinition = "CreateModelExplainabilityJobDefinition"
2610
2611// CreateModelExplainabilityJobDefinitionRequest generates a "aws/request.Request" representing the
2612// client's request for the CreateModelExplainabilityJobDefinition operation. The "output" return
2613// value will be populated with the request's response once the request completes
2614// successfully.
2615//
2616// Use "Send" method on the returned Request to send the API call to the service.
2617// the "output" return value is not valid until after Send returns without error.
2618//
2619// See CreateModelExplainabilityJobDefinition for more information on using the CreateModelExplainabilityJobDefinition
2620// API call, and error handling.
2621//
2622// This method is useful when you want to inject custom logic or configuration
2623// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2624//
2625//
2626//    // Example sending a request using the CreateModelExplainabilityJobDefinitionRequest method.
2627//    req, resp := client.CreateModelExplainabilityJobDefinitionRequest(params)
2628//
2629//    err := req.Send()
2630//    if err == nil { // resp is now filled
2631//        fmt.Println(resp)
2632//    }
2633//
2634// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelExplainabilityJobDefinition
2635func (c *SageMaker) CreateModelExplainabilityJobDefinitionRequest(input *CreateModelExplainabilityJobDefinitionInput) (req *request.Request, output *CreateModelExplainabilityJobDefinitionOutput) {
2636	op := &request.Operation{
2637		Name:       opCreateModelExplainabilityJobDefinition,
2638		HTTPMethod: "POST",
2639		HTTPPath:   "/",
2640	}
2641
2642	if input == nil {
2643		input = &CreateModelExplainabilityJobDefinitionInput{}
2644	}
2645
2646	output = &CreateModelExplainabilityJobDefinitionOutput{}
2647	req = c.newRequest(op, input, output)
2648	return
2649}
2650
2651// CreateModelExplainabilityJobDefinition API operation for Amazon SageMaker Service.
2652//
2653// Creates the definition for a model explainability job.
2654//
2655// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2656// with awserr.Error's Code and Message methods to get detailed information about
2657// the error.
2658//
2659// See the AWS API reference guide for Amazon SageMaker Service's
2660// API operation CreateModelExplainabilityJobDefinition for usage and error information.
2661//
2662// Returned Error Types:
2663//   * ResourceLimitExceeded
2664//   You have exceeded an Amazon SageMaker resource limit. For example, you might
2665//   have too many training jobs created.
2666//
2667//   * ResourceInUse
2668//   Resource being accessed is in use.
2669//
2670// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelExplainabilityJobDefinition
2671func (c *SageMaker) CreateModelExplainabilityJobDefinition(input *CreateModelExplainabilityJobDefinitionInput) (*CreateModelExplainabilityJobDefinitionOutput, error) {
2672	req, out := c.CreateModelExplainabilityJobDefinitionRequest(input)
2673	return out, req.Send()
2674}
2675
2676// CreateModelExplainabilityJobDefinitionWithContext is the same as CreateModelExplainabilityJobDefinition with the addition of
2677// the ability to pass a context and additional request options.
2678//
2679// See CreateModelExplainabilityJobDefinition for details on how to use this API operation.
2680//
2681// The context must be non-nil and will be used for request cancellation. If
2682// the context is nil a panic will occur. In the future the SDK may create
2683// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2684// for more information on using Contexts.
2685func (c *SageMaker) CreateModelExplainabilityJobDefinitionWithContext(ctx aws.Context, input *CreateModelExplainabilityJobDefinitionInput, opts ...request.Option) (*CreateModelExplainabilityJobDefinitionOutput, error) {
2686	req, out := c.CreateModelExplainabilityJobDefinitionRequest(input)
2687	req.SetContext(ctx)
2688	req.ApplyOptions(opts...)
2689	return out, req.Send()
2690}
2691
2692const opCreateModelPackage = "CreateModelPackage"
2693
2694// CreateModelPackageRequest generates a "aws/request.Request" representing the
2695// client's request for the CreateModelPackage operation. The "output" return
2696// value will be populated with the request's response once the request completes
2697// successfully.
2698//
2699// Use "Send" method on the returned Request to send the API call to the service.
2700// the "output" return value is not valid until after Send returns without error.
2701//
2702// See CreateModelPackage for more information on using the CreateModelPackage
2703// API call, and error handling.
2704//
2705// This method is useful when you want to inject custom logic or configuration
2706// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2707//
2708//
2709//    // Example sending a request using the CreateModelPackageRequest method.
2710//    req, resp := client.CreateModelPackageRequest(params)
2711//
2712//    err := req.Send()
2713//    if err == nil { // resp is now filled
2714//        fmt.Println(resp)
2715//    }
2716//
2717// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelPackage
2718func (c *SageMaker) CreateModelPackageRequest(input *CreateModelPackageInput) (req *request.Request, output *CreateModelPackageOutput) {
2719	op := &request.Operation{
2720		Name:       opCreateModelPackage,
2721		HTTPMethod: "POST",
2722		HTTPPath:   "/",
2723	}
2724
2725	if input == nil {
2726		input = &CreateModelPackageInput{}
2727	}
2728
2729	output = &CreateModelPackageOutput{}
2730	req = c.newRequest(op, input, output)
2731	return
2732}
2733
2734// CreateModelPackage API operation for Amazon SageMaker Service.
2735//
2736// Creates a model package that you can use to create Amazon SageMaker models
2737// or list on AWS Marketplace, or a versioned model that is part of a model
2738// group. Buyers can subscribe to model packages listed on AWS Marketplace to
2739// create models in Amazon SageMaker.
2740//
2741// To create a model package by specifying a Docker container that contains
2742// your inference code and the Amazon S3 location of your model artifacts, provide
2743// values for InferenceSpecification. To create a model from an algorithm resource
2744// that you created or subscribed to in AWS Marketplace, provide a value for
2745// SourceAlgorithmSpecification.
2746//
2747// There are two types of model packages:
2748//
2749//    * Versioned - a model that is part of a model group in the model registry.
2750//
2751//    * Unversioned - a model package that is not part of a model group.
2752//
2753// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2754// with awserr.Error's Code and Message methods to get detailed information about
2755// the error.
2756//
2757// See the AWS API reference guide for Amazon SageMaker Service's
2758// API operation CreateModelPackage for usage and error information.
2759//
2760// Returned Error Types:
2761//   * ConflictException
2762//   There was a conflict when you attempted to modify an experiment, trial, or
2763//   trial component.
2764//
2765//   * ResourceLimitExceeded
2766//   You have exceeded an Amazon SageMaker resource limit. For example, you might
2767//   have too many training jobs created.
2768//
2769// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelPackage
2770func (c *SageMaker) CreateModelPackage(input *CreateModelPackageInput) (*CreateModelPackageOutput, error) {
2771	req, out := c.CreateModelPackageRequest(input)
2772	return out, req.Send()
2773}
2774
2775// CreateModelPackageWithContext is the same as CreateModelPackage with the addition of
2776// the ability to pass a context and additional request options.
2777//
2778// See CreateModelPackage for details on how to use this API operation.
2779//
2780// The context must be non-nil and will be used for request cancellation. If
2781// the context is nil a panic will occur. In the future the SDK may create
2782// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2783// for more information on using Contexts.
2784func (c *SageMaker) CreateModelPackageWithContext(ctx aws.Context, input *CreateModelPackageInput, opts ...request.Option) (*CreateModelPackageOutput, error) {
2785	req, out := c.CreateModelPackageRequest(input)
2786	req.SetContext(ctx)
2787	req.ApplyOptions(opts...)
2788	return out, req.Send()
2789}
2790
2791const opCreateModelPackageGroup = "CreateModelPackageGroup"
2792
2793// CreateModelPackageGroupRequest generates a "aws/request.Request" representing the
2794// client's request for the CreateModelPackageGroup operation. The "output" return
2795// value will be populated with the request's response once the request completes
2796// successfully.
2797//
2798// Use "Send" method on the returned Request to send the API call to the service.
2799// the "output" return value is not valid until after Send returns without error.
2800//
2801// See CreateModelPackageGroup for more information on using the CreateModelPackageGroup
2802// API call, and error handling.
2803//
2804// This method is useful when you want to inject custom logic or configuration
2805// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2806//
2807//
2808//    // Example sending a request using the CreateModelPackageGroupRequest method.
2809//    req, resp := client.CreateModelPackageGroupRequest(params)
2810//
2811//    err := req.Send()
2812//    if err == nil { // resp is now filled
2813//        fmt.Println(resp)
2814//    }
2815//
2816// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelPackageGroup
2817func (c *SageMaker) CreateModelPackageGroupRequest(input *CreateModelPackageGroupInput) (req *request.Request, output *CreateModelPackageGroupOutput) {
2818	op := &request.Operation{
2819		Name:       opCreateModelPackageGroup,
2820		HTTPMethod: "POST",
2821		HTTPPath:   "/",
2822	}
2823
2824	if input == nil {
2825		input = &CreateModelPackageGroupInput{}
2826	}
2827
2828	output = &CreateModelPackageGroupOutput{}
2829	req = c.newRequest(op, input, output)
2830	return
2831}
2832
2833// CreateModelPackageGroup API operation for Amazon SageMaker Service.
2834//
2835// Creates a model group. A model group contains a group of model versions.
2836//
2837// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2838// with awserr.Error's Code and Message methods to get detailed information about
2839// the error.
2840//
2841// See the AWS API reference guide for Amazon SageMaker Service's
2842// API operation CreateModelPackageGroup for usage and error information.
2843//
2844// Returned Error Types:
2845//   * ResourceLimitExceeded
2846//   You have exceeded an Amazon SageMaker resource limit. For example, you might
2847//   have too many training jobs created.
2848//
2849// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelPackageGroup
2850func (c *SageMaker) CreateModelPackageGroup(input *CreateModelPackageGroupInput) (*CreateModelPackageGroupOutput, error) {
2851	req, out := c.CreateModelPackageGroupRequest(input)
2852	return out, req.Send()
2853}
2854
2855// CreateModelPackageGroupWithContext is the same as CreateModelPackageGroup with the addition of
2856// the ability to pass a context and additional request options.
2857//
2858// See CreateModelPackageGroup for details on how to use this API operation.
2859//
2860// The context must be non-nil and will be used for request cancellation. If
2861// the context is nil a panic will occur. In the future the SDK may create
2862// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2863// for more information on using Contexts.
2864func (c *SageMaker) CreateModelPackageGroupWithContext(ctx aws.Context, input *CreateModelPackageGroupInput, opts ...request.Option) (*CreateModelPackageGroupOutput, error) {
2865	req, out := c.CreateModelPackageGroupRequest(input)
2866	req.SetContext(ctx)
2867	req.ApplyOptions(opts...)
2868	return out, req.Send()
2869}
2870
2871const opCreateModelQualityJobDefinition = "CreateModelQualityJobDefinition"
2872
2873// CreateModelQualityJobDefinitionRequest generates a "aws/request.Request" representing the
2874// client's request for the CreateModelQualityJobDefinition operation. The "output" return
2875// value will be populated with the request's response once the request completes
2876// successfully.
2877//
2878// Use "Send" method on the returned Request to send the API call to the service.
2879// the "output" return value is not valid until after Send returns without error.
2880//
2881// See CreateModelQualityJobDefinition for more information on using the CreateModelQualityJobDefinition
2882// API call, and error handling.
2883//
2884// This method is useful when you want to inject custom logic or configuration
2885// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2886//
2887//
2888//    // Example sending a request using the CreateModelQualityJobDefinitionRequest method.
2889//    req, resp := client.CreateModelQualityJobDefinitionRequest(params)
2890//
2891//    err := req.Send()
2892//    if err == nil { // resp is now filled
2893//        fmt.Println(resp)
2894//    }
2895//
2896// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelQualityJobDefinition
2897func (c *SageMaker) CreateModelQualityJobDefinitionRequest(input *CreateModelQualityJobDefinitionInput) (req *request.Request, output *CreateModelQualityJobDefinitionOutput) {
2898	op := &request.Operation{
2899		Name:       opCreateModelQualityJobDefinition,
2900		HTTPMethod: "POST",
2901		HTTPPath:   "/",
2902	}
2903
2904	if input == nil {
2905		input = &CreateModelQualityJobDefinitionInput{}
2906	}
2907
2908	output = &CreateModelQualityJobDefinitionOutput{}
2909	req = c.newRequest(op, input, output)
2910	return
2911}
2912
2913// CreateModelQualityJobDefinition API operation for Amazon SageMaker Service.
2914//
2915// Creates a definition for a job that monitors model quality and drift. For
2916// information about model monitor, see Amazon SageMaker Model Monitor (https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor.html).
2917//
2918// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2919// with awserr.Error's Code and Message methods to get detailed information about
2920// the error.
2921//
2922// See the AWS API reference guide for Amazon SageMaker Service's
2923// API operation CreateModelQualityJobDefinition for usage and error information.
2924//
2925// Returned Error Types:
2926//   * ResourceLimitExceeded
2927//   You have exceeded an Amazon SageMaker resource limit. For example, you might
2928//   have too many training jobs created.
2929//
2930//   * ResourceInUse
2931//   Resource being accessed is in use.
2932//
2933// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelQualityJobDefinition
2934func (c *SageMaker) CreateModelQualityJobDefinition(input *CreateModelQualityJobDefinitionInput) (*CreateModelQualityJobDefinitionOutput, error) {
2935	req, out := c.CreateModelQualityJobDefinitionRequest(input)
2936	return out, req.Send()
2937}
2938
2939// CreateModelQualityJobDefinitionWithContext is the same as CreateModelQualityJobDefinition with the addition of
2940// the ability to pass a context and additional request options.
2941//
2942// See CreateModelQualityJobDefinition for details on how to use this API operation.
2943//
2944// The context must be non-nil and will be used for request cancellation. If
2945// the context is nil a panic will occur. In the future the SDK may create
2946// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2947// for more information on using Contexts.
2948func (c *SageMaker) CreateModelQualityJobDefinitionWithContext(ctx aws.Context, input *CreateModelQualityJobDefinitionInput, opts ...request.Option) (*CreateModelQualityJobDefinitionOutput, error) {
2949	req, out := c.CreateModelQualityJobDefinitionRequest(input)
2950	req.SetContext(ctx)
2951	req.ApplyOptions(opts...)
2952	return out, req.Send()
2953}
2954
2955const opCreateMonitoringSchedule = "CreateMonitoringSchedule"
2956
2957// CreateMonitoringScheduleRequest generates a "aws/request.Request" representing the
2958// client's request for the CreateMonitoringSchedule operation. The "output" return
2959// value will be populated with the request's response once the request completes
2960// successfully.
2961//
2962// Use "Send" method on the returned Request to send the API call to the service.
2963// the "output" return value is not valid until after Send returns without error.
2964//
2965// See CreateMonitoringSchedule for more information on using the CreateMonitoringSchedule
2966// API call, and error handling.
2967//
2968// This method is useful when you want to inject custom logic or configuration
2969// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2970//
2971//
2972//    // Example sending a request using the CreateMonitoringScheduleRequest method.
2973//    req, resp := client.CreateMonitoringScheduleRequest(params)
2974//
2975//    err := req.Send()
2976//    if err == nil { // resp is now filled
2977//        fmt.Println(resp)
2978//    }
2979//
2980// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateMonitoringSchedule
2981func (c *SageMaker) CreateMonitoringScheduleRequest(input *CreateMonitoringScheduleInput) (req *request.Request, output *CreateMonitoringScheduleOutput) {
2982	op := &request.Operation{
2983		Name:       opCreateMonitoringSchedule,
2984		HTTPMethod: "POST",
2985		HTTPPath:   "/",
2986	}
2987
2988	if input == nil {
2989		input = &CreateMonitoringScheduleInput{}
2990	}
2991
2992	output = &CreateMonitoringScheduleOutput{}
2993	req = c.newRequest(op, input, output)
2994	return
2995}
2996
2997// CreateMonitoringSchedule API operation for Amazon SageMaker Service.
2998//
2999// Creates a schedule that regularly starts Amazon SageMaker Processing Jobs
3000// to monitor the data captured for an Amazon SageMaker Endoint.
3001//
3002// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3003// with awserr.Error's Code and Message methods to get detailed information about
3004// the error.
3005//
3006// See the AWS API reference guide for Amazon SageMaker Service's
3007// API operation CreateMonitoringSchedule for usage and error information.
3008//
3009// Returned Error Types:
3010//   * ResourceLimitExceeded
3011//   You have exceeded an Amazon SageMaker resource limit. For example, you might
3012//   have too many training jobs created.
3013//
3014//   * ResourceInUse
3015//   Resource being accessed is in use.
3016//
3017// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateMonitoringSchedule
3018func (c *SageMaker) CreateMonitoringSchedule(input *CreateMonitoringScheduleInput) (*CreateMonitoringScheduleOutput, error) {
3019	req, out := c.CreateMonitoringScheduleRequest(input)
3020	return out, req.Send()
3021}
3022
3023// CreateMonitoringScheduleWithContext is the same as CreateMonitoringSchedule with the addition of
3024// the ability to pass a context and additional request options.
3025//
3026// See CreateMonitoringSchedule for details on how to use this API operation.
3027//
3028// The context must be non-nil and will be used for request cancellation. If
3029// the context is nil a panic will occur. In the future the SDK may create
3030// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3031// for more information on using Contexts.
3032func (c *SageMaker) CreateMonitoringScheduleWithContext(ctx aws.Context, input *CreateMonitoringScheduleInput, opts ...request.Option) (*CreateMonitoringScheduleOutput, error) {
3033	req, out := c.CreateMonitoringScheduleRequest(input)
3034	req.SetContext(ctx)
3035	req.ApplyOptions(opts...)
3036	return out, req.Send()
3037}
3038
3039const opCreateNotebookInstance = "CreateNotebookInstance"
3040
3041// CreateNotebookInstanceRequest generates a "aws/request.Request" representing the
3042// client's request for the CreateNotebookInstance operation. The "output" return
3043// value will be populated with the request's response once the request completes
3044// successfully.
3045//
3046// Use "Send" method on the returned Request to send the API call to the service.
3047// the "output" return value is not valid until after Send returns without error.
3048//
3049// See CreateNotebookInstance for more information on using the CreateNotebookInstance
3050// API call, and error handling.
3051//
3052// This method is useful when you want to inject custom logic or configuration
3053// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3054//
3055//
3056//    // Example sending a request using the CreateNotebookInstanceRequest method.
3057//    req, resp := client.CreateNotebookInstanceRequest(params)
3058//
3059//    err := req.Send()
3060//    if err == nil { // resp is now filled
3061//        fmt.Println(resp)
3062//    }
3063//
3064// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateNotebookInstance
3065func (c *SageMaker) CreateNotebookInstanceRequest(input *CreateNotebookInstanceInput) (req *request.Request, output *CreateNotebookInstanceOutput) {
3066	op := &request.Operation{
3067		Name:       opCreateNotebookInstance,
3068		HTTPMethod: "POST",
3069		HTTPPath:   "/",
3070	}
3071
3072	if input == nil {
3073		input = &CreateNotebookInstanceInput{}
3074	}
3075
3076	output = &CreateNotebookInstanceOutput{}
3077	req = c.newRequest(op, input, output)
3078	return
3079}
3080
3081// CreateNotebookInstance API operation for Amazon SageMaker Service.
3082//
3083// Creates an Amazon SageMaker notebook instance. A notebook instance is a machine
3084// learning (ML) compute instance running on a Jupyter notebook.
3085//
3086// In a CreateNotebookInstance request, specify the type of ML compute instance
3087// that you want to run. Amazon SageMaker launches the instance, installs common
3088// libraries that you can use to explore datasets for model training, and attaches
3089// an ML storage volume to the notebook instance.
3090//
3091// Amazon SageMaker also provides a set of example notebooks. Each notebook
3092// demonstrates how to use Amazon SageMaker with a specific algorithm or with
3093// a machine learning framework.
3094//
3095// After receiving the request, Amazon SageMaker does the following:
3096//
3097// Creates a network interface in the Amazon SageMaker VPC.
3098//
3099// (Option) If you specified SubnetId, Amazon SageMaker creates a network interface
3100// in your own VPC, which is inferred from the subnet ID that you provide in
3101// the input. When creating this network interface, Amazon SageMaker attaches
3102// the security group that you specified in the request to the network interface
3103// that it creates in your VPC.
3104//
3105// Launches an EC2 instance of the type specified in the request in the Amazon
3106// SageMaker VPC. If you specified SubnetId of your VPC, Amazon SageMaker specifies
3107// both network interfaces when launching this instance. This enables inbound
3108// traffic from your own VPC to the notebook instance, assuming that the security
3109// groups allow it.
3110//
3111// After creating the notebook instance, Amazon SageMaker returns its Amazon
3112// Resource Name (ARN). You can't change the name of a notebook instance after
3113// you create it.
3114//
3115// After Amazon SageMaker creates the notebook instance, you can connect to
3116// the Jupyter server and work in Jupyter notebooks. For example, you can write
3117// code to explore a dataset that you can use for model training, train a model,
3118// host models by creating Amazon SageMaker endpoints, and validate hosted models.
3119//
3120// For more information, see How It Works (https://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works.html).
3121//
3122// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3123// with awserr.Error's Code and Message methods to get detailed information about
3124// the error.
3125//
3126// See the AWS API reference guide for Amazon SageMaker Service's
3127// API operation CreateNotebookInstance for usage and error information.
3128//
3129// Returned Error Types:
3130//   * ResourceLimitExceeded
3131//   You have exceeded an Amazon SageMaker resource limit. For example, you might
3132//   have too many training jobs created.
3133//
3134// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateNotebookInstance
3135func (c *SageMaker) CreateNotebookInstance(input *CreateNotebookInstanceInput) (*CreateNotebookInstanceOutput, error) {
3136	req, out := c.CreateNotebookInstanceRequest(input)
3137	return out, req.Send()
3138}
3139
3140// CreateNotebookInstanceWithContext is the same as CreateNotebookInstance with the addition of
3141// the ability to pass a context and additional request options.
3142//
3143// See CreateNotebookInstance for details on how to use this API operation.
3144//
3145// The context must be non-nil and will be used for request cancellation. If
3146// the context is nil a panic will occur. In the future the SDK may create
3147// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3148// for more information on using Contexts.
3149func (c *SageMaker) CreateNotebookInstanceWithContext(ctx aws.Context, input *CreateNotebookInstanceInput, opts ...request.Option) (*CreateNotebookInstanceOutput, error) {
3150	req, out := c.CreateNotebookInstanceRequest(input)
3151	req.SetContext(ctx)
3152	req.ApplyOptions(opts...)
3153	return out, req.Send()
3154}
3155
3156const opCreateNotebookInstanceLifecycleConfig = "CreateNotebookInstanceLifecycleConfig"
3157
3158// CreateNotebookInstanceLifecycleConfigRequest generates a "aws/request.Request" representing the
3159// client's request for the CreateNotebookInstanceLifecycleConfig operation. The "output" return
3160// value will be populated with the request's response once the request completes
3161// successfully.
3162//
3163// Use "Send" method on the returned Request to send the API call to the service.
3164// the "output" return value is not valid until after Send returns without error.
3165//
3166// See CreateNotebookInstanceLifecycleConfig for more information on using the CreateNotebookInstanceLifecycleConfig
3167// API call, and error handling.
3168//
3169// This method is useful when you want to inject custom logic or configuration
3170// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3171//
3172//
3173//    // Example sending a request using the CreateNotebookInstanceLifecycleConfigRequest method.
3174//    req, resp := client.CreateNotebookInstanceLifecycleConfigRequest(params)
3175//
3176//    err := req.Send()
3177//    if err == nil { // resp is now filled
3178//        fmt.Println(resp)
3179//    }
3180//
3181// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateNotebookInstanceLifecycleConfig
3182func (c *SageMaker) CreateNotebookInstanceLifecycleConfigRequest(input *CreateNotebookInstanceLifecycleConfigInput) (req *request.Request, output *CreateNotebookInstanceLifecycleConfigOutput) {
3183	op := &request.Operation{
3184		Name:       opCreateNotebookInstanceLifecycleConfig,
3185		HTTPMethod: "POST",
3186		HTTPPath:   "/",
3187	}
3188
3189	if input == nil {
3190		input = &CreateNotebookInstanceLifecycleConfigInput{}
3191	}
3192
3193	output = &CreateNotebookInstanceLifecycleConfigOutput{}
3194	req = c.newRequest(op, input, output)
3195	return
3196}
3197
3198// CreateNotebookInstanceLifecycleConfig API operation for Amazon SageMaker Service.
3199//
3200// Creates a lifecycle configuration that you can associate with a notebook
3201// instance. A lifecycle configuration is a collection of shell scripts that
3202// run when you create or start a notebook instance.
3203//
3204// Each lifecycle configuration script has a limit of 16384 characters.
3205//
3206// The value of the $PATH environment variable that is available to both scripts
3207// is /sbin:bin:/usr/sbin:/usr/bin.
3208//
3209// View CloudWatch Logs for notebook instance lifecycle configurations in log
3210// group /aws/sagemaker/NotebookInstances in log stream [notebook-instance-name]/[LifecycleConfigHook].
3211//
3212// Lifecycle configuration scripts cannot run for longer than 5 minutes. If
3213// a script runs for longer than 5 minutes, it fails and the notebook instance
3214// is not created or started.
3215//
3216// For information about notebook instance lifestyle configurations, see Step
3217// 2.1: (Optional) Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html).
3218//
3219// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3220// with awserr.Error's Code and Message methods to get detailed information about
3221// the error.
3222//
3223// See the AWS API reference guide for Amazon SageMaker Service's
3224// API operation CreateNotebookInstanceLifecycleConfig for usage and error information.
3225//
3226// Returned Error Types:
3227//   * ResourceLimitExceeded
3228//   You have exceeded an Amazon SageMaker resource limit. For example, you might
3229//   have too many training jobs created.
3230//
3231// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateNotebookInstanceLifecycleConfig
3232func (c *SageMaker) CreateNotebookInstanceLifecycleConfig(input *CreateNotebookInstanceLifecycleConfigInput) (*CreateNotebookInstanceLifecycleConfigOutput, error) {
3233	req, out := c.CreateNotebookInstanceLifecycleConfigRequest(input)
3234	return out, req.Send()
3235}
3236
3237// CreateNotebookInstanceLifecycleConfigWithContext is the same as CreateNotebookInstanceLifecycleConfig with the addition of
3238// the ability to pass a context and additional request options.
3239//
3240// See CreateNotebookInstanceLifecycleConfig for details on how to use this API operation.
3241//
3242// The context must be non-nil and will be used for request cancellation. If
3243// the context is nil a panic will occur. In the future the SDK may create
3244// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3245// for more information on using Contexts.
3246func (c *SageMaker) CreateNotebookInstanceLifecycleConfigWithContext(ctx aws.Context, input *CreateNotebookInstanceLifecycleConfigInput, opts ...request.Option) (*CreateNotebookInstanceLifecycleConfigOutput, error) {
3247	req, out := c.CreateNotebookInstanceLifecycleConfigRequest(input)
3248	req.SetContext(ctx)
3249	req.ApplyOptions(opts...)
3250	return out, req.Send()
3251}
3252
3253const opCreatePipeline = "CreatePipeline"
3254
3255// CreatePipelineRequest generates a "aws/request.Request" representing the
3256// client's request for the CreatePipeline operation. The "output" return
3257// value will be populated with the request's response once the request completes
3258// successfully.
3259//
3260// Use "Send" method on the returned Request to send the API call to the service.
3261// the "output" return value is not valid until after Send returns without error.
3262//
3263// See CreatePipeline for more information on using the CreatePipeline
3264// API call, and error handling.
3265//
3266// This method is useful when you want to inject custom logic or configuration
3267// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3268//
3269//
3270//    // Example sending a request using the CreatePipelineRequest method.
3271//    req, resp := client.CreatePipelineRequest(params)
3272//
3273//    err := req.Send()
3274//    if err == nil { // resp is now filled
3275//        fmt.Println(resp)
3276//    }
3277//
3278// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePipeline
3279func (c *SageMaker) CreatePipelineRequest(input *CreatePipelineInput) (req *request.Request, output *CreatePipelineOutput) {
3280	op := &request.Operation{
3281		Name:       opCreatePipeline,
3282		HTTPMethod: "POST",
3283		HTTPPath:   "/",
3284	}
3285
3286	if input == nil {
3287		input = &CreatePipelineInput{}
3288	}
3289
3290	output = &CreatePipelineOutput{}
3291	req = c.newRequest(op, input, output)
3292	return
3293}
3294
3295// CreatePipeline API operation for Amazon SageMaker Service.
3296//
3297// Creates a pipeline using a JSON pipeline definition.
3298//
3299// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3300// with awserr.Error's Code and Message methods to get detailed information about
3301// the error.
3302//
3303// See the AWS API reference guide for Amazon SageMaker Service's
3304// API operation CreatePipeline for usage and error information.
3305//
3306// Returned Error Types:
3307//   * ResourceNotFound
3308//   Resource being access is not found.
3309//
3310//   * ResourceLimitExceeded
3311//   You have exceeded an Amazon SageMaker resource limit. For example, you might
3312//   have too many training jobs created.
3313//
3314// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePipeline
3315func (c *SageMaker) CreatePipeline(input *CreatePipelineInput) (*CreatePipelineOutput, error) {
3316	req, out := c.CreatePipelineRequest(input)
3317	return out, req.Send()
3318}
3319
3320// CreatePipelineWithContext is the same as CreatePipeline with the addition of
3321// the ability to pass a context and additional request options.
3322//
3323// See CreatePipeline for details on how to use this API operation.
3324//
3325// The context must be non-nil and will be used for request cancellation. If
3326// the context is nil a panic will occur. In the future the SDK may create
3327// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3328// for more information on using Contexts.
3329func (c *SageMaker) CreatePipelineWithContext(ctx aws.Context, input *CreatePipelineInput, opts ...request.Option) (*CreatePipelineOutput, error) {
3330	req, out := c.CreatePipelineRequest(input)
3331	req.SetContext(ctx)
3332	req.ApplyOptions(opts...)
3333	return out, req.Send()
3334}
3335
3336const opCreatePresignedDomainUrl = "CreatePresignedDomainUrl"
3337
3338// CreatePresignedDomainUrlRequest generates a "aws/request.Request" representing the
3339// client's request for the CreatePresignedDomainUrl operation. The "output" return
3340// value will be populated with the request's response once the request completes
3341// successfully.
3342//
3343// Use "Send" method on the returned Request to send the API call to the service.
3344// the "output" return value is not valid until after Send returns without error.
3345//
3346// See CreatePresignedDomainUrl for more information on using the CreatePresignedDomainUrl
3347// API call, and error handling.
3348//
3349// This method is useful when you want to inject custom logic or configuration
3350// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3351//
3352//
3353//    // Example sending a request using the CreatePresignedDomainUrlRequest method.
3354//    req, resp := client.CreatePresignedDomainUrlRequest(params)
3355//
3356//    err := req.Send()
3357//    if err == nil { // resp is now filled
3358//        fmt.Println(resp)
3359//    }
3360//
3361// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePresignedDomainUrl
3362func (c *SageMaker) CreatePresignedDomainUrlRequest(input *CreatePresignedDomainUrlInput) (req *request.Request, output *CreatePresignedDomainUrlOutput) {
3363	op := &request.Operation{
3364		Name:       opCreatePresignedDomainUrl,
3365		HTTPMethod: "POST",
3366		HTTPPath:   "/",
3367	}
3368
3369	if input == nil {
3370		input = &CreatePresignedDomainUrlInput{}
3371	}
3372
3373	output = &CreatePresignedDomainUrlOutput{}
3374	req = c.newRequest(op, input, output)
3375	return
3376}
3377
3378// CreatePresignedDomainUrl API operation for Amazon SageMaker Service.
3379//
3380// Creates a URL for a specified UserProfile in a Domain. When accessed in a
3381// web browser, the user will be automatically signed in to Amazon SageMaker
3382// Studio, and granted access to all of the Apps and files associated with the
3383// Domain's Amazon Elastic File System (EFS) volume. This operation can only
3384// be called when the authentication mode equals IAM.
3385//
3386// The URL that you get from a call to CreatePresignedDomainUrl has a default
3387// timeout of 5 minutes. You can configure this value using ExpiresInSeconds.
3388// If you try to use the URL after the timeout limit expires, you are directed
3389// to the AWS console sign-in page.
3390//
3391// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3392// with awserr.Error's Code and Message methods to get detailed information about
3393// the error.
3394//
3395// See the AWS API reference guide for Amazon SageMaker Service's
3396// API operation CreatePresignedDomainUrl for usage and error information.
3397//
3398// Returned Error Types:
3399//   * ResourceNotFound
3400//   Resource being access is not found.
3401//
3402// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePresignedDomainUrl
3403func (c *SageMaker) CreatePresignedDomainUrl(input *CreatePresignedDomainUrlInput) (*CreatePresignedDomainUrlOutput, error) {
3404	req, out := c.CreatePresignedDomainUrlRequest(input)
3405	return out, req.Send()
3406}
3407
3408// CreatePresignedDomainUrlWithContext is the same as CreatePresignedDomainUrl with the addition of
3409// the ability to pass a context and additional request options.
3410//
3411// See CreatePresignedDomainUrl for details on how to use this API operation.
3412//
3413// The context must be non-nil and will be used for request cancellation. If
3414// the context is nil a panic will occur. In the future the SDK may create
3415// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3416// for more information on using Contexts.
3417func (c *SageMaker) CreatePresignedDomainUrlWithContext(ctx aws.Context, input *CreatePresignedDomainUrlInput, opts ...request.Option) (*CreatePresignedDomainUrlOutput, error) {
3418	req, out := c.CreatePresignedDomainUrlRequest(input)
3419	req.SetContext(ctx)
3420	req.ApplyOptions(opts...)
3421	return out, req.Send()
3422}
3423
3424const opCreatePresignedNotebookInstanceUrl = "CreatePresignedNotebookInstanceUrl"
3425
3426// CreatePresignedNotebookInstanceUrlRequest generates a "aws/request.Request" representing the
3427// client's request for the CreatePresignedNotebookInstanceUrl operation. The "output" return
3428// value will be populated with the request's response once the request completes
3429// successfully.
3430//
3431// Use "Send" method on the returned Request to send the API call to the service.
3432// the "output" return value is not valid until after Send returns without error.
3433//
3434// See CreatePresignedNotebookInstanceUrl for more information on using the CreatePresignedNotebookInstanceUrl
3435// API call, and error handling.
3436//
3437// This method is useful when you want to inject custom logic or configuration
3438// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3439//
3440//
3441//    // Example sending a request using the CreatePresignedNotebookInstanceUrlRequest method.
3442//    req, resp := client.CreatePresignedNotebookInstanceUrlRequest(params)
3443//
3444//    err := req.Send()
3445//    if err == nil { // resp is now filled
3446//        fmt.Println(resp)
3447//    }
3448//
3449// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePresignedNotebookInstanceUrl
3450func (c *SageMaker) CreatePresignedNotebookInstanceUrlRequest(input *CreatePresignedNotebookInstanceUrlInput) (req *request.Request, output *CreatePresignedNotebookInstanceUrlOutput) {
3451	op := &request.Operation{
3452		Name:       opCreatePresignedNotebookInstanceUrl,
3453		HTTPMethod: "POST",
3454		HTTPPath:   "/",
3455	}
3456
3457	if input == nil {
3458		input = &CreatePresignedNotebookInstanceUrlInput{}
3459	}
3460
3461	output = &CreatePresignedNotebookInstanceUrlOutput{}
3462	req = c.newRequest(op, input, output)
3463	return
3464}
3465
3466// CreatePresignedNotebookInstanceUrl API operation for Amazon SageMaker Service.
3467//
3468// Returns a URL that you can use to connect to the Jupyter server from a notebook
3469// instance. In the Amazon SageMaker console, when you choose Open next to a
3470// notebook instance, Amazon SageMaker opens a new tab showing the Jupyter server
3471// home page from the notebook instance. The console uses this API to get the
3472// URL and show the page.
3473//
3474// The IAM role or user used to call this API defines the permissions to access
3475// the notebook instance. Once the presigned URL is created, no additional permission
3476// is required to access this URL. IAM authorization policies for this API are
3477// also enforced for every HTTP request and WebSocket frame that attempts to
3478// connect to the notebook instance.
3479//
3480// You can restrict access to this API and to the URL that it returns to a list
3481// of IP addresses that you specify. Use the NotIpAddress condition operator
3482// and the aws:SourceIP condition context key to specify the list of IP addresses
3483// that you want to have access to the notebook instance. For more information,
3484// 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).
3485//
3486// The URL that you get from a call to CreatePresignedNotebookInstanceUrl is
3487// valid only for 5 minutes. If you try to use the URL after the 5-minute limit
3488// expires, you are directed to the AWS console sign-in page.
3489//
3490// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3491// with awserr.Error's Code and Message methods to get detailed information about
3492// the error.
3493//
3494// See the AWS API reference guide for Amazon SageMaker Service's
3495// API operation CreatePresignedNotebookInstanceUrl for usage and error information.
3496// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePresignedNotebookInstanceUrl
3497func (c *SageMaker) CreatePresignedNotebookInstanceUrl(input *CreatePresignedNotebookInstanceUrlInput) (*CreatePresignedNotebookInstanceUrlOutput, error) {
3498	req, out := c.CreatePresignedNotebookInstanceUrlRequest(input)
3499	return out, req.Send()
3500}
3501
3502// CreatePresignedNotebookInstanceUrlWithContext is the same as CreatePresignedNotebookInstanceUrl with the addition of
3503// the ability to pass a context and additional request options.
3504//
3505// See CreatePresignedNotebookInstanceUrl for details on how to use this API operation.
3506//
3507// The context must be non-nil and will be used for request cancellation. If
3508// the context is nil a panic will occur. In the future the SDK may create
3509// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3510// for more information on using Contexts.
3511func (c *SageMaker) CreatePresignedNotebookInstanceUrlWithContext(ctx aws.Context, input *CreatePresignedNotebookInstanceUrlInput, opts ...request.Option) (*CreatePresignedNotebookInstanceUrlOutput, error) {
3512	req, out := c.CreatePresignedNotebookInstanceUrlRequest(input)
3513	req.SetContext(ctx)
3514	req.ApplyOptions(opts...)
3515	return out, req.Send()
3516}
3517
3518const opCreateProcessingJob = "CreateProcessingJob"
3519
3520// CreateProcessingJobRequest generates a "aws/request.Request" representing the
3521// client's request for the CreateProcessingJob operation. The "output" return
3522// value will be populated with the request's response once the request completes
3523// successfully.
3524//
3525// Use "Send" method on the returned Request to send the API call to the service.
3526// the "output" return value is not valid until after Send returns without error.
3527//
3528// See CreateProcessingJob for more information on using the CreateProcessingJob
3529// API call, and error handling.
3530//
3531// This method is useful when you want to inject custom logic or configuration
3532// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3533//
3534//
3535//    // Example sending a request using the CreateProcessingJobRequest method.
3536//    req, resp := client.CreateProcessingJobRequest(params)
3537//
3538//    err := req.Send()
3539//    if err == nil { // resp is now filled
3540//        fmt.Println(resp)
3541//    }
3542//
3543// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateProcessingJob
3544func (c *SageMaker) CreateProcessingJobRequest(input *CreateProcessingJobInput) (req *request.Request, output *CreateProcessingJobOutput) {
3545	op := &request.Operation{
3546		Name:       opCreateProcessingJob,
3547		HTTPMethod: "POST",
3548		HTTPPath:   "/",
3549	}
3550
3551	if input == nil {
3552		input = &CreateProcessingJobInput{}
3553	}
3554
3555	output = &CreateProcessingJobOutput{}
3556	req = c.newRequest(op, input, output)
3557	return
3558}
3559
3560// CreateProcessingJob API operation for Amazon SageMaker Service.
3561//
3562// Creates a processing job.
3563//
3564// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3565// with awserr.Error's Code and Message methods to get detailed information about
3566// the error.
3567//
3568// See the AWS API reference guide for Amazon SageMaker Service's
3569// API operation CreateProcessingJob for usage and error information.
3570//
3571// Returned Error Types:
3572//   * ResourceInUse
3573//   Resource being accessed is in use.
3574//
3575//   * ResourceLimitExceeded
3576//   You have exceeded an Amazon SageMaker resource limit. For example, you might
3577//   have too many training jobs created.
3578//
3579//   * ResourceNotFound
3580//   Resource being access is not found.
3581//
3582// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateProcessingJob
3583func (c *SageMaker) CreateProcessingJob(input *CreateProcessingJobInput) (*CreateProcessingJobOutput, error) {
3584	req, out := c.CreateProcessingJobRequest(input)
3585	return out, req.Send()
3586}
3587
3588// CreateProcessingJobWithContext is the same as CreateProcessingJob with the addition of
3589// the ability to pass a context and additional request options.
3590//
3591// See CreateProcessingJob for details on how to use this API operation.
3592//
3593// The context must be non-nil and will be used for request cancellation. If
3594// the context is nil a panic will occur. In the future the SDK may create
3595// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3596// for more information on using Contexts.
3597func (c *SageMaker) CreateProcessingJobWithContext(ctx aws.Context, input *CreateProcessingJobInput, opts ...request.Option) (*CreateProcessingJobOutput, error) {
3598	req, out := c.CreateProcessingJobRequest(input)
3599	req.SetContext(ctx)
3600	req.ApplyOptions(opts...)
3601	return out, req.Send()
3602}
3603
3604const opCreateProject = "CreateProject"
3605
3606// CreateProjectRequest generates a "aws/request.Request" representing the
3607// client's request for the CreateProject operation. The "output" return
3608// value will be populated with the request's response once the request completes
3609// successfully.
3610//
3611// Use "Send" method on the returned Request to send the API call to the service.
3612// the "output" return value is not valid until after Send returns without error.
3613//
3614// See CreateProject for more information on using the CreateProject
3615// API call, and error handling.
3616//
3617// This method is useful when you want to inject custom logic or configuration
3618// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3619//
3620//
3621//    // Example sending a request using the CreateProjectRequest method.
3622//    req, resp := client.CreateProjectRequest(params)
3623//
3624//    err := req.Send()
3625//    if err == nil { // resp is now filled
3626//        fmt.Println(resp)
3627//    }
3628//
3629// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateProject
3630func (c *SageMaker) CreateProjectRequest(input *CreateProjectInput) (req *request.Request, output *CreateProjectOutput) {
3631	op := &request.Operation{
3632		Name:       opCreateProject,
3633		HTTPMethod: "POST",
3634		HTTPPath:   "/",
3635	}
3636
3637	if input == nil {
3638		input = &CreateProjectInput{}
3639	}
3640
3641	output = &CreateProjectOutput{}
3642	req = c.newRequest(op, input, output)
3643	return
3644}
3645
3646// CreateProject API operation for Amazon SageMaker Service.
3647//
3648// Creates a machine learning (ML) project that can contain one or more templates
3649// that set up an ML pipeline from training to deploying an approved model.
3650//
3651// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3652// with awserr.Error's Code and Message methods to get detailed information about
3653// the error.
3654//
3655// See the AWS API reference guide for Amazon SageMaker Service's
3656// API operation CreateProject for usage and error information.
3657//
3658// Returned Error Types:
3659//   * ResourceLimitExceeded
3660//   You have exceeded an Amazon SageMaker resource limit. For example, you might
3661//   have too many training jobs created.
3662//
3663// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateProject
3664func (c *SageMaker) CreateProject(input *CreateProjectInput) (*CreateProjectOutput, error) {
3665	req, out := c.CreateProjectRequest(input)
3666	return out, req.Send()
3667}
3668
3669// CreateProjectWithContext is the same as CreateProject with the addition of
3670// the ability to pass a context and additional request options.
3671//
3672// See CreateProject for details on how to use this API operation.
3673//
3674// The context must be non-nil and will be used for request cancellation. If
3675// the context is nil a panic will occur. In the future the SDK may create
3676// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3677// for more information on using Contexts.
3678func (c *SageMaker) CreateProjectWithContext(ctx aws.Context, input *CreateProjectInput, opts ...request.Option) (*CreateProjectOutput, error) {
3679	req, out := c.CreateProjectRequest(input)
3680	req.SetContext(ctx)
3681	req.ApplyOptions(opts...)
3682	return out, req.Send()
3683}
3684
3685const opCreateTrainingJob = "CreateTrainingJob"
3686
3687// CreateTrainingJobRequest generates a "aws/request.Request" representing the
3688// client's request for the CreateTrainingJob operation. The "output" return
3689// value will be populated with the request's response once the request completes
3690// successfully.
3691//
3692// Use "Send" method on the returned Request to send the API call to the service.
3693// the "output" return value is not valid until after Send returns without error.
3694//
3695// See CreateTrainingJob for more information on using the CreateTrainingJob
3696// API call, and error handling.
3697//
3698// This method is useful when you want to inject custom logic or configuration
3699// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3700//
3701//
3702//    // Example sending a request using the CreateTrainingJobRequest method.
3703//    req, resp := client.CreateTrainingJobRequest(params)
3704//
3705//    err := req.Send()
3706//    if err == nil { // resp is now filled
3707//        fmt.Println(resp)
3708//    }
3709//
3710// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrainingJob
3711func (c *SageMaker) CreateTrainingJobRequest(input *CreateTrainingJobInput) (req *request.Request, output *CreateTrainingJobOutput) {
3712	op := &request.Operation{
3713		Name:       opCreateTrainingJob,
3714		HTTPMethod: "POST",
3715		HTTPPath:   "/",
3716	}
3717
3718	if input == nil {
3719		input = &CreateTrainingJobInput{}
3720	}
3721
3722	output = &CreateTrainingJobOutput{}
3723	req = c.newRequest(op, input, output)
3724	return
3725}
3726
3727// CreateTrainingJob API operation for Amazon SageMaker Service.
3728//
3729// Starts a model training job. After training completes, Amazon SageMaker saves
3730// the resulting model artifacts to an Amazon S3 location that you specify.
3731//
3732// If you choose to host your model using Amazon SageMaker hosting services,
3733// you can use the resulting model artifacts as part of the model. You can also
3734// use the artifacts in a machine learning service other than Amazon SageMaker,
3735// provided that you know how to use them for inference.
3736//
3737// In the request body, you provide the following:
3738//
3739//    * AlgorithmSpecification - Identifies the training algorithm to use.
3740//
3741//    * HyperParameters - Specify these algorithm-specific parameters to enable
3742//    the estimation of model parameters during training. Hyperparameters can
3743//    be tuned to optimize this learning process. For a list of hyperparameters
3744//    for each training algorithm provided by Amazon SageMaker, see Algorithms
3745//    (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html).
3746//
3747//    * InputDataConfig - Describes the training dataset and the Amazon S3,
3748//    EFS, or FSx location where it is stored.
3749//
3750//    * OutputDataConfig - Identifies the Amazon S3 bucket where you want Amazon
3751//    SageMaker to save the results of model training.
3752//
3753//    * ResourceConfig - Identifies the resources, ML compute instances, and
3754//    ML storage volumes to deploy for model training. In distributed training,
3755//    you specify more than one instance.
3756//
3757//    * EnableManagedSpotTraining - Optimize the cost of training machine learning
3758//    models by up to 80% by using Amazon EC2 Spot instances. For more information,
3759//    see Managed Spot Training (https://docs.aws.amazon.com/sagemaker/latest/dg/model-managed-spot-training.html).
3760//
3761//    * RoleArn - The Amazon Resource Name (ARN) that Amazon SageMaker assumes
3762//    to perform tasks on your behalf during model training. You must grant
3763//    this role the necessary permissions so that Amazon SageMaker can successfully
3764//    complete model training.
3765//
3766//    * StoppingCondition - To help cap training costs, use MaxRuntimeInSeconds
3767//    to set a time limit for training. Use MaxWaitTimeInSeconds to specify
3768//    how long you are willing to wait for a managed spot training job to complete.
3769//
3770// For more information about Amazon SageMaker, see How It Works (https://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works.html).
3771//
3772// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3773// with awserr.Error's Code and Message methods to get detailed information about
3774// the error.
3775//
3776// See the AWS API reference guide for Amazon SageMaker Service's
3777// API operation CreateTrainingJob for usage and error information.
3778//
3779// Returned Error Types:
3780//   * ResourceInUse
3781//   Resource being accessed is in use.
3782//
3783//   * ResourceLimitExceeded
3784//   You have exceeded an Amazon SageMaker resource limit. For example, you might
3785//   have too many training jobs created.
3786//
3787//   * ResourceNotFound
3788//   Resource being access is not found.
3789//
3790// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrainingJob
3791func (c *SageMaker) CreateTrainingJob(input *CreateTrainingJobInput) (*CreateTrainingJobOutput, error) {
3792	req, out := c.CreateTrainingJobRequest(input)
3793	return out, req.Send()
3794}
3795
3796// CreateTrainingJobWithContext is the same as CreateTrainingJob with the addition of
3797// the ability to pass a context and additional request options.
3798//
3799// See CreateTrainingJob for details on how to use this API operation.
3800//
3801// The context must be non-nil and will be used for request cancellation. If
3802// the context is nil a panic will occur. In the future the SDK may create
3803// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3804// for more information on using Contexts.
3805func (c *SageMaker) CreateTrainingJobWithContext(ctx aws.Context, input *CreateTrainingJobInput, opts ...request.Option) (*CreateTrainingJobOutput, error) {
3806	req, out := c.CreateTrainingJobRequest(input)
3807	req.SetContext(ctx)
3808	req.ApplyOptions(opts...)
3809	return out, req.Send()
3810}
3811
3812const opCreateTransformJob = "CreateTransformJob"
3813
3814// CreateTransformJobRequest generates a "aws/request.Request" representing the
3815// client's request for the CreateTransformJob operation. The "output" return
3816// value will be populated with the request's response once the request completes
3817// successfully.
3818//
3819// Use "Send" method on the returned Request to send the API call to the service.
3820// the "output" return value is not valid until after Send returns without error.
3821//
3822// See CreateTransformJob for more information on using the CreateTransformJob
3823// API call, and error handling.
3824//
3825// This method is useful when you want to inject custom logic or configuration
3826// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3827//
3828//
3829//    // Example sending a request using the CreateTransformJobRequest method.
3830//    req, resp := client.CreateTransformJobRequest(params)
3831//
3832//    err := req.Send()
3833//    if err == nil { // resp is now filled
3834//        fmt.Println(resp)
3835//    }
3836//
3837// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTransformJob
3838func (c *SageMaker) CreateTransformJobRequest(input *CreateTransformJobInput) (req *request.Request, output *CreateTransformJobOutput) {
3839	op := &request.Operation{
3840		Name:       opCreateTransformJob,
3841		HTTPMethod: "POST",
3842		HTTPPath:   "/",
3843	}
3844
3845	if input == nil {
3846		input = &CreateTransformJobInput{}
3847	}
3848
3849	output = &CreateTransformJobOutput{}
3850	req = c.newRequest(op, input, output)
3851	return
3852}
3853
3854// CreateTransformJob API operation for Amazon SageMaker Service.
3855//
3856// Starts a transform job. A transform job uses a trained model to get inferences
3857// on a dataset and saves these results to an Amazon S3 location that you specify.
3858//
3859// To perform batch transformations, you create a transform job and use the
3860// data that you have readily available.
3861//
3862// In the request body, you provide the following:
3863//
3864//    * TransformJobName - Identifies the transform job. The name must be unique
3865//    within an AWS Region in an AWS account.
3866//
3867//    * ModelName - Identifies the model to use. ModelName must be the name
3868//    of an existing Amazon SageMaker model in the same AWS Region and AWS account.
3869//    For information on creating a model, see CreateModel.
3870//
3871//    * TransformInput - Describes the dataset to be transformed and the Amazon
3872//    S3 location where it is stored.
3873//
3874//    * TransformOutput - Identifies the Amazon S3 location where you want Amazon
3875//    SageMaker to save the results from the transform job.
3876//
3877//    * TransformResources - Identifies the ML compute instances for the transform
3878//    job.
3879//
3880// For more information about how batch transformation works, see Batch Transform
3881// (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform.html).
3882//
3883// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3884// with awserr.Error's Code and Message methods to get detailed information about
3885// the error.
3886//
3887// See the AWS API reference guide for Amazon SageMaker Service's
3888// API operation CreateTransformJob for usage and error information.
3889//
3890// Returned Error Types:
3891//   * ResourceInUse
3892//   Resource being accessed is in use.
3893//
3894//   * ResourceLimitExceeded
3895//   You have exceeded an Amazon SageMaker resource limit. For example, you might
3896//   have too many training jobs created.
3897//
3898//   * ResourceNotFound
3899//   Resource being access is not found.
3900//
3901// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTransformJob
3902func (c *SageMaker) CreateTransformJob(input *CreateTransformJobInput) (*CreateTransformJobOutput, error) {
3903	req, out := c.CreateTransformJobRequest(input)
3904	return out, req.Send()
3905}
3906
3907// CreateTransformJobWithContext is the same as CreateTransformJob with the addition of
3908// the ability to pass a context and additional request options.
3909//
3910// See CreateTransformJob for details on how to use this API operation.
3911//
3912// The context must be non-nil and will be used for request cancellation. If
3913// the context is nil a panic will occur. In the future the SDK may create
3914// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3915// for more information on using Contexts.
3916func (c *SageMaker) CreateTransformJobWithContext(ctx aws.Context, input *CreateTransformJobInput, opts ...request.Option) (*CreateTransformJobOutput, error) {
3917	req, out := c.CreateTransformJobRequest(input)
3918	req.SetContext(ctx)
3919	req.ApplyOptions(opts...)
3920	return out, req.Send()
3921}
3922
3923const opCreateTrial = "CreateTrial"
3924
3925// CreateTrialRequest generates a "aws/request.Request" representing the
3926// client's request for the CreateTrial operation. The "output" return
3927// value will be populated with the request's response once the request completes
3928// successfully.
3929//
3930// Use "Send" method on the returned Request to send the API call to the service.
3931// the "output" return value is not valid until after Send returns without error.
3932//
3933// See CreateTrial for more information on using the CreateTrial
3934// API call, and error handling.
3935//
3936// This method is useful when you want to inject custom logic or configuration
3937// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3938//
3939//
3940//    // Example sending a request using the CreateTrialRequest method.
3941//    req, resp := client.CreateTrialRequest(params)
3942//
3943//    err := req.Send()
3944//    if err == nil { // resp is now filled
3945//        fmt.Println(resp)
3946//    }
3947//
3948// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrial
3949func (c *SageMaker) CreateTrialRequest(input *CreateTrialInput) (req *request.Request, output *CreateTrialOutput) {
3950	op := &request.Operation{
3951		Name:       opCreateTrial,
3952		HTTPMethod: "POST",
3953		HTTPPath:   "/",
3954	}
3955
3956	if input == nil {
3957		input = &CreateTrialInput{}
3958	}
3959
3960	output = &CreateTrialOutput{}
3961	req = c.newRequest(op, input, output)
3962	return
3963}
3964
3965// CreateTrial API operation for Amazon SageMaker Service.
3966//
3967// Creates an Amazon SageMaker trial. A trial is a set of steps called trial
3968// components that produce a machine learning model. A trial is part of a single
3969// Amazon SageMaker experiment.
3970//
3971// When you use Amazon SageMaker Studio or the Amazon SageMaker Python SDK,
3972// all experiments, trials, and trial components are automatically tracked,
3973// logged, and indexed. When you use the AWS SDK for Python (Boto), you must
3974// use the logging APIs provided by the SDK.
3975//
3976// You can add tags to a trial and then use the Search API to search for the
3977// tags.
3978//
3979// To get a list of all your trials, call the ListTrials API. To view a trial's
3980// properties, call the DescribeTrial API. To create a trial component, call
3981// the CreateTrialComponent API.
3982//
3983// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3984// with awserr.Error's Code and Message methods to get detailed information about
3985// the error.
3986//
3987// See the AWS API reference guide for Amazon SageMaker Service's
3988// API operation CreateTrial for usage and error information.
3989//
3990// Returned Error Types:
3991//   * ResourceNotFound
3992//   Resource being access is not found.
3993//
3994//   * ResourceLimitExceeded
3995//   You have exceeded an Amazon SageMaker resource limit. For example, you might
3996//   have too many training jobs created.
3997//
3998// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrial
3999func (c *SageMaker) CreateTrial(input *CreateTrialInput) (*CreateTrialOutput, error) {
4000	req, out := c.CreateTrialRequest(input)
4001	return out, req.Send()
4002}
4003
4004// CreateTrialWithContext is the same as CreateTrial with the addition of
4005// the ability to pass a context and additional request options.
4006//
4007// See CreateTrial for details on how to use this API operation.
4008//
4009// The context must be non-nil and will be used for request cancellation. If
4010// the context is nil a panic will occur. In the future the SDK may create
4011// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4012// for more information on using Contexts.
4013func (c *SageMaker) CreateTrialWithContext(ctx aws.Context, input *CreateTrialInput, opts ...request.Option) (*CreateTrialOutput, error) {
4014	req, out := c.CreateTrialRequest(input)
4015	req.SetContext(ctx)
4016	req.ApplyOptions(opts...)
4017	return out, req.Send()
4018}
4019
4020const opCreateTrialComponent = "CreateTrialComponent"
4021
4022// CreateTrialComponentRequest generates a "aws/request.Request" representing the
4023// client's request for the CreateTrialComponent operation. The "output" return
4024// value will be populated with the request's response once the request completes
4025// successfully.
4026//
4027// Use "Send" method on the returned Request to send the API call to the service.
4028// the "output" return value is not valid until after Send returns without error.
4029//
4030// See CreateTrialComponent for more information on using the CreateTrialComponent
4031// API call, and error handling.
4032//
4033// This method is useful when you want to inject custom logic or configuration
4034// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4035//
4036//
4037//    // Example sending a request using the CreateTrialComponentRequest method.
4038//    req, resp := client.CreateTrialComponentRequest(params)
4039//
4040//    err := req.Send()
4041//    if err == nil { // resp is now filled
4042//        fmt.Println(resp)
4043//    }
4044//
4045// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrialComponent
4046func (c *SageMaker) CreateTrialComponentRequest(input *CreateTrialComponentInput) (req *request.Request, output *CreateTrialComponentOutput) {
4047	op := &request.Operation{
4048		Name:       opCreateTrialComponent,
4049		HTTPMethod: "POST",
4050		HTTPPath:   "/",
4051	}
4052
4053	if input == nil {
4054		input = &CreateTrialComponentInput{}
4055	}
4056
4057	output = &CreateTrialComponentOutput{}
4058	req = c.newRequest(op, input, output)
4059	return
4060}
4061
4062// CreateTrialComponent API operation for Amazon SageMaker Service.
4063//
4064// Creates a trial component, which is a stage of a machine learning trial.
4065// A trial is composed of one or more trial components. A trial component can
4066// be used in multiple trials.
4067//
4068// Trial components include pre-processing jobs, training jobs, and batch transform
4069// jobs.
4070//
4071// When you use Amazon SageMaker Studio or the Amazon SageMaker Python SDK,
4072// all experiments, trials, and trial components are automatically tracked,
4073// logged, and indexed. When you use the AWS SDK for Python (Boto), you must
4074// use the logging APIs provided by the SDK.
4075//
4076// You can add tags to a trial component and then use the Search API to search
4077// for the tags.
4078//
4079// CreateTrialComponent can only be invoked from within an Amazon SageMaker
4080// managed environment. This includes Amazon SageMaker training jobs, processing
4081// jobs, transform jobs, and Amazon SageMaker notebooks. A call to CreateTrialComponent
4082// from outside one of these environments results in an error.
4083//
4084// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4085// with awserr.Error's Code and Message methods to get detailed information about
4086// the error.
4087//
4088// See the AWS API reference guide for Amazon SageMaker Service's
4089// API operation CreateTrialComponent for usage and error information.
4090//
4091// Returned Error Types:
4092//   * ResourceLimitExceeded
4093//   You have exceeded an Amazon SageMaker resource limit. For example, you might
4094//   have too many training jobs created.
4095//
4096// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrialComponent
4097func (c *SageMaker) CreateTrialComponent(input *CreateTrialComponentInput) (*CreateTrialComponentOutput, error) {
4098	req, out := c.CreateTrialComponentRequest(input)
4099	return out, req.Send()
4100}
4101
4102// CreateTrialComponentWithContext is the same as CreateTrialComponent with the addition of
4103// the ability to pass a context and additional request options.
4104//
4105// See CreateTrialComponent for details on how to use this API operation.
4106//
4107// The context must be non-nil and will be used for request cancellation. If
4108// the context is nil a panic will occur. In the future the SDK may create
4109// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4110// for more information on using Contexts.
4111func (c *SageMaker) CreateTrialComponentWithContext(ctx aws.Context, input *CreateTrialComponentInput, opts ...request.Option) (*CreateTrialComponentOutput, error) {
4112	req, out := c.CreateTrialComponentRequest(input)
4113	req.SetContext(ctx)
4114	req.ApplyOptions(opts...)
4115	return out, req.Send()
4116}
4117
4118const opCreateUserProfile = "CreateUserProfile"
4119
4120// CreateUserProfileRequest generates a "aws/request.Request" representing the
4121// client's request for the CreateUserProfile operation. The "output" return
4122// value will be populated with the request's response once the request completes
4123// successfully.
4124//
4125// Use "Send" method on the returned Request to send the API call to the service.
4126// the "output" return value is not valid until after Send returns without error.
4127//
4128// See CreateUserProfile for more information on using the CreateUserProfile
4129// API call, and error handling.
4130//
4131// This method is useful when you want to inject custom logic or configuration
4132// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4133//
4134//
4135//    // Example sending a request using the CreateUserProfileRequest method.
4136//    req, resp := client.CreateUserProfileRequest(params)
4137//
4138//    err := req.Send()
4139//    if err == nil { // resp is now filled
4140//        fmt.Println(resp)
4141//    }
4142//
4143// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateUserProfile
4144func (c *SageMaker) CreateUserProfileRequest(input *CreateUserProfileInput) (req *request.Request, output *CreateUserProfileOutput) {
4145	op := &request.Operation{
4146		Name:       opCreateUserProfile,
4147		HTTPMethod: "POST",
4148		HTTPPath:   "/",
4149	}
4150
4151	if input == nil {
4152		input = &CreateUserProfileInput{}
4153	}
4154
4155	output = &CreateUserProfileOutput{}
4156	req = c.newRequest(op, input, output)
4157	return
4158}
4159
4160// CreateUserProfile API operation for Amazon SageMaker Service.
4161//
4162// Creates a user profile. A user profile represents a single user within a
4163// domain, and is the main way to reference a "person" for the purposes of sharing,
4164// reporting, and other user-oriented features. This entity is created when
4165// a user onboards to Amazon SageMaker Studio. If an administrator invites a
4166// person by email or imports them from SSO, a user profile is automatically
4167// created. A user profile is the primary holder of settings for an individual
4168// user and has a reference to the user's private Amazon Elastic File System
4169// (EFS) home directory.
4170//
4171// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4172// with awserr.Error's Code and Message methods to get detailed information about
4173// the error.
4174//
4175// See the AWS API reference guide for Amazon SageMaker Service's
4176// API operation CreateUserProfile for usage and error information.
4177//
4178// Returned Error Types:
4179//   * ResourceLimitExceeded
4180//   You have exceeded an Amazon SageMaker resource limit. For example, you might
4181//   have too many training jobs created.
4182//
4183//   * ResourceInUse
4184//   Resource being accessed is in use.
4185//
4186// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateUserProfile
4187func (c *SageMaker) CreateUserProfile(input *CreateUserProfileInput) (*CreateUserProfileOutput, error) {
4188	req, out := c.CreateUserProfileRequest(input)
4189	return out, req.Send()
4190}
4191
4192// CreateUserProfileWithContext is the same as CreateUserProfile with the addition of
4193// the ability to pass a context and additional request options.
4194//
4195// See CreateUserProfile for details on how to use this API operation.
4196//
4197// The context must be non-nil and will be used for request cancellation. If
4198// the context is nil a panic will occur. In the future the SDK may create
4199// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4200// for more information on using Contexts.
4201func (c *SageMaker) CreateUserProfileWithContext(ctx aws.Context, input *CreateUserProfileInput, opts ...request.Option) (*CreateUserProfileOutput, error) {
4202	req, out := c.CreateUserProfileRequest(input)
4203	req.SetContext(ctx)
4204	req.ApplyOptions(opts...)
4205	return out, req.Send()
4206}
4207
4208const opCreateWorkforce = "CreateWorkforce"
4209
4210// CreateWorkforceRequest generates a "aws/request.Request" representing the
4211// client's request for the CreateWorkforce operation. The "output" return
4212// value will be populated with the request's response once the request completes
4213// successfully.
4214//
4215// Use "Send" method on the returned Request to send the API call to the service.
4216// the "output" return value is not valid until after Send returns without error.
4217//
4218// See CreateWorkforce for more information on using the CreateWorkforce
4219// API call, and error handling.
4220//
4221// This method is useful when you want to inject custom logic or configuration
4222// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4223//
4224//
4225//    // Example sending a request using the CreateWorkforceRequest method.
4226//    req, resp := client.CreateWorkforceRequest(params)
4227//
4228//    err := req.Send()
4229//    if err == nil { // resp is now filled
4230//        fmt.Println(resp)
4231//    }
4232//
4233// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateWorkforce
4234func (c *SageMaker) CreateWorkforceRequest(input *CreateWorkforceInput) (req *request.Request, output *CreateWorkforceOutput) {
4235	op := &request.Operation{
4236		Name:       opCreateWorkforce,
4237		HTTPMethod: "POST",
4238		HTTPPath:   "/",
4239	}
4240
4241	if input == nil {
4242		input = &CreateWorkforceInput{}
4243	}
4244
4245	output = &CreateWorkforceOutput{}
4246	req = c.newRequest(op, input, output)
4247	return
4248}
4249
4250// CreateWorkforce API operation for Amazon SageMaker Service.
4251//
4252// Use this operation to create a workforce. This operation will return an error
4253// if a workforce already exists in the AWS Region that you specify. You can
4254// only create one workforce in each AWS Region per AWS account.
4255//
4256// If you want to create a new workforce in an AWS Region where a workforce
4257// already exists, use the API operation to delete the existing workforce and
4258// then use CreateWorkforce to create a new workforce.
4259//
4260// To create a private workforce using Amazon Cognito, you must specify a Cognito
4261// user pool in CognitoConfig. You can also create an Amazon Cognito workforce
4262// using the Amazon SageMaker console. For more information, see Create a Private
4263// Workforce (Amazon Cognito) (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-workforce-create-private.html).
4264//
4265// To create a private workforce using your own OIDC Identity Provider (IdP),
4266// specify your IdP configuration in OidcConfig. Your OIDC IdP must support
4267// groups because groups are used by Ground Truth and Amazon A2I to create work
4268// 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).
4269//
4270// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4271// with awserr.Error's Code and Message methods to get detailed information about
4272// the error.
4273//
4274// See the AWS API reference guide for Amazon SageMaker Service's
4275// API operation CreateWorkforce for usage and error information.
4276// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateWorkforce
4277func (c *SageMaker) CreateWorkforce(input *CreateWorkforceInput) (*CreateWorkforceOutput, error) {
4278	req, out := c.CreateWorkforceRequest(input)
4279	return out, req.Send()
4280}
4281
4282// CreateWorkforceWithContext is the same as CreateWorkforce with the addition of
4283// the ability to pass a context and additional request options.
4284//
4285// See CreateWorkforce for details on how to use this API operation.
4286//
4287// The context must be non-nil and will be used for request cancellation. If
4288// the context is nil a panic will occur. In the future the SDK may create
4289// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4290// for more information on using Contexts.
4291func (c *SageMaker) CreateWorkforceWithContext(ctx aws.Context, input *CreateWorkforceInput, opts ...request.Option) (*CreateWorkforceOutput, error) {
4292	req, out := c.CreateWorkforceRequest(input)
4293	req.SetContext(ctx)
4294	req.ApplyOptions(opts...)
4295	return out, req.Send()
4296}
4297
4298const opCreateWorkteam = "CreateWorkteam"
4299
4300// CreateWorkteamRequest generates a "aws/request.Request" representing the
4301// client's request for the CreateWorkteam operation. The "output" return
4302// value will be populated with the request's response once the request completes
4303// successfully.
4304//
4305// Use "Send" method on the returned Request to send the API call to the service.
4306// the "output" return value is not valid until after Send returns without error.
4307//
4308// See CreateWorkteam for more information on using the CreateWorkteam
4309// API call, and error handling.
4310//
4311// This method is useful when you want to inject custom logic or configuration
4312// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4313//
4314//
4315//    // Example sending a request using the CreateWorkteamRequest method.
4316//    req, resp := client.CreateWorkteamRequest(params)
4317//
4318//    err := req.Send()
4319//    if err == nil { // resp is now filled
4320//        fmt.Println(resp)
4321//    }
4322//
4323// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateWorkteam
4324func (c *SageMaker) CreateWorkteamRequest(input *CreateWorkteamInput) (req *request.Request, output *CreateWorkteamOutput) {
4325	op := &request.Operation{
4326		Name:       opCreateWorkteam,
4327		HTTPMethod: "POST",
4328		HTTPPath:   "/",
4329	}
4330
4331	if input == nil {
4332		input = &CreateWorkteamInput{}
4333	}
4334
4335	output = &CreateWorkteamOutput{}
4336	req = c.newRequest(op, input, output)
4337	return
4338}
4339
4340// CreateWorkteam API operation for Amazon SageMaker Service.
4341//
4342// Creates a new work team for labeling your data. A work team is defined by
4343// one or more Amazon Cognito user pools. You must first create the user pools
4344// before you can create a work team.
4345//
4346// You cannot create more than 25 work teams in an account and region.
4347//
4348// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4349// with awserr.Error's Code and Message methods to get detailed information about
4350// the error.
4351//
4352// See the AWS API reference guide for Amazon SageMaker Service's
4353// API operation CreateWorkteam for usage and error information.
4354//
4355// Returned Error Types:
4356//   * ResourceInUse
4357//   Resource being accessed is in use.
4358//
4359//   * ResourceLimitExceeded
4360//   You have exceeded an Amazon SageMaker resource limit. For example, you might
4361//   have too many training jobs created.
4362//
4363// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateWorkteam
4364func (c *SageMaker) CreateWorkteam(input *CreateWorkteamInput) (*CreateWorkteamOutput, error) {
4365	req, out := c.CreateWorkteamRequest(input)
4366	return out, req.Send()
4367}
4368
4369// CreateWorkteamWithContext is the same as CreateWorkteam with the addition of
4370// the ability to pass a context and additional request options.
4371//
4372// See CreateWorkteam for details on how to use this API operation.
4373//
4374// The context must be non-nil and will be used for request cancellation. If
4375// the context is nil a panic will occur. In the future the SDK may create
4376// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4377// for more information on using Contexts.
4378func (c *SageMaker) CreateWorkteamWithContext(ctx aws.Context, input *CreateWorkteamInput, opts ...request.Option) (*CreateWorkteamOutput, error) {
4379	req, out := c.CreateWorkteamRequest(input)
4380	req.SetContext(ctx)
4381	req.ApplyOptions(opts...)
4382	return out, req.Send()
4383}
4384
4385const opDeleteAction = "DeleteAction"
4386
4387// DeleteActionRequest generates a "aws/request.Request" representing the
4388// client's request for the DeleteAction operation. The "output" return
4389// value will be populated with the request's response once the request completes
4390// successfully.
4391//
4392// Use "Send" method on the returned Request to send the API call to the service.
4393// the "output" return value is not valid until after Send returns without error.
4394//
4395// See DeleteAction for more information on using the DeleteAction
4396// API call, and error handling.
4397//
4398// This method is useful when you want to inject custom logic or configuration
4399// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4400//
4401//
4402//    // Example sending a request using the DeleteActionRequest method.
4403//    req, resp := client.DeleteActionRequest(params)
4404//
4405//    err := req.Send()
4406//    if err == nil { // resp is now filled
4407//        fmt.Println(resp)
4408//    }
4409//
4410// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAction
4411func (c *SageMaker) DeleteActionRequest(input *DeleteActionInput) (req *request.Request, output *DeleteActionOutput) {
4412	op := &request.Operation{
4413		Name:       opDeleteAction,
4414		HTTPMethod: "POST",
4415		HTTPPath:   "/",
4416	}
4417
4418	if input == nil {
4419		input = &DeleteActionInput{}
4420	}
4421
4422	output = &DeleteActionOutput{}
4423	req = c.newRequest(op, input, output)
4424	return
4425}
4426
4427// DeleteAction API operation for Amazon SageMaker Service.
4428//
4429// Deletes an action.
4430//
4431// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4432// with awserr.Error's Code and Message methods to get detailed information about
4433// the error.
4434//
4435// See the AWS API reference guide for Amazon SageMaker Service's
4436// API operation DeleteAction for usage and error information.
4437//
4438// Returned Error Types:
4439//   * ResourceNotFound
4440//   Resource being access is not found.
4441//
4442// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAction
4443func (c *SageMaker) DeleteAction(input *DeleteActionInput) (*DeleteActionOutput, error) {
4444	req, out := c.DeleteActionRequest(input)
4445	return out, req.Send()
4446}
4447
4448// DeleteActionWithContext is the same as DeleteAction with the addition of
4449// the ability to pass a context and additional request options.
4450//
4451// See DeleteAction for details on how to use this API operation.
4452//
4453// The context must be non-nil and will be used for request cancellation. If
4454// the context is nil a panic will occur. In the future the SDK may create
4455// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4456// for more information on using Contexts.
4457func (c *SageMaker) DeleteActionWithContext(ctx aws.Context, input *DeleteActionInput, opts ...request.Option) (*DeleteActionOutput, error) {
4458	req, out := c.DeleteActionRequest(input)
4459	req.SetContext(ctx)
4460	req.ApplyOptions(opts...)
4461	return out, req.Send()
4462}
4463
4464const opDeleteAlgorithm = "DeleteAlgorithm"
4465
4466// DeleteAlgorithmRequest generates a "aws/request.Request" representing the
4467// client's request for the DeleteAlgorithm operation. The "output" return
4468// value will be populated with the request's response once the request completes
4469// successfully.
4470//
4471// Use "Send" method on the returned Request to send the API call to the service.
4472// the "output" return value is not valid until after Send returns without error.
4473//
4474// See DeleteAlgorithm for more information on using the DeleteAlgorithm
4475// API call, and error handling.
4476//
4477// This method is useful when you want to inject custom logic or configuration
4478// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4479//
4480//
4481//    // Example sending a request using the DeleteAlgorithmRequest method.
4482//    req, resp := client.DeleteAlgorithmRequest(params)
4483//
4484//    err := req.Send()
4485//    if err == nil { // resp is now filled
4486//        fmt.Println(resp)
4487//    }
4488//
4489// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAlgorithm
4490func (c *SageMaker) DeleteAlgorithmRequest(input *DeleteAlgorithmInput) (req *request.Request, output *DeleteAlgorithmOutput) {
4491	op := &request.Operation{
4492		Name:       opDeleteAlgorithm,
4493		HTTPMethod: "POST",
4494		HTTPPath:   "/",
4495	}
4496
4497	if input == nil {
4498		input = &DeleteAlgorithmInput{}
4499	}
4500
4501	output = &DeleteAlgorithmOutput{}
4502	req = c.newRequest(op, input, output)
4503	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
4504	return
4505}
4506
4507// DeleteAlgorithm API operation for Amazon SageMaker Service.
4508//
4509// Removes the specified algorithm from your account.
4510//
4511// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4512// with awserr.Error's Code and Message methods to get detailed information about
4513// the error.
4514//
4515// See the AWS API reference guide for Amazon SageMaker Service's
4516// API operation DeleteAlgorithm for usage and error information.
4517// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAlgorithm
4518func (c *SageMaker) DeleteAlgorithm(input *DeleteAlgorithmInput) (*DeleteAlgorithmOutput, error) {
4519	req, out := c.DeleteAlgorithmRequest(input)
4520	return out, req.Send()
4521}
4522
4523// DeleteAlgorithmWithContext is the same as DeleteAlgorithm with the addition of
4524// the ability to pass a context and additional request options.
4525//
4526// See DeleteAlgorithm for details on how to use this API operation.
4527//
4528// The context must be non-nil and will be used for request cancellation. If
4529// the context is nil a panic will occur. In the future the SDK may create
4530// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4531// for more information on using Contexts.
4532func (c *SageMaker) DeleteAlgorithmWithContext(ctx aws.Context, input *DeleteAlgorithmInput, opts ...request.Option) (*DeleteAlgorithmOutput, error) {
4533	req, out := c.DeleteAlgorithmRequest(input)
4534	req.SetContext(ctx)
4535	req.ApplyOptions(opts...)
4536	return out, req.Send()
4537}
4538
4539const opDeleteApp = "DeleteApp"
4540
4541// DeleteAppRequest generates a "aws/request.Request" representing the
4542// client's request for the DeleteApp operation. The "output" return
4543// value will be populated with the request's response once the request completes
4544// successfully.
4545//
4546// Use "Send" method on the returned Request to send the API call to the service.
4547// the "output" return value is not valid until after Send returns without error.
4548//
4549// See DeleteApp for more information on using the DeleteApp
4550// API call, and error handling.
4551//
4552// This method is useful when you want to inject custom logic or configuration
4553// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4554//
4555//
4556//    // Example sending a request using the DeleteAppRequest method.
4557//    req, resp := client.DeleteAppRequest(params)
4558//
4559//    err := req.Send()
4560//    if err == nil { // resp is now filled
4561//        fmt.Println(resp)
4562//    }
4563//
4564// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteApp
4565func (c *SageMaker) DeleteAppRequest(input *DeleteAppInput) (req *request.Request, output *DeleteAppOutput) {
4566	op := &request.Operation{
4567		Name:       opDeleteApp,
4568		HTTPMethod: "POST",
4569		HTTPPath:   "/",
4570	}
4571
4572	if input == nil {
4573		input = &DeleteAppInput{}
4574	}
4575
4576	output = &DeleteAppOutput{}
4577	req = c.newRequest(op, input, output)
4578	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
4579	return
4580}
4581
4582// DeleteApp API operation for Amazon SageMaker Service.
4583//
4584// Used to stop and delete an app.
4585//
4586// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4587// with awserr.Error's Code and Message methods to get detailed information about
4588// the error.
4589//
4590// See the AWS API reference guide for Amazon SageMaker Service's
4591// API operation DeleteApp for usage and error information.
4592//
4593// Returned Error Types:
4594//   * ResourceInUse
4595//   Resource being accessed is in use.
4596//
4597//   * ResourceNotFound
4598//   Resource being access is not found.
4599//
4600// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteApp
4601func (c *SageMaker) DeleteApp(input *DeleteAppInput) (*DeleteAppOutput, error) {
4602	req, out := c.DeleteAppRequest(input)
4603	return out, req.Send()
4604}
4605
4606// DeleteAppWithContext is the same as DeleteApp with the addition of
4607// the ability to pass a context and additional request options.
4608//
4609// See DeleteApp for details on how to use this API operation.
4610//
4611// The context must be non-nil and will be used for request cancellation. If
4612// the context is nil a panic will occur. In the future the SDK may create
4613// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4614// for more information on using Contexts.
4615func (c *SageMaker) DeleteAppWithContext(ctx aws.Context, input *DeleteAppInput, opts ...request.Option) (*DeleteAppOutput, error) {
4616	req, out := c.DeleteAppRequest(input)
4617	req.SetContext(ctx)
4618	req.ApplyOptions(opts...)
4619	return out, req.Send()
4620}
4621
4622const opDeleteAppImageConfig = "DeleteAppImageConfig"
4623
4624// DeleteAppImageConfigRequest generates a "aws/request.Request" representing the
4625// client's request for the DeleteAppImageConfig operation. The "output" return
4626// value will be populated with the request's response once the request completes
4627// successfully.
4628//
4629// Use "Send" method on the returned Request to send the API call to the service.
4630// the "output" return value is not valid until after Send returns without error.
4631//
4632// See DeleteAppImageConfig for more information on using the DeleteAppImageConfig
4633// API call, and error handling.
4634//
4635// This method is useful when you want to inject custom logic or configuration
4636// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4637//
4638//
4639//    // Example sending a request using the DeleteAppImageConfigRequest method.
4640//    req, resp := client.DeleteAppImageConfigRequest(params)
4641//
4642//    err := req.Send()
4643//    if err == nil { // resp is now filled
4644//        fmt.Println(resp)
4645//    }
4646//
4647// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAppImageConfig
4648func (c *SageMaker) DeleteAppImageConfigRequest(input *DeleteAppImageConfigInput) (req *request.Request, output *DeleteAppImageConfigOutput) {
4649	op := &request.Operation{
4650		Name:       opDeleteAppImageConfig,
4651		HTTPMethod: "POST",
4652		HTTPPath:   "/",
4653	}
4654
4655	if input == nil {
4656		input = &DeleteAppImageConfigInput{}
4657	}
4658
4659	output = &DeleteAppImageConfigOutput{}
4660	req = c.newRequest(op, input, output)
4661	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
4662	return
4663}
4664
4665// DeleteAppImageConfig API operation for Amazon SageMaker Service.
4666//
4667// Deletes an AppImageConfig.
4668//
4669// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4670// with awserr.Error's Code and Message methods to get detailed information about
4671// the error.
4672//
4673// See the AWS API reference guide for Amazon SageMaker Service's
4674// API operation DeleteAppImageConfig for usage and error information.
4675//
4676// Returned Error Types:
4677//   * ResourceNotFound
4678//   Resource being access is not found.
4679//
4680// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAppImageConfig
4681func (c *SageMaker) DeleteAppImageConfig(input *DeleteAppImageConfigInput) (*DeleteAppImageConfigOutput, error) {
4682	req, out := c.DeleteAppImageConfigRequest(input)
4683	return out, req.Send()
4684}
4685
4686// DeleteAppImageConfigWithContext is the same as DeleteAppImageConfig with the addition of
4687// the ability to pass a context and additional request options.
4688//
4689// See DeleteAppImageConfig for details on how to use this API operation.
4690//
4691// The context must be non-nil and will be used for request cancellation. If
4692// the context is nil a panic will occur. In the future the SDK may create
4693// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4694// for more information on using Contexts.
4695func (c *SageMaker) DeleteAppImageConfigWithContext(ctx aws.Context, input *DeleteAppImageConfigInput, opts ...request.Option) (*DeleteAppImageConfigOutput, error) {
4696	req, out := c.DeleteAppImageConfigRequest(input)
4697	req.SetContext(ctx)
4698	req.ApplyOptions(opts...)
4699	return out, req.Send()
4700}
4701
4702const opDeleteArtifact = "DeleteArtifact"
4703
4704// DeleteArtifactRequest generates a "aws/request.Request" representing the
4705// client's request for the DeleteArtifact operation. The "output" return
4706// value will be populated with the request's response once the request completes
4707// successfully.
4708//
4709// Use "Send" method on the returned Request to send the API call to the service.
4710// the "output" return value is not valid until after Send returns without error.
4711//
4712// See DeleteArtifact for more information on using the DeleteArtifact
4713// API call, and error handling.
4714//
4715// This method is useful when you want to inject custom logic or configuration
4716// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4717//
4718//
4719//    // Example sending a request using the DeleteArtifactRequest method.
4720//    req, resp := client.DeleteArtifactRequest(params)
4721//
4722//    err := req.Send()
4723//    if err == nil { // resp is now filled
4724//        fmt.Println(resp)
4725//    }
4726//
4727// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteArtifact
4728func (c *SageMaker) DeleteArtifactRequest(input *DeleteArtifactInput) (req *request.Request, output *DeleteArtifactOutput) {
4729	op := &request.Operation{
4730		Name:       opDeleteArtifact,
4731		HTTPMethod: "POST",
4732		HTTPPath:   "/",
4733	}
4734
4735	if input == nil {
4736		input = &DeleteArtifactInput{}
4737	}
4738
4739	output = &DeleteArtifactOutput{}
4740	req = c.newRequest(op, input, output)
4741	return
4742}
4743
4744// DeleteArtifact API operation for Amazon SageMaker Service.
4745//
4746// Deletes an artifact. Either ArtifactArn or Source must be specified.
4747//
4748// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4749// with awserr.Error's Code and Message methods to get detailed information about
4750// the error.
4751//
4752// See the AWS API reference guide for Amazon SageMaker Service's
4753// API operation DeleteArtifact for usage and error information.
4754//
4755// Returned Error Types:
4756//   * ResourceNotFound
4757//   Resource being access is not found.
4758//
4759// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteArtifact
4760func (c *SageMaker) DeleteArtifact(input *DeleteArtifactInput) (*DeleteArtifactOutput, error) {
4761	req, out := c.DeleteArtifactRequest(input)
4762	return out, req.Send()
4763}
4764
4765// DeleteArtifactWithContext is the same as DeleteArtifact with the addition of
4766// the ability to pass a context and additional request options.
4767//
4768// See DeleteArtifact for details on how to use this API operation.
4769//
4770// The context must be non-nil and will be used for request cancellation. If
4771// the context is nil a panic will occur. In the future the SDK may create
4772// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4773// for more information on using Contexts.
4774func (c *SageMaker) DeleteArtifactWithContext(ctx aws.Context, input *DeleteArtifactInput, opts ...request.Option) (*DeleteArtifactOutput, error) {
4775	req, out := c.DeleteArtifactRequest(input)
4776	req.SetContext(ctx)
4777	req.ApplyOptions(opts...)
4778	return out, req.Send()
4779}
4780
4781const opDeleteAssociation = "DeleteAssociation"
4782
4783// DeleteAssociationRequest generates a "aws/request.Request" representing the
4784// client's request for the DeleteAssociation operation. The "output" return
4785// value will be populated with the request's response once the request completes
4786// successfully.
4787//
4788// Use "Send" method on the returned Request to send the API call to the service.
4789// the "output" return value is not valid until after Send returns without error.
4790//
4791// See DeleteAssociation for more information on using the DeleteAssociation
4792// API call, and error handling.
4793//
4794// This method is useful when you want to inject custom logic or configuration
4795// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4796//
4797//
4798//    // Example sending a request using the DeleteAssociationRequest method.
4799//    req, resp := client.DeleteAssociationRequest(params)
4800//
4801//    err := req.Send()
4802//    if err == nil { // resp is now filled
4803//        fmt.Println(resp)
4804//    }
4805//
4806// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAssociation
4807func (c *SageMaker) DeleteAssociationRequest(input *DeleteAssociationInput) (req *request.Request, output *DeleteAssociationOutput) {
4808	op := &request.Operation{
4809		Name:       opDeleteAssociation,
4810		HTTPMethod: "POST",
4811		HTTPPath:   "/",
4812	}
4813
4814	if input == nil {
4815		input = &DeleteAssociationInput{}
4816	}
4817
4818	output = &DeleteAssociationOutput{}
4819	req = c.newRequest(op, input, output)
4820	return
4821}
4822
4823// DeleteAssociation API operation for Amazon SageMaker Service.
4824//
4825// Deletes an association.
4826//
4827// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4828// with awserr.Error's Code and Message methods to get detailed information about
4829// the error.
4830//
4831// See the AWS API reference guide for Amazon SageMaker Service's
4832// API operation DeleteAssociation for usage and error information.
4833//
4834// Returned Error Types:
4835//   * ResourceNotFound
4836//   Resource being access is not found.
4837//
4838// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAssociation
4839func (c *SageMaker) DeleteAssociation(input *DeleteAssociationInput) (*DeleteAssociationOutput, error) {
4840	req, out := c.DeleteAssociationRequest(input)
4841	return out, req.Send()
4842}
4843
4844// DeleteAssociationWithContext is the same as DeleteAssociation with the addition of
4845// the ability to pass a context and additional request options.
4846//
4847// See DeleteAssociation for details on how to use this API operation.
4848//
4849// The context must be non-nil and will be used for request cancellation. If
4850// the context is nil a panic will occur. In the future the SDK may create
4851// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4852// for more information on using Contexts.
4853func (c *SageMaker) DeleteAssociationWithContext(ctx aws.Context, input *DeleteAssociationInput, opts ...request.Option) (*DeleteAssociationOutput, error) {
4854	req, out := c.DeleteAssociationRequest(input)
4855	req.SetContext(ctx)
4856	req.ApplyOptions(opts...)
4857	return out, req.Send()
4858}
4859
4860const opDeleteCodeRepository = "DeleteCodeRepository"
4861
4862// DeleteCodeRepositoryRequest generates a "aws/request.Request" representing the
4863// client's request for the DeleteCodeRepository operation. The "output" return
4864// value will be populated with the request's response once the request completes
4865// successfully.
4866//
4867// Use "Send" method on the returned Request to send the API call to the service.
4868// the "output" return value is not valid until after Send returns without error.
4869//
4870// See DeleteCodeRepository for more information on using the DeleteCodeRepository
4871// API call, and error handling.
4872//
4873// This method is useful when you want to inject custom logic or configuration
4874// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4875//
4876//
4877//    // Example sending a request using the DeleteCodeRepositoryRequest method.
4878//    req, resp := client.DeleteCodeRepositoryRequest(params)
4879//
4880//    err := req.Send()
4881//    if err == nil { // resp is now filled
4882//        fmt.Println(resp)
4883//    }
4884//
4885// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteCodeRepository
4886func (c *SageMaker) DeleteCodeRepositoryRequest(input *DeleteCodeRepositoryInput) (req *request.Request, output *DeleteCodeRepositoryOutput) {
4887	op := &request.Operation{
4888		Name:       opDeleteCodeRepository,
4889		HTTPMethod: "POST",
4890		HTTPPath:   "/",
4891	}
4892
4893	if input == nil {
4894		input = &DeleteCodeRepositoryInput{}
4895	}
4896
4897	output = &DeleteCodeRepositoryOutput{}
4898	req = c.newRequest(op, input, output)
4899	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
4900	return
4901}
4902
4903// DeleteCodeRepository API operation for Amazon SageMaker Service.
4904//
4905// Deletes the specified Git repository from your account.
4906//
4907// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4908// with awserr.Error's Code and Message methods to get detailed information about
4909// the error.
4910//
4911// See the AWS API reference guide for Amazon SageMaker Service's
4912// API operation DeleteCodeRepository for usage and error information.
4913// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteCodeRepository
4914func (c *SageMaker) DeleteCodeRepository(input *DeleteCodeRepositoryInput) (*DeleteCodeRepositoryOutput, error) {
4915	req, out := c.DeleteCodeRepositoryRequest(input)
4916	return out, req.Send()
4917}
4918
4919// DeleteCodeRepositoryWithContext is the same as DeleteCodeRepository with the addition of
4920// the ability to pass a context and additional request options.
4921//
4922// See DeleteCodeRepository for details on how to use this API operation.
4923//
4924// The context must be non-nil and will be used for request cancellation. If
4925// the context is nil a panic will occur. In the future the SDK may create
4926// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4927// for more information on using Contexts.
4928func (c *SageMaker) DeleteCodeRepositoryWithContext(ctx aws.Context, input *DeleteCodeRepositoryInput, opts ...request.Option) (*DeleteCodeRepositoryOutput, error) {
4929	req, out := c.DeleteCodeRepositoryRequest(input)
4930	req.SetContext(ctx)
4931	req.ApplyOptions(opts...)
4932	return out, req.Send()
4933}
4934
4935const opDeleteContext = "DeleteContext"
4936
4937// DeleteContextRequest generates a "aws/request.Request" representing the
4938// client's request for the DeleteContext operation. The "output" return
4939// value will be populated with the request's response once the request completes
4940// successfully.
4941//
4942// Use "Send" method on the returned Request to send the API call to the service.
4943// the "output" return value is not valid until after Send returns without error.
4944//
4945// See DeleteContext for more information on using the DeleteContext
4946// API call, and error handling.
4947//
4948// This method is useful when you want to inject custom logic or configuration
4949// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4950//
4951//
4952//    // Example sending a request using the DeleteContextRequest method.
4953//    req, resp := client.DeleteContextRequest(params)
4954//
4955//    err := req.Send()
4956//    if err == nil { // resp is now filled
4957//        fmt.Println(resp)
4958//    }
4959//
4960// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteContext
4961func (c *SageMaker) DeleteContextRequest(input *DeleteContextInput) (req *request.Request, output *DeleteContextOutput) {
4962	op := &request.Operation{
4963		Name:       opDeleteContext,
4964		HTTPMethod: "POST",
4965		HTTPPath:   "/",
4966	}
4967
4968	if input == nil {
4969		input = &DeleteContextInput{}
4970	}
4971
4972	output = &DeleteContextOutput{}
4973	req = c.newRequest(op, input, output)
4974	return
4975}
4976
4977// DeleteContext API operation for Amazon SageMaker Service.
4978//
4979// Deletes an context.
4980//
4981// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4982// with awserr.Error's Code and Message methods to get detailed information about
4983// the error.
4984//
4985// See the AWS API reference guide for Amazon SageMaker Service's
4986// API operation DeleteContext for usage and error information.
4987//
4988// Returned Error Types:
4989//   * ResourceNotFound
4990//   Resource being access is not found.
4991//
4992// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteContext
4993func (c *SageMaker) DeleteContext(input *DeleteContextInput) (*DeleteContextOutput, error) {
4994	req, out := c.DeleteContextRequest(input)
4995	return out, req.Send()
4996}
4997
4998// DeleteContextWithContext is the same as DeleteContext with the addition of
4999// the ability to pass a context and additional request options.
5000//
5001// See DeleteContext for details on how to use this API operation.
5002//
5003// The context must be non-nil and will be used for request cancellation. If
5004// the context is nil a panic will occur. In the future the SDK may create
5005// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5006// for more information on using Contexts.
5007func (c *SageMaker) DeleteContextWithContext(ctx aws.Context, input *DeleteContextInput, opts ...request.Option) (*DeleteContextOutput, error) {
5008	req, out := c.DeleteContextRequest(input)
5009	req.SetContext(ctx)
5010	req.ApplyOptions(opts...)
5011	return out, req.Send()
5012}
5013
5014const opDeleteDataQualityJobDefinition = "DeleteDataQualityJobDefinition"
5015
5016// DeleteDataQualityJobDefinitionRequest generates a "aws/request.Request" representing the
5017// client's request for the DeleteDataQualityJobDefinition operation. The "output" return
5018// value will be populated with the request's response once the request completes
5019// successfully.
5020//
5021// Use "Send" method on the returned Request to send the API call to the service.
5022// the "output" return value is not valid until after Send returns without error.
5023//
5024// See DeleteDataQualityJobDefinition for more information on using the DeleteDataQualityJobDefinition
5025// API call, and error handling.
5026//
5027// This method is useful when you want to inject custom logic or configuration
5028// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5029//
5030//
5031//    // Example sending a request using the DeleteDataQualityJobDefinitionRequest method.
5032//    req, resp := client.DeleteDataQualityJobDefinitionRequest(params)
5033//
5034//    err := req.Send()
5035//    if err == nil { // resp is now filled
5036//        fmt.Println(resp)
5037//    }
5038//
5039// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteDataQualityJobDefinition
5040func (c *SageMaker) DeleteDataQualityJobDefinitionRequest(input *DeleteDataQualityJobDefinitionInput) (req *request.Request, output *DeleteDataQualityJobDefinitionOutput) {
5041	op := &request.Operation{
5042		Name:       opDeleteDataQualityJobDefinition,
5043		HTTPMethod: "POST",
5044		HTTPPath:   "/",
5045	}
5046
5047	if input == nil {
5048		input = &DeleteDataQualityJobDefinitionInput{}
5049	}
5050
5051	output = &DeleteDataQualityJobDefinitionOutput{}
5052	req = c.newRequest(op, input, output)
5053	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
5054	return
5055}
5056
5057// DeleteDataQualityJobDefinition API operation for Amazon SageMaker Service.
5058//
5059// Deletes a data quality monitoring job definition.
5060//
5061// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5062// with awserr.Error's Code and Message methods to get detailed information about
5063// the error.
5064//
5065// See the AWS API reference guide for Amazon SageMaker Service's
5066// API operation DeleteDataQualityJobDefinition for usage and error information.
5067//
5068// Returned Error Types:
5069//   * ResourceNotFound
5070//   Resource being access is not found.
5071//
5072// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteDataQualityJobDefinition
5073func (c *SageMaker) DeleteDataQualityJobDefinition(input *DeleteDataQualityJobDefinitionInput) (*DeleteDataQualityJobDefinitionOutput, error) {
5074	req, out := c.DeleteDataQualityJobDefinitionRequest(input)
5075	return out, req.Send()
5076}
5077
5078// DeleteDataQualityJobDefinitionWithContext is the same as DeleteDataQualityJobDefinition with the addition of
5079// the ability to pass a context and additional request options.
5080//
5081// See DeleteDataQualityJobDefinition for details on how to use this API operation.
5082//
5083// The context must be non-nil and will be used for request cancellation. If
5084// the context is nil a panic will occur. In the future the SDK may create
5085// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5086// for more information on using Contexts.
5087func (c *SageMaker) DeleteDataQualityJobDefinitionWithContext(ctx aws.Context, input *DeleteDataQualityJobDefinitionInput, opts ...request.Option) (*DeleteDataQualityJobDefinitionOutput, error) {
5088	req, out := c.DeleteDataQualityJobDefinitionRequest(input)
5089	req.SetContext(ctx)
5090	req.ApplyOptions(opts...)
5091	return out, req.Send()
5092}
5093
5094const opDeleteDeviceFleet = "DeleteDeviceFleet"
5095
5096// DeleteDeviceFleetRequest generates a "aws/request.Request" representing the
5097// client's request for the DeleteDeviceFleet operation. The "output" return
5098// value will be populated with the request's response once the request completes
5099// successfully.
5100//
5101// Use "Send" method on the returned Request to send the API call to the service.
5102// the "output" return value is not valid until after Send returns without error.
5103//
5104// See DeleteDeviceFleet for more information on using the DeleteDeviceFleet
5105// API call, and error handling.
5106//
5107// This method is useful when you want to inject custom logic or configuration
5108// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5109//
5110//
5111//    // Example sending a request using the DeleteDeviceFleetRequest method.
5112//    req, resp := client.DeleteDeviceFleetRequest(params)
5113//
5114//    err := req.Send()
5115//    if err == nil { // resp is now filled
5116//        fmt.Println(resp)
5117//    }
5118//
5119// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteDeviceFleet
5120func (c *SageMaker) DeleteDeviceFleetRequest(input *DeleteDeviceFleetInput) (req *request.Request, output *DeleteDeviceFleetOutput) {
5121	op := &request.Operation{
5122		Name:       opDeleteDeviceFleet,
5123		HTTPMethod: "POST",
5124		HTTPPath:   "/",
5125	}
5126
5127	if input == nil {
5128		input = &DeleteDeviceFleetInput{}
5129	}
5130
5131	output = &DeleteDeviceFleetOutput{}
5132	req = c.newRequest(op, input, output)
5133	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
5134	return
5135}
5136
5137// DeleteDeviceFleet API operation for Amazon SageMaker Service.
5138//
5139// Deletes a fleet.
5140//
5141// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5142// with awserr.Error's Code and Message methods to get detailed information about
5143// the error.
5144//
5145// See the AWS API reference guide for Amazon SageMaker Service's
5146// API operation DeleteDeviceFleet for usage and error information.
5147//
5148// Returned Error Types:
5149//   * ResourceInUse
5150//   Resource being accessed is in use.
5151//
5152// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteDeviceFleet
5153func (c *SageMaker) DeleteDeviceFleet(input *DeleteDeviceFleetInput) (*DeleteDeviceFleetOutput, error) {
5154	req, out := c.DeleteDeviceFleetRequest(input)
5155	return out, req.Send()
5156}
5157
5158// DeleteDeviceFleetWithContext is the same as DeleteDeviceFleet with the addition of
5159// the ability to pass a context and additional request options.
5160//
5161// See DeleteDeviceFleet for details on how to use this API operation.
5162//
5163// The context must be non-nil and will be used for request cancellation. If
5164// the context is nil a panic will occur. In the future the SDK may create
5165// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5166// for more information on using Contexts.
5167func (c *SageMaker) DeleteDeviceFleetWithContext(ctx aws.Context, input *DeleteDeviceFleetInput, opts ...request.Option) (*DeleteDeviceFleetOutput, error) {
5168	req, out := c.DeleteDeviceFleetRequest(input)
5169	req.SetContext(ctx)
5170	req.ApplyOptions(opts...)
5171	return out, req.Send()
5172}
5173
5174const opDeleteDomain = "DeleteDomain"
5175
5176// DeleteDomainRequest generates a "aws/request.Request" representing the
5177// client's request for the DeleteDomain operation. The "output" return
5178// value will be populated with the request's response once the request completes
5179// successfully.
5180//
5181// Use "Send" method on the returned Request to send the API call to the service.
5182// the "output" return value is not valid until after Send returns without error.
5183//
5184// See DeleteDomain for more information on using the DeleteDomain
5185// API call, and error handling.
5186//
5187// This method is useful when you want to inject custom logic or configuration
5188// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5189//
5190//
5191//    // Example sending a request using the DeleteDomainRequest method.
5192//    req, resp := client.DeleteDomainRequest(params)
5193//
5194//    err := req.Send()
5195//    if err == nil { // resp is now filled
5196//        fmt.Println(resp)
5197//    }
5198//
5199// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteDomain
5200func (c *SageMaker) DeleteDomainRequest(input *DeleteDomainInput) (req *request.Request, output *DeleteDomainOutput) {
5201	op := &request.Operation{
5202		Name:       opDeleteDomain,
5203		HTTPMethod: "POST",
5204		HTTPPath:   "/",
5205	}
5206
5207	if input == nil {
5208		input = &DeleteDomainInput{}
5209	}
5210
5211	output = &DeleteDomainOutput{}
5212	req = c.newRequest(op, input, output)
5213	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
5214	return
5215}
5216
5217// DeleteDomain API operation for Amazon SageMaker Service.
5218//
5219// Used to delete a domain. If you onboarded with IAM mode, you will need to
5220// delete your domain to onboard again using SSO. Use with caution. All of the
5221// members of the domain will lose access to their EFS volume, including data,
5222// notebooks, and other artifacts.
5223//
5224// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5225// with awserr.Error's Code and Message methods to get detailed information about
5226// the error.
5227//
5228// See the AWS API reference guide for Amazon SageMaker Service's
5229// API operation DeleteDomain for usage and error information.
5230//
5231// Returned Error Types:
5232//   * ResourceInUse
5233//   Resource being accessed is in use.
5234//
5235//   * ResourceNotFound
5236//   Resource being access is not found.
5237//
5238// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteDomain
5239func (c *SageMaker) DeleteDomain(input *DeleteDomainInput) (*DeleteDomainOutput, error) {
5240	req, out := c.DeleteDomainRequest(input)
5241	return out, req.Send()
5242}
5243
5244// DeleteDomainWithContext is the same as DeleteDomain with the addition of
5245// the ability to pass a context and additional request options.
5246//
5247// See DeleteDomain for details on how to use this API operation.
5248//
5249// The context must be non-nil and will be used for request cancellation. If
5250// the context is nil a panic will occur. In the future the SDK may create
5251// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5252// for more information on using Contexts.
5253func (c *SageMaker) DeleteDomainWithContext(ctx aws.Context, input *DeleteDomainInput, opts ...request.Option) (*DeleteDomainOutput, error) {
5254	req, out := c.DeleteDomainRequest(input)
5255	req.SetContext(ctx)
5256	req.ApplyOptions(opts...)
5257	return out, req.Send()
5258}
5259
5260const opDeleteEndpoint = "DeleteEndpoint"
5261
5262// DeleteEndpointRequest generates a "aws/request.Request" representing the
5263// client's request for the DeleteEndpoint operation. The "output" return
5264// value will be populated with the request's response once the request completes
5265// successfully.
5266//
5267// Use "Send" method on the returned Request to send the API call to the service.
5268// the "output" return value is not valid until after Send returns without error.
5269//
5270// See DeleteEndpoint for more information on using the DeleteEndpoint
5271// API call, and error handling.
5272//
5273// This method is useful when you want to inject custom logic or configuration
5274// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5275//
5276//
5277//    // Example sending a request using the DeleteEndpointRequest method.
5278//    req, resp := client.DeleteEndpointRequest(params)
5279//
5280//    err := req.Send()
5281//    if err == nil { // resp is now filled
5282//        fmt.Println(resp)
5283//    }
5284//
5285// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteEndpoint
5286func (c *SageMaker) DeleteEndpointRequest(input *DeleteEndpointInput) (req *request.Request, output *DeleteEndpointOutput) {
5287	op := &request.Operation{
5288		Name:       opDeleteEndpoint,
5289		HTTPMethod: "POST",
5290		HTTPPath:   "/",
5291	}
5292
5293	if input == nil {
5294		input = &DeleteEndpointInput{}
5295	}
5296
5297	output = &DeleteEndpointOutput{}
5298	req = c.newRequest(op, input, output)
5299	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
5300	return
5301}
5302
5303// DeleteEndpoint API operation for Amazon SageMaker Service.
5304//
5305// Deletes an endpoint. Amazon SageMaker frees up all of the resources that
5306// were deployed when the endpoint was created.
5307//
5308// Amazon SageMaker retires any custom KMS key grants associated with the endpoint,
5309// meaning you don't need to use the RevokeGrant (http://docs.aws.amazon.com/kms/latest/APIReference/API_RevokeGrant.html)
5310// API call.
5311//
5312// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5313// with awserr.Error's Code and Message methods to get detailed information about
5314// the error.
5315//
5316// See the AWS API reference guide for Amazon SageMaker Service's
5317// API operation DeleteEndpoint for usage and error information.
5318// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteEndpoint
5319func (c *SageMaker) DeleteEndpoint(input *DeleteEndpointInput) (*DeleteEndpointOutput, error) {
5320	req, out := c.DeleteEndpointRequest(input)
5321	return out, req.Send()
5322}
5323
5324// DeleteEndpointWithContext is the same as DeleteEndpoint with the addition of
5325// the ability to pass a context and additional request options.
5326//
5327// See DeleteEndpoint for details on how to use this API operation.
5328//
5329// The context must be non-nil and will be used for request cancellation. If
5330// the context is nil a panic will occur. In the future the SDK may create
5331// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5332// for more information on using Contexts.
5333func (c *SageMaker) DeleteEndpointWithContext(ctx aws.Context, input *DeleteEndpointInput, opts ...request.Option) (*DeleteEndpointOutput, error) {
5334	req, out := c.DeleteEndpointRequest(input)
5335	req.SetContext(ctx)
5336	req.ApplyOptions(opts...)
5337	return out, req.Send()
5338}
5339
5340const opDeleteEndpointConfig = "DeleteEndpointConfig"
5341
5342// DeleteEndpointConfigRequest generates a "aws/request.Request" representing the
5343// client's request for the DeleteEndpointConfig operation. The "output" return
5344// value will be populated with the request's response once the request completes
5345// successfully.
5346//
5347// Use "Send" method on the returned Request to send the API call to the service.
5348// the "output" return value is not valid until after Send returns without error.
5349//
5350// See DeleteEndpointConfig for more information on using the DeleteEndpointConfig
5351// API call, and error handling.
5352//
5353// This method is useful when you want to inject custom logic or configuration
5354// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5355//
5356//
5357//    // Example sending a request using the DeleteEndpointConfigRequest method.
5358//    req, resp := client.DeleteEndpointConfigRequest(params)
5359//
5360//    err := req.Send()
5361//    if err == nil { // resp is now filled
5362//        fmt.Println(resp)
5363//    }
5364//
5365// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteEndpointConfig
5366func (c *SageMaker) DeleteEndpointConfigRequest(input *DeleteEndpointConfigInput) (req *request.Request, output *DeleteEndpointConfigOutput) {
5367	op := &request.Operation{
5368		Name:       opDeleteEndpointConfig,
5369		HTTPMethod: "POST",
5370		HTTPPath:   "/",
5371	}
5372
5373	if input == nil {
5374		input = &DeleteEndpointConfigInput{}
5375	}
5376
5377	output = &DeleteEndpointConfigOutput{}
5378	req = c.newRequest(op, input, output)
5379	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
5380	return
5381}
5382
5383// DeleteEndpointConfig API operation for Amazon SageMaker Service.
5384//
5385// Deletes an endpoint configuration. The DeleteEndpointConfig API deletes only
5386// the specified configuration. It does not delete endpoints created using the
5387// configuration.
5388//
5389// You must not delete an EndpointConfig in use by an endpoint that is live
5390// or while the UpdateEndpoint or CreateEndpoint operations are being performed
5391// on the endpoint. If you delete the EndpointConfig of an endpoint that is
5392// active or being created or updated you may lose visibility into the instance
5393// type the endpoint is using. The endpoint must be deleted in order to stop
5394// incurring charges.
5395//
5396// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5397// with awserr.Error's Code and Message methods to get detailed information about
5398// the error.
5399//
5400// See the AWS API reference guide for Amazon SageMaker Service's
5401// API operation DeleteEndpointConfig for usage and error information.
5402// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteEndpointConfig
5403func (c *SageMaker) DeleteEndpointConfig(input *DeleteEndpointConfigInput) (*DeleteEndpointConfigOutput, error) {
5404	req, out := c.DeleteEndpointConfigRequest(input)
5405	return out, req.Send()
5406}
5407
5408// DeleteEndpointConfigWithContext is the same as DeleteEndpointConfig with the addition of
5409// the ability to pass a context and additional request options.
5410//
5411// See DeleteEndpointConfig for details on how to use this API operation.
5412//
5413// The context must be non-nil and will be used for request cancellation. If
5414// the context is nil a panic will occur. In the future the SDK may create
5415// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5416// for more information on using Contexts.
5417func (c *SageMaker) DeleteEndpointConfigWithContext(ctx aws.Context, input *DeleteEndpointConfigInput, opts ...request.Option) (*DeleteEndpointConfigOutput, error) {
5418	req, out := c.DeleteEndpointConfigRequest(input)
5419	req.SetContext(ctx)
5420	req.ApplyOptions(opts...)
5421	return out, req.Send()
5422}
5423
5424const opDeleteExperiment = "DeleteExperiment"
5425
5426// DeleteExperimentRequest generates a "aws/request.Request" representing the
5427// client's request for the DeleteExperiment operation. The "output" return
5428// value will be populated with the request's response once the request completes
5429// successfully.
5430//
5431// Use "Send" method on the returned Request to send the API call to the service.
5432// the "output" return value is not valid until after Send returns without error.
5433//
5434// See DeleteExperiment for more information on using the DeleteExperiment
5435// API call, and error handling.
5436//
5437// This method is useful when you want to inject custom logic or configuration
5438// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5439//
5440//
5441//    // Example sending a request using the DeleteExperimentRequest method.
5442//    req, resp := client.DeleteExperimentRequest(params)
5443//
5444//    err := req.Send()
5445//    if err == nil { // resp is now filled
5446//        fmt.Println(resp)
5447//    }
5448//
5449// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteExperiment
5450func (c *SageMaker) DeleteExperimentRequest(input *DeleteExperimentInput) (req *request.Request, output *DeleteExperimentOutput) {
5451	op := &request.Operation{
5452		Name:       opDeleteExperiment,
5453		HTTPMethod: "POST",
5454		HTTPPath:   "/",
5455	}
5456
5457	if input == nil {
5458		input = &DeleteExperimentInput{}
5459	}
5460
5461	output = &DeleteExperimentOutput{}
5462	req = c.newRequest(op, input, output)
5463	return
5464}
5465
5466// DeleteExperiment API operation for Amazon SageMaker Service.
5467//
5468// Deletes an Amazon SageMaker experiment. All trials associated with the experiment
5469// must be deleted first. Use the ListTrials API to get a list of the trials
5470// associated with the experiment.
5471//
5472// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5473// with awserr.Error's Code and Message methods to get detailed information about
5474// the error.
5475//
5476// See the AWS API reference guide for Amazon SageMaker Service's
5477// API operation DeleteExperiment for usage and error information.
5478//
5479// Returned Error Types:
5480//   * ResourceNotFound
5481//   Resource being access is not found.
5482//
5483// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteExperiment
5484func (c *SageMaker) DeleteExperiment(input *DeleteExperimentInput) (*DeleteExperimentOutput, error) {
5485	req, out := c.DeleteExperimentRequest(input)
5486	return out, req.Send()
5487}
5488
5489// DeleteExperimentWithContext is the same as DeleteExperiment with the addition of
5490// the ability to pass a context and additional request options.
5491//
5492// See DeleteExperiment for details on how to use this API operation.
5493//
5494// The context must be non-nil and will be used for request cancellation. If
5495// the context is nil a panic will occur. In the future the SDK may create
5496// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5497// for more information on using Contexts.
5498func (c *SageMaker) DeleteExperimentWithContext(ctx aws.Context, input *DeleteExperimentInput, opts ...request.Option) (*DeleteExperimentOutput, error) {
5499	req, out := c.DeleteExperimentRequest(input)
5500	req.SetContext(ctx)
5501	req.ApplyOptions(opts...)
5502	return out, req.Send()
5503}
5504
5505const opDeleteFeatureGroup = "DeleteFeatureGroup"
5506
5507// DeleteFeatureGroupRequest generates a "aws/request.Request" representing the
5508// client's request for the DeleteFeatureGroup operation. The "output" return
5509// value will be populated with the request's response once the request completes
5510// successfully.
5511//
5512// Use "Send" method on the returned Request to send the API call to the service.
5513// the "output" return value is not valid until after Send returns without error.
5514//
5515// See DeleteFeatureGroup for more information on using the DeleteFeatureGroup
5516// API call, and error handling.
5517//
5518// This method is useful when you want to inject custom logic or configuration
5519// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5520//
5521//
5522//    // Example sending a request using the DeleteFeatureGroupRequest method.
5523//    req, resp := client.DeleteFeatureGroupRequest(params)
5524//
5525//    err := req.Send()
5526//    if err == nil { // resp is now filled
5527//        fmt.Println(resp)
5528//    }
5529//
5530// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteFeatureGroup
5531func (c *SageMaker) DeleteFeatureGroupRequest(input *DeleteFeatureGroupInput) (req *request.Request, output *DeleteFeatureGroupOutput) {
5532	op := &request.Operation{
5533		Name:       opDeleteFeatureGroup,
5534		HTTPMethod: "POST",
5535		HTTPPath:   "/",
5536	}
5537
5538	if input == nil {
5539		input = &DeleteFeatureGroupInput{}
5540	}
5541
5542	output = &DeleteFeatureGroupOutput{}
5543	req = c.newRequest(op, input, output)
5544	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
5545	return
5546}
5547
5548// DeleteFeatureGroup API operation for Amazon SageMaker Service.
5549//
5550// Delete the FeatureGroup and any data that was written to the OnlineStore
5551// of the FeatureGroup. Data cannot be accessed from the OnlineStore immediately
5552// after DeleteFeatureGroup is called.
5553//
5554// Data written into the OfflineStore will not be deleted. The AWS Glue database
5555// and tables that are automatically created for your OfflineStore are not deleted.
5556//
5557// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5558// with awserr.Error's Code and Message methods to get detailed information about
5559// the error.
5560//
5561// See the AWS API reference guide for Amazon SageMaker Service's
5562// API operation DeleteFeatureGroup for usage and error information.
5563//
5564// Returned Error Types:
5565//   * ResourceNotFound
5566//   Resource being access is not found.
5567//
5568// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteFeatureGroup
5569func (c *SageMaker) DeleteFeatureGroup(input *DeleteFeatureGroupInput) (*DeleteFeatureGroupOutput, error) {
5570	req, out := c.DeleteFeatureGroupRequest(input)
5571	return out, req.Send()
5572}
5573
5574// DeleteFeatureGroupWithContext is the same as DeleteFeatureGroup with the addition of
5575// the ability to pass a context and additional request options.
5576//
5577// See DeleteFeatureGroup for details on how to use this API operation.
5578//
5579// The context must be non-nil and will be used for request cancellation. If
5580// the context is nil a panic will occur. In the future the SDK may create
5581// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5582// for more information on using Contexts.
5583func (c *SageMaker) DeleteFeatureGroupWithContext(ctx aws.Context, input *DeleteFeatureGroupInput, opts ...request.Option) (*DeleteFeatureGroupOutput, error) {
5584	req, out := c.DeleteFeatureGroupRequest(input)
5585	req.SetContext(ctx)
5586	req.ApplyOptions(opts...)
5587	return out, req.Send()
5588}
5589
5590const opDeleteFlowDefinition = "DeleteFlowDefinition"
5591
5592// DeleteFlowDefinitionRequest generates a "aws/request.Request" representing the
5593// client's request for the DeleteFlowDefinition operation. The "output" return
5594// value will be populated with the request's response once the request completes
5595// successfully.
5596//
5597// Use "Send" method on the returned Request to send the API call to the service.
5598// the "output" return value is not valid until after Send returns without error.
5599//
5600// See DeleteFlowDefinition for more information on using the DeleteFlowDefinition
5601// API call, and error handling.
5602//
5603// This method is useful when you want to inject custom logic or configuration
5604// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5605//
5606//
5607//    // Example sending a request using the DeleteFlowDefinitionRequest method.
5608//    req, resp := client.DeleteFlowDefinitionRequest(params)
5609//
5610//    err := req.Send()
5611//    if err == nil { // resp is now filled
5612//        fmt.Println(resp)
5613//    }
5614//
5615// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteFlowDefinition
5616func (c *SageMaker) DeleteFlowDefinitionRequest(input *DeleteFlowDefinitionInput) (req *request.Request, output *DeleteFlowDefinitionOutput) {
5617	op := &request.Operation{
5618		Name:       opDeleteFlowDefinition,
5619		HTTPMethod: "POST",
5620		HTTPPath:   "/",
5621	}
5622
5623	if input == nil {
5624		input = &DeleteFlowDefinitionInput{}
5625	}
5626
5627	output = &DeleteFlowDefinitionOutput{}
5628	req = c.newRequest(op, input, output)
5629	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
5630	return
5631}
5632
5633// DeleteFlowDefinition API operation for Amazon SageMaker Service.
5634//
5635// Deletes the specified flow definition.
5636//
5637// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5638// with awserr.Error's Code and Message methods to get detailed information about
5639// the error.
5640//
5641// See the AWS API reference guide for Amazon SageMaker Service's
5642// API operation DeleteFlowDefinition for usage and error information.
5643//
5644// Returned Error Types:
5645//   * ResourceInUse
5646//   Resource being accessed is in use.
5647//
5648//   * ResourceNotFound
5649//   Resource being access is not found.
5650//
5651// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteFlowDefinition
5652func (c *SageMaker) DeleteFlowDefinition(input *DeleteFlowDefinitionInput) (*DeleteFlowDefinitionOutput, error) {
5653	req, out := c.DeleteFlowDefinitionRequest(input)
5654	return out, req.Send()
5655}
5656
5657// DeleteFlowDefinitionWithContext is the same as DeleteFlowDefinition with the addition of
5658// the ability to pass a context and additional request options.
5659//
5660// See DeleteFlowDefinition for details on how to use this API operation.
5661//
5662// The context must be non-nil and will be used for request cancellation. If
5663// the context is nil a panic will occur. In the future the SDK may create
5664// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5665// for more information on using Contexts.
5666func (c *SageMaker) DeleteFlowDefinitionWithContext(ctx aws.Context, input *DeleteFlowDefinitionInput, opts ...request.Option) (*DeleteFlowDefinitionOutput, error) {
5667	req, out := c.DeleteFlowDefinitionRequest(input)
5668	req.SetContext(ctx)
5669	req.ApplyOptions(opts...)
5670	return out, req.Send()
5671}
5672
5673const opDeleteHumanTaskUi = "DeleteHumanTaskUi"
5674
5675// DeleteHumanTaskUiRequest generates a "aws/request.Request" representing the
5676// client's request for the DeleteHumanTaskUi operation. The "output" return
5677// value will be populated with the request's response once the request completes
5678// successfully.
5679//
5680// Use "Send" method on the returned Request to send the API call to the service.
5681// the "output" return value is not valid until after Send returns without error.
5682//
5683// See DeleteHumanTaskUi for more information on using the DeleteHumanTaskUi
5684// API call, and error handling.
5685//
5686// This method is useful when you want to inject custom logic or configuration
5687// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5688//
5689//
5690//    // Example sending a request using the DeleteHumanTaskUiRequest method.
5691//    req, resp := client.DeleteHumanTaskUiRequest(params)
5692//
5693//    err := req.Send()
5694//    if err == nil { // resp is now filled
5695//        fmt.Println(resp)
5696//    }
5697//
5698// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteHumanTaskUi
5699func (c *SageMaker) DeleteHumanTaskUiRequest(input *DeleteHumanTaskUiInput) (req *request.Request, output *DeleteHumanTaskUiOutput) {
5700	op := &request.Operation{
5701		Name:       opDeleteHumanTaskUi,
5702		HTTPMethod: "POST",
5703		HTTPPath:   "/",
5704	}
5705
5706	if input == nil {
5707		input = &DeleteHumanTaskUiInput{}
5708	}
5709
5710	output = &DeleteHumanTaskUiOutput{}
5711	req = c.newRequest(op, input, output)
5712	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
5713	return
5714}
5715
5716// DeleteHumanTaskUi API operation for Amazon SageMaker Service.
5717//
5718// Use this operation to delete a human task user interface (worker task template).
5719//
5720// To see a list of human task user interfaces (work task templates) in your
5721// account, use . When you delete a worker task template, it no longer appears
5722// when you call ListHumanTaskUis.
5723//
5724// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5725// with awserr.Error's Code and Message methods to get detailed information about
5726// the error.
5727//
5728// See the AWS API reference guide for Amazon SageMaker Service's
5729// API operation DeleteHumanTaskUi for usage and error information.
5730//
5731// Returned Error Types:
5732//   * ResourceNotFound
5733//   Resource being access is not found.
5734//
5735// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteHumanTaskUi
5736func (c *SageMaker) DeleteHumanTaskUi(input *DeleteHumanTaskUiInput) (*DeleteHumanTaskUiOutput, error) {
5737	req, out := c.DeleteHumanTaskUiRequest(input)
5738	return out, req.Send()
5739}
5740
5741// DeleteHumanTaskUiWithContext is the same as DeleteHumanTaskUi with the addition of
5742// the ability to pass a context and additional request options.
5743//
5744// See DeleteHumanTaskUi for details on how to use this API operation.
5745//
5746// The context must be non-nil and will be used for request cancellation. If
5747// the context is nil a panic will occur. In the future the SDK may create
5748// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5749// for more information on using Contexts.
5750func (c *SageMaker) DeleteHumanTaskUiWithContext(ctx aws.Context, input *DeleteHumanTaskUiInput, opts ...request.Option) (*DeleteHumanTaskUiOutput, error) {
5751	req, out := c.DeleteHumanTaskUiRequest(input)
5752	req.SetContext(ctx)
5753	req.ApplyOptions(opts...)
5754	return out, req.Send()
5755}
5756
5757const opDeleteImage = "DeleteImage"
5758
5759// DeleteImageRequest generates a "aws/request.Request" representing the
5760// client's request for the DeleteImage operation. The "output" return
5761// value will be populated with the request's response once the request completes
5762// successfully.
5763//
5764// Use "Send" method on the returned Request to send the API call to the service.
5765// the "output" return value is not valid until after Send returns without error.
5766//
5767// See DeleteImage for more information on using the DeleteImage
5768// API call, and error handling.
5769//
5770// This method is useful when you want to inject custom logic or configuration
5771// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5772//
5773//
5774//    // Example sending a request using the DeleteImageRequest method.
5775//    req, resp := client.DeleteImageRequest(params)
5776//
5777//    err := req.Send()
5778//    if err == nil { // resp is now filled
5779//        fmt.Println(resp)
5780//    }
5781//
5782// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteImage
5783func (c *SageMaker) DeleteImageRequest(input *DeleteImageInput) (req *request.Request, output *DeleteImageOutput) {
5784	op := &request.Operation{
5785		Name:       opDeleteImage,
5786		HTTPMethod: "POST",
5787		HTTPPath:   "/",
5788	}
5789
5790	if input == nil {
5791		input = &DeleteImageInput{}
5792	}
5793
5794	output = &DeleteImageOutput{}
5795	req = c.newRequest(op, input, output)
5796	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
5797	return
5798}
5799
5800// DeleteImage API operation for Amazon SageMaker Service.
5801//
5802// Deletes a SageMaker image and all versions of the image. The container images
5803// aren't deleted.
5804//
5805// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5806// with awserr.Error's Code and Message methods to get detailed information about
5807// the error.
5808//
5809// See the AWS API reference guide for Amazon SageMaker Service's
5810// API operation DeleteImage for usage and error information.
5811//
5812// Returned Error Types:
5813//   * ResourceInUse
5814//   Resource being accessed is in use.
5815//
5816//   * ResourceNotFound
5817//   Resource being access is not found.
5818//
5819// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteImage
5820func (c *SageMaker) DeleteImage(input *DeleteImageInput) (*DeleteImageOutput, error) {
5821	req, out := c.DeleteImageRequest(input)
5822	return out, req.Send()
5823}
5824
5825// DeleteImageWithContext is the same as DeleteImage with the addition of
5826// the ability to pass a context and additional request options.
5827//
5828// See DeleteImage for details on how to use this API operation.
5829//
5830// The context must be non-nil and will be used for request cancellation. If
5831// the context is nil a panic will occur. In the future the SDK may create
5832// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5833// for more information on using Contexts.
5834func (c *SageMaker) DeleteImageWithContext(ctx aws.Context, input *DeleteImageInput, opts ...request.Option) (*DeleteImageOutput, error) {
5835	req, out := c.DeleteImageRequest(input)
5836	req.SetContext(ctx)
5837	req.ApplyOptions(opts...)
5838	return out, req.Send()
5839}
5840
5841const opDeleteImageVersion = "DeleteImageVersion"
5842
5843// DeleteImageVersionRequest generates a "aws/request.Request" representing the
5844// client's request for the DeleteImageVersion operation. The "output" return
5845// value will be populated with the request's response once the request completes
5846// successfully.
5847//
5848// Use "Send" method on the returned Request to send the API call to the service.
5849// the "output" return value is not valid until after Send returns without error.
5850//
5851// See DeleteImageVersion for more information on using the DeleteImageVersion
5852// API call, and error handling.
5853//
5854// This method is useful when you want to inject custom logic or configuration
5855// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5856//
5857//
5858//    // Example sending a request using the DeleteImageVersionRequest method.
5859//    req, resp := client.DeleteImageVersionRequest(params)
5860//
5861//    err := req.Send()
5862//    if err == nil { // resp is now filled
5863//        fmt.Println(resp)
5864//    }
5865//
5866// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteImageVersion
5867func (c *SageMaker) DeleteImageVersionRequest(input *DeleteImageVersionInput) (req *request.Request, output *DeleteImageVersionOutput) {
5868	op := &request.Operation{
5869		Name:       opDeleteImageVersion,
5870		HTTPMethod: "POST",
5871		HTTPPath:   "/",
5872	}
5873
5874	if input == nil {
5875		input = &DeleteImageVersionInput{}
5876	}
5877
5878	output = &DeleteImageVersionOutput{}
5879	req = c.newRequest(op, input, output)
5880	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
5881	return
5882}
5883
5884// DeleteImageVersion API operation for Amazon SageMaker Service.
5885//
5886// Deletes a version of a SageMaker image. The container image the version represents
5887// isn't deleted.
5888//
5889// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5890// with awserr.Error's Code and Message methods to get detailed information about
5891// the error.
5892//
5893// See the AWS API reference guide for Amazon SageMaker Service's
5894// API operation DeleteImageVersion for usage and error information.
5895//
5896// Returned Error Types:
5897//   * ResourceInUse
5898//   Resource being accessed is in use.
5899//
5900//   * ResourceNotFound
5901//   Resource being access is not found.
5902//
5903// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteImageVersion
5904func (c *SageMaker) DeleteImageVersion(input *DeleteImageVersionInput) (*DeleteImageVersionOutput, error) {
5905	req, out := c.DeleteImageVersionRequest(input)
5906	return out, req.Send()
5907}
5908
5909// DeleteImageVersionWithContext is the same as DeleteImageVersion with the addition of
5910// the ability to pass a context and additional request options.
5911//
5912// See DeleteImageVersion for details on how to use this API operation.
5913//
5914// The context must be non-nil and will be used for request cancellation. If
5915// the context is nil a panic will occur. In the future the SDK may create
5916// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5917// for more information on using Contexts.
5918func (c *SageMaker) DeleteImageVersionWithContext(ctx aws.Context, input *DeleteImageVersionInput, opts ...request.Option) (*DeleteImageVersionOutput, error) {
5919	req, out := c.DeleteImageVersionRequest(input)
5920	req.SetContext(ctx)
5921	req.ApplyOptions(opts...)
5922	return out, req.Send()
5923}
5924
5925const opDeleteModel = "DeleteModel"
5926
5927// DeleteModelRequest generates a "aws/request.Request" representing the
5928// client's request for the DeleteModel operation. The "output" return
5929// value will be populated with the request's response once the request completes
5930// successfully.
5931//
5932// Use "Send" method on the returned Request to send the API call to the service.
5933// the "output" return value is not valid until after Send returns without error.
5934//
5935// See DeleteModel for more information on using the DeleteModel
5936// API call, and error handling.
5937//
5938// This method is useful when you want to inject custom logic or configuration
5939// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5940//
5941//
5942//    // Example sending a request using the DeleteModelRequest method.
5943//    req, resp := client.DeleteModelRequest(params)
5944//
5945//    err := req.Send()
5946//    if err == nil { // resp is now filled
5947//        fmt.Println(resp)
5948//    }
5949//
5950// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModel
5951func (c *SageMaker) DeleteModelRequest(input *DeleteModelInput) (req *request.Request, output *DeleteModelOutput) {
5952	op := &request.Operation{
5953		Name:       opDeleteModel,
5954		HTTPMethod: "POST",
5955		HTTPPath:   "/",
5956	}
5957
5958	if input == nil {
5959		input = &DeleteModelInput{}
5960	}
5961
5962	output = &DeleteModelOutput{}
5963	req = c.newRequest(op, input, output)
5964	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
5965	return
5966}
5967
5968// DeleteModel API operation for Amazon SageMaker Service.
5969//
5970// Deletes a model. The DeleteModel API deletes only the model entry that was
5971// created in Amazon SageMaker when you called the CreateModel API. It does
5972// not delete model artifacts, inference code, or the IAM role that you specified
5973// when creating the model.
5974//
5975// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5976// with awserr.Error's Code and Message methods to get detailed information about
5977// the error.
5978//
5979// See the AWS API reference guide for Amazon SageMaker Service's
5980// API operation DeleteModel for usage and error information.
5981// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModel
5982func (c *SageMaker) DeleteModel(input *DeleteModelInput) (*DeleteModelOutput, error) {
5983	req, out := c.DeleteModelRequest(input)
5984	return out, req.Send()
5985}
5986
5987// DeleteModelWithContext is the same as DeleteModel with the addition of
5988// the ability to pass a context and additional request options.
5989//
5990// See DeleteModel for details on how to use this API operation.
5991//
5992// The context must be non-nil and will be used for request cancellation. If
5993// the context is nil a panic will occur. In the future the SDK may create
5994// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5995// for more information on using Contexts.
5996func (c *SageMaker) DeleteModelWithContext(ctx aws.Context, input *DeleteModelInput, opts ...request.Option) (*DeleteModelOutput, error) {
5997	req, out := c.DeleteModelRequest(input)
5998	req.SetContext(ctx)
5999	req.ApplyOptions(opts...)
6000	return out, req.Send()
6001}
6002
6003const opDeleteModelBiasJobDefinition = "DeleteModelBiasJobDefinition"
6004
6005// DeleteModelBiasJobDefinitionRequest generates a "aws/request.Request" representing the
6006// client's request for the DeleteModelBiasJobDefinition operation. The "output" return
6007// value will be populated with the request's response once the request completes
6008// successfully.
6009//
6010// Use "Send" method on the returned Request to send the API call to the service.
6011// the "output" return value is not valid until after Send returns without error.
6012//
6013// See DeleteModelBiasJobDefinition for more information on using the DeleteModelBiasJobDefinition
6014// API call, and error handling.
6015//
6016// This method is useful when you want to inject custom logic or configuration
6017// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6018//
6019//
6020//    // Example sending a request using the DeleteModelBiasJobDefinitionRequest method.
6021//    req, resp := client.DeleteModelBiasJobDefinitionRequest(params)
6022//
6023//    err := req.Send()
6024//    if err == nil { // resp is now filled
6025//        fmt.Println(resp)
6026//    }
6027//
6028// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelBiasJobDefinition
6029func (c *SageMaker) DeleteModelBiasJobDefinitionRequest(input *DeleteModelBiasJobDefinitionInput) (req *request.Request, output *DeleteModelBiasJobDefinitionOutput) {
6030	op := &request.Operation{
6031		Name:       opDeleteModelBiasJobDefinition,
6032		HTTPMethod: "POST",
6033		HTTPPath:   "/",
6034	}
6035
6036	if input == nil {
6037		input = &DeleteModelBiasJobDefinitionInput{}
6038	}
6039
6040	output = &DeleteModelBiasJobDefinitionOutput{}
6041	req = c.newRequest(op, input, output)
6042	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
6043	return
6044}
6045
6046// DeleteModelBiasJobDefinition API operation for Amazon SageMaker Service.
6047//
6048// Deletes an Amazon SageMaker model bias job definition.
6049//
6050// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6051// with awserr.Error's Code and Message methods to get detailed information about
6052// the error.
6053//
6054// See the AWS API reference guide for Amazon SageMaker Service's
6055// API operation DeleteModelBiasJobDefinition for usage and error information.
6056//
6057// Returned Error Types:
6058//   * ResourceNotFound
6059//   Resource being access is not found.
6060//
6061// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelBiasJobDefinition
6062func (c *SageMaker) DeleteModelBiasJobDefinition(input *DeleteModelBiasJobDefinitionInput) (*DeleteModelBiasJobDefinitionOutput, error) {
6063	req, out := c.DeleteModelBiasJobDefinitionRequest(input)
6064	return out, req.Send()
6065}
6066
6067// DeleteModelBiasJobDefinitionWithContext is the same as DeleteModelBiasJobDefinition with the addition of
6068// the ability to pass a context and additional request options.
6069//
6070// See DeleteModelBiasJobDefinition for details on how to use this API operation.
6071//
6072// The context must be non-nil and will be used for request cancellation. If
6073// the context is nil a panic will occur. In the future the SDK may create
6074// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6075// for more information on using Contexts.
6076func (c *SageMaker) DeleteModelBiasJobDefinitionWithContext(ctx aws.Context, input *DeleteModelBiasJobDefinitionInput, opts ...request.Option) (*DeleteModelBiasJobDefinitionOutput, error) {
6077	req, out := c.DeleteModelBiasJobDefinitionRequest(input)
6078	req.SetContext(ctx)
6079	req.ApplyOptions(opts...)
6080	return out, req.Send()
6081}
6082
6083const opDeleteModelExplainabilityJobDefinition = "DeleteModelExplainabilityJobDefinition"
6084
6085// DeleteModelExplainabilityJobDefinitionRequest generates a "aws/request.Request" representing the
6086// client's request for the DeleteModelExplainabilityJobDefinition operation. The "output" return
6087// value will be populated with the request's response once the request completes
6088// successfully.
6089//
6090// Use "Send" method on the returned Request to send the API call to the service.
6091// the "output" return value is not valid until after Send returns without error.
6092//
6093// See DeleteModelExplainabilityJobDefinition for more information on using the DeleteModelExplainabilityJobDefinition
6094// API call, and error handling.
6095//
6096// This method is useful when you want to inject custom logic or configuration
6097// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6098//
6099//
6100//    // Example sending a request using the DeleteModelExplainabilityJobDefinitionRequest method.
6101//    req, resp := client.DeleteModelExplainabilityJobDefinitionRequest(params)
6102//
6103//    err := req.Send()
6104//    if err == nil { // resp is now filled
6105//        fmt.Println(resp)
6106//    }
6107//
6108// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelExplainabilityJobDefinition
6109func (c *SageMaker) DeleteModelExplainabilityJobDefinitionRequest(input *DeleteModelExplainabilityJobDefinitionInput) (req *request.Request, output *DeleteModelExplainabilityJobDefinitionOutput) {
6110	op := &request.Operation{
6111		Name:       opDeleteModelExplainabilityJobDefinition,
6112		HTTPMethod: "POST",
6113		HTTPPath:   "/",
6114	}
6115
6116	if input == nil {
6117		input = &DeleteModelExplainabilityJobDefinitionInput{}
6118	}
6119
6120	output = &DeleteModelExplainabilityJobDefinitionOutput{}
6121	req = c.newRequest(op, input, output)
6122	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
6123	return
6124}
6125
6126// DeleteModelExplainabilityJobDefinition API operation for Amazon SageMaker Service.
6127//
6128// Deletes an Amazon SageMaker model explainability job definition.
6129//
6130// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6131// with awserr.Error's Code and Message methods to get detailed information about
6132// the error.
6133//
6134// See the AWS API reference guide for Amazon SageMaker Service's
6135// API operation DeleteModelExplainabilityJobDefinition for usage and error information.
6136//
6137// Returned Error Types:
6138//   * ResourceNotFound
6139//   Resource being access is not found.
6140//
6141// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelExplainabilityJobDefinition
6142func (c *SageMaker) DeleteModelExplainabilityJobDefinition(input *DeleteModelExplainabilityJobDefinitionInput) (*DeleteModelExplainabilityJobDefinitionOutput, error) {
6143	req, out := c.DeleteModelExplainabilityJobDefinitionRequest(input)
6144	return out, req.Send()
6145}
6146
6147// DeleteModelExplainabilityJobDefinitionWithContext is the same as DeleteModelExplainabilityJobDefinition with the addition of
6148// the ability to pass a context and additional request options.
6149//
6150// See DeleteModelExplainabilityJobDefinition for details on how to use this API operation.
6151//
6152// The context must be non-nil and will be used for request cancellation. If
6153// the context is nil a panic will occur. In the future the SDK may create
6154// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6155// for more information on using Contexts.
6156func (c *SageMaker) DeleteModelExplainabilityJobDefinitionWithContext(ctx aws.Context, input *DeleteModelExplainabilityJobDefinitionInput, opts ...request.Option) (*DeleteModelExplainabilityJobDefinitionOutput, error) {
6157	req, out := c.DeleteModelExplainabilityJobDefinitionRequest(input)
6158	req.SetContext(ctx)
6159	req.ApplyOptions(opts...)
6160	return out, req.Send()
6161}
6162
6163const opDeleteModelPackage = "DeleteModelPackage"
6164
6165// DeleteModelPackageRequest generates a "aws/request.Request" representing the
6166// client's request for the DeleteModelPackage operation. The "output" return
6167// value will be populated with the request's response once the request completes
6168// successfully.
6169//
6170// Use "Send" method on the returned Request to send the API call to the service.
6171// the "output" return value is not valid until after Send returns without error.
6172//
6173// See DeleteModelPackage for more information on using the DeleteModelPackage
6174// API call, and error handling.
6175//
6176// This method is useful when you want to inject custom logic or configuration
6177// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6178//
6179//
6180//    // Example sending a request using the DeleteModelPackageRequest method.
6181//    req, resp := client.DeleteModelPackageRequest(params)
6182//
6183//    err := req.Send()
6184//    if err == nil { // resp is now filled
6185//        fmt.Println(resp)
6186//    }
6187//
6188// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelPackage
6189func (c *SageMaker) DeleteModelPackageRequest(input *DeleteModelPackageInput) (req *request.Request, output *DeleteModelPackageOutput) {
6190	op := &request.Operation{
6191		Name:       opDeleteModelPackage,
6192		HTTPMethod: "POST",
6193		HTTPPath:   "/",
6194	}
6195
6196	if input == nil {
6197		input = &DeleteModelPackageInput{}
6198	}
6199
6200	output = &DeleteModelPackageOutput{}
6201	req = c.newRequest(op, input, output)
6202	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
6203	return
6204}
6205
6206// DeleteModelPackage API operation for Amazon SageMaker Service.
6207//
6208// Deletes a model package.
6209//
6210// A model package is used to create Amazon SageMaker models or list on AWS
6211// Marketplace. Buyers can subscribe to model packages listed on AWS Marketplace
6212// to create models in Amazon SageMaker.
6213//
6214// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6215// with awserr.Error's Code and Message methods to get detailed information about
6216// the error.
6217//
6218// See the AWS API reference guide for Amazon SageMaker Service's
6219// API operation DeleteModelPackage for usage and error information.
6220//
6221// Returned Error Types:
6222//   * ConflictException
6223//   There was a conflict when you attempted to modify an experiment, trial, or
6224//   trial component.
6225//
6226// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelPackage
6227func (c *SageMaker) DeleteModelPackage(input *DeleteModelPackageInput) (*DeleteModelPackageOutput, error) {
6228	req, out := c.DeleteModelPackageRequest(input)
6229	return out, req.Send()
6230}
6231
6232// DeleteModelPackageWithContext is the same as DeleteModelPackage with the addition of
6233// the ability to pass a context and additional request options.
6234//
6235// See DeleteModelPackage for details on how to use this API operation.
6236//
6237// The context must be non-nil and will be used for request cancellation. If
6238// the context is nil a panic will occur. In the future the SDK may create
6239// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6240// for more information on using Contexts.
6241func (c *SageMaker) DeleteModelPackageWithContext(ctx aws.Context, input *DeleteModelPackageInput, opts ...request.Option) (*DeleteModelPackageOutput, error) {
6242	req, out := c.DeleteModelPackageRequest(input)
6243	req.SetContext(ctx)
6244	req.ApplyOptions(opts...)
6245	return out, req.Send()
6246}
6247
6248const opDeleteModelPackageGroup = "DeleteModelPackageGroup"
6249
6250// DeleteModelPackageGroupRequest generates a "aws/request.Request" representing the
6251// client's request for the DeleteModelPackageGroup operation. The "output" return
6252// value will be populated with the request's response once the request completes
6253// successfully.
6254//
6255// Use "Send" method on the returned Request to send the API call to the service.
6256// the "output" return value is not valid until after Send returns without error.
6257//
6258// See DeleteModelPackageGroup for more information on using the DeleteModelPackageGroup
6259// API call, and error handling.
6260//
6261// This method is useful when you want to inject custom logic or configuration
6262// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6263//
6264//
6265//    // Example sending a request using the DeleteModelPackageGroupRequest method.
6266//    req, resp := client.DeleteModelPackageGroupRequest(params)
6267//
6268//    err := req.Send()
6269//    if err == nil { // resp is now filled
6270//        fmt.Println(resp)
6271//    }
6272//
6273// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelPackageGroup
6274func (c *SageMaker) DeleteModelPackageGroupRequest(input *DeleteModelPackageGroupInput) (req *request.Request, output *DeleteModelPackageGroupOutput) {
6275	op := &request.Operation{
6276		Name:       opDeleteModelPackageGroup,
6277		HTTPMethod: "POST",
6278		HTTPPath:   "/",
6279	}
6280
6281	if input == nil {
6282		input = &DeleteModelPackageGroupInput{}
6283	}
6284
6285	output = &DeleteModelPackageGroupOutput{}
6286	req = c.newRequest(op, input, output)
6287	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
6288	return
6289}
6290
6291// DeleteModelPackageGroup API operation for Amazon SageMaker Service.
6292//
6293// Deletes the specified model group.
6294//
6295// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6296// with awserr.Error's Code and Message methods to get detailed information about
6297// the error.
6298//
6299// See the AWS API reference guide for Amazon SageMaker Service's
6300// API operation DeleteModelPackageGroup for usage and error information.
6301// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelPackageGroup
6302func (c *SageMaker) DeleteModelPackageGroup(input *DeleteModelPackageGroupInput) (*DeleteModelPackageGroupOutput, error) {
6303	req, out := c.DeleteModelPackageGroupRequest(input)
6304	return out, req.Send()
6305}
6306
6307// DeleteModelPackageGroupWithContext is the same as DeleteModelPackageGroup with the addition of
6308// the ability to pass a context and additional request options.
6309//
6310// See DeleteModelPackageGroup for details on how to use this API operation.
6311//
6312// The context must be non-nil and will be used for request cancellation. If
6313// the context is nil a panic will occur. In the future the SDK may create
6314// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6315// for more information on using Contexts.
6316func (c *SageMaker) DeleteModelPackageGroupWithContext(ctx aws.Context, input *DeleteModelPackageGroupInput, opts ...request.Option) (*DeleteModelPackageGroupOutput, error) {
6317	req, out := c.DeleteModelPackageGroupRequest(input)
6318	req.SetContext(ctx)
6319	req.ApplyOptions(opts...)
6320	return out, req.Send()
6321}
6322
6323const opDeleteModelPackageGroupPolicy = "DeleteModelPackageGroupPolicy"
6324
6325// DeleteModelPackageGroupPolicyRequest generates a "aws/request.Request" representing the
6326// client's request for the DeleteModelPackageGroupPolicy operation. The "output" return
6327// value will be populated with the request's response once the request completes
6328// successfully.
6329//
6330// Use "Send" method on the returned Request to send the API call to the service.
6331// the "output" return value is not valid until after Send returns without error.
6332//
6333// See DeleteModelPackageGroupPolicy for more information on using the DeleteModelPackageGroupPolicy
6334// API call, and error handling.
6335//
6336// This method is useful when you want to inject custom logic or configuration
6337// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6338//
6339//
6340//    // Example sending a request using the DeleteModelPackageGroupPolicyRequest method.
6341//    req, resp := client.DeleteModelPackageGroupPolicyRequest(params)
6342//
6343//    err := req.Send()
6344//    if err == nil { // resp is now filled
6345//        fmt.Println(resp)
6346//    }
6347//
6348// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelPackageGroupPolicy
6349func (c *SageMaker) DeleteModelPackageGroupPolicyRequest(input *DeleteModelPackageGroupPolicyInput) (req *request.Request, output *DeleteModelPackageGroupPolicyOutput) {
6350	op := &request.Operation{
6351		Name:       opDeleteModelPackageGroupPolicy,
6352		HTTPMethod: "POST",
6353		HTTPPath:   "/",
6354	}
6355
6356	if input == nil {
6357		input = &DeleteModelPackageGroupPolicyInput{}
6358	}
6359
6360	output = &DeleteModelPackageGroupPolicyOutput{}
6361	req = c.newRequest(op, input, output)
6362	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
6363	return
6364}
6365
6366// DeleteModelPackageGroupPolicy API operation for Amazon SageMaker Service.
6367//
6368// Deletes a model group resource policy.
6369//
6370// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6371// with awserr.Error's Code and Message methods to get detailed information about
6372// the error.
6373//
6374// See the AWS API reference guide for Amazon SageMaker Service's
6375// API operation DeleteModelPackageGroupPolicy for usage and error information.
6376// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelPackageGroupPolicy
6377func (c *SageMaker) DeleteModelPackageGroupPolicy(input *DeleteModelPackageGroupPolicyInput) (*DeleteModelPackageGroupPolicyOutput, error) {
6378	req, out := c.DeleteModelPackageGroupPolicyRequest(input)
6379	return out, req.Send()
6380}
6381
6382// DeleteModelPackageGroupPolicyWithContext is the same as DeleteModelPackageGroupPolicy with the addition of
6383// the ability to pass a context and additional request options.
6384//
6385// See DeleteModelPackageGroupPolicy for details on how to use this API operation.
6386//
6387// The context must be non-nil and will be used for request cancellation. If
6388// the context is nil a panic will occur. In the future the SDK may create
6389// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6390// for more information on using Contexts.
6391func (c *SageMaker) DeleteModelPackageGroupPolicyWithContext(ctx aws.Context, input *DeleteModelPackageGroupPolicyInput, opts ...request.Option) (*DeleteModelPackageGroupPolicyOutput, error) {
6392	req, out := c.DeleteModelPackageGroupPolicyRequest(input)
6393	req.SetContext(ctx)
6394	req.ApplyOptions(opts...)
6395	return out, req.Send()
6396}
6397
6398const opDeleteModelQualityJobDefinition = "DeleteModelQualityJobDefinition"
6399
6400// DeleteModelQualityJobDefinitionRequest generates a "aws/request.Request" representing the
6401// client's request for the DeleteModelQualityJobDefinition operation. The "output" return
6402// value will be populated with the request's response once the request completes
6403// successfully.
6404//
6405// Use "Send" method on the returned Request to send the API call to the service.
6406// the "output" return value is not valid until after Send returns without error.
6407//
6408// See DeleteModelQualityJobDefinition for more information on using the DeleteModelQualityJobDefinition
6409// API call, and error handling.
6410//
6411// This method is useful when you want to inject custom logic or configuration
6412// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6413//
6414//
6415//    // Example sending a request using the DeleteModelQualityJobDefinitionRequest method.
6416//    req, resp := client.DeleteModelQualityJobDefinitionRequest(params)
6417//
6418//    err := req.Send()
6419//    if err == nil { // resp is now filled
6420//        fmt.Println(resp)
6421//    }
6422//
6423// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelQualityJobDefinition
6424func (c *SageMaker) DeleteModelQualityJobDefinitionRequest(input *DeleteModelQualityJobDefinitionInput) (req *request.Request, output *DeleteModelQualityJobDefinitionOutput) {
6425	op := &request.Operation{
6426		Name:       opDeleteModelQualityJobDefinition,
6427		HTTPMethod: "POST",
6428		HTTPPath:   "/",
6429	}
6430
6431	if input == nil {
6432		input = &DeleteModelQualityJobDefinitionInput{}
6433	}
6434
6435	output = &DeleteModelQualityJobDefinitionOutput{}
6436	req = c.newRequest(op, input, output)
6437	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
6438	return
6439}
6440
6441// DeleteModelQualityJobDefinition API operation for Amazon SageMaker Service.
6442//
6443// Deletes the secified model quality monitoring job definition.
6444//
6445// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6446// with awserr.Error's Code and Message methods to get detailed information about
6447// the error.
6448//
6449// See the AWS API reference guide for Amazon SageMaker Service's
6450// API operation DeleteModelQualityJobDefinition for usage and error information.
6451//
6452// Returned Error Types:
6453//   * ResourceNotFound
6454//   Resource being access is not found.
6455//
6456// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelQualityJobDefinition
6457func (c *SageMaker) DeleteModelQualityJobDefinition(input *DeleteModelQualityJobDefinitionInput) (*DeleteModelQualityJobDefinitionOutput, error) {
6458	req, out := c.DeleteModelQualityJobDefinitionRequest(input)
6459	return out, req.Send()
6460}
6461
6462// DeleteModelQualityJobDefinitionWithContext is the same as DeleteModelQualityJobDefinition with the addition of
6463// the ability to pass a context and additional request options.
6464//
6465// See DeleteModelQualityJobDefinition for details on how to use this API operation.
6466//
6467// The context must be non-nil and will be used for request cancellation. If
6468// the context is nil a panic will occur. In the future the SDK may create
6469// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6470// for more information on using Contexts.
6471func (c *SageMaker) DeleteModelQualityJobDefinitionWithContext(ctx aws.Context, input *DeleteModelQualityJobDefinitionInput, opts ...request.Option) (*DeleteModelQualityJobDefinitionOutput, error) {
6472	req, out := c.DeleteModelQualityJobDefinitionRequest(input)
6473	req.SetContext(ctx)
6474	req.ApplyOptions(opts...)
6475	return out, req.Send()
6476}
6477
6478const opDeleteMonitoringSchedule = "DeleteMonitoringSchedule"
6479
6480// DeleteMonitoringScheduleRequest generates a "aws/request.Request" representing the
6481// client's request for the DeleteMonitoringSchedule operation. The "output" return
6482// value will be populated with the request's response once the request completes
6483// successfully.
6484//
6485// Use "Send" method on the returned Request to send the API call to the service.
6486// the "output" return value is not valid until after Send returns without error.
6487//
6488// See DeleteMonitoringSchedule for more information on using the DeleteMonitoringSchedule
6489// API call, and error handling.
6490//
6491// This method is useful when you want to inject custom logic or configuration
6492// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6493//
6494//
6495//    // Example sending a request using the DeleteMonitoringScheduleRequest method.
6496//    req, resp := client.DeleteMonitoringScheduleRequest(params)
6497//
6498//    err := req.Send()
6499//    if err == nil { // resp is now filled
6500//        fmt.Println(resp)
6501//    }
6502//
6503// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteMonitoringSchedule
6504func (c *SageMaker) DeleteMonitoringScheduleRequest(input *DeleteMonitoringScheduleInput) (req *request.Request, output *DeleteMonitoringScheduleOutput) {
6505	op := &request.Operation{
6506		Name:       opDeleteMonitoringSchedule,
6507		HTTPMethod: "POST",
6508		HTTPPath:   "/",
6509	}
6510
6511	if input == nil {
6512		input = &DeleteMonitoringScheduleInput{}
6513	}
6514
6515	output = &DeleteMonitoringScheduleOutput{}
6516	req = c.newRequest(op, input, output)
6517	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
6518	return
6519}
6520
6521// DeleteMonitoringSchedule API operation for Amazon SageMaker Service.
6522//
6523// Deletes a monitoring schedule. Also stops the schedule had not already been
6524// stopped. This does not delete the job execution history of the monitoring
6525// schedule.
6526//
6527// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6528// with awserr.Error's Code and Message methods to get detailed information about
6529// the error.
6530//
6531// See the AWS API reference guide for Amazon SageMaker Service's
6532// API operation DeleteMonitoringSchedule for usage and error information.
6533//
6534// Returned Error Types:
6535//   * ResourceNotFound
6536//   Resource being access is not found.
6537//
6538// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteMonitoringSchedule
6539func (c *SageMaker) DeleteMonitoringSchedule(input *DeleteMonitoringScheduleInput) (*DeleteMonitoringScheduleOutput, error) {
6540	req, out := c.DeleteMonitoringScheduleRequest(input)
6541	return out, req.Send()
6542}
6543
6544// DeleteMonitoringScheduleWithContext is the same as DeleteMonitoringSchedule with the addition of
6545// the ability to pass a context and additional request options.
6546//
6547// See DeleteMonitoringSchedule for details on how to use this API operation.
6548//
6549// The context must be non-nil and will be used for request cancellation. If
6550// the context is nil a panic will occur. In the future the SDK may create
6551// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6552// for more information on using Contexts.
6553func (c *SageMaker) DeleteMonitoringScheduleWithContext(ctx aws.Context, input *DeleteMonitoringScheduleInput, opts ...request.Option) (*DeleteMonitoringScheduleOutput, error) {
6554	req, out := c.DeleteMonitoringScheduleRequest(input)
6555	req.SetContext(ctx)
6556	req.ApplyOptions(opts...)
6557	return out, req.Send()
6558}
6559
6560const opDeleteNotebookInstance = "DeleteNotebookInstance"
6561
6562// DeleteNotebookInstanceRequest generates a "aws/request.Request" representing the
6563// client's request for the DeleteNotebookInstance operation. The "output" return
6564// value will be populated with the request's response once the request completes
6565// successfully.
6566//
6567// Use "Send" method on the returned Request to send the API call to the service.
6568// the "output" return value is not valid until after Send returns without error.
6569//
6570// See DeleteNotebookInstance for more information on using the DeleteNotebookInstance
6571// API call, and error handling.
6572//
6573// This method is useful when you want to inject custom logic or configuration
6574// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6575//
6576//
6577//    // Example sending a request using the DeleteNotebookInstanceRequest method.
6578//    req, resp := client.DeleteNotebookInstanceRequest(params)
6579//
6580//    err := req.Send()
6581//    if err == nil { // resp is now filled
6582//        fmt.Println(resp)
6583//    }
6584//
6585// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteNotebookInstance
6586func (c *SageMaker) DeleteNotebookInstanceRequest(input *DeleteNotebookInstanceInput) (req *request.Request, output *DeleteNotebookInstanceOutput) {
6587	op := &request.Operation{
6588		Name:       opDeleteNotebookInstance,
6589		HTTPMethod: "POST",
6590		HTTPPath:   "/",
6591	}
6592
6593	if input == nil {
6594		input = &DeleteNotebookInstanceInput{}
6595	}
6596
6597	output = &DeleteNotebookInstanceOutput{}
6598	req = c.newRequest(op, input, output)
6599	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
6600	return
6601}
6602
6603// DeleteNotebookInstance API operation for Amazon SageMaker Service.
6604//
6605// Deletes an Amazon SageMaker notebook instance. Before you can delete a notebook
6606// instance, you must call the StopNotebookInstance API.
6607//
6608// When you delete a notebook instance, you lose all of your data. Amazon SageMaker
6609// removes the ML compute instance, and deletes the ML storage volume and the
6610// network interface associated with the notebook instance.
6611//
6612// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6613// with awserr.Error's Code and Message methods to get detailed information about
6614// the error.
6615//
6616// See the AWS API reference guide for Amazon SageMaker Service's
6617// API operation DeleteNotebookInstance for usage and error information.
6618// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteNotebookInstance
6619func (c *SageMaker) DeleteNotebookInstance(input *DeleteNotebookInstanceInput) (*DeleteNotebookInstanceOutput, error) {
6620	req, out := c.DeleteNotebookInstanceRequest(input)
6621	return out, req.Send()
6622}
6623
6624// DeleteNotebookInstanceWithContext is the same as DeleteNotebookInstance with the addition of
6625// the ability to pass a context and additional request options.
6626//
6627// See DeleteNotebookInstance for details on how to use this API operation.
6628//
6629// The context must be non-nil and will be used for request cancellation. If
6630// the context is nil a panic will occur. In the future the SDK may create
6631// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6632// for more information on using Contexts.
6633func (c *SageMaker) DeleteNotebookInstanceWithContext(ctx aws.Context, input *DeleteNotebookInstanceInput, opts ...request.Option) (*DeleteNotebookInstanceOutput, error) {
6634	req, out := c.DeleteNotebookInstanceRequest(input)
6635	req.SetContext(ctx)
6636	req.ApplyOptions(opts...)
6637	return out, req.Send()
6638}
6639
6640const opDeleteNotebookInstanceLifecycleConfig = "DeleteNotebookInstanceLifecycleConfig"
6641
6642// DeleteNotebookInstanceLifecycleConfigRequest generates a "aws/request.Request" representing the
6643// client's request for the DeleteNotebookInstanceLifecycleConfig operation. The "output" return
6644// value will be populated with the request's response once the request completes
6645// successfully.
6646//
6647// Use "Send" method on the returned Request to send the API call to the service.
6648// the "output" return value is not valid until after Send returns without error.
6649//
6650// See DeleteNotebookInstanceLifecycleConfig for more information on using the DeleteNotebookInstanceLifecycleConfig
6651// API call, and error handling.
6652//
6653// This method is useful when you want to inject custom logic or configuration
6654// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6655//
6656//
6657//    // Example sending a request using the DeleteNotebookInstanceLifecycleConfigRequest method.
6658//    req, resp := client.DeleteNotebookInstanceLifecycleConfigRequest(params)
6659//
6660//    err := req.Send()
6661//    if err == nil { // resp is now filled
6662//        fmt.Println(resp)
6663//    }
6664//
6665// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteNotebookInstanceLifecycleConfig
6666func (c *SageMaker) DeleteNotebookInstanceLifecycleConfigRequest(input *DeleteNotebookInstanceLifecycleConfigInput) (req *request.Request, output *DeleteNotebookInstanceLifecycleConfigOutput) {
6667	op := &request.Operation{
6668		Name:       opDeleteNotebookInstanceLifecycleConfig,
6669		HTTPMethod: "POST",
6670		HTTPPath:   "/",
6671	}
6672
6673	if input == nil {
6674		input = &DeleteNotebookInstanceLifecycleConfigInput{}
6675	}
6676
6677	output = &DeleteNotebookInstanceLifecycleConfigOutput{}
6678	req = c.newRequest(op, input, output)
6679	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
6680	return
6681}
6682
6683// DeleteNotebookInstanceLifecycleConfig API operation for Amazon SageMaker Service.
6684//
6685// Deletes a notebook instance lifecycle configuration.
6686//
6687// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6688// with awserr.Error's Code and Message methods to get detailed information about
6689// the error.
6690//
6691// See the AWS API reference guide for Amazon SageMaker Service's
6692// API operation DeleteNotebookInstanceLifecycleConfig for usage and error information.
6693// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteNotebookInstanceLifecycleConfig
6694func (c *SageMaker) DeleteNotebookInstanceLifecycleConfig(input *DeleteNotebookInstanceLifecycleConfigInput) (*DeleteNotebookInstanceLifecycleConfigOutput, error) {
6695	req, out := c.DeleteNotebookInstanceLifecycleConfigRequest(input)
6696	return out, req.Send()
6697}
6698
6699// DeleteNotebookInstanceLifecycleConfigWithContext is the same as DeleteNotebookInstanceLifecycleConfig with the addition of
6700// the ability to pass a context and additional request options.
6701//
6702// See DeleteNotebookInstanceLifecycleConfig for details on how to use this API operation.
6703//
6704// The context must be non-nil and will be used for request cancellation. If
6705// the context is nil a panic will occur. In the future the SDK may create
6706// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6707// for more information on using Contexts.
6708func (c *SageMaker) DeleteNotebookInstanceLifecycleConfigWithContext(ctx aws.Context, input *DeleteNotebookInstanceLifecycleConfigInput, opts ...request.Option) (*DeleteNotebookInstanceLifecycleConfigOutput, error) {
6709	req, out := c.DeleteNotebookInstanceLifecycleConfigRequest(input)
6710	req.SetContext(ctx)
6711	req.ApplyOptions(opts...)
6712	return out, req.Send()
6713}
6714
6715const opDeletePipeline = "DeletePipeline"
6716
6717// DeletePipelineRequest generates a "aws/request.Request" representing the
6718// client's request for the DeletePipeline operation. The "output" return
6719// value will be populated with the request's response once the request completes
6720// successfully.
6721//
6722// Use "Send" method on the returned Request to send the API call to the service.
6723// the "output" return value is not valid until after Send returns without error.
6724//
6725// See DeletePipeline for more information on using the DeletePipeline
6726// API call, and error handling.
6727//
6728// This method is useful when you want to inject custom logic or configuration
6729// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6730//
6731//
6732//    // Example sending a request using the DeletePipelineRequest method.
6733//    req, resp := client.DeletePipelineRequest(params)
6734//
6735//    err := req.Send()
6736//    if err == nil { // resp is now filled
6737//        fmt.Println(resp)
6738//    }
6739//
6740// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeletePipeline
6741func (c *SageMaker) DeletePipelineRequest(input *DeletePipelineInput) (req *request.Request, output *DeletePipelineOutput) {
6742	op := &request.Operation{
6743		Name:       opDeletePipeline,
6744		HTTPMethod: "POST",
6745		HTTPPath:   "/",
6746	}
6747
6748	if input == nil {
6749		input = &DeletePipelineInput{}
6750	}
6751
6752	output = &DeletePipelineOutput{}
6753	req = c.newRequest(op, input, output)
6754	return
6755}
6756
6757// DeletePipeline API operation for Amazon SageMaker Service.
6758//
6759// Deletes a pipeline if there are no in-progress executions.
6760//
6761// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6762// with awserr.Error's Code and Message methods to get detailed information about
6763// the error.
6764//
6765// See the AWS API reference guide for Amazon SageMaker Service's
6766// API operation DeletePipeline for usage and error information.
6767//
6768// Returned Error Types:
6769//   * ResourceNotFound
6770//   Resource being access is not found.
6771//
6772// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeletePipeline
6773func (c *SageMaker) DeletePipeline(input *DeletePipelineInput) (*DeletePipelineOutput, error) {
6774	req, out := c.DeletePipelineRequest(input)
6775	return out, req.Send()
6776}
6777
6778// DeletePipelineWithContext is the same as DeletePipeline with the addition of
6779// the ability to pass a context and additional request options.
6780//
6781// See DeletePipeline for details on how to use this API operation.
6782//
6783// The context must be non-nil and will be used for request cancellation. If
6784// the context is nil a panic will occur. In the future the SDK may create
6785// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6786// for more information on using Contexts.
6787func (c *SageMaker) DeletePipelineWithContext(ctx aws.Context, input *DeletePipelineInput, opts ...request.Option) (*DeletePipelineOutput, error) {
6788	req, out := c.DeletePipelineRequest(input)
6789	req.SetContext(ctx)
6790	req.ApplyOptions(opts...)
6791	return out, req.Send()
6792}
6793
6794const opDeleteProject = "DeleteProject"
6795
6796// DeleteProjectRequest generates a "aws/request.Request" representing the
6797// client's request for the DeleteProject operation. The "output" return
6798// value will be populated with the request's response once the request completes
6799// successfully.
6800//
6801// Use "Send" method on the returned Request to send the API call to the service.
6802// the "output" return value is not valid until after Send returns without error.
6803//
6804// See DeleteProject for more information on using the DeleteProject
6805// API call, and error handling.
6806//
6807// This method is useful when you want to inject custom logic or configuration
6808// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6809//
6810//
6811//    // Example sending a request using the DeleteProjectRequest method.
6812//    req, resp := client.DeleteProjectRequest(params)
6813//
6814//    err := req.Send()
6815//    if err == nil { // resp is now filled
6816//        fmt.Println(resp)
6817//    }
6818//
6819// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteProject
6820func (c *SageMaker) DeleteProjectRequest(input *DeleteProjectInput) (req *request.Request, output *DeleteProjectOutput) {
6821	op := &request.Operation{
6822		Name:       opDeleteProject,
6823		HTTPMethod: "POST",
6824		HTTPPath:   "/",
6825	}
6826
6827	if input == nil {
6828		input = &DeleteProjectInput{}
6829	}
6830
6831	output = &DeleteProjectOutput{}
6832	req = c.newRequest(op, input, output)
6833	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
6834	return
6835}
6836
6837// DeleteProject API operation for Amazon SageMaker Service.
6838//
6839// Delete the specified project.
6840//
6841// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6842// with awserr.Error's Code and Message methods to get detailed information about
6843// the error.
6844//
6845// See the AWS API reference guide for Amazon SageMaker Service's
6846// API operation DeleteProject for usage and error information.
6847// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteProject
6848func (c *SageMaker) DeleteProject(input *DeleteProjectInput) (*DeleteProjectOutput, error) {
6849	req, out := c.DeleteProjectRequest(input)
6850	return out, req.Send()
6851}
6852
6853// DeleteProjectWithContext is the same as DeleteProject with the addition of
6854// the ability to pass a context and additional request options.
6855//
6856// See DeleteProject for details on how to use this API operation.
6857//
6858// The context must be non-nil and will be used for request cancellation. If
6859// the context is nil a panic will occur. In the future the SDK may create
6860// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6861// for more information on using Contexts.
6862func (c *SageMaker) DeleteProjectWithContext(ctx aws.Context, input *DeleteProjectInput, opts ...request.Option) (*DeleteProjectOutput, error) {
6863	req, out := c.DeleteProjectRequest(input)
6864	req.SetContext(ctx)
6865	req.ApplyOptions(opts...)
6866	return out, req.Send()
6867}
6868
6869const opDeleteTags = "DeleteTags"
6870
6871// DeleteTagsRequest generates a "aws/request.Request" representing the
6872// client's request for the DeleteTags operation. The "output" return
6873// value will be populated with the request's response once the request completes
6874// successfully.
6875//
6876// Use "Send" method on the returned Request to send the API call to the service.
6877// the "output" return value is not valid until after Send returns without error.
6878//
6879// See DeleteTags for more information on using the DeleteTags
6880// API call, and error handling.
6881//
6882// This method is useful when you want to inject custom logic or configuration
6883// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6884//
6885//
6886//    // Example sending a request using the DeleteTagsRequest method.
6887//    req, resp := client.DeleteTagsRequest(params)
6888//
6889//    err := req.Send()
6890//    if err == nil { // resp is now filled
6891//        fmt.Println(resp)
6892//    }
6893//
6894// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTags
6895func (c *SageMaker) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Request, output *DeleteTagsOutput) {
6896	op := &request.Operation{
6897		Name:       opDeleteTags,
6898		HTTPMethod: "POST",
6899		HTTPPath:   "/",
6900	}
6901
6902	if input == nil {
6903		input = &DeleteTagsInput{}
6904	}
6905
6906	output = &DeleteTagsOutput{}
6907	req = c.newRequest(op, input, output)
6908	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
6909	return
6910}
6911
6912// DeleteTags API operation for Amazon SageMaker Service.
6913//
6914// Deletes the specified tags from an Amazon SageMaker resource.
6915//
6916// To list a resource's tags, use the ListTags API.
6917//
6918// When you call this API to delete tags from a hyperparameter tuning job, the
6919// deleted tags are not removed from training jobs that the hyperparameter tuning
6920// job launched before you called this API.
6921//
6922// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6923// with awserr.Error's Code and Message methods to get detailed information about
6924// the error.
6925//
6926// See the AWS API reference guide for Amazon SageMaker Service's
6927// API operation DeleteTags for usage and error information.
6928// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTags
6929func (c *SageMaker) DeleteTags(input *DeleteTagsInput) (*DeleteTagsOutput, error) {
6930	req, out := c.DeleteTagsRequest(input)
6931	return out, req.Send()
6932}
6933
6934// DeleteTagsWithContext is the same as DeleteTags with the addition of
6935// the ability to pass a context and additional request options.
6936//
6937// See DeleteTags for details on how to use this API operation.
6938//
6939// The context must be non-nil and will be used for request cancellation. If
6940// the context is nil a panic will occur. In the future the SDK may create
6941// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6942// for more information on using Contexts.
6943func (c *SageMaker) DeleteTagsWithContext(ctx aws.Context, input *DeleteTagsInput, opts ...request.Option) (*DeleteTagsOutput, error) {
6944	req, out := c.DeleteTagsRequest(input)
6945	req.SetContext(ctx)
6946	req.ApplyOptions(opts...)
6947	return out, req.Send()
6948}
6949
6950const opDeleteTrial = "DeleteTrial"
6951
6952// DeleteTrialRequest generates a "aws/request.Request" representing the
6953// client's request for the DeleteTrial operation. The "output" return
6954// value will be populated with the request's response once the request completes
6955// successfully.
6956//
6957// Use "Send" method on the returned Request to send the API call to the service.
6958// the "output" return value is not valid until after Send returns without error.
6959//
6960// See DeleteTrial for more information on using the DeleteTrial
6961// API call, and error handling.
6962//
6963// This method is useful when you want to inject custom logic or configuration
6964// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6965//
6966//
6967//    // Example sending a request using the DeleteTrialRequest method.
6968//    req, resp := client.DeleteTrialRequest(params)
6969//
6970//    err := req.Send()
6971//    if err == nil { // resp is now filled
6972//        fmt.Println(resp)
6973//    }
6974//
6975// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTrial
6976func (c *SageMaker) DeleteTrialRequest(input *DeleteTrialInput) (req *request.Request, output *DeleteTrialOutput) {
6977	op := &request.Operation{
6978		Name:       opDeleteTrial,
6979		HTTPMethod: "POST",
6980		HTTPPath:   "/",
6981	}
6982
6983	if input == nil {
6984		input = &DeleteTrialInput{}
6985	}
6986
6987	output = &DeleteTrialOutput{}
6988	req = c.newRequest(op, input, output)
6989	return
6990}
6991
6992// DeleteTrial API operation for Amazon SageMaker Service.
6993//
6994// Deletes the specified trial. All trial components that make up the trial
6995// must be deleted first. Use the DescribeTrialComponent API to get the list
6996// of trial components.
6997//
6998// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6999// with awserr.Error's Code and Message methods to get detailed information about
7000// the error.
7001//
7002// See the AWS API reference guide for Amazon SageMaker Service's
7003// API operation DeleteTrial for usage and error information.
7004//
7005// Returned Error Types:
7006//   * ResourceNotFound
7007//   Resource being access is not found.
7008//
7009// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTrial
7010func (c *SageMaker) DeleteTrial(input *DeleteTrialInput) (*DeleteTrialOutput, error) {
7011	req, out := c.DeleteTrialRequest(input)
7012	return out, req.Send()
7013}
7014
7015// DeleteTrialWithContext is the same as DeleteTrial with the addition of
7016// the ability to pass a context and additional request options.
7017//
7018// See DeleteTrial for details on how to use this API operation.
7019//
7020// The context must be non-nil and will be used for request cancellation. If
7021// the context is nil a panic will occur. In the future the SDK may create
7022// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7023// for more information on using Contexts.
7024func (c *SageMaker) DeleteTrialWithContext(ctx aws.Context, input *DeleteTrialInput, opts ...request.Option) (*DeleteTrialOutput, error) {
7025	req, out := c.DeleteTrialRequest(input)
7026	req.SetContext(ctx)
7027	req.ApplyOptions(opts...)
7028	return out, req.Send()
7029}
7030
7031const opDeleteTrialComponent = "DeleteTrialComponent"
7032
7033// DeleteTrialComponentRequest generates a "aws/request.Request" representing the
7034// client's request for the DeleteTrialComponent operation. The "output" return
7035// value will be populated with the request's response once the request completes
7036// successfully.
7037//
7038// Use "Send" method on the returned Request to send the API call to the service.
7039// the "output" return value is not valid until after Send returns without error.
7040//
7041// See DeleteTrialComponent for more information on using the DeleteTrialComponent
7042// API call, and error handling.
7043//
7044// This method is useful when you want to inject custom logic or configuration
7045// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7046//
7047//
7048//    // Example sending a request using the DeleteTrialComponentRequest method.
7049//    req, resp := client.DeleteTrialComponentRequest(params)
7050//
7051//    err := req.Send()
7052//    if err == nil { // resp is now filled
7053//        fmt.Println(resp)
7054//    }
7055//
7056// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTrialComponent
7057func (c *SageMaker) DeleteTrialComponentRequest(input *DeleteTrialComponentInput) (req *request.Request, output *DeleteTrialComponentOutput) {
7058	op := &request.Operation{
7059		Name:       opDeleteTrialComponent,
7060		HTTPMethod: "POST",
7061		HTTPPath:   "/",
7062	}
7063
7064	if input == nil {
7065		input = &DeleteTrialComponentInput{}
7066	}
7067
7068	output = &DeleteTrialComponentOutput{}
7069	req = c.newRequest(op, input, output)
7070	return
7071}
7072
7073// DeleteTrialComponent API operation for Amazon SageMaker Service.
7074//
7075// Deletes the specified trial component. A trial component must be disassociated
7076// from all trials before the trial component can be deleted. To disassociate
7077// a trial component from a trial, call the DisassociateTrialComponent API.
7078//
7079// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7080// with awserr.Error's Code and Message methods to get detailed information about
7081// the error.
7082//
7083// See the AWS API reference guide for Amazon SageMaker Service's
7084// API operation DeleteTrialComponent for usage and error information.
7085//
7086// Returned Error Types:
7087//   * ResourceNotFound
7088//   Resource being access is not found.
7089//
7090// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTrialComponent
7091func (c *SageMaker) DeleteTrialComponent(input *DeleteTrialComponentInput) (*DeleteTrialComponentOutput, error) {
7092	req, out := c.DeleteTrialComponentRequest(input)
7093	return out, req.Send()
7094}
7095
7096// DeleteTrialComponentWithContext is the same as DeleteTrialComponent with the addition of
7097// the ability to pass a context and additional request options.
7098//
7099// See DeleteTrialComponent for details on how to use this API operation.
7100//
7101// The context must be non-nil and will be used for request cancellation. If
7102// the context is nil a panic will occur. In the future the SDK may create
7103// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7104// for more information on using Contexts.
7105func (c *SageMaker) DeleteTrialComponentWithContext(ctx aws.Context, input *DeleteTrialComponentInput, opts ...request.Option) (*DeleteTrialComponentOutput, error) {
7106	req, out := c.DeleteTrialComponentRequest(input)
7107	req.SetContext(ctx)
7108	req.ApplyOptions(opts...)
7109	return out, req.Send()
7110}
7111
7112const opDeleteUserProfile = "DeleteUserProfile"
7113
7114// DeleteUserProfileRequest generates a "aws/request.Request" representing the
7115// client's request for the DeleteUserProfile operation. The "output" return
7116// value will be populated with the request's response once the request completes
7117// successfully.
7118//
7119// Use "Send" method on the returned Request to send the API call to the service.
7120// the "output" return value is not valid until after Send returns without error.
7121//
7122// See DeleteUserProfile for more information on using the DeleteUserProfile
7123// API call, and error handling.
7124//
7125// This method is useful when you want to inject custom logic or configuration
7126// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7127//
7128//
7129//    // Example sending a request using the DeleteUserProfileRequest method.
7130//    req, resp := client.DeleteUserProfileRequest(params)
7131//
7132//    err := req.Send()
7133//    if err == nil { // resp is now filled
7134//        fmt.Println(resp)
7135//    }
7136//
7137// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteUserProfile
7138func (c *SageMaker) DeleteUserProfileRequest(input *DeleteUserProfileInput) (req *request.Request, output *DeleteUserProfileOutput) {
7139	op := &request.Operation{
7140		Name:       opDeleteUserProfile,
7141		HTTPMethod: "POST",
7142		HTTPPath:   "/",
7143	}
7144
7145	if input == nil {
7146		input = &DeleteUserProfileInput{}
7147	}
7148
7149	output = &DeleteUserProfileOutput{}
7150	req = c.newRequest(op, input, output)
7151	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
7152	return
7153}
7154
7155// DeleteUserProfile API operation for Amazon SageMaker Service.
7156//
7157// Deletes a user profile. When a user profile is deleted, the user loses access
7158// to their EFS volume, including data, notebooks, and other artifacts.
7159//
7160// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7161// with awserr.Error's Code and Message methods to get detailed information about
7162// the error.
7163//
7164// See the AWS API reference guide for Amazon SageMaker Service's
7165// API operation DeleteUserProfile for usage and error information.
7166//
7167// Returned Error Types:
7168//   * ResourceInUse
7169//   Resource being accessed is in use.
7170//
7171//   * ResourceNotFound
7172//   Resource being access is not found.
7173//
7174// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteUserProfile
7175func (c *SageMaker) DeleteUserProfile(input *DeleteUserProfileInput) (*DeleteUserProfileOutput, error) {
7176	req, out := c.DeleteUserProfileRequest(input)
7177	return out, req.Send()
7178}
7179
7180// DeleteUserProfileWithContext is the same as DeleteUserProfile with the addition of
7181// the ability to pass a context and additional request options.
7182//
7183// See DeleteUserProfile for details on how to use this API operation.
7184//
7185// The context must be non-nil and will be used for request cancellation. If
7186// the context is nil a panic will occur. In the future the SDK may create
7187// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7188// for more information on using Contexts.
7189func (c *SageMaker) DeleteUserProfileWithContext(ctx aws.Context, input *DeleteUserProfileInput, opts ...request.Option) (*DeleteUserProfileOutput, error) {
7190	req, out := c.DeleteUserProfileRequest(input)
7191	req.SetContext(ctx)
7192	req.ApplyOptions(opts...)
7193	return out, req.Send()
7194}
7195
7196const opDeleteWorkforce = "DeleteWorkforce"
7197
7198// DeleteWorkforceRequest generates a "aws/request.Request" representing the
7199// client's request for the DeleteWorkforce operation. The "output" return
7200// value will be populated with the request's response once the request completes
7201// successfully.
7202//
7203// Use "Send" method on the returned Request to send the API call to the service.
7204// the "output" return value is not valid until after Send returns without error.
7205//
7206// See DeleteWorkforce for more information on using the DeleteWorkforce
7207// API call, and error handling.
7208//
7209// This method is useful when you want to inject custom logic or configuration
7210// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7211//
7212//
7213//    // Example sending a request using the DeleteWorkforceRequest method.
7214//    req, resp := client.DeleteWorkforceRequest(params)
7215//
7216//    err := req.Send()
7217//    if err == nil { // resp is now filled
7218//        fmt.Println(resp)
7219//    }
7220//
7221// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteWorkforce
7222func (c *SageMaker) DeleteWorkforceRequest(input *DeleteWorkforceInput) (req *request.Request, output *DeleteWorkforceOutput) {
7223	op := &request.Operation{
7224		Name:       opDeleteWorkforce,
7225		HTTPMethod: "POST",
7226		HTTPPath:   "/",
7227	}
7228
7229	if input == nil {
7230		input = &DeleteWorkforceInput{}
7231	}
7232
7233	output = &DeleteWorkforceOutput{}
7234	req = c.newRequest(op, input, output)
7235	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
7236	return
7237}
7238
7239// DeleteWorkforce API operation for Amazon SageMaker Service.
7240//
7241// Use this operation to delete a workforce.
7242//
7243// If you want to create a new workforce in an AWS Region where a workforce
7244// already exists, use this operation to delete the existing workforce and then
7245// use to create a new workforce.
7246//
7247// If a private workforce contains one or more work teams, you must use the
7248// operation to delete all work teams before you delete the workforce. If you
7249// try to delete a workforce that contains one or more work teams, you will
7250// recieve a ResourceInUse error.
7251//
7252// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7253// with awserr.Error's Code and Message methods to get detailed information about
7254// the error.
7255//
7256// See the AWS API reference guide for Amazon SageMaker Service's
7257// API operation DeleteWorkforce for usage and error information.
7258// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteWorkforce
7259func (c *SageMaker) DeleteWorkforce(input *DeleteWorkforceInput) (*DeleteWorkforceOutput, error) {
7260	req, out := c.DeleteWorkforceRequest(input)
7261	return out, req.Send()
7262}
7263
7264// DeleteWorkforceWithContext is the same as DeleteWorkforce with the addition of
7265// the ability to pass a context and additional request options.
7266//
7267// See DeleteWorkforce for details on how to use this API operation.
7268//
7269// The context must be non-nil and will be used for request cancellation. If
7270// the context is nil a panic will occur. In the future the SDK may create
7271// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7272// for more information on using Contexts.
7273func (c *SageMaker) DeleteWorkforceWithContext(ctx aws.Context, input *DeleteWorkforceInput, opts ...request.Option) (*DeleteWorkforceOutput, error) {
7274	req, out := c.DeleteWorkforceRequest(input)
7275	req.SetContext(ctx)
7276	req.ApplyOptions(opts...)
7277	return out, req.Send()
7278}
7279
7280const opDeleteWorkteam = "DeleteWorkteam"
7281
7282// DeleteWorkteamRequest generates a "aws/request.Request" representing the
7283// client's request for the DeleteWorkteam operation. The "output" return
7284// value will be populated with the request's response once the request completes
7285// successfully.
7286//
7287// Use "Send" method on the returned Request to send the API call to the service.
7288// the "output" return value is not valid until after Send returns without error.
7289//
7290// See DeleteWorkteam for more information on using the DeleteWorkteam
7291// API call, and error handling.
7292//
7293// This method is useful when you want to inject custom logic or configuration
7294// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7295//
7296//
7297//    // Example sending a request using the DeleteWorkteamRequest method.
7298//    req, resp := client.DeleteWorkteamRequest(params)
7299//
7300//    err := req.Send()
7301//    if err == nil { // resp is now filled
7302//        fmt.Println(resp)
7303//    }
7304//
7305// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteWorkteam
7306func (c *SageMaker) DeleteWorkteamRequest(input *DeleteWorkteamInput) (req *request.Request, output *DeleteWorkteamOutput) {
7307	op := &request.Operation{
7308		Name:       opDeleteWorkteam,
7309		HTTPMethod: "POST",
7310		HTTPPath:   "/",
7311	}
7312
7313	if input == nil {
7314		input = &DeleteWorkteamInput{}
7315	}
7316
7317	output = &DeleteWorkteamOutput{}
7318	req = c.newRequest(op, input, output)
7319	return
7320}
7321
7322// DeleteWorkteam API operation for Amazon SageMaker Service.
7323//
7324// Deletes an existing work team. This operation can't be undone.
7325//
7326// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7327// with awserr.Error's Code and Message methods to get detailed information about
7328// the error.
7329//
7330// See the AWS API reference guide for Amazon SageMaker Service's
7331// API operation DeleteWorkteam for usage and error information.
7332//
7333// Returned Error Types:
7334//   * ResourceLimitExceeded
7335//   You have exceeded an Amazon SageMaker resource limit. For example, you might
7336//   have too many training jobs created.
7337//
7338// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteWorkteam
7339func (c *SageMaker) DeleteWorkteam(input *DeleteWorkteamInput) (*DeleteWorkteamOutput, error) {
7340	req, out := c.DeleteWorkteamRequest(input)
7341	return out, req.Send()
7342}
7343
7344// DeleteWorkteamWithContext is the same as DeleteWorkteam with the addition of
7345// the ability to pass a context and additional request options.
7346//
7347// See DeleteWorkteam for details on how to use this API operation.
7348//
7349// The context must be non-nil and will be used for request cancellation. If
7350// the context is nil a panic will occur. In the future the SDK may create
7351// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7352// for more information on using Contexts.
7353func (c *SageMaker) DeleteWorkteamWithContext(ctx aws.Context, input *DeleteWorkteamInput, opts ...request.Option) (*DeleteWorkteamOutput, error) {
7354	req, out := c.DeleteWorkteamRequest(input)
7355	req.SetContext(ctx)
7356	req.ApplyOptions(opts...)
7357	return out, req.Send()
7358}
7359
7360const opDeregisterDevices = "DeregisterDevices"
7361
7362// DeregisterDevicesRequest generates a "aws/request.Request" representing the
7363// client's request for the DeregisterDevices operation. The "output" return
7364// value will be populated with the request's response once the request completes
7365// successfully.
7366//
7367// Use "Send" method on the returned Request to send the API call to the service.
7368// the "output" return value is not valid until after Send returns without error.
7369//
7370// See DeregisterDevices for more information on using the DeregisterDevices
7371// API call, and error handling.
7372//
7373// This method is useful when you want to inject custom logic or configuration
7374// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7375//
7376//
7377//    // Example sending a request using the DeregisterDevicesRequest method.
7378//    req, resp := client.DeregisterDevicesRequest(params)
7379//
7380//    err := req.Send()
7381//    if err == nil { // resp is now filled
7382//        fmt.Println(resp)
7383//    }
7384//
7385// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeregisterDevices
7386func (c *SageMaker) DeregisterDevicesRequest(input *DeregisterDevicesInput) (req *request.Request, output *DeregisterDevicesOutput) {
7387	op := &request.Operation{
7388		Name:       opDeregisterDevices,
7389		HTTPMethod: "POST",
7390		HTTPPath:   "/",
7391	}
7392
7393	if input == nil {
7394		input = &DeregisterDevicesInput{}
7395	}
7396
7397	output = &DeregisterDevicesOutput{}
7398	req = c.newRequest(op, input, output)
7399	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
7400	return
7401}
7402
7403// DeregisterDevices API operation for Amazon SageMaker Service.
7404//
7405// Deregisters the specified devices. After you deregister a device, you will
7406// need to re-register the devices.
7407//
7408// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7409// with awserr.Error's Code and Message methods to get detailed information about
7410// the error.
7411//
7412// See the AWS API reference guide for Amazon SageMaker Service's
7413// API operation DeregisterDevices for usage and error information.
7414// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeregisterDevices
7415func (c *SageMaker) DeregisterDevices(input *DeregisterDevicesInput) (*DeregisterDevicesOutput, error) {
7416	req, out := c.DeregisterDevicesRequest(input)
7417	return out, req.Send()
7418}
7419
7420// DeregisterDevicesWithContext is the same as DeregisterDevices with the addition of
7421// the ability to pass a context and additional request options.
7422//
7423// See DeregisterDevices for details on how to use this API operation.
7424//
7425// The context must be non-nil and will be used for request cancellation. If
7426// the context is nil a panic will occur. In the future the SDK may create
7427// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7428// for more information on using Contexts.
7429func (c *SageMaker) DeregisterDevicesWithContext(ctx aws.Context, input *DeregisterDevicesInput, opts ...request.Option) (*DeregisterDevicesOutput, error) {
7430	req, out := c.DeregisterDevicesRequest(input)
7431	req.SetContext(ctx)
7432	req.ApplyOptions(opts...)
7433	return out, req.Send()
7434}
7435
7436const opDescribeAction = "DescribeAction"
7437
7438// DescribeActionRequest generates a "aws/request.Request" representing the
7439// client's request for the DescribeAction operation. The "output" return
7440// value will be populated with the request's response once the request completes
7441// successfully.
7442//
7443// Use "Send" method on the returned Request to send the API call to the service.
7444// the "output" return value is not valid until after Send returns without error.
7445//
7446// See DescribeAction for more information on using the DescribeAction
7447// API call, and error handling.
7448//
7449// This method is useful when you want to inject custom logic or configuration
7450// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7451//
7452//
7453//    // Example sending a request using the DescribeActionRequest method.
7454//    req, resp := client.DescribeActionRequest(params)
7455//
7456//    err := req.Send()
7457//    if err == nil { // resp is now filled
7458//        fmt.Println(resp)
7459//    }
7460//
7461// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAction
7462func (c *SageMaker) DescribeActionRequest(input *DescribeActionInput) (req *request.Request, output *DescribeActionOutput) {
7463	op := &request.Operation{
7464		Name:       opDescribeAction,
7465		HTTPMethod: "POST",
7466		HTTPPath:   "/",
7467	}
7468
7469	if input == nil {
7470		input = &DescribeActionInput{}
7471	}
7472
7473	output = &DescribeActionOutput{}
7474	req = c.newRequest(op, input, output)
7475	return
7476}
7477
7478// DescribeAction API operation for Amazon SageMaker Service.
7479//
7480// Describes an action.
7481//
7482// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7483// with awserr.Error's Code and Message methods to get detailed information about
7484// the error.
7485//
7486// See the AWS API reference guide for Amazon SageMaker Service's
7487// API operation DescribeAction for usage and error information.
7488//
7489// Returned Error Types:
7490//   * ResourceNotFound
7491//   Resource being access is not found.
7492//
7493// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAction
7494func (c *SageMaker) DescribeAction(input *DescribeActionInput) (*DescribeActionOutput, error) {
7495	req, out := c.DescribeActionRequest(input)
7496	return out, req.Send()
7497}
7498
7499// DescribeActionWithContext is the same as DescribeAction with the addition of
7500// the ability to pass a context and additional request options.
7501//
7502// See DescribeAction for details on how to use this API operation.
7503//
7504// The context must be non-nil and will be used for request cancellation. If
7505// the context is nil a panic will occur. In the future the SDK may create
7506// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7507// for more information on using Contexts.
7508func (c *SageMaker) DescribeActionWithContext(ctx aws.Context, input *DescribeActionInput, opts ...request.Option) (*DescribeActionOutput, error) {
7509	req, out := c.DescribeActionRequest(input)
7510	req.SetContext(ctx)
7511	req.ApplyOptions(opts...)
7512	return out, req.Send()
7513}
7514
7515const opDescribeAlgorithm = "DescribeAlgorithm"
7516
7517// DescribeAlgorithmRequest generates a "aws/request.Request" representing the
7518// client's request for the DescribeAlgorithm operation. The "output" return
7519// value will be populated with the request's response once the request completes
7520// successfully.
7521//
7522// Use "Send" method on the returned Request to send the API call to the service.
7523// the "output" return value is not valid until after Send returns without error.
7524//
7525// See DescribeAlgorithm for more information on using the DescribeAlgorithm
7526// API call, and error handling.
7527//
7528// This method is useful when you want to inject custom logic or configuration
7529// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7530//
7531//
7532//    // Example sending a request using the DescribeAlgorithmRequest method.
7533//    req, resp := client.DescribeAlgorithmRequest(params)
7534//
7535//    err := req.Send()
7536//    if err == nil { // resp is now filled
7537//        fmt.Println(resp)
7538//    }
7539//
7540// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAlgorithm
7541func (c *SageMaker) DescribeAlgorithmRequest(input *DescribeAlgorithmInput) (req *request.Request, output *DescribeAlgorithmOutput) {
7542	op := &request.Operation{
7543		Name:       opDescribeAlgorithm,
7544		HTTPMethod: "POST",
7545		HTTPPath:   "/",
7546	}
7547
7548	if input == nil {
7549		input = &DescribeAlgorithmInput{}
7550	}
7551
7552	output = &DescribeAlgorithmOutput{}
7553	req = c.newRequest(op, input, output)
7554	return
7555}
7556
7557// DescribeAlgorithm API operation for Amazon SageMaker Service.
7558//
7559// Returns a description of the specified algorithm that is in your account.
7560//
7561// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7562// with awserr.Error's Code and Message methods to get detailed information about
7563// the error.
7564//
7565// See the AWS API reference guide for Amazon SageMaker Service's
7566// API operation DescribeAlgorithm for usage and error information.
7567// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAlgorithm
7568func (c *SageMaker) DescribeAlgorithm(input *DescribeAlgorithmInput) (*DescribeAlgorithmOutput, error) {
7569	req, out := c.DescribeAlgorithmRequest(input)
7570	return out, req.Send()
7571}
7572
7573// DescribeAlgorithmWithContext is the same as DescribeAlgorithm with the addition of
7574// the ability to pass a context and additional request options.
7575//
7576// See DescribeAlgorithm for details on how to use this API operation.
7577//
7578// The context must be non-nil and will be used for request cancellation. If
7579// the context is nil a panic will occur. In the future the SDK may create
7580// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7581// for more information on using Contexts.
7582func (c *SageMaker) DescribeAlgorithmWithContext(ctx aws.Context, input *DescribeAlgorithmInput, opts ...request.Option) (*DescribeAlgorithmOutput, error) {
7583	req, out := c.DescribeAlgorithmRequest(input)
7584	req.SetContext(ctx)
7585	req.ApplyOptions(opts...)
7586	return out, req.Send()
7587}
7588
7589const opDescribeApp = "DescribeApp"
7590
7591// DescribeAppRequest generates a "aws/request.Request" representing the
7592// client's request for the DescribeApp operation. The "output" return
7593// value will be populated with the request's response once the request completes
7594// successfully.
7595//
7596// Use "Send" method on the returned Request to send the API call to the service.
7597// the "output" return value is not valid until after Send returns without error.
7598//
7599// See DescribeApp for more information on using the DescribeApp
7600// API call, and error handling.
7601//
7602// This method is useful when you want to inject custom logic or configuration
7603// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7604//
7605//
7606//    // Example sending a request using the DescribeAppRequest method.
7607//    req, resp := client.DescribeAppRequest(params)
7608//
7609//    err := req.Send()
7610//    if err == nil { // resp is now filled
7611//        fmt.Println(resp)
7612//    }
7613//
7614// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeApp
7615func (c *SageMaker) DescribeAppRequest(input *DescribeAppInput) (req *request.Request, output *DescribeAppOutput) {
7616	op := &request.Operation{
7617		Name:       opDescribeApp,
7618		HTTPMethod: "POST",
7619		HTTPPath:   "/",
7620	}
7621
7622	if input == nil {
7623		input = &DescribeAppInput{}
7624	}
7625
7626	output = &DescribeAppOutput{}
7627	req = c.newRequest(op, input, output)
7628	return
7629}
7630
7631// DescribeApp API operation for Amazon SageMaker Service.
7632//
7633// Describes the app.
7634//
7635// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7636// with awserr.Error's Code and Message methods to get detailed information about
7637// the error.
7638//
7639// See the AWS API reference guide for Amazon SageMaker Service's
7640// API operation DescribeApp for usage and error information.
7641//
7642// Returned Error Types:
7643//   * ResourceNotFound
7644//   Resource being access is not found.
7645//
7646// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeApp
7647func (c *SageMaker) DescribeApp(input *DescribeAppInput) (*DescribeAppOutput, error) {
7648	req, out := c.DescribeAppRequest(input)
7649	return out, req.Send()
7650}
7651
7652// DescribeAppWithContext is the same as DescribeApp with the addition of
7653// the ability to pass a context and additional request options.
7654//
7655// See DescribeApp for details on how to use this API operation.
7656//
7657// The context must be non-nil and will be used for request cancellation. If
7658// the context is nil a panic will occur. In the future the SDK may create
7659// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7660// for more information on using Contexts.
7661func (c *SageMaker) DescribeAppWithContext(ctx aws.Context, input *DescribeAppInput, opts ...request.Option) (*DescribeAppOutput, error) {
7662	req, out := c.DescribeAppRequest(input)
7663	req.SetContext(ctx)
7664	req.ApplyOptions(opts...)
7665	return out, req.Send()
7666}
7667
7668const opDescribeAppImageConfig = "DescribeAppImageConfig"
7669
7670// DescribeAppImageConfigRequest generates a "aws/request.Request" representing the
7671// client's request for the DescribeAppImageConfig operation. The "output" return
7672// value will be populated with the request's response once the request completes
7673// successfully.
7674//
7675// Use "Send" method on the returned Request to send the API call to the service.
7676// the "output" return value is not valid until after Send returns without error.
7677//
7678// See DescribeAppImageConfig for more information on using the DescribeAppImageConfig
7679// API call, and error handling.
7680//
7681// This method is useful when you want to inject custom logic or configuration
7682// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7683//
7684//
7685//    // Example sending a request using the DescribeAppImageConfigRequest method.
7686//    req, resp := client.DescribeAppImageConfigRequest(params)
7687//
7688//    err := req.Send()
7689//    if err == nil { // resp is now filled
7690//        fmt.Println(resp)
7691//    }
7692//
7693// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAppImageConfig
7694func (c *SageMaker) DescribeAppImageConfigRequest(input *DescribeAppImageConfigInput) (req *request.Request, output *DescribeAppImageConfigOutput) {
7695	op := &request.Operation{
7696		Name:       opDescribeAppImageConfig,
7697		HTTPMethod: "POST",
7698		HTTPPath:   "/",
7699	}
7700
7701	if input == nil {
7702		input = &DescribeAppImageConfigInput{}
7703	}
7704
7705	output = &DescribeAppImageConfigOutput{}
7706	req = c.newRequest(op, input, output)
7707	return
7708}
7709
7710// DescribeAppImageConfig API operation for Amazon SageMaker Service.
7711//
7712// Describes an AppImageConfig.
7713//
7714// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7715// with awserr.Error's Code and Message methods to get detailed information about
7716// the error.
7717//
7718// See the AWS API reference guide for Amazon SageMaker Service's
7719// API operation DescribeAppImageConfig for usage and error information.
7720//
7721// Returned Error Types:
7722//   * ResourceNotFound
7723//   Resource being access is not found.
7724//
7725// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAppImageConfig
7726func (c *SageMaker) DescribeAppImageConfig(input *DescribeAppImageConfigInput) (*DescribeAppImageConfigOutput, error) {
7727	req, out := c.DescribeAppImageConfigRequest(input)
7728	return out, req.Send()
7729}
7730
7731// DescribeAppImageConfigWithContext is the same as DescribeAppImageConfig with the addition of
7732// the ability to pass a context and additional request options.
7733//
7734// See DescribeAppImageConfig for details on how to use this API operation.
7735//
7736// The context must be non-nil and will be used for request cancellation. If
7737// the context is nil a panic will occur. In the future the SDK may create
7738// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7739// for more information on using Contexts.
7740func (c *SageMaker) DescribeAppImageConfigWithContext(ctx aws.Context, input *DescribeAppImageConfigInput, opts ...request.Option) (*DescribeAppImageConfigOutput, error) {
7741	req, out := c.DescribeAppImageConfigRequest(input)
7742	req.SetContext(ctx)
7743	req.ApplyOptions(opts...)
7744	return out, req.Send()
7745}
7746
7747const opDescribeArtifact = "DescribeArtifact"
7748
7749// DescribeArtifactRequest generates a "aws/request.Request" representing the
7750// client's request for the DescribeArtifact operation. The "output" return
7751// value will be populated with the request's response once the request completes
7752// successfully.
7753//
7754// Use "Send" method on the returned Request to send the API call to the service.
7755// the "output" return value is not valid until after Send returns without error.
7756//
7757// See DescribeArtifact for more information on using the DescribeArtifact
7758// API call, and error handling.
7759//
7760// This method is useful when you want to inject custom logic or configuration
7761// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7762//
7763//
7764//    // Example sending a request using the DescribeArtifactRequest method.
7765//    req, resp := client.DescribeArtifactRequest(params)
7766//
7767//    err := req.Send()
7768//    if err == nil { // resp is now filled
7769//        fmt.Println(resp)
7770//    }
7771//
7772// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeArtifact
7773func (c *SageMaker) DescribeArtifactRequest(input *DescribeArtifactInput) (req *request.Request, output *DescribeArtifactOutput) {
7774	op := &request.Operation{
7775		Name:       opDescribeArtifact,
7776		HTTPMethod: "POST",
7777		HTTPPath:   "/",
7778	}
7779
7780	if input == nil {
7781		input = &DescribeArtifactInput{}
7782	}
7783
7784	output = &DescribeArtifactOutput{}
7785	req = c.newRequest(op, input, output)
7786	return
7787}
7788
7789// DescribeArtifact API operation for Amazon SageMaker Service.
7790//
7791// Describes an artifact.
7792//
7793// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7794// with awserr.Error's Code and Message methods to get detailed information about
7795// the error.
7796//
7797// See the AWS API reference guide for Amazon SageMaker Service's
7798// API operation DescribeArtifact for usage and error information.
7799//
7800// Returned Error Types:
7801//   * ResourceNotFound
7802//   Resource being access is not found.
7803//
7804// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeArtifact
7805func (c *SageMaker) DescribeArtifact(input *DescribeArtifactInput) (*DescribeArtifactOutput, error) {
7806	req, out := c.DescribeArtifactRequest(input)
7807	return out, req.Send()
7808}
7809
7810// DescribeArtifactWithContext is the same as DescribeArtifact with the addition of
7811// the ability to pass a context and additional request options.
7812//
7813// See DescribeArtifact for details on how to use this API operation.
7814//
7815// The context must be non-nil and will be used for request cancellation. If
7816// the context is nil a panic will occur. In the future the SDK may create
7817// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7818// for more information on using Contexts.
7819func (c *SageMaker) DescribeArtifactWithContext(ctx aws.Context, input *DescribeArtifactInput, opts ...request.Option) (*DescribeArtifactOutput, error) {
7820	req, out := c.DescribeArtifactRequest(input)
7821	req.SetContext(ctx)
7822	req.ApplyOptions(opts...)
7823	return out, req.Send()
7824}
7825
7826const opDescribeAutoMLJob = "DescribeAutoMLJob"
7827
7828// DescribeAutoMLJobRequest generates a "aws/request.Request" representing the
7829// client's request for the DescribeAutoMLJob operation. The "output" return
7830// value will be populated with the request's response once the request completes
7831// successfully.
7832//
7833// Use "Send" method on the returned Request to send the API call to the service.
7834// the "output" return value is not valid until after Send returns without error.
7835//
7836// See DescribeAutoMLJob for more information on using the DescribeAutoMLJob
7837// API call, and error handling.
7838//
7839// This method is useful when you want to inject custom logic or configuration
7840// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7841//
7842//
7843//    // Example sending a request using the DescribeAutoMLJobRequest method.
7844//    req, resp := client.DescribeAutoMLJobRequest(params)
7845//
7846//    err := req.Send()
7847//    if err == nil { // resp is now filled
7848//        fmt.Println(resp)
7849//    }
7850//
7851// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAutoMLJob
7852func (c *SageMaker) DescribeAutoMLJobRequest(input *DescribeAutoMLJobInput) (req *request.Request, output *DescribeAutoMLJobOutput) {
7853	op := &request.Operation{
7854		Name:       opDescribeAutoMLJob,
7855		HTTPMethod: "POST",
7856		HTTPPath:   "/",
7857	}
7858
7859	if input == nil {
7860		input = &DescribeAutoMLJobInput{}
7861	}
7862
7863	output = &DescribeAutoMLJobOutput{}
7864	req = c.newRequest(op, input, output)
7865	return
7866}
7867
7868// DescribeAutoMLJob API operation for Amazon SageMaker Service.
7869//
7870// Returns information about an Amazon SageMaker job.
7871//
7872// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7873// with awserr.Error's Code and Message methods to get detailed information about
7874// the error.
7875//
7876// See the AWS API reference guide for Amazon SageMaker Service's
7877// API operation DescribeAutoMLJob for usage and error information.
7878//
7879// Returned Error Types:
7880//   * ResourceNotFound
7881//   Resource being access is not found.
7882//
7883// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAutoMLJob
7884func (c *SageMaker) DescribeAutoMLJob(input *DescribeAutoMLJobInput) (*DescribeAutoMLJobOutput, error) {
7885	req, out := c.DescribeAutoMLJobRequest(input)
7886	return out, req.Send()
7887}
7888
7889// DescribeAutoMLJobWithContext is the same as DescribeAutoMLJob with the addition of
7890// the ability to pass a context and additional request options.
7891//
7892// See DescribeAutoMLJob for details on how to use this API operation.
7893//
7894// The context must be non-nil and will be used for request cancellation. If
7895// the context is nil a panic will occur. In the future the SDK may create
7896// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7897// for more information on using Contexts.
7898func (c *SageMaker) DescribeAutoMLJobWithContext(ctx aws.Context, input *DescribeAutoMLJobInput, opts ...request.Option) (*DescribeAutoMLJobOutput, error) {
7899	req, out := c.DescribeAutoMLJobRequest(input)
7900	req.SetContext(ctx)
7901	req.ApplyOptions(opts...)
7902	return out, req.Send()
7903}
7904
7905const opDescribeCodeRepository = "DescribeCodeRepository"
7906
7907// DescribeCodeRepositoryRequest generates a "aws/request.Request" representing the
7908// client's request for the DescribeCodeRepository operation. The "output" return
7909// value will be populated with the request's response once the request completes
7910// successfully.
7911//
7912// Use "Send" method on the returned Request to send the API call to the service.
7913// the "output" return value is not valid until after Send returns without error.
7914//
7915// See DescribeCodeRepository for more information on using the DescribeCodeRepository
7916// API call, and error handling.
7917//
7918// This method is useful when you want to inject custom logic or configuration
7919// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7920//
7921//
7922//    // Example sending a request using the DescribeCodeRepositoryRequest method.
7923//    req, resp := client.DescribeCodeRepositoryRequest(params)
7924//
7925//    err := req.Send()
7926//    if err == nil { // resp is now filled
7927//        fmt.Println(resp)
7928//    }
7929//
7930// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeCodeRepository
7931func (c *SageMaker) DescribeCodeRepositoryRequest(input *DescribeCodeRepositoryInput) (req *request.Request, output *DescribeCodeRepositoryOutput) {
7932	op := &request.Operation{
7933		Name:       opDescribeCodeRepository,
7934		HTTPMethod: "POST",
7935		HTTPPath:   "/",
7936	}
7937
7938	if input == nil {
7939		input = &DescribeCodeRepositoryInput{}
7940	}
7941
7942	output = &DescribeCodeRepositoryOutput{}
7943	req = c.newRequest(op, input, output)
7944	return
7945}
7946
7947// DescribeCodeRepository API operation for Amazon SageMaker Service.
7948//
7949// Gets details about the specified Git repository.
7950//
7951// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7952// with awserr.Error's Code and Message methods to get detailed information about
7953// the error.
7954//
7955// See the AWS API reference guide for Amazon SageMaker Service's
7956// API operation DescribeCodeRepository for usage and error information.
7957// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeCodeRepository
7958func (c *SageMaker) DescribeCodeRepository(input *DescribeCodeRepositoryInput) (*DescribeCodeRepositoryOutput, error) {
7959	req, out := c.DescribeCodeRepositoryRequest(input)
7960	return out, req.Send()
7961}
7962
7963// DescribeCodeRepositoryWithContext is the same as DescribeCodeRepository with the addition of
7964// the ability to pass a context and additional request options.
7965//
7966// See DescribeCodeRepository for details on how to use this API operation.
7967//
7968// The context must be non-nil and will be used for request cancellation. If
7969// the context is nil a panic will occur. In the future the SDK may create
7970// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7971// for more information on using Contexts.
7972func (c *SageMaker) DescribeCodeRepositoryWithContext(ctx aws.Context, input *DescribeCodeRepositoryInput, opts ...request.Option) (*DescribeCodeRepositoryOutput, error) {
7973	req, out := c.DescribeCodeRepositoryRequest(input)
7974	req.SetContext(ctx)
7975	req.ApplyOptions(opts...)
7976	return out, req.Send()
7977}
7978
7979const opDescribeCompilationJob = "DescribeCompilationJob"
7980
7981// DescribeCompilationJobRequest generates a "aws/request.Request" representing the
7982// client's request for the DescribeCompilationJob operation. The "output" return
7983// value will be populated with the request's response once the request completes
7984// successfully.
7985//
7986// Use "Send" method on the returned Request to send the API call to the service.
7987// the "output" return value is not valid until after Send returns without error.
7988//
7989// See DescribeCompilationJob for more information on using the DescribeCompilationJob
7990// API call, and error handling.
7991//
7992// This method is useful when you want to inject custom logic or configuration
7993// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7994//
7995//
7996//    // Example sending a request using the DescribeCompilationJobRequest method.
7997//    req, resp := client.DescribeCompilationJobRequest(params)
7998//
7999//    err := req.Send()
8000//    if err == nil { // resp is now filled
8001//        fmt.Println(resp)
8002//    }
8003//
8004// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeCompilationJob
8005func (c *SageMaker) DescribeCompilationJobRequest(input *DescribeCompilationJobInput) (req *request.Request, output *DescribeCompilationJobOutput) {
8006	op := &request.Operation{
8007		Name:       opDescribeCompilationJob,
8008		HTTPMethod: "POST",
8009		HTTPPath:   "/",
8010	}
8011
8012	if input == nil {
8013		input = &DescribeCompilationJobInput{}
8014	}
8015
8016	output = &DescribeCompilationJobOutput{}
8017	req = c.newRequest(op, input, output)
8018	return
8019}
8020
8021// DescribeCompilationJob API operation for Amazon SageMaker Service.
8022//
8023// Returns information about a model compilation job.
8024//
8025// To create a model compilation job, use CreateCompilationJob. To get information
8026// about multiple model compilation jobs, use ListCompilationJobs.
8027//
8028// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8029// with awserr.Error's Code and Message methods to get detailed information about
8030// the error.
8031//
8032// See the AWS API reference guide for Amazon SageMaker Service's
8033// API operation DescribeCompilationJob for usage and error information.
8034//
8035// Returned Error Types:
8036//   * ResourceNotFound
8037//   Resource being access is not found.
8038//
8039// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeCompilationJob
8040func (c *SageMaker) DescribeCompilationJob(input *DescribeCompilationJobInput) (*DescribeCompilationJobOutput, error) {
8041	req, out := c.DescribeCompilationJobRequest(input)
8042	return out, req.Send()
8043}
8044
8045// DescribeCompilationJobWithContext is the same as DescribeCompilationJob with the addition of
8046// the ability to pass a context and additional request options.
8047//
8048// See DescribeCompilationJob for details on how to use this API operation.
8049//
8050// The context must be non-nil and will be used for request cancellation. If
8051// the context is nil a panic will occur. In the future the SDK may create
8052// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8053// for more information on using Contexts.
8054func (c *SageMaker) DescribeCompilationJobWithContext(ctx aws.Context, input *DescribeCompilationJobInput, opts ...request.Option) (*DescribeCompilationJobOutput, error) {
8055	req, out := c.DescribeCompilationJobRequest(input)
8056	req.SetContext(ctx)
8057	req.ApplyOptions(opts...)
8058	return out, req.Send()
8059}
8060
8061const opDescribeContext = "DescribeContext"
8062
8063// DescribeContextRequest generates a "aws/request.Request" representing the
8064// client's request for the DescribeContext operation. The "output" return
8065// value will be populated with the request's response once the request completes
8066// successfully.
8067//
8068// Use "Send" method on the returned Request to send the API call to the service.
8069// the "output" return value is not valid until after Send returns without error.
8070//
8071// See DescribeContext for more information on using the DescribeContext
8072// API call, and error handling.
8073//
8074// This method is useful when you want to inject custom logic or configuration
8075// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8076//
8077//
8078//    // Example sending a request using the DescribeContextRequest method.
8079//    req, resp := client.DescribeContextRequest(params)
8080//
8081//    err := req.Send()
8082//    if err == nil { // resp is now filled
8083//        fmt.Println(resp)
8084//    }
8085//
8086// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeContext
8087func (c *SageMaker) DescribeContextRequest(input *DescribeContextInput) (req *request.Request, output *DescribeContextOutput) {
8088	op := &request.Operation{
8089		Name:       opDescribeContext,
8090		HTTPMethod: "POST",
8091		HTTPPath:   "/",
8092	}
8093
8094	if input == nil {
8095		input = &DescribeContextInput{}
8096	}
8097
8098	output = &DescribeContextOutput{}
8099	req = c.newRequest(op, input, output)
8100	return
8101}
8102
8103// DescribeContext API operation for Amazon SageMaker Service.
8104//
8105// Describes a context.
8106//
8107// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8108// with awserr.Error's Code and Message methods to get detailed information about
8109// the error.
8110//
8111// See the AWS API reference guide for Amazon SageMaker Service's
8112// API operation DescribeContext for usage and error information.
8113//
8114// Returned Error Types:
8115//   * ResourceNotFound
8116//   Resource being access is not found.
8117//
8118// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeContext
8119func (c *SageMaker) DescribeContext(input *DescribeContextInput) (*DescribeContextOutput, error) {
8120	req, out := c.DescribeContextRequest(input)
8121	return out, req.Send()
8122}
8123
8124// DescribeContextWithContext is the same as DescribeContext with the addition of
8125// the ability to pass a context and additional request options.
8126//
8127// See DescribeContext for details on how to use this API operation.
8128//
8129// The context must be non-nil and will be used for request cancellation. If
8130// the context is nil a panic will occur. In the future the SDK may create
8131// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8132// for more information on using Contexts.
8133func (c *SageMaker) DescribeContextWithContext(ctx aws.Context, input *DescribeContextInput, opts ...request.Option) (*DescribeContextOutput, error) {
8134	req, out := c.DescribeContextRequest(input)
8135	req.SetContext(ctx)
8136	req.ApplyOptions(opts...)
8137	return out, req.Send()
8138}
8139
8140const opDescribeDataQualityJobDefinition = "DescribeDataQualityJobDefinition"
8141
8142// DescribeDataQualityJobDefinitionRequest generates a "aws/request.Request" representing the
8143// client's request for the DescribeDataQualityJobDefinition operation. The "output" return
8144// value will be populated with the request's response once the request completes
8145// successfully.
8146//
8147// Use "Send" method on the returned Request to send the API call to the service.
8148// the "output" return value is not valid until after Send returns without error.
8149//
8150// See DescribeDataQualityJobDefinition for more information on using the DescribeDataQualityJobDefinition
8151// API call, and error handling.
8152//
8153// This method is useful when you want to inject custom logic or configuration
8154// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8155//
8156//
8157//    // Example sending a request using the DescribeDataQualityJobDefinitionRequest method.
8158//    req, resp := client.DescribeDataQualityJobDefinitionRequest(params)
8159//
8160//    err := req.Send()
8161//    if err == nil { // resp is now filled
8162//        fmt.Println(resp)
8163//    }
8164//
8165// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeDataQualityJobDefinition
8166func (c *SageMaker) DescribeDataQualityJobDefinitionRequest(input *DescribeDataQualityJobDefinitionInput) (req *request.Request, output *DescribeDataQualityJobDefinitionOutput) {
8167	op := &request.Operation{
8168		Name:       opDescribeDataQualityJobDefinition,
8169		HTTPMethod: "POST",
8170		HTTPPath:   "/",
8171	}
8172
8173	if input == nil {
8174		input = &DescribeDataQualityJobDefinitionInput{}
8175	}
8176
8177	output = &DescribeDataQualityJobDefinitionOutput{}
8178	req = c.newRequest(op, input, output)
8179	return
8180}
8181
8182// DescribeDataQualityJobDefinition API operation for Amazon SageMaker Service.
8183//
8184// Gets the details of a data quality monitoring job definition.
8185//
8186// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8187// with awserr.Error's Code and Message methods to get detailed information about
8188// the error.
8189//
8190// See the AWS API reference guide for Amazon SageMaker Service's
8191// API operation DescribeDataQualityJobDefinition for usage and error information.
8192//
8193// Returned Error Types:
8194//   * ResourceNotFound
8195//   Resource being access is not found.
8196//
8197// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeDataQualityJobDefinition
8198func (c *SageMaker) DescribeDataQualityJobDefinition(input *DescribeDataQualityJobDefinitionInput) (*DescribeDataQualityJobDefinitionOutput, error) {
8199	req, out := c.DescribeDataQualityJobDefinitionRequest(input)
8200	return out, req.Send()
8201}
8202
8203// DescribeDataQualityJobDefinitionWithContext is the same as DescribeDataQualityJobDefinition with the addition of
8204// the ability to pass a context and additional request options.
8205//
8206// See DescribeDataQualityJobDefinition for details on how to use this API operation.
8207//
8208// The context must be non-nil and will be used for request cancellation. If
8209// the context is nil a panic will occur. In the future the SDK may create
8210// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8211// for more information on using Contexts.
8212func (c *SageMaker) DescribeDataQualityJobDefinitionWithContext(ctx aws.Context, input *DescribeDataQualityJobDefinitionInput, opts ...request.Option) (*DescribeDataQualityJobDefinitionOutput, error) {
8213	req, out := c.DescribeDataQualityJobDefinitionRequest(input)
8214	req.SetContext(ctx)
8215	req.ApplyOptions(opts...)
8216	return out, req.Send()
8217}
8218
8219const opDescribeDevice = "DescribeDevice"
8220
8221// DescribeDeviceRequest generates a "aws/request.Request" representing the
8222// client's request for the DescribeDevice operation. The "output" return
8223// value will be populated with the request's response once the request completes
8224// successfully.
8225//
8226// Use "Send" method on the returned Request to send the API call to the service.
8227// the "output" return value is not valid until after Send returns without error.
8228//
8229// See DescribeDevice for more information on using the DescribeDevice
8230// API call, and error handling.
8231//
8232// This method is useful when you want to inject custom logic or configuration
8233// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8234//
8235//
8236//    // Example sending a request using the DescribeDeviceRequest method.
8237//    req, resp := client.DescribeDeviceRequest(params)
8238//
8239//    err := req.Send()
8240//    if err == nil { // resp is now filled
8241//        fmt.Println(resp)
8242//    }
8243//
8244// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeDevice
8245func (c *SageMaker) DescribeDeviceRequest(input *DescribeDeviceInput) (req *request.Request, output *DescribeDeviceOutput) {
8246	op := &request.Operation{
8247		Name:       opDescribeDevice,
8248		HTTPMethod: "POST",
8249		HTTPPath:   "/",
8250	}
8251
8252	if input == nil {
8253		input = &DescribeDeviceInput{}
8254	}
8255
8256	output = &DescribeDeviceOutput{}
8257	req = c.newRequest(op, input, output)
8258	return
8259}
8260
8261// DescribeDevice API operation for Amazon SageMaker Service.
8262//
8263// Describes the device.
8264//
8265// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8266// with awserr.Error's Code and Message methods to get detailed information about
8267// the error.
8268//
8269// See the AWS API reference guide for Amazon SageMaker Service's
8270// API operation DescribeDevice for usage and error information.
8271//
8272// Returned Error Types:
8273//   * ResourceNotFound
8274//   Resource being access is not found.
8275//
8276// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeDevice
8277func (c *SageMaker) DescribeDevice(input *DescribeDeviceInput) (*DescribeDeviceOutput, error) {
8278	req, out := c.DescribeDeviceRequest(input)
8279	return out, req.Send()
8280}
8281
8282// DescribeDeviceWithContext is the same as DescribeDevice with the addition of
8283// the ability to pass a context and additional request options.
8284//
8285// See DescribeDevice for details on how to use this API operation.
8286//
8287// The context must be non-nil and will be used for request cancellation. If
8288// the context is nil a panic will occur. In the future the SDK may create
8289// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8290// for more information on using Contexts.
8291func (c *SageMaker) DescribeDeviceWithContext(ctx aws.Context, input *DescribeDeviceInput, opts ...request.Option) (*DescribeDeviceOutput, error) {
8292	req, out := c.DescribeDeviceRequest(input)
8293	req.SetContext(ctx)
8294	req.ApplyOptions(opts...)
8295	return out, req.Send()
8296}
8297
8298const opDescribeDeviceFleet = "DescribeDeviceFleet"
8299
8300// DescribeDeviceFleetRequest generates a "aws/request.Request" representing the
8301// client's request for the DescribeDeviceFleet operation. The "output" return
8302// value will be populated with the request's response once the request completes
8303// successfully.
8304//
8305// Use "Send" method on the returned Request to send the API call to the service.
8306// the "output" return value is not valid until after Send returns without error.
8307//
8308// See DescribeDeviceFleet for more information on using the DescribeDeviceFleet
8309// API call, and error handling.
8310//
8311// This method is useful when you want to inject custom logic or configuration
8312// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8313//
8314//
8315//    // Example sending a request using the DescribeDeviceFleetRequest method.
8316//    req, resp := client.DescribeDeviceFleetRequest(params)
8317//
8318//    err := req.Send()
8319//    if err == nil { // resp is now filled
8320//        fmt.Println(resp)
8321//    }
8322//
8323// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeDeviceFleet
8324func (c *SageMaker) DescribeDeviceFleetRequest(input *DescribeDeviceFleetInput) (req *request.Request, output *DescribeDeviceFleetOutput) {
8325	op := &request.Operation{
8326		Name:       opDescribeDeviceFleet,
8327		HTTPMethod: "POST",
8328		HTTPPath:   "/",
8329	}
8330
8331	if input == nil {
8332		input = &DescribeDeviceFleetInput{}
8333	}
8334
8335	output = &DescribeDeviceFleetOutput{}
8336	req = c.newRequest(op, input, output)
8337	return
8338}
8339
8340// DescribeDeviceFleet API operation for Amazon SageMaker Service.
8341//
8342// A description of the fleet the device belongs to.
8343//
8344// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8345// with awserr.Error's Code and Message methods to get detailed information about
8346// the error.
8347//
8348// See the AWS API reference guide for Amazon SageMaker Service's
8349// API operation DescribeDeviceFleet for usage and error information.
8350//
8351// Returned Error Types:
8352//   * ResourceNotFound
8353//   Resource being access is not found.
8354//
8355// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeDeviceFleet
8356func (c *SageMaker) DescribeDeviceFleet(input *DescribeDeviceFleetInput) (*DescribeDeviceFleetOutput, error) {
8357	req, out := c.DescribeDeviceFleetRequest(input)
8358	return out, req.Send()
8359}
8360
8361// DescribeDeviceFleetWithContext is the same as DescribeDeviceFleet with the addition of
8362// the ability to pass a context and additional request options.
8363//
8364// See DescribeDeviceFleet for details on how to use this API operation.
8365//
8366// The context must be non-nil and will be used for request cancellation. If
8367// the context is nil a panic will occur. In the future the SDK may create
8368// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8369// for more information on using Contexts.
8370func (c *SageMaker) DescribeDeviceFleetWithContext(ctx aws.Context, input *DescribeDeviceFleetInput, opts ...request.Option) (*DescribeDeviceFleetOutput, error) {
8371	req, out := c.DescribeDeviceFleetRequest(input)
8372	req.SetContext(ctx)
8373	req.ApplyOptions(opts...)
8374	return out, req.Send()
8375}
8376
8377const opDescribeDomain = "DescribeDomain"
8378
8379// DescribeDomainRequest generates a "aws/request.Request" representing the
8380// client's request for the DescribeDomain operation. The "output" return
8381// value will be populated with the request's response once the request completes
8382// successfully.
8383//
8384// Use "Send" method on the returned Request to send the API call to the service.
8385// the "output" return value is not valid until after Send returns without error.
8386//
8387// See DescribeDomain for more information on using the DescribeDomain
8388// API call, and error handling.
8389//
8390// This method is useful when you want to inject custom logic or configuration
8391// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8392//
8393//
8394//    // Example sending a request using the DescribeDomainRequest method.
8395//    req, resp := client.DescribeDomainRequest(params)
8396//
8397//    err := req.Send()
8398//    if err == nil { // resp is now filled
8399//        fmt.Println(resp)
8400//    }
8401//
8402// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeDomain
8403func (c *SageMaker) DescribeDomainRequest(input *DescribeDomainInput) (req *request.Request, output *DescribeDomainOutput) {
8404	op := &request.Operation{
8405		Name:       opDescribeDomain,
8406		HTTPMethod: "POST",
8407		HTTPPath:   "/",
8408	}
8409
8410	if input == nil {
8411		input = &DescribeDomainInput{}
8412	}
8413
8414	output = &DescribeDomainOutput{}
8415	req = c.newRequest(op, input, output)
8416	return
8417}
8418
8419// DescribeDomain API operation for Amazon SageMaker Service.
8420//
8421// The description of the domain.
8422//
8423// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8424// with awserr.Error's Code and Message methods to get detailed information about
8425// the error.
8426//
8427// See the AWS API reference guide for Amazon SageMaker Service's
8428// API operation DescribeDomain for usage and error information.
8429//
8430// Returned Error Types:
8431//   * ResourceNotFound
8432//   Resource being access is not found.
8433//
8434// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeDomain
8435func (c *SageMaker) DescribeDomain(input *DescribeDomainInput) (*DescribeDomainOutput, error) {
8436	req, out := c.DescribeDomainRequest(input)
8437	return out, req.Send()
8438}
8439
8440// DescribeDomainWithContext is the same as DescribeDomain with the addition of
8441// the ability to pass a context and additional request options.
8442//
8443// See DescribeDomain for details on how to use this API operation.
8444//
8445// The context must be non-nil and will be used for request cancellation. If
8446// the context is nil a panic will occur. In the future the SDK may create
8447// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8448// for more information on using Contexts.
8449func (c *SageMaker) DescribeDomainWithContext(ctx aws.Context, input *DescribeDomainInput, opts ...request.Option) (*DescribeDomainOutput, error) {
8450	req, out := c.DescribeDomainRequest(input)
8451	req.SetContext(ctx)
8452	req.ApplyOptions(opts...)
8453	return out, req.Send()
8454}
8455
8456const opDescribeEdgePackagingJob = "DescribeEdgePackagingJob"
8457
8458// DescribeEdgePackagingJobRequest generates a "aws/request.Request" representing the
8459// client's request for the DescribeEdgePackagingJob operation. The "output" return
8460// value will be populated with the request's response once the request completes
8461// successfully.
8462//
8463// Use "Send" method on the returned Request to send the API call to the service.
8464// the "output" return value is not valid until after Send returns without error.
8465//
8466// See DescribeEdgePackagingJob for more information on using the DescribeEdgePackagingJob
8467// API call, and error handling.
8468//
8469// This method is useful when you want to inject custom logic or configuration
8470// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8471//
8472//
8473//    // Example sending a request using the DescribeEdgePackagingJobRequest method.
8474//    req, resp := client.DescribeEdgePackagingJobRequest(params)
8475//
8476//    err := req.Send()
8477//    if err == nil { // resp is now filled
8478//        fmt.Println(resp)
8479//    }
8480//
8481// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEdgePackagingJob
8482func (c *SageMaker) DescribeEdgePackagingJobRequest(input *DescribeEdgePackagingJobInput) (req *request.Request, output *DescribeEdgePackagingJobOutput) {
8483	op := &request.Operation{
8484		Name:       opDescribeEdgePackagingJob,
8485		HTTPMethod: "POST",
8486		HTTPPath:   "/",
8487	}
8488
8489	if input == nil {
8490		input = &DescribeEdgePackagingJobInput{}
8491	}
8492
8493	output = &DescribeEdgePackagingJobOutput{}
8494	req = c.newRequest(op, input, output)
8495	return
8496}
8497
8498// DescribeEdgePackagingJob API operation for Amazon SageMaker Service.
8499//
8500// A description of edge packaging jobs.
8501//
8502// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8503// with awserr.Error's Code and Message methods to get detailed information about
8504// the error.
8505//
8506// See the AWS API reference guide for Amazon SageMaker Service's
8507// API operation DescribeEdgePackagingJob for usage and error information.
8508//
8509// Returned Error Types:
8510//   * ResourceNotFound
8511//   Resource being access is not found.
8512//
8513// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEdgePackagingJob
8514func (c *SageMaker) DescribeEdgePackagingJob(input *DescribeEdgePackagingJobInput) (*DescribeEdgePackagingJobOutput, error) {
8515	req, out := c.DescribeEdgePackagingJobRequest(input)
8516	return out, req.Send()
8517}
8518
8519// DescribeEdgePackagingJobWithContext is the same as DescribeEdgePackagingJob with the addition of
8520// the ability to pass a context and additional request options.
8521//
8522// See DescribeEdgePackagingJob for details on how to use this API operation.
8523//
8524// The context must be non-nil and will be used for request cancellation. If
8525// the context is nil a panic will occur. In the future the SDK may create
8526// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8527// for more information on using Contexts.
8528func (c *SageMaker) DescribeEdgePackagingJobWithContext(ctx aws.Context, input *DescribeEdgePackagingJobInput, opts ...request.Option) (*DescribeEdgePackagingJobOutput, error) {
8529	req, out := c.DescribeEdgePackagingJobRequest(input)
8530	req.SetContext(ctx)
8531	req.ApplyOptions(opts...)
8532	return out, req.Send()
8533}
8534
8535const opDescribeEndpoint = "DescribeEndpoint"
8536
8537// DescribeEndpointRequest generates a "aws/request.Request" representing the
8538// client's request for the DescribeEndpoint operation. The "output" return
8539// value will be populated with the request's response once the request completes
8540// successfully.
8541//
8542// Use "Send" method on the returned Request to send the API call to the service.
8543// the "output" return value is not valid until after Send returns without error.
8544//
8545// See DescribeEndpoint for more information on using the DescribeEndpoint
8546// API call, and error handling.
8547//
8548// This method is useful when you want to inject custom logic or configuration
8549// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8550//
8551//
8552//    // Example sending a request using the DescribeEndpointRequest method.
8553//    req, resp := client.DescribeEndpointRequest(params)
8554//
8555//    err := req.Send()
8556//    if err == nil { // resp is now filled
8557//        fmt.Println(resp)
8558//    }
8559//
8560// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpoint
8561func (c *SageMaker) DescribeEndpointRequest(input *DescribeEndpointInput) (req *request.Request, output *DescribeEndpointOutput) {
8562	op := &request.Operation{
8563		Name:       opDescribeEndpoint,
8564		HTTPMethod: "POST",
8565		HTTPPath:   "/",
8566	}
8567
8568	if input == nil {
8569		input = &DescribeEndpointInput{}
8570	}
8571
8572	output = &DescribeEndpointOutput{}
8573	req = c.newRequest(op, input, output)
8574	return
8575}
8576
8577// DescribeEndpoint API operation for Amazon SageMaker Service.
8578//
8579// Returns the description of an endpoint.
8580//
8581// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8582// with awserr.Error's Code and Message methods to get detailed information about
8583// the error.
8584//
8585// See the AWS API reference guide for Amazon SageMaker Service's
8586// API operation DescribeEndpoint for usage and error information.
8587// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpoint
8588func (c *SageMaker) DescribeEndpoint(input *DescribeEndpointInput) (*DescribeEndpointOutput, error) {
8589	req, out := c.DescribeEndpointRequest(input)
8590	return out, req.Send()
8591}
8592
8593// DescribeEndpointWithContext is the same as DescribeEndpoint with the addition of
8594// the ability to pass a context and additional request options.
8595//
8596// See DescribeEndpoint for details on how to use this API operation.
8597//
8598// The context must be non-nil and will be used for request cancellation. If
8599// the context is nil a panic will occur. In the future the SDK may create
8600// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8601// for more information on using Contexts.
8602func (c *SageMaker) DescribeEndpointWithContext(ctx aws.Context, input *DescribeEndpointInput, opts ...request.Option) (*DescribeEndpointOutput, error) {
8603	req, out := c.DescribeEndpointRequest(input)
8604	req.SetContext(ctx)
8605	req.ApplyOptions(opts...)
8606	return out, req.Send()
8607}
8608
8609const opDescribeEndpointConfig = "DescribeEndpointConfig"
8610
8611// DescribeEndpointConfigRequest generates a "aws/request.Request" representing the
8612// client's request for the DescribeEndpointConfig operation. The "output" return
8613// value will be populated with the request's response once the request completes
8614// successfully.
8615//
8616// Use "Send" method on the returned Request to send the API call to the service.
8617// the "output" return value is not valid until after Send returns without error.
8618//
8619// See DescribeEndpointConfig for more information on using the DescribeEndpointConfig
8620// API call, and error handling.
8621//
8622// This method is useful when you want to inject custom logic or configuration
8623// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8624//
8625//
8626//    // Example sending a request using the DescribeEndpointConfigRequest method.
8627//    req, resp := client.DescribeEndpointConfigRequest(params)
8628//
8629//    err := req.Send()
8630//    if err == nil { // resp is now filled
8631//        fmt.Println(resp)
8632//    }
8633//
8634// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpointConfig
8635func (c *SageMaker) DescribeEndpointConfigRequest(input *DescribeEndpointConfigInput) (req *request.Request, output *DescribeEndpointConfigOutput) {
8636	op := &request.Operation{
8637		Name:       opDescribeEndpointConfig,
8638		HTTPMethod: "POST",
8639		HTTPPath:   "/",
8640	}
8641
8642	if input == nil {
8643		input = &DescribeEndpointConfigInput{}
8644	}
8645
8646	output = &DescribeEndpointConfigOutput{}
8647	req = c.newRequest(op, input, output)
8648	return
8649}
8650
8651// DescribeEndpointConfig API operation for Amazon SageMaker Service.
8652//
8653// Returns the description of an endpoint configuration created using the CreateEndpointConfig
8654// API.
8655//
8656// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8657// with awserr.Error's Code and Message methods to get detailed information about
8658// the error.
8659//
8660// See the AWS API reference guide for Amazon SageMaker Service's
8661// API operation DescribeEndpointConfig for usage and error information.
8662// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpointConfig
8663func (c *SageMaker) DescribeEndpointConfig(input *DescribeEndpointConfigInput) (*DescribeEndpointConfigOutput, error) {
8664	req, out := c.DescribeEndpointConfigRequest(input)
8665	return out, req.Send()
8666}
8667
8668// DescribeEndpointConfigWithContext is the same as DescribeEndpointConfig with the addition of
8669// the ability to pass a context and additional request options.
8670//
8671// See DescribeEndpointConfig for details on how to use this API operation.
8672//
8673// The context must be non-nil and will be used for request cancellation. If
8674// the context is nil a panic will occur. In the future the SDK may create
8675// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8676// for more information on using Contexts.
8677func (c *SageMaker) DescribeEndpointConfigWithContext(ctx aws.Context, input *DescribeEndpointConfigInput, opts ...request.Option) (*DescribeEndpointConfigOutput, error) {
8678	req, out := c.DescribeEndpointConfigRequest(input)
8679	req.SetContext(ctx)
8680	req.ApplyOptions(opts...)
8681	return out, req.Send()
8682}
8683
8684const opDescribeExperiment = "DescribeExperiment"
8685
8686// DescribeExperimentRequest generates a "aws/request.Request" representing the
8687// client's request for the DescribeExperiment operation. The "output" return
8688// value will be populated with the request's response once the request completes
8689// successfully.
8690//
8691// Use "Send" method on the returned Request to send the API call to the service.
8692// the "output" return value is not valid until after Send returns without error.
8693//
8694// See DescribeExperiment for more information on using the DescribeExperiment
8695// API call, and error handling.
8696//
8697// This method is useful when you want to inject custom logic or configuration
8698// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8699//
8700//
8701//    // Example sending a request using the DescribeExperimentRequest method.
8702//    req, resp := client.DescribeExperimentRequest(params)
8703//
8704//    err := req.Send()
8705//    if err == nil { // resp is now filled
8706//        fmt.Println(resp)
8707//    }
8708//
8709// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeExperiment
8710func (c *SageMaker) DescribeExperimentRequest(input *DescribeExperimentInput) (req *request.Request, output *DescribeExperimentOutput) {
8711	op := &request.Operation{
8712		Name:       opDescribeExperiment,
8713		HTTPMethod: "POST",
8714		HTTPPath:   "/",
8715	}
8716
8717	if input == nil {
8718		input = &DescribeExperimentInput{}
8719	}
8720
8721	output = &DescribeExperimentOutput{}
8722	req = c.newRequest(op, input, output)
8723	return
8724}
8725
8726// DescribeExperiment API operation for Amazon SageMaker Service.
8727//
8728// Provides a list of an experiment's properties.
8729//
8730// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8731// with awserr.Error's Code and Message methods to get detailed information about
8732// the error.
8733//
8734// See the AWS API reference guide for Amazon SageMaker Service's
8735// API operation DescribeExperiment for usage and error information.
8736//
8737// Returned Error Types:
8738//   * ResourceNotFound
8739//   Resource being access is not found.
8740//
8741// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeExperiment
8742func (c *SageMaker) DescribeExperiment(input *DescribeExperimentInput) (*DescribeExperimentOutput, error) {
8743	req, out := c.DescribeExperimentRequest(input)
8744	return out, req.Send()
8745}
8746
8747// DescribeExperimentWithContext is the same as DescribeExperiment with the addition of
8748// the ability to pass a context and additional request options.
8749//
8750// See DescribeExperiment for details on how to use this API operation.
8751//
8752// The context must be non-nil and will be used for request cancellation. If
8753// the context is nil a panic will occur. In the future the SDK may create
8754// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8755// for more information on using Contexts.
8756func (c *SageMaker) DescribeExperimentWithContext(ctx aws.Context, input *DescribeExperimentInput, opts ...request.Option) (*DescribeExperimentOutput, error) {
8757	req, out := c.DescribeExperimentRequest(input)
8758	req.SetContext(ctx)
8759	req.ApplyOptions(opts...)
8760	return out, req.Send()
8761}
8762
8763const opDescribeFeatureGroup = "DescribeFeatureGroup"
8764
8765// DescribeFeatureGroupRequest generates a "aws/request.Request" representing the
8766// client's request for the DescribeFeatureGroup operation. The "output" return
8767// value will be populated with the request's response once the request completes
8768// successfully.
8769//
8770// Use "Send" method on the returned Request to send the API call to the service.
8771// the "output" return value is not valid until after Send returns without error.
8772//
8773// See DescribeFeatureGroup for more information on using the DescribeFeatureGroup
8774// API call, and error handling.
8775//
8776// This method is useful when you want to inject custom logic or configuration
8777// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8778//
8779//
8780//    // Example sending a request using the DescribeFeatureGroupRequest method.
8781//    req, resp := client.DescribeFeatureGroupRequest(params)
8782//
8783//    err := req.Send()
8784//    if err == nil { // resp is now filled
8785//        fmt.Println(resp)
8786//    }
8787//
8788// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeFeatureGroup
8789func (c *SageMaker) DescribeFeatureGroupRequest(input *DescribeFeatureGroupInput) (req *request.Request, output *DescribeFeatureGroupOutput) {
8790	op := &request.Operation{
8791		Name:       opDescribeFeatureGroup,
8792		HTTPMethod: "POST",
8793		HTTPPath:   "/",
8794	}
8795
8796	if input == nil {
8797		input = &DescribeFeatureGroupInput{}
8798	}
8799
8800	output = &DescribeFeatureGroupOutput{}
8801	req = c.newRequest(op, input, output)
8802	return
8803}
8804
8805// DescribeFeatureGroup API operation for Amazon SageMaker Service.
8806//
8807// Use this operation to describe a FeatureGroup. The response includes information
8808// on the creation time, FeatureGroup name, the unique identifier for each FeatureGroup,
8809// and more.
8810//
8811// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8812// with awserr.Error's Code and Message methods to get detailed information about
8813// the error.
8814//
8815// See the AWS API reference guide for Amazon SageMaker Service's
8816// API operation DescribeFeatureGroup for usage and error information.
8817//
8818// Returned Error Types:
8819//   * ResourceNotFound
8820//   Resource being access is not found.
8821//
8822// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeFeatureGroup
8823func (c *SageMaker) DescribeFeatureGroup(input *DescribeFeatureGroupInput) (*DescribeFeatureGroupOutput, error) {
8824	req, out := c.DescribeFeatureGroupRequest(input)
8825	return out, req.Send()
8826}
8827
8828// DescribeFeatureGroupWithContext is the same as DescribeFeatureGroup with the addition of
8829// the ability to pass a context and additional request options.
8830//
8831// See DescribeFeatureGroup for details on how to use this API operation.
8832//
8833// The context must be non-nil and will be used for request cancellation. If
8834// the context is nil a panic will occur. In the future the SDK may create
8835// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8836// for more information on using Contexts.
8837func (c *SageMaker) DescribeFeatureGroupWithContext(ctx aws.Context, input *DescribeFeatureGroupInput, opts ...request.Option) (*DescribeFeatureGroupOutput, error) {
8838	req, out := c.DescribeFeatureGroupRequest(input)
8839	req.SetContext(ctx)
8840	req.ApplyOptions(opts...)
8841	return out, req.Send()
8842}
8843
8844const opDescribeFlowDefinition = "DescribeFlowDefinition"
8845
8846// DescribeFlowDefinitionRequest generates a "aws/request.Request" representing the
8847// client's request for the DescribeFlowDefinition operation. The "output" return
8848// value will be populated with the request's response once the request completes
8849// successfully.
8850//
8851// Use "Send" method on the returned Request to send the API call to the service.
8852// the "output" return value is not valid until after Send returns without error.
8853//
8854// See DescribeFlowDefinition for more information on using the DescribeFlowDefinition
8855// API call, and error handling.
8856//
8857// This method is useful when you want to inject custom logic or configuration
8858// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8859//
8860//
8861//    // Example sending a request using the DescribeFlowDefinitionRequest method.
8862//    req, resp := client.DescribeFlowDefinitionRequest(params)
8863//
8864//    err := req.Send()
8865//    if err == nil { // resp is now filled
8866//        fmt.Println(resp)
8867//    }
8868//
8869// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeFlowDefinition
8870func (c *SageMaker) DescribeFlowDefinitionRequest(input *DescribeFlowDefinitionInput) (req *request.Request, output *DescribeFlowDefinitionOutput) {
8871	op := &request.Operation{
8872		Name:       opDescribeFlowDefinition,
8873		HTTPMethod: "POST",
8874		HTTPPath:   "/",
8875	}
8876
8877	if input == nil {
8878		input = &DescribeFlowDefinitionInput{}
8879	}
8880
8881	output = &DescribeFlowDefinitionOutput{}
8882	req = c.newRequest(op, input, output)
8883	return
8884}
8885
8886// DescribeFlowDefinition API operation for Amazon SageMaker Service.
8887//
8888// Returns information about the specified flow definition.
8889//
8890// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8891// with awserr.Error's Code and Message methods to get detailed information about
8892// the error.
8893//
8894// See the AWS API reference guide for Amazon SageMaker Service's
8895// API operation DescribeFlowDefinition for usage and error information.
8896//
8897// Returned Error Types:
8898//   * ResourceNotFound
8899//   Resource being access is not found.
8900//
8901// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeFlowDefinition
8902func (c *SageMaker) DescribeFlowDefinition(input *DescribeFlowDefinitionInput) (*DescribeFlowDefinitionOutput, error) {
8903	req, out := c.DescribeFlowDefinitionRequest(input)
8904	return out, req.Send()
8905}
8906
8907// DescribeFlowDefinitionWithContext is the same as DescribeFlowDefinition with the addition of
8908// the ability to pass a context and additional request options.
8909//
8910// See DescribeFlowDefinition for details on how to use this API operation.
8911//
8912// The context must be non-nil and will be used for request cancellation. If
8913// the context is nil a panic will occur. In the future the SDK may create
8914// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8915// for more information on using Contexts.
8916func (c *SageMaker) DescribeFlowDefinitionWithContext(ctx aws.Context, input *DescribeFlowDefinitionInput, opts ...request.Option) (*DescribeFlowDefinitionOutput, error) {
8917	req, out := c.DescribeFlowDefinitionRequest(input)
8918	req.SetContext(ctx)
8919	req.ApplyOptions(opts...)
8920	return out, req.Send()
8921}
8922
8923const opDescribeHumanTaskUi = "DescribeHumanTaskUi"
8924
8925// DescribeHumanTaskUiRequest generates a "aws/request.Request" representing the
8926// client's request for the DescribeHumanTaskUi operation. The "output" return
8927// value will be populated with the request's response once the request completes
8928// successfully.
8929//
8930// Use "Send" method on the returned Request to send the API call to the service.
8931// the "output" return value is not valid until after Send returns without error.
8932//
8933// See DescribeHumanTaskUi for more information on using the DescribeHumanTaskUi
8934// API call, and error handling.
8935//
8936// This method is useful when you want to inject custom logic or configuration
8937// into the SDK's request lifecycle. Such as custom headers, or retry logic.
8938//
8939//
8940//    // Example sending a request using the DescribeHumanTaskUiRequest method.
8941//    req, resp := client.DescribeHumanTaskUiRequest(params)
8942//
8943//    err := req.Send()
8944//    if err == nil { // resp is now filled
8945//        fmt.Println(resp)
8946//    }
8947//
8948// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeHumanTaskUi
8949func (c *SageMaker) DescribeHumanTaskUiRequest(input *DescribeHumanTaskUiInput) (req *request.Request, output *DescribeHumanTaskUiOutput) {
8950	op := &request.Operation{
8951		Name:       opDescribeHumanTaskUi,
8952		HTTPMethod: "POST",
8953		HTTPPath:   "/",
8954	}
8955
8956	if input == nil {
8957		input = &DescribeHumanTaskUiInput{}
8958	}
8959
8960	output = &DescribeHumanTaskUiOutput{}
8961	req = c.newRequest(op, input, output)
8962	return
8963}
8964
8965// DescribeHumanTaskUi API operation for Amazon SageMaker Service.
8966//
8967// Returns information about the requested human task user interface (worker
8968// task template).
8969//
8970// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
8971// with awserr.Error's Code and Message methods to get detailed information about
8972// the error.
8973//
8974// See the AWS API reference guide for Amazon SageMaker Service's
8975// API operation DescribeHumanTaskUi for usage and error information.
8976//
8977// Returned Error Types:
8978//   * ResourceNotFound
8979//   Resource being access is not found.
8980//
8981// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeHumanTaskUi
8982func (c *SageMaker) DescribeHumanTaskUi(input *DescribeHumanTaskUiInput) (*DescribeHumanTaskUiOutput, error) {
8983	req, out := c.DescribeHumanTaskUiRequest(input)
8984	return out, req.Send()
8985}
8986
8987// DescribeHumanTaskUiWithContext is the same as DescribeHumanTaskUi with the addition of
8988// the ability to pass a context and additional request options.
8989//
8990// See DescribeHumanTaskUi for details on how to use this API operation.
8991//
8992// The context must be non-nil and will be used for request cancellation. If
8993// the context is nil a panic will occur. In the future the SDK may create
8994// sub-contexts for http.Requests. See https://golang.org/pkg/context/
8995// for more information on using Contexts.
8996func (c *SageMaker) DescribeHumanTaskUiWithContext(ctx aws.Context, input *DescribeHumanTaskUiInput, opts ...request.Option) (*DescribeHumanTaskUiOutput, error) {
8997	req, out := c.DescribeHumanTaskUiRequest(input)
8998	req.SetContext(ctx)
8999	req.ApplyOptions(opts...)
9000	return out, req.Send()
9001}
9002
9003const opDescribeHyperParameterTuningJob = "DescribeHyperParameterTuningJob"
9004
9005// DescribeHyperParameterTuningJobRequest generates a "aws/request.Request" representing the
9006// client's request for the DescribeHyperParameterTuningJob operation. The "output" return
9007// value will be populated with the request's response once the request completes
9008// successfully.
9009//
9010// Use "Send" method on the returned Request to send the API call to the service.
9011// the "output" return value is not valid until after Send returns without error.
9012//
9013// See DescribeHyperParameterTuningJob for more information on using the DescribeHyperParameterTuningJob
9014// API call, and error handling.
9015//
9016// This method is useful when you want to inject custom logic or configuration
9017// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9018//
9019//
9020//    // Example sending a request using the DescribeHyperParameterTuningJobRequest method.
9021//    req, resp := client.DescribeHyperParameterTuningJobRequest(params)
9022//
9023//    err := req.Send()
9024//    if err == nil { // resp is now filled
9025//        fmt.Println(resp)
9026//    }
9027//
9028// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeHyperParameterTuningJob
9029func (c *SageMaker) DescribeHyperParameterTuningJobRequest(input *DescribeHyperParameterTuningJobInput) (req *request.Request, output *DescribeHyperParameterTuningJobOutput) {
9030	op := &request.Operation{
9031		Name:       opDescribeHyperParameterTuningJob,
9032		HTTPMethod: "POST",
9033		HTTPPath:   "/",
9034	}
9035
9036	if input == nil {
9037		input = &DescribeHyperParameterTuningJobInput{}
9038	}
9039
9040	output = &DescribeHyperParameterTuningJobOutput{}
9041	req = c.newRequest(op, input, output)
9042	return
9043}
9044
9045// DescribeHyperParameterTuningJob API operation for Amazon SageMaker Service.
9046//
9047// Gets a description of a hyperparameter tuning job.
9048//
9049// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9050// with awserr.Error's Code and Message methods to get detailed information about
9051// the error.
9052//
9053// See the AWS API reference guide for Amazon SageMaker Service's
9054// API operation DescribeHyperParameterTuningJob for usage and error information.
9055//
9056// Returned Error Types:
9057//   * ResourceNotFound
9058//   Resource being access is not found.
9059//
9060// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeHyperParameterTuningJob
9061func (c *SageMaker) DescribeHyperParameterTuningJob(input *DescribeHyperParameterTuningJobInput) (*DescribeHyperParameterTuningJobOutput, error) {
9062	req, out := c.DescribeHyperParameterTuningJobRequest(input)
9063	return out, req.Send()
9064}
9065
9066// DescribeHyperParameterTuningJobWithContext is the same as DescribeHyperParameterTuningJob with the addition of
9067// the ability to pass a context and additional request options.
9068//
9069// See DescribeHyperParameterTuningJob for details on how to use this API operation.
9070//
9071// The context must be non-nil and will be used for request cancellation. If
9072// the context is nil a panic will occur. In the future the SDK may create
9073// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9074// for more information on using Contexts.
9075func (c *SageMaker) DescribeHyperParameterTuningJobWithContext(ctx aws.Context, input *DescribeHyperParameterTuningJobInput, opts ...request.Option) (*DescribeHyperParameterTuningJobOutput, error) {
9076	req, out := c.DescribeHyperParameterTuningJobRequest(input)
9077	req.SetContext(ctx)
9078	req.ApplyOptions(opts...)
9079	return out, req.Send()
9080}
9081
9082const opDescribeImage = "DescribeImage"
9083
9084// DescribeImageRequest generates a "aws/request.Request" representing the
9085// client's request for the DescribeImage operation. The "output" return
9086// value will be populated with the request's response once the request completes
9087// successfully.
9088//
9089// Use "Send" method on the returned Request to send the API call to the service.
9090// the "output" return value is not valid until after Send returns without error.
9091//
9092// See DescribeImage for more information on using the DescribeImage
9093// API call, and error handling.
9094//
9095// This method is useful when you want to inject custom logic or configuration
9096// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9097//
9098//
9099//    // Example sending a request using the DescribeImageRequest method.
9100//    req, resp := client.DescribeImageRequest(params)
9101//
9102//    err := req.Send()
9103//    if err == nil { // resp is now filled
9104//        fmt.Println(resp)
9105//    }
9106//
9107// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeImage
9108func (c *SageMaker) DescribeImageRequest(input *DescribeImageInput) (req *request.Request, output *DescribeImageOutput) {
9109	op := &request.Operation{
9110		Name:       opDescribeImage,
9111		HTTPMethod: "POST",
9112		HTTPPath:   "/",
9113	}
9114
9115	if input == nil {
9116		input = &DescribeImageInput{}
9117	}
9118
9119	output = &DescribeImageOutput{}
9120	req = c.newRequest(op, input, output)
9121	return
9122}
9123
9124// DescribeImage API operation for Amazon SageMaker Service.
9125//
9126// Describes a SageMaker image.
9127//
9128// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9129// with awserr.Error's Code and Message methods to get detailed information about
9130// the error.
9131//
9132// See the AWS API reference guide for Amazon SageMaker Service's
9133// API operation DescribeImage for usage and error information.
9134//
9135// Returned Error Types:
9136//   * ResourceNotFound
9137//   Resource being access is not found.
9138//
9139// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeImage
9140func (c *SageMaker) DescribeImage(input *DescribeImageInput) (*DescribeImageOutput, error) {
9141	req, out := c.DescribeImageRequest(input)
9142	return out, req.Send()
9143}
9144
9145// DescribeImageWithContext is the same as DescribeImage with the addition of
9146// the ability to pass a context and additional request options.
9147//
9148// See DescribeImage for details on how to use this API operation.
9149//
9150// The context must be non-nil and will be used for request cancellation. If
9151// the context is nil a panic will occur. In the future the SDK may create
9152// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9153// for more information on using Contexts.
9154func (c *SageMaker) DescribeImageWithContext(ctx aws.Context, input *DescribeImageInput, opts ...request.Option) (*DescribeImageOutput, error) {
9155	req, out := c.DescribeImageRequest(input)
9156	req.SetContext(ctx)
9157	req.ApplyOptions(opts...)
9158	return out, req.Send()
9159}
9160
9161const opDescribeImageVersion = "DescribeImageVersion"
9162
9163// DescribeImageVersionRequest generates a "aws/request.Request" representing the
9164// client's request for the DescribeImageVersion operation. The "output" return
9165// value will be populated with the request's response once the request completes
9166// successfully.
9167//
9168// Use "Send" method on the returned Request to send the API call to the service.
9169// the "output" return value is not valid until after Send returns without error.
9170//
9171// See DescribeImageVersion for more information on using the DescribeImageVersion
9172// API call, and error handling.
9173//
9174// This method is useful when you want to inject custom logic or configuration
9175// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9176//
9177//
9178//    // Example sending a request using the DescribeImageVersionRequest method.
9179//    req, resp := client.DescribeImageVersionRequest(params)
9180//
9181//    err := req.Send()
9182//    if err == nil { // resp is now filled
9183//        fmt.Println(resp)
9184//    }
9185//
9186// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeImageVersion
9187func (c *SageMaker) DescribeImageVersionRequest(input *DescribeImageVersionInput) (req *request.Request, output *DescribeImageVersionOutput) {
9188	op := &request.Operation{
9189		Name:       opDescribeImageVersion,
9190		HTTPMethod: "POST",
9191		HTTPPath:   "/",
9192	}
9193
9194	if input == nil {
9195		input = &DescribeImageVersionInput{}
9196	}
9197
9198	output = &DescribeImageVersionOutput{}
9199	req = c.newRequest(op, input, output)
9200	return
9201}
9202
9203// DescribeImageVersion API operation for Amazon SageMaker Service.
9204//
9205// Describes a version of a SageMaker image.
9206//
9207// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9208// with awserr.Error's Code and Message methods to get detailed information about
9209// the error.
9210//
9211// See the AWS API reference guide for Amazon SageMaker Service's
9212// API operation DescribeImageVersion for usage and error information.
9213//
9214// Returned Error Types:
9215//   * ResourceNotFound
9216//   Resource being access is not found.
9217//
9218// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeImageVersion
9219func (c *SageMaker) DescribeImageVersion(input *DescribeImageVersionInput) (*DescribeImageVersionOutput, error) {
9220	req, out := c.DescribeImageVersionRequest(input)
9221	return out, req.Send()
9222}
9223
9224// DescribeImageVersionWithContext is the same as DescribeImageVersion with the addition of
9225// the ability to pass a context and additional request options.
9226//
9227// See DescribeImageVersion for details on how to use this API operation.
9228//
9229// The context must be non-nil and will be used for request cancellation. If
9230// the context is nil a panic will occur. In the future the SDK may create
9231// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9232// for more information on using Contexts.
9233func (c *SageMaker) DescribeImageVersionWithContext(ctx aws.Context, input *DescribeImageVersionInput, opts ...request.Option) (*DescribeImageVersionOutput, error) {
9234	req, out := c.DescribeImageVersionRequest(input)
9235	req.SetContext(ctx)
9236	req.ApplyOptions(opts...)
9237	return out, req.Send()
9238}
9239
9240const opDescribeLabelingJob = "DescribeLabelingJob"
9241
9242// DescribeLabelingJobRequest generates a "aws/request.Request" representing the
9243// client's request for the DescribeLabelingJob operation. The "output" return
9244// value will be populated with the request's response once the request completes
9245// successfully.
9246//
9247// Use "Send" method on the returned Request to send the API call to the service.
9248// the "output" return value is not valid until after Send returns without error.
9249//
9250// See DescribeLabelingJob for more information on using the DescribeLabelingJob
9251// API call, and error handling.
9252//
9253// This method is useful when you want to inject custom logic or configuration
9254// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9255//
9256//
9257//    // Example sending a request using the DescribeLabelingJobRequest method.
9258//    req, resp := client.DescribeLabelingJobRequest(params)
9259//
9260//    err := req.Send()
9261//    if err == nil { // resp is now filled
9262//        fmt.Println(resp)
9263//    }
9264//
9265// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeLabelingJob
9266func (c *SageMaker) DescribeLabelingJobRequest(input *DescribeLabelingJobInput) (req *request.Request, output *DescribeLabelingJobOutput) {
9267	op := &request.Operation{
9268		Name:       opDescribeLabelingJob,
9269		HTTPMethod: "POST",
9270		HTTPPath:   "/",
9271	}
9272
9273	if input == nil {
9274		input = &DescribeLabelingJobInput{}
9275	}
9276
9277	output = &DescribeLabelingJobOutput{}
9278	req = c.newRequest(op, input, output)
9279	return
9280}
9281
9282// DescribeLabelingJob API operation for Amazon SageMaker Service.
9283//
9284// Gets information about a labeling job.
9285//
9286// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9287// with awserr.Error's Code and Message methods to get detailed information about
9288// the error.
9289//
9290// See the AWS API reference guide for Amazon SageMaker Service's
9291// API operation DescribeLabelingJob for usage and error information.
9292//
9293// Returned Error Types:
9294//   * ResourceNotFound
9295//   Resource being access is not found.
9296//
9297// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeLabelingJob
9298func (c *SageMaker) DescribeLabelingJob(input *DescribeLabelingJobInput) (*DescribeLabelingJobOutput, error) {
9299	req, out := c.DescribeLabelingJobRequest(input)
9300	return out, req.Send()
9301}
9302
9303// DescribeLabelingJobWithContext is the same as DescribeLabelingJob with the addition of
9304// the ability to pass a context and additional request options.
9305//
9306// See DescribeLabelingJob for details on how to use this API operation.
9307//
9308// The context must be non-nil and will be used for request cancellation. If
9309// the context is nil a panic will occur. In the future the SDK may create
9310// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9311// for more information on using Contexts.
9312func (c *SageMaker) DescribeLabelingJobWithContext(ctx aws.Context, input *DescribeLabelingJobInput, opts ...request.Option) (*DescribeLabelingJobOutput, error) {
9313	req, out := c.DescribeLabelingJobRequest(input)
9314	req.SetContext(ctx)
9315	req.ApplyOptions(opts...)
9316	return out, req.Send()
9317}
9318
9319const opDescribeModel = "DescribeModel"
9320
9321// DescribeModelRequest generates a "aws/request.Request" representing the
9322// client's request for the DescribeModel operation. The "output" return
9323// value will be populated with the request's response once the request completes
9324// successfully.
9325//
9326// Use "Send" method on the returned Request to send the API call to the service.
9327// the "output" return value is not valid until after Send returns without error.
9328//
9329// See DescribeModel for more information on using the DescribeModel
9330// API call, and error handling.
9331//
9332// This method is useful when you want to inject custom logic or configuration
9333// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9334//
9335//
9336//    // Example sending a request using the DescribeModelRequest method.
9337//    req, resp := client.DescribeModelRequest(params)
9338//
9339//    err := req.Send()
9340//    if err == nil { // resp is now filled
9341//        fmt.Println(resp)
9342//    }
9343//
9344// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModel
9345func (c *SageMaker) DescribeModelRequest(input *DescribeModelInput) (req *request.Request, output *DescribeModelOutput) {
9346	op := &request.Operation{
9347		Name:       opDescribeModel,
9348		HTTPMethod: "POST",
9349		HTTPPath:   "/",
9350	}
9351
9352	if input == nil {
9353		input = &DescribeModelInput{}
9354	}
9355
9356	output = &DescribeModelOutput{}
9357	req = c.newRequest(op, input, output)
9358	return
9359}
9360
9361// DescribeModel API operation for Amazon SageMaker Service.
9362//
9363// Describes a model that you created using the CreateModel API.
9364//
9365// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9366// with awserr.Error's Code and Message methods to get detailed information about
9367// the error.
9368//
9369// See the AWS API reference guide for Amazon SageMaker Service's
9370// API operation DescribeModel for usage and error information.
9371// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModel
9372func (c *SageMaker) DescribeModel(input *DescribeModelInput) (*DescribeModelOutput, error) {
9373	req, out := c.DescribeModelRequest(input)
9374	return out, req.Send()
9375}
9376
9377// DescribeModelWithContext is the same as DescribeModel with the addition of
9378// the ability to pass a context and additional request options.
9379//
9380// See DescribeModel for details on how to use this API operation.
9381//
9382// The context must be non-nil and will be used for request cancellation. If
9383// the context is nil a panic will occur. In the future the SDK may create
9384// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9385// for more information on using Contexts.
9386func (c *SageMaker) DescribeModelWithContext(ctx aws.Context, input *DescribeModelInput, opts ...request.Option) (*DescribeModelOutput, error) {
9387	req, out := c.DescribeModelRequest(input)
9388	req.SetContext(ctx)
9389	req.ApplyOptions(opts...)
9390	return out, req.Send()
9391}
9392
9393const opDescribeModelBiasJobDefinition = "DescribeModelBiasJobDefinition"
9394
9395// DescribeModelBiasJobDefinitionRequest generates a "aws/request.Request" representing the
9396// client's request for the DescribeModelBiasJobDefinition operation. The "output" return
9397// value will be populated with the request's response once the request completes
9398// successfully.
9399//
9400// Use "Send" method on the returned Request to send the API call to the service.
9401// the "output" return value is not valid until after Send returns without error.
9402//
9403// See DescribeModelBiasJobDefinition for more information on using the DescribeModelBiasJobDefinition
9404// API call, and error handling.
9405//
9406// This method is useful when you want to inject custom logic or configuration
9407// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9408//
9409//
9410//    // Example sending a request using the DescribeModelBiasJobDefinitionRequest method.
9411//    req, resp := client.DescribeModelBiasJobDefinitionRequest(params)
9412//
9413//    err := req.Send()
9414//    if err == nil { // resp is now filled
9415//        fmt.Println(resp)
9416//    }
9417//
9418// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelBiasJobDefinition
9419func (c *SageMaker) DescribeModelBiasJobDefinitionRequest(input *DescribeModelBiasJobDefinitionInput) (req *request.Request, output *DescribeModelBiasJobDefinitionOutput) {
9420	op := &request.Operation{
9421		Name:       opDescribeModelBiasJobDefinition,
9422		HTTPMethod: "POST",
9423		HTTPPath:   "/",
9424	}
9425
9426	if input == nil {
9427		input = &DescribeModelBiasJobDefinitionInput{}
9428	}
9429
9430	output = &DescribeModelBiasJobDefinitionOutput{}
9431	req = c.newRequest(op, input, output)
9432	return
9433}
9434
9435// DescribeModelBiasJobDefinition API operation for Amazon SageMaker Service.
9436//
9437// Returns a description of a model bias job definition.
9438//
9439// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9440// with awserr.Error's Code and Message methods to get detailed information about
9441// the error.
9442//
9443// See the AWS API reference guide for Amazon SageMaker Service's
9444// API operation DescribeModelBiasJobDefinition for usage and error information.
9445//
9446// Returned Error Types:
9447//   * ResourceNotFound
9448//   Resource being access is not found.
9449//
9450// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelBiasJobDefinition
9451func (c *SageMaker) DescribeModelBiasJobDefinition(input *DescribeModelBiasJobDefinitionInput) (*DescribeModelBiasJobDefinitionOutput, error) {
9452	req, out := c.DescribeModelBiasJobDefinitionRequest(input)
9453	return out, req.Send()
9454}
9455
9456// DescribeModelBiasJobDefinitionWithContext is the same as DescribeModelBiasJobDefinition with the addition of
9457// the ability to pass a context and additional request options.
9458//
9459// See DescribeModelBiasJobDefinition for details on how to use this API operation.
9460//
9461// The context must be non-nil and will be used for request cancellation. If
9462// the context is nil a panic will occur. In the future the SDK may create
9463// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9464// for more information on using Contexts.
9465func (c *SageMaker) DescribeModelBiasJobDefinitionWithContext(ctx aws.Context, input *DescribeModelBiasJobDefinitionInput, opts ...request.Option) (*DescribeModelBiasJobDefinitionOutput, error) {
9466	req, out := c.DescribeModelBiasJobDefinitionRequest(input)
9467	req.SetContext(ctx)
9468	req.ApplyOptions(opts...)
9469	return out, req.Send()
9470}
9471
9472const opDescribeModelExplainabilityJobDefinition = "DescribeModelExplainabilityJobDefinition"
9473
9474// DescribeModelExplainabilityJobDefinitionRequest generates a "aws/request.Request" representing the
9475// client's request for the DescribeModelExplainabilityJobDefinition operation. The "output" return
9476// value will be populated with the request's response once the request completes
9477// successfully.
9478//
9479// Use "Send" method on the returned Request to send the API call to the service.
9480// the "output" return value is not valid until after Send returns without error.
9481//
9482// See DescribeModelExplainabilityJobDefinition for more information on using the DescribeModelExplainabilityJobDefinition
9483// API call, and error handling.
9484//
9485// This method is useful when you want to inject custom logic or configuration
9486// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9487//
9488//
9489//    // Example sending a request using the DescribeModelExplainabilityJobDefinitionRequest method.
9490//    req, resp := client.DescribeModelExplainabilityJobDefinitionRequest(params)
9491//
9492//    err := req.Send()
9493//    if err == nil { // resp is now filled
9494//        fmt.Println(resp)
9495//    }
9496//
9497// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelExplainabilityJobDefinition
9498func (c *SageMaker) DescribeModelExplainabilityJobDefinitionRequest(input *DescribeModelExplainabilityJobDefinitionInput) (req *request.Request, output *DescribeModelExplainabilityJobDefinitionOutput) {
9499	op := &request.Operation{
9500		Name:       opDescribeModelExplainabilityJobDefinition,
9501		HTTPMethod: "POST",
9502		HTTPPath:   "/",
9503	}
9504
9505	if input == nil {
9506		input = &DescribeModelExplainabilityJobDefinitionInput{}
9507	}
9508
9509	output = &DescribeModelExplainabilityJobDefinitionOutput{}
9510	req = c.newRequest(op, input, output)
9511	return
9512}
9513
9514// DescribeModelExplainabilityJobDefinition API operation for Amazon SageMaker Service.
9515//
9516// Returns a description of a model explainability job definition.
9517//
9518// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9519// with awserr.Error's Code and Message methods to get detailed information about
9520// the error.
9521//
9522// See the AWS API reference guide for Amazon SageMaker Service's
9523// API operation DescribeModelExplainabilityJobDefinition for usage and error information.
9524//
9525// Returned Error Types:
9526//   * ResourceNotFound
9527//   Resource being access is not found.
9528//
9529// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelExplainabilityJobDefinition
9530func (c *SageMaker) DescribeModelExplainabilityJobDefinition(input *DescribeModelExplainabilityJobDefinitionInput) (*DescribeModelExplainabilityJobDefinitionOutput, error) {
9531	req, out := c.DescribeModelExplainabilityJobDefinitionRequest(input)
9532	return out, req.Send()
9533}
9534
9535// DescribeModelExplainabilityJobDefinitionWithContext is the same as DescribeModelExplainabilityJobDefinition with the addition of
9536// the ability to pass a context and additional request options.
9537//
9538// See DescribeModelExplainabilityJobDefinition for details on how to use this API operation.
9539//
9540// The context must be non-nil and will be used for request cancellation. If
9541// the context is nil a panic will occur. In the future the SDK may create
9542// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9543// for more information on using Contexts.
9544func (c *SageMaker) DescribeModelExplainabilityJobDefinitionWithContext(ctx aws.Context, input *DescribeModelExplainabilityJobDefinitionInput, opts ...request.Option) (*DescribeModelExplainabilityJobDefinitionOutput, error) {
9545	req, out := c.DescribeModelExplainabilityJobDefinitionRequest(input)
9546	req.SetContext(ctx)
9547	req.ApplyOptions(opts...)
9548	return out, req.Send()
9549}
9550
9551const opDescribeModelPackage = "DescribeModelPackage"
9552
9553// DescribeModelPackageRequest generates a "aws/request.Request" representing the
9554// client's request for the DescribeModelPackage operation. The "output" return
9555// value will be populated with the request's response once the request completes
9556// successfully.
9557//
9558// Use "Send" method on the returned Request to send the API call to the service.
9559// the "output" return value is not valid until after Send returns without error.
9560//
9561// See DescribeModelPackage for more information on using the DescribeModelPackage
9562// API call, and error handling.
9563//
9564// This method is useful when you want to inject custom logic or configuration
9565// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9566//
9567//
9568//    // Example sending a request using the DescribeModelPackageRequest method.
9569//    req, resp := client.DescribeModelPackageRequest(params)
9570//
9571//    err := req.Send()
9572//    if err == nil { // resp is now filled
9573//        fmt.Println(resp)
9574//    }
9575//
9576// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelPackage
9577func (c *SageMaker) DescribeModelPackageRequest(input *DescribeModelPackageInput) (req *request.Request, output *DescribeModelPackageOutput) {
9578	op := &request.Operation{
9579		Name:       opDescribeModelPackage,
9580		HTTPMethod: "POST",
9581		HTTPPath:   "/",
9582	}
9583
9584	if input == nil {
9585		input = &DescribeModelPackageInput{}
9586	}
9587
9588	output = &DescribeModelPackageOutput{}
9589	req = c.newRequest(op, input, output)
9590	return
9591}
9592
9593// DescribeModelPackage API operation for Amazon SageMaker Service.
9594//
9595// Returns a description of the specified model package, which is used to create
9596// Amazon SageMaker models or list them on AWS Marketplace.
9597//
9598// To create models in Amazon SageMaker, buyers can subscribe to model packages
9599// listed on AWS Marketplace.
9600//
9601// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9602// with awserr.Error's Code and Message methods to get detailed information about
9603// the error.
9604//
9605// See the AWS API reference guide for Amazon SageMaker Service's
9606// API operation DescribeModelPackage for usage and error information.
9607// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelPackage
9608func (c *SageMaker) DescribeModelPackage(input *DescribeModelPackageInput) (*DescribeModelPackageOutput, error) {
9609	req, out := c.DescribeModelPackageRequest(input)
9610	return out, req.Send()
9611}
9612
9613// DescribeModelPackageWithContext is the same as DescribeModelPackage with the addition of
9614// the ability to pass a context and additional request options.
9615//
9616// See DescribeModelPackage for details on how to use this API operation.
9617//
9618// The context must be non-nil and will be used for request cancellation. If
9619// the context is nil a panic will occur. In the future the SDK may create
9620// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9621// for more information on using Contexts.
9622func (c *SageMaker) DescribeModelPackageWithContext(ctx aws.Context, input *DescribeModelPackageInput, opts ...request.Option) (*DescribeModelPackageOutput, error) {
9623	req, out := c.DescribeModelPackageRequest(input)
9624	req.SetContext(ctx)
9625	req.ApplyOptions(opts...)
9626	return out, req.Send()
9627}
9628
9629const opDescribeModelPackageGroup = "DescribeModelPackageGroup"
9630
9631// DescribeModelPackageGroupRequest generates a "aws/request.Request" representing the
9632// client's request for the DescribeModelPackageGroup operation. The "output" return
9633// value will be populated with the request's response once the request completes
9634// successfully.
9635//
9636// Use "Send" method on the returned Request to send the API call to the service.
9637// the "output" return value is not valid until after Send returns without error.
9638//
9639// See DescribeModelPackageGroup for more information on using the DescribeModelPackageGroup
9640// API call, and error handling.
9641//
9642// This method is useful when you want to inject custom logic or configuration
9643// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9644//
9645//
9646//    // Example sending a request using the DescribeModelPackageGroupRequest method.
9647//    req, resp := client.DescribeModelPackageGroupRequest(params)
9648//
9649//    err := req.Send()
9650//    if err == nil { // resp is now filled
9651//        fmt.Println(resp)
9652//    }
9653//
9654// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelPackageGroup
9655func (c *SageMaker) DescribeModelPackageGroupRequest(input *DescribeModelPackageGroupInput) (req *request.Request, output *DescribeModelPackageGroupOutput) {
9656	op := &request.Operation{
9657		Name:       opDescribeModelPackageGroup,
9658		HTTPMethod: "POST",
9659		HTTPPath:   "/",
9660	}
9661
9662	if input == nil {
9663		input = &DescribeModelPackageGroupInput{}
9664	}
9665
9666	output = &DescribeModelPackageGroupOutput{}
9667	req = c.newRequest(op, input, output)
9668	return
9669}
9670
9671// DescribeModelPackageGroup API operation for Amazon SageMaker Service.
9672//
9673// Gets a description for the specified model group.
9674//
9675// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9676// with awserr.Error's Code and Message methods to get detailed information about
9677// the error.
9678//
9679// See the AWS API reference guide for Amazon SageMaker Service's
9680// API operation DescribeModelPackageGroup for usage and error information.
9681// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelPackageGroup
9682func (c *SageMaker) DescribeModelPackageGroup(input *DescribeModelPackageGroupInput) (*DescribeModelPackageGroupOutput, error) {
9683	req, out := c.DescribeModelPackageGroupRequest(input)
9684	return out, req.Send()
9685}
9686
9687// DescribeModelPackageGroupWithContext is the same as DescribeModelPackageGroup with the addition of
9688// the ability to pass a context and additional request options.
9689//
9690// See DescribeModelPackageGroup for details on how to use this API operation.
9691//
9692// The context must be non-nil and will be used for request cancellation. If
9693// the context is nil a panic will occur. In the future the SDK may create
9694// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9695// for more information on using Contexts.
9696func (c *SageMaker) DescribeModelPackageGroupWithContext(ctx aws.Context, input *DescribeModelPackageGroupInput, opts ...request.Option) (*DescribeModelPackageGroupOutput, error) {
9697	req, out := c.DescribeModelPackageGroupRequest(input)
9698	req.SetContext(ctx)
9699	req.ApplyOptions(opts...)
9700	return out, req.Send()
9701}
9702
9703const opDescribeModelQualityJobDefinition = "DescribeModelQualityJobDefinition"
9704
9705// DescribeModelQualityJobDefinitionRequest generates a "aws/request.Request" representing the
9706// client's request for the DescribeModelQualityJobDefinition operation. The "output" return
9707// value will be populated with the request's response once the request completes
9708// successfully.
9709//
9710// Use "Send" method on the returned Request to send the API call to the service.
9711// the "output" return value is not valid until after Send returns without error.
9712//
9713// See DescribeModelQualityJobDefinition for more information on using the DescribeModelQualityJobDefinition
9714// API call, and error handling.
9715//
9716// This method is useful when you want to inject custom logic or configuration
9717// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9718//
9719//
9720//    // Example sending a request using the DescribeModelQualityJobDefinitionRequest method.
9721//    req, resp := client.DescribeModelQualityJobDefinitionRequest(params)
9722//
9723//    err := req.Send()
9724//    if err == nil { // resp is now filled
9725//        fmt.Println(resp)
9726//    }
9727//
9728// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelQualityJobDefinition
9729func (c *SageMaker) DescribeModelQualityJobDefinitionRequest(input *DescribeModelQualityJobDefinitionInput) (req *request.Request, output *DescribeModelQualityJobDefinitionOutput) {
9730	op := &request.Operation{
9731		Name:       opDescribeModelQualityJobDefinition,
9732		HTTPMethod: "POST",
9733		HTTPPath:   "/",
9734	}
9735
9736	if input == nil {
9737		input = &DescribeModelQualityJobDefinitionInput{}
9738	}
9739
9740	output = &DescribeModelQualityJobDefinitionOutput{}
9741	req = c.newRequest(op, input, output)
9742	return
9743}
9744
9745// DescribeModelQualityJobDefinition API operation for Amazon SageMaker Service.
9746//
9747// Returns a description of a model quality job definition.
9748//
9749// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9750// with awserr.Error's Code and Message methods to get detailed information about
9751// the error.
9752//
9753// See the AWS API reference guide for Amazon SageMaker Service's
9754// API operation DescribeModelQualityJobDefinition for usage and error information.
9755//
9756// Returned Error Types:
9757//   * ResourceNotFound
9758//   Resource being access is not found.
9759//
9760// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelQualityJobDefinition
9761func (c *SageMaker) DescribeModelQualityJobDefinition(input *DescribeModelQualityJobDefinitionInput) (*DescribeModelQualityJobDefinitionOutput, error) {
9762	req, out := c.DescribeModelQualityJobDefinitionRequest(input)
9763	return out, req.Send()
9764}
9765
9766// DescribeModelQualityJobDefinitionWithContext is the same as DescribeModelQualityJobDefinition with the addition of
9767// the ability to pass a context and additional request options.
9768//
9769// See DescribeModelQualityJobDefinition for details on how to use this API operation.
9770//
9771// The context must be non-nil and will be used for request cancellation. If
9772// the context is nil a panic will occur. In the future the SDK may create
9773// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9774// for more information on using Contexts.
9775func (c *SageMaker) DescribeModelQualityJobDefinitionWithContext(ctx aws.Context, input *DescribeModelQualityJobDefinitionInput, opts ...request.Option) (*DescribeModelQualityJobDefinitionOutput, error) {
9776	req, out := c.DescribeModelQualityJobDefinitionRequest(input)
9777	req.SetContext(ctx)
9778	req.ApplyOptions(opts...)
9779	return out, req.Send()
9780}
9781
9782const opDescribeMonitoringSchedule = "DescribeMonitoringSchedule"
9783
9784// DescribeMonitoringScheduleRequest generates a "aws/request.Request" representing the
9785// client's request for the DescribeMonitoringSchedule operation. The "output" return
9786// value will be populated with the request's response once the request completes
9787// successfully.
9788//
9789// Use "Send" method on the returned Request to send the API call to the service.
9790// the "output" return value is not valid until after Send returns without error.
9791//
9792// See DescribeMonitoringSchedule for more information on using the DescribeMonitoringSchedule
9793// API call, and error handling.
9794//
9795// This method is useful when you want to inject custom logic or configuration
9796// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9797//
9798//
9799//    // Example sending a request using the DescribeMonitoringScheduleRequest method.
9800//    req, resp := client.DescribeMonitoringScheduleRequest(params)
9801//
9802//    err := req.Send()
9803//    if err == nil { // resp is now filled
9804//        fmt.Println(resp)
9805//    }
9806//
9807// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeMonitoringSchedule
9808func (c *SageMaker) DescribeMonitoringScheduleRequest(input *DescribeMonitoringScheduleInput) (req *request.Request, output *DescribeMonitoringScheduleOutput) {
9809	op := &request.Operation{
9810		Name:       opDescribeMonitoringSchedule,
9811		HTTPMethod: "POST",
9812		HTTPPath:   "/",
9813	}
9814
9815	if input == nil {
9816		input = &DescribeMonitoringScheduleInput{}
9817	}
9818
9819	output = &DescribeMonitoringScheduleOutput{}
9820	req = c.newRequest(op, input, output)
9821	return
9822}
9823
9824// DescribeMonitoringSchedule API operation for Amazon SageMaker Service.
9825//
9826// Describes the schedule for a monitoring job.
9827//
9828// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9829// with awserr.Error's Code and Message methods to get detailed information about
9830// the error.
9831//
9832// See the AWS API reference guide for Amazon SageMaker Service's
9833// API operation DescribeMonitoringSchedule for usage and error information.
9834//
9835// Returned Error Types:
9836//   * ResourceNotFound
9837//   Resource being access is not found.
9838//
9839// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeMonitoringSchedule
9840func (c *SageMaker) DescribeMonitoringSchedule(input *DescribeMonitoringScheduleInput) (*DescribeMonitoringScheduleOutput, error) {
9841	req, out := c.DescribeMonitoringScheduleRequest(input)
9842	return out, req.Send()
9843}
9844
9845// DescribeMonitoringScheduleWithContext is the same as DescribeMonitoringSchedule with the addition of
9846// the ability to pass a context and additional request options.
9847//
9848// See DescribeMonitoringSchedule for details on how to use this API operation.
9849//
9850// The context must be non-nil and will be used for request cancellation. If
9851// the context is nil a panic will occur. In the future the SDK may create
9852// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9853// for more information on using Contexts.
9854func (c *SageMaker) DescribeMonitoringScheduleWithContext(ctx aws.Context, input *DescribeMonitoringScheduleInput, opts ...request.Option) (*DescribeMonitoringScheduleOutput, error) {
9855	req, out := c.DescribeMonitoringScheduleRequest(input)
9856	req.SetContext(ctx)
9857	req.ApplyOptions(opts...)
9858	return out, req.Send()
9859}
9860
9861const opDescribeNotebookInstance = "DescribeNotebookInstance"
9862
9863// DescribeNotebookInstanceRequest generates a "aws/request.Request" representing the
9864// client's request for the DescribeNotebookInstance operation. The "output" return
9865// value will be populated with the request's response once the request completes
9866// successfully.
9867//
9868// Use "Send" method on the returned Request to send the API call to the service.
9869// the "output" return value is not valid until after Send returns without error.
9870//
9871// See DescribeNotebookInstance for more information on using the DescribeNotebookInstance
9872// API call, and error handling.
9873//
9874// This method is useful when you want to inject custom logic or configuration
9875// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9876//
9877//
9878//    // Example sending a request using the DescribeNotebookInstanceRequest method.
9879//    req, resp := client.DescribeNotebookInstanceRequest(params)
9880//
9881//    err := req.Send()
9882//    if err == nil { // resp is now filled
9883//        fmt.Println(resp)
9884//    }
9885//
9886// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeNotebookInstance
9887func (c *SageMaker) DescribeNotebookInstanceRequest(input *DescribeNotebookInstanceInput) (req *request.Request, output *DescribeNotebookInstanceOutput) {
9888	op := &request.Operation{
9889		Name:       opDescribeNotebookInstance,
9890		HTTPMethod: "POST",
9891		HTTPPath:   "/",
9892	}
9893
9894	if input == nil {
9895		input = &DescribeNotebookInstanceInput{}
9896	}
9897
9898	output = &DescribeNotebookInstanceOutput{}
9899	req = c.newRequest(op, input, output)
9900	return
9901}
9902
9903// DescribeNotebookInstance API operation for Amazon SageMaker Service.
9904//
9905// Returns information about a notebook instance.
9906//
9907// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9908// with awserr.Error's Code and Message methods to get detailed information about
9909// the error.
9910//
9911// See the AWS API reference guide for Amazon SageMaker Service's
9912// API operation DescribeNotebookInstance for usage and error information.
9913// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeNotebookInstance
9914func (c *SageMaker) DescribeNotebookInstance(input *DescribeNotebookInstanceInput) (*DescribeNotebookInstanceOutput, error) {
9915	req, out := c.DescribeNotebookInstanceRequest(input)
9916	return out, req.Send()
9917}
9918
9919// DescribeNotebookInstanceWithContext is the same as DescribeNotebookInstance with the addition of
9920// the ability to pass a context and additional request options.
9921//
9922// See DescribeNotebookInstance for details on how to use this API operation.
9923//
9924// The context must be non-nil and will be used for request cancellation. If
9925// the context is nil a panic will occur. In the future the SDK may create
9926// sub-contexts for http.Requests. See https://golang.org/pkg/context/
9927// for more information on using Contexts.
9928func (c *SageMaker) DescribeNotebookInstanceWithContext(ctx aws.Context, input *DescribeNotebookInstanceInput, opts ...request.Option) (*DescribeNotebookInstanceOutput, error) {
9929	req, out := c.DescribeNotebookInstanceRequest(input)
9930	req.SetContext(ctx)
9931	req.ApplyOptions(opts...)
9932	return out, req.Send()
9933}
9934
9935const opDescribeNotebookInstanceLifecycleConfig = "DescribeNotebookInstanceLifecycleConfig"
9936
9937// DescribeNotebookInstanceLifecycleConfigRequest generates a "aws/request.Request" representing the
9938// client's request for the DescribeNotebookInstanceLifecycleConfig operation. The "output" return
9939// value will be populated with the request's response once the request completes
9940// successfully.
9941//
9942// Use "Send" method on the returned Request to send the API call to the service.
9943// the "output" return value is not valid until after Send returns without error.
9944//
9945// See DescribeNotebookInstanceLifecycleConfig for more information on using the DescribeNotebookInstanceLifecycleConfig
9946// API call, and error handling.
9947//
9948// This method is useful when you want to inject custom logic or configuration
9949// into the SDK's request lifecycle. Such as custom headers, or retry logic.
9950//
9951//
9952//    // Example sending a request using the DescribeNotebookInstanceLifecycleConfigRequest method.
9953//    req, resp := client.DescribeNotebookInstanceLifecycleConfigRequest(params)
9954//
9955//    err := req.Send()
9956//    if err == nil { // resp is now filled
9957//        fmt.Println(resp)
9958//    }
9959//
9960// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeNotebookInstanceLifecycleConfig
9961func (c *SageMaker) DescribeNotebookInstanceLifecycleConfigRequest(input *DescribeNotebookInstanceLifecycleConfigInput) (req *request.Request, output *DescribeNotebookInstanceLifecycleConfigOutput) {
9962	op := &request.Operation{
9963		Name:       opDescribeNotebookInstanceLifecycleConfig,
9964		HTTPMethod: "POST",
9965		HTTPPath:   "/",
9966	}
9967
9968	if input == nil {
9969		input = &DescribeNotebookInstanceLifecycleConfigInput{}
9970	}
9971
9972	output = &DescribeNotebookInstanceLifecycleConfigOutput{}
9973	req = c.newRequest(op, input, output)
9974	return
9975}
9976
9977// DescribeNotebookInstanceLifecycleConfig API operation for Amazon SageMaker Service.
9978//
9979// Returns a description of a notebook instance lifecycle configuration.
9980//
9981// For information about notebook instance lifestyle configurations, see Step
9982// 2.1: (Optional) Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html).
9983//
9984// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
9985// with awserr.Error's Code and Message methods to get detailed information about
9986// the error.
9987//
9988// See the AWS API reference guide for Amazon SageMaker Service's
9989// API operation DescribeNotebookInstanceLifecycleConfig for usage and error information.
9990// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeNotebookInstanceLifecycleConfig
9991func (c *SageMaker) DescribeNotebookInstanceLifecycleConfig(input *DescribeNotebookInstanceLifecycleConfigInput) (*DescribeNotebookInstanceLifecycleConfigOutput, error) {
9992	req, out := c.DescribeNotebookInstanceLifecycleConfigRequest(input)
9993	return out, req.Send()
9994}
9995
9996// DescribeNotebookInstanceLifecycleConfigWithContext is the same as DescribeNotebookInstanceLifecycleConfig with the addition of
9997// the ability to pass a context and additional request options.
9998//
9999// See DescribeNotebookInstanceLifecycleConfig for details on how to use this API operation.
10000//
10001// The context must be non-nil and will be used for request cancellation. If
10002// the context is nil a panic will occur. In the future the SDK may create
10003// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10004// for more information on using Contexts.
10005func (c *SageMaker) DescribeNotebookInstanceLifecycleConfigWithContext(ctx aws.Context, input *DescribeNotebookInstanceLifecycleConfigInput, opts ...request.Option) (*DescribeNotebookInstanceLifecycleConfigOutput, error) {
10006	req, out := c.DescribeNotebookInstanceLifecycleConfigRequest(input)
10007	req.SetContext(ctx)
10008	req.ApplyOptions(opts...)
10009	return out, req.Send()
10010}
10011
10012const opDescribePipeline = "DescribePipeline"
10013
10014// DescribePipelineRequest generates a "aws/request.Request" representing the
10015// client's request for the DescribePipeline operation. The "output" return
10016// value will be populated with the request's response once the request completes
10017// successfully.
10018//
10019// Use "Send" method on the returned Request to send the API call to the service.
10020// the "output" return value is not valid until after Send returns without error.
10021//
10022// See DescribePipeline for more information on using the DescribePipeline
10023// API call, and error handling.
10024//
10025// This method is useful when you want to inject custom logic or configuration
10026// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10027//
10028//
10029//    // Example sending a request using the DescribePipelineRequest method.
10030//    req, resp := client.DescribePipelineRequest(params)
10031//
10032//    err := req.Send()
10033//    if err == nil { // resp is now filled
10034//        fmt.Println(resp)
10035//    }
10036//
10037// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribePipeline
10038func (c *SageMaker) DescribePipelineRequest(input *DescribePipelineInput) (req *request.Request, output *DescribePipelineOutput) {
10039	op := &request.Operation{
10040		Name:       opDescribePipeline,
10041		HTTPMethod: "POST",
10042		HTTPPath:   "/",
10043	}
10044
10045	if input == nil {
10046		input = &DescribePipelineInput{}
10047	}
10048
10049	output = &DescribePipelineOutput{}
10050	req = c.newRequest(op, input, output)
10051	return
10052}
10053
10054// DescribePipeline API operation for Amazon SageMaker Service.
10055//
10056// Describes the details of a pipeline.
10057//
10058// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10059// with awserr.Error's Code and Message methods to get detailed information about
10060// the error.
10061//
10062// See the AWS API reference guide for Amazon SageMaker Service's
10063// API operation DescribePipeline for usage and error information.
10064//
10065// Returned Error Types:
10066//   * ResourceNotFound
10067//   Resource being access is not found.
10068//
10069// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribePipeline
10070func (c *SageMaker) DescribePipeline(input *DescribePipelineInput) (*DescribePipelineOutput, error) {
10071	req, out := c.DescribePipelineRequest(input)
10072	return out, req.Send()
10073}
10074
10075// DescribePipelineWithContext is the same as DescribePipeline with the addition of
10076// the ability to pass a context and additional request options.
10077//
10078// See DescribePipeline for details on how to use this API operation.
10079//
10080// The context must be non-nil and will be used for request cancellation. If
10081// the context is nil a panic will occur. In the future the SDK may create
10082// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10083// for more information on using Contexts.
10084func (c *SageMaker) DescribePipelineWithContext(ctx aws.Context, input *DescribePipelineInput, opts ...request.Option) (*DescribePipelineOutput, error) {
10085	req, out := c.DescribePipelineRequest(input)
10086	req.SetContext(ctx)
10087	req.ApplyOptions(opts...)
10088	return out, req.Send()
10089}
10090
10091const opDescribePipelineDefinitionForExecution = "DescribePipelineDefinitionForExecution"
10092
10093// DescribePipelineDefinitionForExecutionRequest generates a "aws/request.Request" representing the
10094// client's request for the DescribePipelineDefinitionForExecution operation. The "output" return
10095// value will be populated with the request's response once the request completes
10096// successfully.
10097//
10098// Use "Send" method on the returned Request to send the API call to the service.
10099// the "output" return value is not valid until after Send returns without error.
10100//
10101// See DescribePipelineDefinitionForExecution for more information on using the DescribePipelineDefinitionForExecution
10102// API call, and error handling.
10103//
10104// This method is useful when you want to inject custom logic or configuration
10105// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10106//
10107//
10108//    // Example sending a request using the DescribePipelineDefinitionForExecutionRequest method.
10109//    req, resp := client.DescribePipelineDefinitionForExecutionRequest(params)
10110//
10111//    err := req.Send()
10112//    if err == nil { // resp is now filled
10113//        fmt.Println(resp)
10114//    }
10115//
10116// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribePipelineDefinitionForExecution
10117func (c *SageMaker) DescribePipelineDefinitionForExecutionRequest(input *DescribePipelineDefinitionForExecutionInput) (req *request.Request, output *DescribePipelineDefinitionForExecutionOutput) {
10118	op := &request.Operation{
10119		Name:       opDescribePipelineDefinitionForExecution,
10120		HTTPMethod: "POST",
10121		HTTPPath:   "/",
10122	}
10123
10124	if input == nil {
10125		input = &DescribePipelineDefinitionForExecutionInput{}
10126	}
10127
10128	output = &DescribePipelineDefinitionForExecutionOutput{}
10129	req = c.newRequest(op, input, output)
10130	return
10131}
10132
10133// DescribePipelineDefinitionForExecution API operation for Amazon SageMaker Service.
10134//
10135// Describes the details of an execution's pipeline definition.
10136//
10137// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10138// with awserr.Error's Code and Message methods to get detailed information about
10139// the error.
10140//
10141// See the AWS API reference guide for Amazon SageMaker Service's
10142// API operation DescribePipelineDefinitionForExecution for usage and error information.
10143//
10144// Returned Error Types:
10145//   * ResourceNotFound
10146//   Resource being access is not found.
10147//
10148// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribePipelineDefinitionForExecution
10149func (c *SageMaker) DescribePipelineDefinitionForExecution(input *DescribePipelineDefinitionForExecutionInput) (*DescribePipelineDefinitionForExecutionOutput, error) {
10150	req, out := c.DescribePipelineDefinitionForExecutionRequest(input)
10151	return out, req.Send()
10152}
10153
10154// DescribePipelineDefinitionForExecutionWithContext is the same as DescribePipelineDefinitionForExecution with the addition of
10155// the ability to pass a context and additional request options.
10156//
10157// See DescribePipelineDefinitionForExecution for details on how to use this API operation.
10158//
10159// The context must be non-nil and will be used for request cancellation. If
10160// the context is nil a panic will occur. In the future the SDK may create
10161// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10162// for more information on using Contexts.
10163func (c *SageMaker) DescribePipelineDefinitionForExecutionWithContext(ctx aws.Context, input *DescribePipelineDefinitionForExecutionInput, opts ...request.Option) (*DescribePipelineDefinitionForExecutionOutput, error) {
10164	req, out := c.DescribePipelineDefinitionForExecutionRequest(input)
10165	req.SetContext(ctx)
10166	req.ApplyOptions(opts...)
10167	return out, req.Send()
10168}
10169
10170const opDescribePipelineExecution = "DescribePipelineExecution"
10171
10172// DescribePipelineExecutionRequest generates a "aws/request.Request" representing the
10173// client's request for the DescribePipelineExecution operation. The "output" return
10174// value will be populated with the request's response once the request completes
10175// successfully.
10176//
10177// Use "Send" method on the returned Request to send the API call to the service.
10178// the "output" return value is not valid until after Send returns without error.
10179//
10180// See DescribePipelineExecution for more information on using the DescribePipelineExecution
10181// API call, and error handling.
10182//
10183// This method is useful when you want to inject custom logic or configuration
10184// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10185//
10186//
10187//    // Example sending a request using the DescribePipelineExecutionRequest method.
10188//    req, resp := client.DescribePipelineExecutionRequest(params)
10189//
10190//    err := req.Send()
10191//    if err == nil { // resp is now filled
10192//        fmt.Println(resp)
10193//    }
10194//
10195// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribePipelineExecution
10196func (c *SageMaker) DescribePipelineExecutionRequest(input *DescribePipelineExecutionInput) (req *request.Request, output *DescribePipelineExecutionOutput) {
10197	op := &request.Operation{
10198		Name:       opDescribePipelineExecution,
10199		HTTPMethod: "POST",
10200		HTTPPath:   "/",
10201	}
10202
10203	if input == nil {
10204		input = &DescribePipelineExecutionInput{}
10205	}
10206
10207	output = &DescribePipelineExecutionOutput{}
10208	req = c.newRequest(op, input, output)
10209	return
10210}
10211
10212// DescribePipelineExecution API operation for Amazon SageMaker Service.
10213//
10214// Describes the details of a pipeline execution.
10215//
10216// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10217// with awserr.Error's Code and Message methods to get detailed information about
10218// the error.
10219//
10220// See the AWS API reference guide for Amazon SageMaker Service's
10221// API operation DescribePipelineExecution for usage and error information.
10222//
10223// Returned Error Types:
10224//   * ResourceNotFound
10225//   Resource being access is not found.
10226//
10227// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribePipelineExecution
10228func (c *SageMaker) DescribePipelineExecution(input *DescribePipelineExecutionInput) (*DescribePipelineExecutionOutput, error) {
10229	req, out := c.DescribePipelineExecutionRequest(input)
10230	return out, req.Send()
10231}
10232
10233// DescribePipelineExecutionWithContext is the same as DescribePipelineExecution with the addition of
10234// the ability to pass a context and additional request options.
10235//
10236// See DescribePipelineExecution for details on how to use this API operation.
10237//
10238// The context must be non-nil and will be used for request cancellation. If
10239// the context is nil a panic will occur. In the future the SDK may create
10240// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10241// for more information on using Contexts.
10242func (c *SageMaker) DescribePipelineExecutionWithContext(ctx aws.Context, input *DescribePipelineExecutionInput, opts ...request.Option) (*DescribePipelineExecutionOutput, error) {
10243	req, out := c.DescribePipelineExecutionRequest(input)
10244	req.SetContext(ctx)
10245	req.ApplyOptions(opts...)
10246	return out, req.Send()
10247}
10248
10249const opDescribeProcessingJob = "DescribeProcessingJob"
10250
10251// DescribeProcessingJobRequest generates a "aws/request.Request" representing the
10252// client's request for the DescribeProcessingJob operation. The "output" return
10253// value will be populated with the request's response once the request completes
10254// successfully.
10255//
10256// Use "Send" method on the returned Request to send the API call to the service.
10257// the "output" return value is not valid until after Send returns without error.
10258//
10259// See DescribeProcessingJob for more information on using the DescribeProcessingJob
10260// API call, and error handling.
10261//
10262// This method is useful when you want to inject custom logic or configuration
10263// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10264//
10265//
10266//    // Example sending a request using the DescribeProcessingJobRequest method.
10267//    req, resp := client.DescribeProcessingJobRequest(params)
10268//
10269//    err := req.Send()
10270//    if err == nil { // resp is now filled
10271//        fmt.Println(resp)
10272//    }
10273//
10274// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeProcessingJob
10275func (c *SageMaker) DescribeProcessingJobRequest(input *DescribeProcessingJobInput) (req *request.Request, output *DescribeProcessingJobOutput) {
10276	op := &request.Operation{
10277		Name:       opDescribeProcessingJob,
10278		HTTPMethod: "POST",
10279		HTTPPath:   "/",
10280	}
10281
10282	if input == nil {
10283		input = &DescribeProcessingJobInput{}
10284	}
10285
10286	output = &DescribeProcessingJobOutput{}
10287	req = c.newRequest(op, input, output)
10288	return
10289}
10290
10291// DescribeProcessingJob API operation for Amazon SageMaker Service.
10292//
10293// Returns a description of a processing job.
10294//
10295// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10296// with awserr.Error's Code and Message methods to get detailed information about
10297// the error.
10298//
10299// See the AWS API reference guide for Amazon SageMaker Service's
10300// API operation DescribeProcessingJob for usage and error information.
10301//
10302// Returned Error Types:
10303//   * ResourceNotFound
10304//   Resource being access is not found.
10305//
10306// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeProcessingJob
10307func (c *SageMaker) DescribeProcessingJob(input *DescribeProcessingJobInput) (*DescribeProcessingJobOutput, error) {
10308	req, out := c.DescribeProcessingJobRequest(input)
10309	return out, req.Send()
10310}
10311
10312// DescribeProcessingJobWithContext is the same as DescribeProcessingJob with the addition of
10313// the ability to pass a context and additional request options.
10314//
10315// See DescribeProcessingJob for details on how to use this API operation.
10316//
10317// The context must be non-nil and will be used for request cancellation. If
10318// the context is nil a panic will occur. In the future the SDK may create
10319// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10320// for more information on using Contexts.
10321func (c *SageMaker) DescribeProcessingJobWithContext(ctx aws.Context, input *DescribeProcessingJobInput, opts ...request.Option) (*DescribeProcessingJobOutput, error) {
10322	req, out := c.DescribeProcessingJobRequest(input)
10323	req.SetContext(ctx)
10324	req.ApplyOptions(opts...)
10325	return out, req.Send()
10326}
10327
10328const opDescribeProject = "DescribeProject"
10329
10330// DescribeProjectRequest generates a "aws/request.Request" representing the
10331// client's request for the DescribeProject operation. The "output" return
10332// value will be populated with the request's response once the request completes
10333// successfully.
10334//
10335// Use "Send" method on the returned Request to send the API call to the service.
10336// the "output" return value is not valid until after Send returns without error.
10337//
10338// See DescribeProject for more information on using the DescribeProject
10339// API call, and error handling.
10340//
10341// This method is useful when you want to inject custom logic or configuration
10342// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10343//
10344//
10345//    // Example sending a request using the DescribeProjectRequest method.
10346//    req, resp := client.DescribeProjectRequest(params)
10347//
10348//    err := req.Send()
10349//    if err == nil { // resp is now filled
10350//        fmt.Println(resp)
10351//    }
10352//
10353// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeProject
10354func (c *SageMaker) DescribeProjectRequest(input *DescribeProjectInput) (req *request.Request, output *DescribeProjectOutput) {
10355	op := &request.Operation{
10356		Name:       opDescribeProject,
10357		HTTPMethod: "POST",
10358		HTTPPath:   "/",
10359	}
10360
10361	if input == nil {
10362		input = &DescribeProjectInput{}
10363	}
10364
10365	output = &DescribeProjectOutput{}
10366	req = c.newRequest(op, input, output)
10367	return
10368}
10369
10370// DescribeProject API operation for Amazon SageMaker Service.
10371//
10372// Describes the details of a project.
10373//
10374// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10375// with awserr.Error's Code and Message methods to get detailed information about
10376// the error.
10377//
10378// See the AWS API reference guide for Amazon SageMaker Service's
10379// API operation DescribeProject for usage and error information.
10380// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeProject
10381func (c *SageMaker) DescribeProject(input *DescribeProjectInput) (*DescribeProjectOutput, error) {
10382	req, out := c.DescribeProjectRequest(input)
10383	return out, req.Send()
10384}
10385
10386// DescribeProjectWithContext is the same as DescribeProject with the addition of
10387// the ability to pass a context and additional request options.
10388//
10389// See DescribeProject for details on how to use this API operation.
10390//
10391// The context must be non-nil and will be used for request cancellation. If
10392// the context is nil a panic will occur. In the future the SDK may create
10393// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10394// for more information on using Contexts.
10395func (c *SageMaker) DescribeProjectWithContext(ctx aws.Context, input *DescribeProjectInput, opts ...request.Option) (*DescribeProjectOutput, error) {
10396	req, out := c.DescribeProjectRequest(input)
10397	req.SetContext(ctx)
10398	req.ApplyOptions(opts...)
10399	return out, req.Send()
10400}
10401
10402const opDescribeSubscribedWorkteam = "DescribeSubscribedWorkteam"
10403
10404// DescribeSubscribedWorkteamRequest generates a "aws/request.Request" representing the
10405// client's request for the DescribeSubscribedWorkteam operation. The "output" return
10406// value will be populated with the request's response once the request completes
10407// successfully.
10408//
10409// Use "Send" method on the returned Request to send the API call to the service.
10410// the "output" return value is not valid until after Send returns without error.
10411//
10412// See DescribeSubscribedWorkteam for more information on using the DescribeSubscribedWorkteam
10413// API call, and error handling.
10414//
10415// This method is useful when you want to inject custom logic or configuration
10416// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10417//
10418//
10419//    // Example sending a request using the DescribeSubscribedWorkteamRequest method.
10420//    req, resp := client.DescribeSubscribedWorkteamRequest(params)
10421//
10422//    err := req.Send()
10423//    if err == nil { // resp is now filled
10424//        fmt.Println(resp)
10425//    }
10426//
10427// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeSubscribedWorkteam
10428func (c *SageMaker) DescribeSubscribedWorkteamRequest(input *DescribeSubscribedWorkteamInput) (req *request.Request, output *DescribeSubscribedWorkteamOutput) {
10429	op := &request.Operation{
10430		Name:       opDescribeSubscribedWorkteam,
10431		HTTPMethod: "POST",
10432		HTTPPath:   "/",
10433	}
10434
10435	if input == nil {
10436		input = &DescribeSubscribedWorkteamInput{}
10437	}
10438
10439	output = &DescribeSubscribedWorkteamOutput{}
10440	req = c.newRequest(op, input, output)
10441	return
10442}
10443
10444// DescribeSubscribedWorkteam API operation for Amazon SageMaker Service.
10445//
10446// Gets information about a work team provided by a vendor. It returns details
10447// about the subscription with a vendor in the AWS Marketplace.
10448//
10449// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10450// with awserr.Error's Code and Message methods to get detailed information about
10451// the error.
10452//
10453// See the AWS API reference guide for Amazon SageMaker Service's
10454// API operation DescribeSubscribedWorkteam for usage and error information.
10455// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeSubscribedWorkteam
10456func (c *SageMaker) DescribeSubscribedWorkteam(input *DescribeSubscribedWorkteamInput) (*DescribeSubscribedWorkteamOutput, error) {
10457	req, out := c.DescribeSubscribedWorkteamRequest(input)
10458	return out, req.Send()
10459}
10460
10461// DescribeSubscribedWorkteamWithContext is the same as DescribeSubscribedWorkteam with the addition of
10462// the ability to pass a context and additional request options.
10463//
10464// See DescribeSubscribedWorkteam for details on how to use this API operation.
10465//
10466// The context must be non-nil and will be used for request cancellation. If
10467// the context is nil a panic will occur. In the future the SDK may create
10468// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10469// for more information on using Contexts.
10470func (c *SageMaker) DescribeSubscribedWorkteamWithContext(ctx aws.Context, input *DescribeSubscribedWorkteamInput, opts ...request.Option) (*DescribeSubscribedWorkteamOutput, error) {
10471	req, out := c.DescribeSubscribedWorkteamRequest(input)
10472	req.SetContext(ctx)
10473	req.ApplyOptions(opts...)
10474	return out, req.Send()
10475}
10476
10477const opDescribeTrainingJob = "DescribeTrainingJob"
10478
10479// DescribeTrainingJobRequest generates a "aws/request.Request" representing the
10480// client's request for the DescribeTrainingJob operation. The "output" return
10481// value will be populated with the request's response once the request completes
10482// successfully.
10483//
10484// Use "Send" method on the returned Request to send the API call to the service.
10485// the "output" return value is not valid until after Send returns without error.
10486//
10487// See DescribeTrainingJob for more information on using the DescribeTrainingJob
10488// API call, and error handling.
10489//
10490// This method is useful when you want to inject custom logic or configuration
10491// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10492//
10493//
10494//    // Example sending a request using the DescribeTrainingJobRequest method.
10495//    req, resp := client.DescribeTrainingJobRequest(params)
10496//
10497//    err := req.Send()
10498//    if err == nil { // resp is now filled
10499//        fmt.Println(resp)
10500//    }
10501//
10502// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrainingJob
10503func (c *SageMaker) DescribeTrainingJobRequest(input *DescribeTrainingJobInput) (req *request.Request, output *DescribeTrainingJobOutput) {
10504	op := &request.Operation{
10505		Name:       opDescribeTrainingJob,
10506		HTTPMethod: "POST",
10507		HTTPPath:   "/",
10508	}
10509
10510	if input == nil {
10511		input = &DescribeTrainingJobInput{}
10512	}
10513
10514	output = &DescribeTrainingJobOutput{}
10515	req = c.newRequest(op, input, output)
10516	return
10517}
10518
10519// DescribeTrainingJob API operation for Amazon SageMaker Service.
10520//
10521// Returns information about a training job.
10522//
10523// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10524// with awserr.Error's Code and Message methods to get detailed information about
10525// the error.
10526//
10527// See the AWS API reference guide for Amazon SageMaker Service's
10528// API operation DescribeTrainingJob for usage and error information.
10529//
10530// Returned Error Types:
10531//   * ResourceNotFound
10532//   Resource being access is not found.
10533//
10534// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrainingJob
10535func (c *SageMaker) DescribeTrainingJob(input *DescribeTrainingJobInput) (*DescribeTrainingJobOutput, error) {
10536	req, out := c.DescribeTrainingJobRequest(input)
10537	return out, req.Send()
10538}
10539
10540// DescribeTrainingJobWithContext is the same as DescribeTrainingJob with the addition of
10541// the ability to pass a context and additional request options.
10542//
10543// See DescribeTrainingJob for details on how to use this API operation.
10544//
10545// The context must be non-nil and will be used for request cancellation. If
10546// the context is nil a panic will occur. In the future the SDK may create
10547// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10548// for more information on using Contexts.
10549func (c *SageMaker) DescribeTrainingJobWithContext(ctx aws.Context, input *DescribeTrainingJobInput, opts ...request.Option) (*DescribeTrainingJobOutput, error) {
10550	req, out := c.DescribeTrainingJobRequest(input)
10551	req.SetContext(ctx)
10552	req.ApplyOptions(opts...)
10553	return out, req.Send()
10554}
10555
10556const opDescribeTransformJob = "DescribeTransformJob"
10557
10558// DescribeTransformJobRequest generates a "aws/request.Request" representing the
10559// client's request for the DescribeTransformJob operation. The "output" return
10560// value will be populated with the request's response once the request completes
10561// successfully.
10562//
10563// Use "Send" method on the returned Request to send the API call to the service.
10564// the "output" return value is not valid until after Send returns without error.
10565//
10566// See DescribeTransformJob for more information on using the DescribeTransformJob
10567// API call, and error handling.
10568//
10569// This method is useful when you want to inject custom logic or configuration
10570// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10571//
10572//
10573//    // Example sending a request using the DescribeTransformJobRequest method.
10574//    req, resp := client.DescribeTransformJobRequest(params)
10575//
10576//    err := req.Send()
10577//    if err == nil { // resp is now filled
10578//        fmt.Println(resp)
10579//    }
10580//
10581// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTransformJob
10582func (c *SageMaker) DescribeTransformJobRequest(input *DescribeTransformJobInput) (req *request.Request, output *DescribeTransformJobOutput) {
10583	op := &request.Operation{
10584		Name:       opDescribeTransformJob,
10585		HTTPMethod: "POST",
10586		HTTPPath:   "/",
10587	}
10588
10589	if input == nil {
10590		input = &DescribeTransformJobInput{}
10591	}
10592
10593	output = &DescribeTransformJobOutput{}
10594	req = c.newRequest(op, input, output)
10595	return
10596}
10597
10598// DescribeTransformJob API operation for Amazon SageMaker Service.
10599//
10600// Returns information about a transform job.
10601//
10602// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10603// with awserr.Error's Code and Message methods to get detailed information about
10604// the error.
10605//
10606// See the AWS API reference guide for Amazon SageMaker Service's
10607// API operation DescribeTransformJob for usage and error information.
10608//
10609// Returned Error Types:
10610//   * ResourceNotFound
10611//   Resource being access is not found.
10612//
10613// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTransformJob
10614func (c *SageMaker) DescribeTransformJob(input *DescribeTransformJobInput) (*DescribeTransformJobOutput, error) {
10615	req, out := c.DescribeTransformJobRequest(input)
10616	return out, req.Send()
10617}
10618
10619// DescribeTransformJobWithContext is the same as DescribeTransformJob with the addition of
10620// the ability to pass a context and additional request options.
10621//
10622// See DescribeTransformJob for details on how to use this API operation.
10623//
10624// The context must be non-nil and will be used for request cancellation. If
10625// the context is nil a panic will occur. In the future the SDK may create
10626// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10627// for more information on using Contexts.
10628func (c *SageMaker) DescribeTransformJobWithContext(ctx aws.Context, input *DescribeTransformJobInput, opts ...request.Option) (*DescribeTransformJobOutput, error) {
10629	req, out := c.DescribeTransformJobRequest(input)
10630	req.SetContext(ctx)
10631	req.ApplyOptions(opts...)
10632	return out, req.Send()
10633}
10634
10635const opDescribeTrial = "DescribeTrial"
10636
10637// DescribeTrialRequest generates a "aws/request.Request" representing the
10638// client's request for the DescribeTrial operation. The "output" return
10639// value will be populated with the request's response once the request completes
10640// successfully.
10641//
10642// Use "Send" method on the returned Request to send the API call to the service.
10643// the "output" return value is not valid until after Send returns without error.
10644//
10645// See DescribeTrial for more information on using the DescribeTrial
10646// API call, and error handling.
10647//
10648// This method is useful when you want to inject custom logic or configuration
10649// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10650//
10651//
10652//    // Example sending a request using the DescribeTrialRequest method.
10653//    req, resp := client.DescribeTrialRequest(params)
10654//
10655//    err := req.Send()
10656//    if err == nil { // resp is now filled
10657//        fmt.Println(resp)
10658//    }
10659//
10660// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrial
10661func (c *SageMaker) DescribeTrialRequest(input *DescribeTrialInput) (req *request.Request, output *DescribeTrialOutput) {
10662	op := &request.Operation{
10663		Name:       opDescribeTrial,
10664		HTTPMethod: "POST",
10665		HTTPPath:   "/",
10666	}
10667
10668	if input == nil {
10669		input = &DescribeTrialInput{}
10670	}
10671
10672	output = &DescribeTrialOutput{}
10673	req = c.newRequest(op, input, output)
10674	return
10675}
10676
10677// DescribeTrial API operation for Amazon SageMaker Service.
10678//
10679// Provides a list of a trial's properties.
10680//
10681// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10682// with awserr.Error's Code and Message methods to get detailed information about
10683// the error.
10684//
10685// See the AWS API reference guide for Amazon SageMaker Service's
10686// API operation DescribeTrial for usage and error information.
10687//
10688// Returned Error Types:
10689//   * ResourceNotFound
10690//   Resource being access is not found.
10691//
10692// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrial
10693func (c *SageMaker) DescribeTrial(input *DescribeTrialInput) (*DescribeTrialOutput, error) {
10694	req, out := c.DescribeTrialRequest(input)
10695	return out, req.Send()
10696}
10697
10698// DescribeTrialWithContext is the same as DescribeTrial with the addition of
10699// the ability to pass a context and additional request options.
10700//
10701// See DescribeTrial for details on how to use this API operation.
10702//
10703// The context must be non-nil and will be used for request cancellation. If
10704// the context is nil a panic will occur. In the future the SDK may create
10705// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10706// for more information on using Contexts.
10707func (c *SageMaker) DescribeTrialWithContext(ctx aws.Context, input *DescribeTrialInput, opts ...request.Option) (*DescribeTrialOutput, error) {
10708	req, out := c.DescribeTrialRequest(input)
10709	req.SetContext(ctx)
10710	req.ApplyOptions(opts...)
10711	return out, req.Send()
10712}
10713
10714const opDescribeTrialComponent = "DescribeTrialComponent"
10715
10716// DescribeTrialComponentRequest generates a "aws/request.Request" representing the
10717// client's request for the DescribeTrialComponent operation. The "output" return
10718// value will be populated with the request's response once the request completes
10719// successfully.
10720//
10721// Use "Send" method on the returned Request to send the API call to the service.
10722// the "output" return value is not valid until after Send returns without error.
10723//
10724// See DescribeTrialComponent for more information on using the DescribeTrialComponent
10725// API call, and error handling.
10726//
10727// This method is useful when you want to inject custom logic or configuration
10728// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10729//
10730//
10731//    // Example sending a request using the DescribeTrialComponentRequest method.
10732//    req, resp := client.DescribeTrialComponentRequest(params)
10733//
10734//    err := req.Send()
10735//    if err == nil { // resp is now filled
10736//        fmt.Println(resp)
10737//    }
10738//
10739// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrialComponent
10740func (c *SageMaker) DescribeTrialComponentRequest(input *DescribeTrialComponentInput) (req *request.Request, output *DescribeTrialComponentOutput) {
10741	op := &request.Operation{
10742		Name:       opDescribeTrialComponent,
10743		HTTPMethod: "POST",
10744		HTTPPath:   "/",
10745	}
10746
10747	if input == nil {
10748		input = &DescribeTrialComponentInput{}
10749	}
10750
10751	output = &DescribeTrialComponentOutput{}
10752	req = c.newRequest(op, input, output)
10753	return
10754}
10755
10756// DescribeTrialComponent API operation for Amazon SageMaker Service.
10757//
10758// Provides a list of a trials component's properties.
10759//
10760// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10761// with awserr.Error's Code and Message methods to get detailed information about
10762// the error.
10763//
10764// See the AWS API reference guide for Amazon SageMaker Service's
10765// API operation DescribeTrialComponent for usage and error information.
10766//
10767// Returned Error Types:
10768//   * ResourceNotFound
10769//   Resource being access is not found.
10770//
10771// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrialComponent
10772func (c *SageMaker) DescribeTrialComponent(input *DescribeTrialComponentInput) (*DescribeTrialComponentOutput, error) {
10773	req, out := c.DescribeTrialComponentRequest(input)
10774	return out, req.Send()
10775}
10776
10777// DescribeTrialComponentWithContext is the same as DescribeTrialComponent with the addition of
10778// the ability to pass a context and additional request options.
10779//
10780// See DescribeTrialComponent for details on how to use this API operation.
10781//
10782// The context must be non-nil and will be used for request cancellation. If
10783// the context is nil a panic will occur. In the future the SDK may create
10784// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10785// for more information on using Contexts.
10786func (c *SageMaker) DescribeTrialComponentWithContext(ctx aws.Context, input *DescribeTrialComponentInput, opts ...request.Option) (*DescribeTrialComponentOutput, error) {
10787	req, out := c.DescribeTrialComponentRequest(input)
10788	req.SetContext(ctx)
10789	req.ApplyOptions(opts...)
10790	return out, req.Send()
10791}
10792
10793const opDescribeUserProfile = "DescribeUserProfile"
10794
10795// DescribeUserProfileRequest generates a "aws/request.Request" representing the
10796// client's request for the DescribeUserProfile operation. The "output" return
10797// value will be populated with the request's response once the request completes
10798// successfully.
10799//
10800// Use "Send" method on the returned Request to send the API call to the service.
10801// the "output" return value is not valid until after Send returns without error.
10802//
10803// See DescribeUserProfile for more information on using the DescribeUserProfile
10804// API call, and error handling.
10805//
10806// This method is useful when you want to inject custom logic or configuration
10807// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10808//
10809//
10810//    // Example sending a request using the DescribeUserProfileRequest method.
10811//    req, resp := client.DescribeUserProfileRequest(params)
10812//
10813//    err := req.Send()
10814//    if err == nil { // resp is now filled
10815//        fmt.Println(resp)
10816//    }
10817//
10818// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeUserProfile
10819func (c *SageMaker) DescribeUserProfileRequest(input *DescribeUserProfileInput) (req *request.Request, output *DescribeUserProfileOutput) {
10820	op := &request.Operation{
10821		Name:       opDescribeUserProfile,
10822		HTTPMethod: "POST",
10823		HTTPPath:   "/",
10824	}
10825
10826	if input == nil {
10827		input = &DescribeUserProfileInput{}
10828	}
10829
10830	output = &DescribeUserProfileOutput{}
10831	req = c.newRequest(op, input, output)
10832	return
10833}
10834
10835// DescribeUserProfile API operation for Amazon SageMaker Service.
10836//
10837// Describes a user profile. For more information, see CreateUserProfile.
10838//
10839// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10840// with awserr.Error's Code and Message methods to get detailed information about
10841// the error.
10842//
10843// See the AWS API reference guide for Amazon SageMaker Service's
10844// API operation DescribeUserProfile for usage and error information.
10845//
10846// Returned Error Types:
10847//   * ResourceNotFound
10848//   Resource being access is not found.
10849//
10850// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeUserProfile
10851func (c *SageMaker) DescribeUserProfile(input *DescribeUserProfileInput) (*DescribeUserProfileOutput, error) {
10852	req, out := c.DescribeUserProfileRequest(input)
10853	return out, req.Send()
10854}
10855
10856// DescribeUserProfileWithContext is the same as DescribeUserProfile with the addition of
10857// the ability to pass a context and additional request options.
10858//
10859// See DescribeUserProfile for details on how to use this API operation.
10860//
10861// The context must be non-nil and will be used for request cancellation. If
10862// the context is nil a panic will occur. In the future the SDK may create
10863// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10864// for more information on using Contexts.
10865func (c *SageMaker) DescribeUserProfileWithContext(ctx aws.Context, input *DescribeUserProfileInput, opts ...request.Option) (*DescribeUserProfileOutput, error) {
10866	req, out := c.DescribeUserProfileRequest(input)
10867	req.SetContext(ctx)
10868	req.ApplyOptions(opts...)
10869	return out, req.Send()
10870}
10871
10872const opDescribeWorkforce = "DescribeWorkforce"
10873
10874// DescribeWorkforceRequest generates a "aws/request.Request" representing the
10875// client's request for the DescribeWorkforce operation. The "output" return
10876// value will be populated with the request's response once the request completes
10877// successfully.
10878//
10879// Use "Send" method on the returned Request to send the API call to the service.
10880// the "output" return value is not valid until after Send returns without error.
10881//
10882// See DescribeWorkforce for more information on using the DescribeWorkforce
10883// API call, and error handling.
10884//
10885// This method is useful when you want to inject custom logic or configuration
10886// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10887//
10888//
10889//    // Example sending a request using the DescribeWorkforceRequest method.
10890//    req, resp := client.DescribeWorkforceRequest(params)
10891//
10892//    err := req.Send()
10893//    if err == nil { // resp is now filled
10894//        fmt.Println(resp)
10895//    }
10896//
10897// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeWorkforce
10898func (c *SageMaker) DescribeWorkforceRequest(input *DescribeWorkforceInput) (req *request.Request, output *DescribeWorkforceOutput) {
10899	op := &request.Operation{
10900		Name:       opDescribeWorkforce,
10901		HTTPMethod: "POST",
10902		HTTPPath:   "/",
10903	}
10904
10905	if input == nil {
10906		input = &DescribeWorkforceInput{}
10907	}
10908
10909	output = &DescribeWorkforceOutput{}
10910	req = c.newRequest(op, input, output)
10911	return
10912}
10913
10914// DescribeWorkforce API operation for Amazon SageMaker Service.
10915//
10916// Lists private workforce information, including workforce name, Amazon Resource
10917// Name (ARN), and, if applicable, allowed IP address ranges (CIDRs (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html)).
10918// Allowable IP address ranges are the IP addresses that workers can use to
10919// access tasks.
10920//
10921// This operation applies only to private workforces.
10922//
10923// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
10924// with awserr.Error's Code and Message methods to get detailed information about
10925// the error.
10926//
10927// See the AWS API reference guide for Amazon SageMaker Service's
10928// API operation DescribeWorkforce for usage and error information.
10929// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeWorkforce
10930func (c *SageMaker) DescribeWorkforce(input *DescribeWorkforceInput) (*DescribeWorkforceOutput, error) {
10931	req, out := c.DescribeWorkforceRequest(input)
10932	return out, req.Send()
10933}
10934
10935// DescribeWorkforceWithContext is the same as DescribeWorkforce with the addition of
10936// the ability to pass a context and additional request options.
10937//
10938// See DescribeWorkforce for details on how to use this API operation.
10939//
10940// The context must be non-nil and will be used for request cancellation. If
10941// the context is nil a panic will occur. In the future the SDK may create
10942// sub-contexts for http.Requests. See https://golang.org/pkg/context/
10943// for more information on using Contexts.
10944func (c *SageMaker) DescribeWorkforceWithContext(ctx aws.Context, input *DescribeWorkforceInput, opts ...request.Option) (*DescribeWorkforceOutput, error) {
10945	req, out := c.DescribeWorkforceRequest(input)
10946	req.SetContext(ctx)
10947	req.ApplyOptions(opts...)
10948	return out, req.Send()
10949}
10950
10951const opDescribeWorkteam = "DescribeWorkteam"
10952
10953// DescribeWorkteamRequest generates a "aws/request.Request" representing the
10954// client's request for the DescribeWorkteam operation. The "output" return
10955// value will be populated with the request's response once the request completes
10956// successfully.
10957//
10958// Use "Send" method on the returned Request to send the API call to the service.
10959// the "output" return value is not valid until after Send returns without error.
10960//
10961// See DescribeWorkteam for more information on using the DescribeWorkteam
10962// API call, and error handling.
10963//
10964// This method is useful when you want to inject custom logic or configuration
10965// into the SDK's request lifecycle. Such as custom headers, or retry logic.
10966//
10967//
10968//    // Example sending a request using the DescribeWorkteamRequest method.
10969//    req, resp := client.DescribeWorkteamRequest(params)
10970//
10971//    err := req.Send()
10972//    if err == nil { // resp is now filled
10973//        fmt.Println(resp)
10974//    }
10975//
10976// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeWorkteam
10977func (c *SageMaker) DescribeWorkteamRequest(input *DescribeWorkteamInput) (req *request.Request, output *DescribeWorkteamOutput) {
10978	op := &request.Operation{
10979		Name:       opDescribeWorkteam,
10980		HTTPMethod: "POST",
10981		HTTPPath:   "/",
10982	}
10983
10984	if input == nil {
10985		input = &DescribeWorkteamInput{}
10986	}
10987
10988	output = &DescribeWorkteamOutput{}
10989	req = c.newRequest(op, input, output)
10990	return
10991}
10992
10993// DescribeWorkteam API operation for Amazon SageMaker Service.
10994//
10995// Gets information about a specific work team. You can see information such
10996// as the create date, the last updated date, membership information, and the
10997// work team's Amazon Resource Name (ARN).
10998//
10999// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11000// with awserr.Error's Code and Message methods to get detailed information about
11001// the error.
11002//
11003// See the AWS API reference guide for Amazon SageMaker Service's
11004// API operation DescribeWorkteam for usage and error information.
11005// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeWorkteam
11006func (c *SageMaker) DescribeWorkteam(input *DescribeWorkteamInput) (*DescribeWorkteamOutput, error) {
11007	req, out := c.DescribeWorkteamRequest(input)
11008	return out, req.Send()
11009}
11010
11011// DescribeWorkteamWithContext is the same as DescribeWorkteam with the addition of
11012// the ability to pass a context and additional request options.
11013//
11014// See DescribeWorkteam for details on how to use this API operation.
11015//
11016// The context must be non-nil and will be used for request cancellation. If
11017// the context is nil a panic will occur. In the future the SDK may create
11018// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11019// for more information on using Contexts.
11020func (c *SageMaker) DescribeWorkteamWithContext(ctx aws.Context, input *DescribeWorkteamInput, opts ...request.Option) (*DescribeWorkteamOutput, error) {
11021	req, out := c.DescribeWorkteamRequest(input)
11022	req.SetContext(ctx)
11023	req.ApplyOptions(opts...)
11024	return out, req.Send()
11025}
11026
11027const opDisableSagemakerServicecatalogPortfolio = "DisableSagemakerServicecatalogPortfolio"
11028
11029// DisableSagemakerServicecatalogPortfolioRequest generates a "aws/request.Request" representing the
11030// client's request for the DisableSagemakerServicecatalogPortfolio operation. The "output" return
11031// value will be populated with the request's response once the request completes
11032// successfully.
11033//
11034// Use "Send" method on the returned Request to send the API call to the service.
11035// the "output" return value is not valid until after Send returns without error.
11036//
11037// See DisableSagemakerServicecatalogPortfolio for more information on using the DisableSagemakerServicecatalogPortfolio
11038// API call, and error handling.
11039//
11040// This method is useful when you want to inject custom logic or configuration
11041// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11042//
11043//
11044//    // Example sending a request using the DisableSagemakerServicecatalogPortfolioRequest method.
11045//    req, resp := client.DisableSagemakerServicecatalogPortfolioRequest(params)
11046//
11047//    err := req.Send()
11048//    if err == nil { // resp is now filled
11049//        fmt.Println(resp)
11050//    }
11051//
11052// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DisableSagemakerServicecatalogPortfolio
11053func (c *SageMaker) DisableSagemakerServicecatalogPortfolioRequest(input *DisableSagemakerServicecatalogPortfolioInput) (req *request.Request, output *DisableSagemakerServicecatalogPortfolioOutput) {
11054	op := &request.Operation{
11055		Name:       opDisableSagemakerServicecatalogPortfolio,
11056		HTTPMethod: "POST",
11057		HTTPPath:   "/",
11058	}
11059
11060	if input == nil {
11061		input = &DisableSagemakerServicecatalogPortfolioInput{}
11062	}
11063
11064	output = &DisableSagemakerServicecatalogPortfolioOutput{}
11065	req = c.newRequest(op, input, output)
11066	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11067	return
11068}
11069
11070// DisableSagemakerServicecatalogPortfolio API operation for Amazon SageMaker Service.
11071//
11072// Disables using Service Catalog in SageMaker. Service Catalog is used to create
11073// SageMaker projects.
11074//
11075// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11076// with awserr.Error's Code and Message methods to get detailed information about
11077// the error.
11078//
11079// See the AWS API reference guide for Amazon SageMaker Service's
11080// API operation DisableSagemakerServicecatalogPortfolio for usage and error information.
11081// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DisableSagemakerServicecatalogPortfolio
11082func (c *SageMaker) DisableSagemakerServicecatalogPortfolio(input *DisableSagemakerServicecatalogPortfolioInput) (*DisableSagemakerServicecatalogPortfolioOutput, error) {
11083	req, out := c.DisableSagemakerServicecatalogPortfolioRequest(input)
11084	return out, req.Send()
11085}
11086
11087// DisableSagemakerServicecatalogPortfolioWithContext is the same as DisableSagemakerServicecatalogPortfolio with the addition of
11088// the ability to pass a context and additional request options.
11089//
11090// See DisableSagemakerServicecatalogPortfolio for details on how to use this API operation.
11091//
11092// The context must be non-nil and will be used for request cancellation. If
11093// the context is nil a panic will occur. In the future the SDK may create
11094// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11095// for more information on using Contexts.
11096func (c *SageMaker) DisableSagemakerServicecatalogPortfolioWithContext(ctx aws.Context, input *DisableSagemakerServicecatalogPortfolioInput, opts ...request.Option) (*DisableSagemakerServicecatalogPortfolioOutput, error) {
11097	req, out := c.DisableSagemakerServicecatalogPortfolioRequest(input)
11098	req.SetContext(ctx)
11099	req.ApplyOptions(opts...)
11100	return out, req.Send()
11101}
11102
11103const opDisassociateTrialComponent = "DisassociateTrialComponent"
11104
11105// DisassociateTrialComponentRequest generates a "aws/request.Request" representing the
11106// client's request for the DisassociateTrialComponent operation. The "output" return
11107// value will be populated with the request's response once the request completes
11108// successfully.
11109//
11110// Use "Send" method on the returned Request to send the API call to the service.
11111// the "output" return value is not valid until after Send returns without error.
11112//
11113// See DisassociateTrialComponent for more information on using the DisassociateTrialComponent
11114// API call, and error handling.
11115//
11116// This method is useful when you want to inject custom logic or configuration
11117// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11118//
11119//
11120//    // Example sending a request using the DisassociateTrialComponentRequest method.
11121//    req, resp := client.DisassociateTrialComponentRequest(params)
11122//
11123//    err := req.Send()
11124//    if err == nil { // resp is now filled
11125//        fmt.Println(resp)
11126//    }
11127//
11128// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DisassociateTrialComponent
11129func (c *SageMaker) DisassociateTrialComponentRequest(input *DisassociateTrialComponentInput) (req *request.Request, output *DisassociateTrialComponentOutput) {
11130	op := &request.Operation{
11131		Name:       opDisassociateTrialComponent,
11132		HTTPMethod: "POST",
11133		HTTPPath:   "/",
11134	}
11135
11136	if input == nil {
11137		input = &DisassociateTrialComponentInput{}
11138	}
11139
11140	output = &DisassociateTrialComponentOutput{}
11141	req = c.newRequest(op, input, output)
11142	return
11143}
11144
11145// DisassociateTrialComponent API operation for Amazon SageMaker Service.
11146//
11147// Disassociates a trial component from a trial. This doesn't effect other trials
11148// the component is associated with. Before you can delete a component, you
11149// must disassociate the component from all trials it is associated with. To
11150// associate a trial component with a trial, call the AssociateTrialComponent
11151// API.
11152//
11153// To get a list of the trials a component is associated with, use the Search
11154// API. Specify ExperimentTrialComponent for the Resource parameter. The list
11155// appears in the response under Results.TrialComponent.Parents.
11156//
11157// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11158// with awserr.Error's Code and Message methods to get detailed information about
11159// the error.
11160//
11161// See the AWS API reference guide for Amazon SageMaker Service's
11162// API operation DisassociateTrialComponent for usage and error information.
11163//
11164// Returned Error Types:
11165//   * ResourceNotFound
11166//   Resource being access is not found.
11167//
11168// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DisassociateTrialComponent
11169func (c *SageMaker) DisassociateTrialComponent(input *DisassociateTrialComponentInput) (*DisassociateTrialComponentOutput, error) {
11170	req, out := c.DisassociateTrialComponentRequest(input)
11171	return out, req.Send()
11172}
11173
11174// DisassociateTrialComponentWithContext is the same as DisassociateTrialComponent with the addition of
11175// the ability to pass a context and additional request options.
11176//
11177// See DisassociateTrialComponent for details on how to use this API operation.
11178//
11179// The context must be non-nil and will be used for request cancellation. If
11180// the context is nil a panic will occur. In the future the SDK may create
11181// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11182// for more information on using Contexts.
11183func (c *SageMaker) DisassociateTrialComponentWithContext(ctx aws.Context, input *DisassociateTrialComponentInput, opts ...request.Option) (*DisassociateTrialComponentOutput, error) {
11184	req, out := c.DisassociateTrialComponentRequest(input)
11185	req.SetContext(ctx)
11186	req.ApplyOptions(opts...)
11187	return out, req.Send()
11188}
11189
11190const opEnableSagemakerServicecatalogPortfolio = "EnableSagemakerServicecatalogPortfolio"
11191
11192// EnableSagemakerServicecatalogPortfolioRequest generates a "aws/request.Request" representing the
11193// client's request for the EnableSagemakerServicecatalogPortfolio operation. The "output" return
11194// value will be populated with the request's response once the request completes
11195// successfully.
11196//
11197// Use "Send" method on the returned Request to send the API call to the service.
11198// the "output" return value is not valid until after Send returns without error.
11199//
11200// See EnableSagemakerServicecatalogPortfolio for more information on using the EnableSagemakerServicecatalogPortfolio
11201// API call, and error handling.
11202//
11203// This method is useful when you want to inject custom logic or configuration
11204// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11205//
11206//
11207//    // Example sending a request using the EnableSagemakerServicecatalogPortfolioRequest method.
11208//    req, resp := client.EnableSagemakerServicecatalogPortfolioRequest(params)
11209//
11210//    err := req.Send()
11211//    if err == nil { // resp is now filled
11212//        fmt.Println(resp)
11213//    }
11214//
11215// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/EnableSagemakerServicecatalogPortfolio
11216func (c *SageMaker) EnableSagemakerServicecatalogPortfolioRequest(input *EnableSagemakerServicecatalogPortfolioInput) (req *request.Request, output *EnableSagemakerServicecatalogPortfolioOutput) {
11217	op := &request.Operation{
11218		Name:       opEnableSagemakerServicecatalogPortfolio,
11219		HTTPMethod: "POST",
11220		HTTPPath:   "/",
11221	}
11222
11223	if input == nil {
11224		input = &EnableSagemakerServicecatalogPortfolioInput{}
11225	}
11226
11227	output = &EnableSagemakerServicecatalogPortfolioOutput{}
11228	req = c.newRequest(op, input, output)
11229	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
11230	return
11231}
11232
11233// EnableSagemakerServicecatalogPortfolio API operation for Amazon SageMaker Service.
11234//
11235// Enables using Service Catalog in SageMaker. Service Catalog is used to create
11236// SageMaker projects.
11237//
11238// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11239// with awserr.Error's Code and Message methods to get detailed information about
11240// the error.
11241//
11242// See the AWS API reference guide for Amazon SageMaker Service's
11243// API operation EnableSagemakerServicecatalogPortfolio for usage and error information.
11244// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/EnableSagemakerServicecatalogPortfolio
11245func (c *SageMaker) EnableSagemakerServicecatalogPortfolio(input *EnableSagemakerServicecatalogPortfolioInput) (*EnableSagemakerServicecatalogPortfolioOutput, error) {
11246	req, out := c.EnableSagemakerServicecatalogPortfolioRequest(input)
11247	return out, req.Send()
11248}
11249
11250// EnableSagemakerServicecatalogPortfolioWithContext is the same as EnableSagemakerServicecatalogPortfolio with the addition of
11251// the ability to pass a context and additional request options.
11252//
11253// See EnableSagemakerServicecatalogPortfolio for details on how to use this API operation.
11254//
11255// The context must be non-nil and will be used for request cancellation. If
11256// the context is nil a panic will occur. In the future the SDK may create
11257// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11258// for more information on using Contexts.
11259func (c *SageMaker) EnableSagemakerServicecatalogPortfolioWithContext(ctx aws.Context, input *EnableSagemakerServicecatalogPortfolioInput, opts ...request.Option) (*EnableSagemakerServicecatalogPortfolioOutput, error) {
11260	req, out := c.EnableSagemakerServicecatalogPortfolioRequest(input)
11261	req.SetContext(ctx)
11262	req.ApplyOptions(opts...)
11263	return out, req.Send()
11264}
11265
11266const opGetDeviceFleetReport = "GetDeviceFleetReport"
11267
11268// GetDeviceFleetReportRequest generates a "aws/request.Request" representing the
11269// client's request for the GetDeviceFleetReport operation. The "output" return
11270// value will be populated with the request's response once the request completes
11271// successfully.
11272//
11273// Use "Send" method on the returned Request to send the API call to the service.
11274// the "output" return value is not valid until after Send returns without error.
11275//
11276// See GetDeviceFleetReport for more information on using the GetDeviceFleetReport
11277// API call, and error handling.
11278//
11279// This method is useful when you want to inject custom logic or configuration
11280// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11281//
11282//
11283//    // Example sending a request using the GetDeviceFleetReportRequest method.
11284//    req, resp := client.GetDeviceFleetReportRequest(params)
11285//
11286//    err := req.Send()
11287//    if err == nil { // resp is now filled
11288//        fmt.Println(resp)
11289//    }
11290//
11291// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetDeviceFleetReport
11292func (c *SageMaker) GetDeviceFleetReportRequest(input *GetDeviceFleetReportInput) (req *request.Request, output *GetDeviceFleetReportOutput) {
11293	op := &request.Operation{
11294		Name:       opGetDeviceFleetReport,
11295		HTTPMethod: "POST",
11296		HTTPPath:   "/",
11297	}
11298
11299	if input == nil {
11300		input = &GetDeviceFleetReportInput{}
11301	}
11302
11303	output = &GetDeviceFleetReportOutput{}
11304	req = c.newRequest(op, input, output)
11305	return
11306}
11307
11308// GetDeviceFleetReport API operation for Amazon SageMaker Service.
11309//
11310// Describes a fleet.
11311//
11312// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11313// with awserr.Error's Code and Message methods to get detailed information about
11314// the error.
11315//
11316// See the AWS API reference guide for Amazon SageMaker Service's
11317// API operation GetDeviceFleetReport for usage and error information.
11318// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetDeviceFleetReport
11319func (c *SageMaker) GetDeviceFleetReport(input *GetDeviceFleetReportInput) (*GetDeviceFleetReportOutput, error) {
11320	req, out := c.GetDeviceFleetReportRequest(input)
11321	return out, req.Send()
11322}
11323
11324// GetDeviceFleetReportWithContext is the same as GetDeviceFleetReport with the addition of
11325// the ability to pass a context and additional request options.
11326//
11327// See GetDeviceFleetReport for details on how to use this API operation.
11328//
11329// The context must be non-nil and will be used for request cancellation. If
11330// the context is nil a panic will occur. In the future the SDK may create
11331// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11332// for more information on using Contexts.
11333func (c *SageMaker) GetDeviceFleetReportWithContext(ctx aws.Context, input *GetDeviceFleetReportInput, opts ...request.Option) (*GetDeviceFleetReportOutput, error) {
11334	req, out := c.GetDeviceFleetReportRequest(input)
11335	req.SetContext(ctx)
11336	req.ApplyOptions(opts...)
11337	return out, req.Send()
11338}
11339
11340const opGetModelPackageGroupPolicy = "GetModelPackageGroupPolicy"
11341
11342// GetModelPackageGroupPolicyRequest generates a "aws/request.Request" representing the
11343// client's request for the GetModelPackageGroupPolicy operation. The "output" return
11344// value will be populated with the request's response once the request completes
11345// successfully.
11346//
11347// Use "Send" method on the returned Request to send the API call to the service.
11348// the "output" return value is not valid until after Send returns without error.
11349//
11350// See GetModelPackageGroupPolicy for more information on using the GetModelPackageGroupPolicy
11351// API call, and error handling.
11352//
11353// This method is useful when you want to inject custom logic or configuration
11354// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11355//
11356//
11357//    // Example sending a request using the GetModelPackageGroupPolicyRequest method.
11358//    req, resp := client.GetModelPackageGroupPolicyRequest(params)
11359//
11360//    err := req.Send()
11361//    if err == nil { // resp is now filled
11362//        fmt.Println(resp)
11363//    }
11364//
11365// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetModelPackageGroupPolicy
11366func (c *SageMaker) GetModelPackageGroupPolicyRequest(input *GetModelPackageGroupPolicyInput) (req *request.Request, output *GetModelPackageGroupPolicyOutput) {
11367	op := &request.Operation{
11368		Name:       opGetModelPackageGroupPolicy,
11369		HTTPMethod: "POST",
11370		HTTPPath:   "/",
11371	}
11372
11373	if input == nil {
11374		input = &GetModelPackageGroupPolicyInput{}
11375	}
11376
11377	output = &GetModelPackageGroupPolicyOutput{}
11378	req = c.newRequest(op, input, output)
11379	return
11380}
11381
11382// GetModelPackageGroupPolicy API operation for Amazon SageMaker Service.
11383//
11384// Gets a resource policy that manages access for a model group. For information
11385// about resource policies, see Identity-based policies and resource-based policies
11386// (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_identity-vs-resource.html)
11387// in the AWS Identity and Access Management User Guide..
11388//
11389// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11390// with awserr.Error's Code and Message methods to get detailed information about
11391// the error.
11392//
11393// See the AWS API reference guide for Amazon SageMaker Service's
11394// API operation GetModelPackageGroupPolicy for usage and error information.
11395// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetModelPackageGroupPolicy
11396func (c *SageMaker) GetModelPackageGroupPolicy(input *GetModelPackageGroupPolicyInput) (*GetModelPackageGroupPolicyOutput, error) {
11397	req, out := c.GetModelPackageGroupPolicyRequest(input)
11398	return out, req.Send()
11399}
11400
11401// GetModelPackageGroupPolicyWithContext is the same as GetModelPackageGroupPolicy with the addition of
11402// the ability to pass a context and additional request options.
11403//
11404// See GetModelPackageGroupPolicy for details on how to use this API operation.
11405//
11406// The context must be non-nil and will be used for request cancellation. If
11407// the context is nil a panic will occur. In the future the SDK may create
11408// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11409// for more information on using Contexts.
11410func (c *SageMaker) GetModelPackageGroupPolicyWithContext(ctx aws.Context, input *GetModelPackageGroupPolicyInput, opts ...request.Option) (*GetModelPackageGroupPolicyOutput, error) {
11411	req, out := c.GetModelPackageGroupPolicyRequest(input)
11412	req.SetContext(ctx)
11413	req.ApplyOptions(opts...)
11414	return out, req.Send()
11415}
11416
11417const opGetSagemakerServicecatalogPortfolioStatus = "GetSagemakerServicecatalogPortfolioStatus"
11418
11419// GetSagemakerServicecatalogPortfolioStatusRequest generates a "aws/request.Request" representing the
11420// client's request for the GetSagemakerServicecatalogPortfolioStatus operation. The "output" return
11421// value will be populated with the request's response once the request completes
11422// successfully.
11423//
11424// Use "Send" method on the returned Request to send the API call to the service.
11425// the "output" return value is not valid until after Send returns without error.
11426//
11427// See GetSagemakerServicecatalogPortfolioStatus for more information on using the GetSagemakerServicecatalogPortfolioStatus
11428// API call, and error handling.
11429//
11430// This method is useful when you want to inject custom logic or configuration
11431// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11432//
11433//
11434//    // Example sending a request using the GetSagemakerServicecatalogPortfolioStatusRequest method.
11435//    req, resp := client.GetSagemakerServicecatalogPortfolioStatusRequest(params)
11436//
11437//    err := req.Send()
11438//    if err == nil { // resp is now filled
11439//        fmt.Println(resp)
11440//    }
11441//
11442// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetSagemakerServicecatalogPortfolioStatus
11443func (c *SageMaker) GetSagemakerServicecatalogPortfolioStatusRequest(input *GetSagemakerServicecatalogPortfolioStatusInput) (req *request.Request, output *GetSagemakerServicecatalogPortfolioStatusOutput) {
11444	op := &request.Operation{
11445		Name:       opGetSagemakerServicecatalogPortfolioStatus,
11446		HTTPMethod: "POST",
11447		HTTPPath:   "/",
11448	}
11449
11450	if input == nil {
11451		input = &GetSagemakerServicecatalogPortfolioStatusInput{}
11452	}
11453
11454	output = &GetSagemakerServicecatalogPortfolioStatusOutput{}
11455	req = c.newRequest(op, input, output)
11456	return
11457}
11458
11459// GetSagemakerServicecatalogPortfolioStatus API operation for Amazon SageMaker Service.
11460//
11461// Gets the status of Service Catalog in SageMaker. Service Catalog is used
11462// to create SageMaker projects.
11463//
11464// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11465// with awserr.Error's Code and Message methods to get detailed information about
11466// the error.
11467//
11468// See the AWS API reference guide for Amazon SageMaker Service's
11469// API operation GetSagemakerServicecatalogPortfolioStatus for usage and error information.
11470// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetSagemakerServicecatalogPortfolioStatus
11471func (c *SageMaker) GetSagemakerServicecatalogPortfolioStatus(input *GetSagemakerServicecatalogPortfolioStatusInput) (*GetSagemakerServicecatalogPortfolioStatusOutput, error) {
11472	req, out := c.GetSagemakerServicecatalogPortfolioStatusRequest(input)
11473	return out, req.Send()
11474}
11475
11476// GetSagemakerServicecatalogPortfolioStatusWithContext is the same as GetSagemakerServicecatalogPortfolioStatus with the addition of
11477// the ability to pass a context and additional request options.
11478//
11479// See GetSagemakerServicecatalogPortfolioStatus for details on how to use this API operation.
11480//
11481// The context must be non-nil and will be used for request cancellation. If
11482// the context is nil a panic will occur. In the future the SDK may create
11483// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11484// for more information on using Contexts.
11485func (c *SageMaker) GetSagemakerServicecatalogPortfolioStatusWithContext(ctx aws.Context, input *GetSagemakerServicecatalogPortfolioStatusInput, opts ...request.Option) (*GetSagemakerServicecatalogPortfolioStatusOutput, error) {
11486	req, out := c.GetSagemakerServicecatalogPortfolioStatusRequest(input)
11487	req.SetContext(ctx)
11488	req.ApplyOptions(opts...)
11489	return out, req.Send()
11490}
11491
11492const opGetSearchSuggestions = "GetSearchSuggestions"
11493
11494// GetSearchSuggestionsRequest generates a "aws/request.Request" representing the
11495// client's request for the GetSearchSuggestions operation. The "output" return
11496// value will be populated with the request's response once the request completes
11497// successfully.
11498//
11499// Use "Send" method on the returned Request to send the API call to the service.
11500// the "output" return value is not valid until after Send returns without error.
11501//
11502// See GetSearchSuggestions for more information on using the GetSearchSuggestions
11503// API call, and error handling.
11504//
11505// This method is useful when you want to inject custom logic or configuration
11506// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11507//
11508//
11509//    // Example sending a request using the GetSearchSuggestionsRequest method.
11510//    req, resp := client.GetSearchSuggestionsRequest(params)
11511//
11512//    err := req.Send()
11513//    if err == nil { // resp is now filled
11514//        fmt.Println(resp)
11515//    }
11516//
11517// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetSearchSuggestions
11518func (c *SageMaker) GetSearchSuggestionsRequest(input *GetSearchSuggestionsInput) (req *request.Request, output *GetSearchSuggestionsOutput) {
11519	op := &request.Operation{
11520		Name:       opGetSearchSuggestions,
11521		HTTPMethod: "POST",
11522		HTTPPath:   "/",
11523	}
11524
11525	if input == nil {
11526		input = &GetSearchSuggestionsInput{}
11527	}
11528
11529	output = &GetSearchSuggestionsOutput{}
11530	req = c.newRequest(op, input, output)
11531	return
11532}
11533
11534// GetSearchSuggestions API operation for Amazon SageMaker Service.
11535//
11536// An auto-complete API for the search functionality in the Amazon SageMaker
11537// console. It returns suggestions of possible matches for the property name
11538// to use in Search queries. Provides suggestions for HyperParameters, Tags,
11539// and Metrics.
11540//
11541// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11542// with awserr.Error's Code and Message methods to get detailed information about
11543// the error.
11544//
11545// See the AWS API reference guide for Amazon SageMaker Service's
11546// API operation GetSearchSuggestions for usage and error information.
11547// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetSearchSuggestions
11548func (c *SageMaker) GetSearchSuggestions(input *GetSearchSuggestionsInput) (*GetSearchSuggestionsOutput, error) {
11549	req, out := c.GetSearchSuggestionsRequest(input)
11550	return out, req.Send()
11551}
11552
11553// GetSearchSuggestionsWithContext is the same as GetSearchSuggestions with the addition of
11554// the ability to pass a context and additional request options.
11555//
11556// See GetSearchSuggestions for details on how to use this API operation.
11557//
11558// The context must be non-nil and will be used for request cancellation. If
11559// the context is nil a panic will occur. In the future the SDK may create
11560// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11561// for more information on using Contexts.
11562func (c *SageMaker) GetSearchSuggestionsWithContext(ctx aws.Context, input *GetSearchSuggestionsInput, opts ...request.Option) (*GetSearchSuggestionsOutput, error) {
11563	req, out := c.GetSearchSuggestionsRequest(input)
11564	req.SetContext(ctx)
11565	req.ApplyOptions(opts...)
11566	return out, req.Send()
11567}
11568
11569const opListActions = "ListActions"
11570
11571// ListActionsRequest generates a "aws/request.Request" representing the
11572// client's request for the ListActions operation. The "output" return
11573// value will be populated with the request's response once the request completes
11574// successfully.
11575//
11576// Use "Send" method on the returned Request to send the API call to the service.
11577// the "output" return value is not valid until after Send returns without error.
11578//
11579// See ListActions for more information on using the ListActions
11580// API call, and error handling.
11581//
11582// This method is useful when you want to inject custom logic or configuration
11583// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11584//
11585//
11586//    // Example sending a request using the ListActionsRequest method.
11587//    req, resp := client.ListActionsRequest(params)
11588//
11589//    err := req.Send()
11590//    if err == nil { // resp is now filled
11591//        fmt.Println(resp)
11592//    }
11593//
11594// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListActions
11595func (c *SageMaker) ListActionsRequest(input *ListActionsInput) (req *request.Request, output *ListActionsOutput) {
11596	op := &request.Operation{
11597		Name:       opListActions,
11598		HTTPMethod: "POST",
11599		HTTPPath:   "/",
11600		Paginator: &request.Paginator{
11601			InputTokens:     []string{"NextToken"},
11602			OutputTokens:    []string{"NextToken"},
11603			LimitToken:      "MaxResults",
11604			TruncationToken: "",
11605		},
11606	}
11607
11608	if input == nil {
11609		input = &ListActionsInput{}
11610	}
11611
11612	output = &ListActionsOutput{}
11613	req = c.newRequest(op, input, output)
11614	return
11615}
11616
11617// ListActions API operation for Amazon SageMaker Service.
11618//
11619// Lists the actions in your account and their properties.
11620//
11621// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11622// with awserr.Error's Code and Message methods to get detailed information about
11623// the error.
11624//
11625// See the AWS API reference guide for Amazon SageMaker Service's
11626// API operation ListActions for usage and error information.
11627//
11628// Returned Error Types:
11629//   * ResourceNotFound
11630//   Resource being access is not found.
11631//
11632// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListActions
11633func (c *SageMaker) ListActions(input *ListActionsInput) (*ListActionsOutput, error) {
11634	req, out := c.ListActionsRequest(input)
11635	return out, req.Send()
11636}
11637
11638// ListActionsWithContext is the same as ListActions with the addition of
11639// the ability to pass a context and additional request options.
11640//
11641// See ListActions for details on how to use this API operation.
11642//
11643// The context must be non-nil and will be used for request cancellation. If
11644// the context is nil a panic will occur. In the future the SDK may create
11645// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11646// for more information on using Contexts.
11647func (c *SageMaker) ListActionsWithContext(ctx aws.Context, input *ListActionsInput, opts ...request.Option) (*ListActionsOutput, error) {
11648	req, out := c.ListActionsRequest(input)
11649	req.SetContext(ctx)
11650	req.ApplyOptions(opts...)
11651	return out, req.Send()
11652}
11653
11654// ListActionsPages iterates over the pages of a ListActions operation,
11655// calling the "fn" function with the response data for each page. To stop
11656// iterating, return false from the fn function.
11657//
11658// See ListActions method for more information on how to use this operation.
11659//
11660// Note: This operation can generate multiple requests to a service.
11661//
11662//    // Example iterating over at most 3 pages of a ListActions operation.
11663//    pageNum := 0
11664//    err := client.ListActionsPages(params,
11665//        func(page *sagemaker.ListActionsOutput, lastPage bool) bool {
11666//            pageNum++
11667//            fmt.Println(page)
11668//            return pageNum <= 3
11669//        })
11670//
11671func (c *SageMaker) ListActionsPages(input *ListActionsInput, fn func(*ListActionsOutput, bool) bool) error {
11672	return c.ListActionsPagesWithContext(aws.BackgroundContext(), input, fn)
11673}
11674
11675// ListActionsPagesWithContext same as ListActionsPages except
11676// it takes a Context and allows setting request options on the pages.
11677//
11678// The context must be non-nil and will be used for request cancellation. If
11679// the context is nil a panic will occur. In the future the SDK may create
11680// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11681// for more information on using Contexts.
11682func (c *SageMaker) ListActionsPagesWithContext(ctx aws.Context, input *ListActionsInput, fn func(*ListActionsOutput, bool) bool, opts ...request.Option) error {
11683	p := request.Pagination{
11684		NewRequest: func() (*request.Request, error) {
11685			var inCpy *ListActionsInput
11686			if input != nil {
11687				tmp := *input
11688				inCpy = &tmp
11689			}
11690			req, _ := c.ListActionsRequest(inCpy)
11691			req.SetContext(ctx)
11692			req.ApplyOptions(opts...)
11693			return req, nil
11694		},
11695	}
11696
11697	for p.Next() {
11698		if !fn(p.Page().(*ListActionsOutput), !p.HasNextPage()) {
11699			break
11700		}
11701	}
11702
11703	return p.Err()
11704}
11705
11706const opListAlgorithms = "ListAlgorithms"
11707
11708// ListAlgorithmsRequest generates a "aws/request.Request" representing the
11709// client's request for the ListAlgorithms operation. The "output" return
11710// value will be populated with the request's response once the request completes
11711// successfully.
11712//
11713// Use "Send" method on the returned Request to send the API call to the service.
11714// the "output" return value is not valid until after Send returns without error.
11715//
11716// See ListAlgorithms for more information on using the ListAlgorithms
11717// API call, and error handling.
11718//
11719// This method is useful when you want to inject custom logic or configuration
11720// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11721//
11722//
11723//    // Example sending a request using the ListAlgorithmsRequest method.
11724//    req, resp := client.ListAlgorithmsRequest(params)
11725//
11726//    err := req.Send()
11727//    if err == nil { // resp is now filled
11728//        fmt.Println(resp)
11729//    }
11730//
11731// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAlgorithms
11732func (c *SageMaker) ListAlgorithmsRequest(input *ListAlgorithmsInput) (req *request.Request, output *ListAlgorithmsOutput) {
11733	op := &request.Operation{
11734		Name:       opListAlgorithms,
11735		HTTPMethod: "POST",
11736		HTTPPath:   "/",
11737		Paginator: &request.Paginator{
11738			InputTokens:     []string{"NextToken"},
11739			OutputTokens:    []string{"NextToken"},
11740			LimitToken:      "MaxResults",
11741			TruncationToken: "",
11742		},
11743	}
11744
11745	if input == nil {
11746		input = &ListAlgorithmsInput{}
11747	}
11748
11749	output = &ListAlgorithmsOutput{}
11750	req = c.newRequest(op, input, output)
11751	return
11752}
11753
11754// ListAlgorithms API operation for Amazon SageMaker Service.
11755//
11756// Lists the machine learning algorithms that have been created.
11757//
11758// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11759// with awserr.Error's Code and Message methods to get detailed information about
11760// the error.
11761//
11762// See the AWS API reference guide for Amazon SageMaker Service's
11763// API operation ListAlgorithms for usage and error information.
11764// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAlgorithms
11765func (c *SageMaker) ListAlgorithms(input *ListAlgorithmsInput) (*ListAlgorithmsOutput, error) {
11766	req, out := c.ListAlgorithmsRequest(input)
11767	return out, req.Send()
11768}
11769
11770// ListAlgorithmsWithContext is the same as ListAlgorithms with the addition of
11771// the ability to pass a context and additional request options.
11772//
11773// See ListAlgorithms for details on how to use this API operation.
11774//
11775// The context must be non-nil and will be used for request cancellation. If
11776// the context is nil a panic will occur. In the future the SDK may create
11777// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11778// for more information on using Contexts.
11779func (c *SageMaker) ListAlgorithmsWithContext(ctx aws.Context, input *ListAlgorithmsInput, opts ...request.Option) (*ListAlgorithmsOutput, error) {
11780	req, out := c.ListAlgorithmsRequest(input)
11781	req.SetContext(ctx)
11782	req.ApplyOptions(opts...)
11783	return out, req.Send()
11784}
11785
11786// ListAlgorithmsPages iterates over the pages of a ListAlgorithms operation,
11787// calling the "fn" function with the response data for each page. To stop
11788// iterating, return false from the fn function.
11789//
11790// See ListAlgorithms method for more information on how to use this operation.
11791//
11792// Note: This operation can generate multiple requests to a service.
11793//
11794//    // Example iterating over at most 3 pages of a ListAlgorithms operation.
11795//    pageNum := 0
11796//    err := client.ListAlgorithmsPages(params,
11797//        func(page *sagemaker.ListAlgorithmsOutput, lastPage bool) bool {
11798//            pageNum++
11799//            fmt.Println(page)
11800//            return pageNum <= 3
11801//        })
11802//
11803func (c *SageMaker) ListAlgorithmsPages(input *ListAlgorithmsInput, fn func(*ListAlgorithmsOutput, bool) bool) error {
11804	return c.ListAlgorithmsPagesWithContext(aws.BackgroundContext(), input, fn)
11805}
11806
11807// ListAlgorithmsPagesWithContext same as ListAlgorithmsPages except
11808// it takes a Context and allows setting request options on the pages.
11809//
11810// The context must be non-nil and will be used for request cancellation. If
11811// the context is nil a panic will occur. In the future the SDK may create
11812// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11813// for more information on using Contexts.
11814func (c *SageMaker) ListAlgorithmsPagesWithContext(ctx aws.Context, input *ListAlgorithmsInput, fn func(*ListAlgorithmsOutput, bool) bool, opts ...request.Option) error {
11815	p := request.Pagination{
11816		NewRequest: func() (*request.Request, error) {
11817			var inCpy *ListAlgorithmsInput
11818			if input != nil {
11819				tmp := *input
11820				inCpy = &tmp
11821			}
11822			req, _ := c.ListAlgorithmsRequest(inCpy)
11823			req.SetContext(ctx)
11824			req.ApplyOptions(opts...)
11825			return req, nil
11826		},
11827	}
11828
11829	for p.Next() {
11830		if !fn(p.Page().(*ListAlgorithmsOutput), !p.HasNextPage()) {
11831			break
11832		}
11833	}
11834
11835	return p.Err()
11836}
11837
11838const opListAppImageConfigs = "ListAppImageConfigs"
11839
11840// ListAppImageConfigsRequest generates a "aws/request.Request" representing the
11841// client's request for the ListAppImageConfigs operation. The "output" return
11842// value will be populated with the request's response once the request completes
11843// successfully.
11844//
11845// Use "Send" method on the returned Request to send the API call to the service.
11846// the "output" return value is not valid until after Send returns without error.
11847//
11848// See ListAppImageConfigs for more information on using the ListAppImageConfigs
11849// API call, and error handling.
11850//
11851// This method is useful when you want to inject custom logic or configuration
11852// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11853//
11854//
11855//    // Example sending a request using the ListAppImageConfigsRequest method.
11856//    req, resp := client.ListAppImageConfigsRequest(params)
11857//
11858//    err := req.Send()
11859//    if err == nil { // resp is now filled
11860//        fmt.Println(resp)
11861//    }
11862//
11863// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAppImageConfigs
11864func (c *SageMaker) ListAppImageConfigsRequest(input *ListAppImageConfigsInput) (req *request.Request, output *ListAppImageConfigsOutput) {
11865	op := &request.Operation{
11866		Name:       opListAppImageConfigs,
11867		HTTPMethod: "POST",
11868		HTTPPath:   "/",
11869		Paginator: &request.Paginator{
11870			InputTokens:     []string{"NextToken"},
11871			OutputTokens:    []string{"NextToken"},
11872			LimitToken:      "MaxResults",
11873			TruncationToken: "",
11874		},
11875	}
11876
11877	if input == nil {
11878		input = &ListAppImageConfigsInput{}
11879	}
11880
11881	output = &ListAppImageConfigsOutput{}
11882	req = c.newRequest(op, input, output)
11883	return
11884}
11885
11886// ListAppImageConfigs API operation for Amazon SageMaker Service.
11887//
11888// Lists the AppImageConfigs in your account and their properties. The list
11889// can be filtered by creation time or modified time, and whether the AppImageConfig
11890// name contains a specified string.
11891//
11892// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
11893// with awserr.Error's Code and Message methods to get detailed information about
11894// the error.
11895//
11896// See the AWS API reference guide for Amazon SageMaker Service's
11897// API operation ListAppImageConfigs for usage and error information.
11898// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAppImageConfigs
11899func (c *SageMaker) ListAppImageConfigs(input *ListAppImageConfigsInput) (*ListAppImageConfigsOutput, error) {
11900	req, out := c.ListAppImageConfigsRequest(input)
11901	return out, req.Send()
11902}
11903
11904// ListAppImageConfigsWithContext is the same as ListAppImageConfigs with the addition of
11905// the ability to pass a context and additional request options.
11906//
11907// See ListAppImageConfigs for details on how to use this API operation.
11908//
11909// The context must be non-nil and will be used for request cancellation. If
11910// the context is nil a panic will occur. In the future the SDK may create
11911// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11912// for more information on using Contexts.
11913func (c *SageMaker) ListAppImageConfigsWithContext(ctx aws.Context, input *ListAppImageConfigsInput, opts ...request.Option) (*ListAppImageConfigsOutput, error) {
11914	req, out := c.ListAppImageConfigsRequest(input)
11915	req.SetContext(ctx)
11916	req.ApplyOptions(opts...)
11917	return out, req.Send()
11918}
11919
11920// ListAppImageConfigsPages iterates over the pages of a ListAppImageConfigs operation,
11921// calling the "fn" function with the response data for each page. To stop
11922// iterating, return false from the fn function.
11923//
11924// See ListAppImageConfigs method for more information on how to use this operation.
11925//
11926// Note: This operation can generate multiple requests to a service.
11927//
11928//    // Example iterating over at most 3 pages of a ListAppImageConfigs operation.
11929//    pageNum := 0
11930//    err := client.ListAppImageConfigsPages(params,
11931//        func(page *sagemaker.ListAppImageConfigsOutput, lastPage bool) bool {
11932//            pageNum++
11933//            fmt.Println(page)
11934//            return pageNum <= 3
11935//        })
11936//
11937func (c *SageMaker) ListAppImageConfigsPages(input *ListAppImageConfigsInput, fn func(*ListAppImageConfigsOutput, bool) bool) error {
11938	return c.ListAppImageConfigsPagesWithContext(aws.BackgroundContext(), input, fn)
11939}
11940
11941// ListAppImageConfigsPagesWithContext same as ListAppImageConfigsPages except
11942// it takes a Context and allows setting request options on the pages.
11943//
11944// The context must be non-nil and will be used for request cancellation. If
11945// the context is nil a panic will occur. In the future the SDK may create
11946// sub-contexts for http.Requests. See https://golang.org/pkg/context/
11947// for more information on using Contexts.
11948func (c *SageMaker) ListAppImageConfigsPagesWithContext(ctx aws.Context, input *ListAppImageConfigsInput, fn func(*ListAppImageConfigsOutput, bool) bool, opts ...request.Option) error {
11949	p := request.Pagination{
11950		NewRequest: func() (*request.Request, error) {
11951			var inCpy *ListAppImageConfigsInput
11952			if input != nil {
11953				tmp := *input
11954				inCpy = &tmp
11955			}
11956			req, _ := c.ListAppImageConfigsRequest(inCpy)
11957			req.SetContext(ctx)
11958			req.ApplyOptions(opts...)
11959			return req, nil
11960		},
11961	}
11962
11963	for p.Next() {
11964		if !fn(p.Page().(*ListAppImageConfigsOutput), !p.HasNextPage()) {
11965			break
11966		}
11967	}
11968
11969	return p.Err()
11970}
11971
11972const opListApps = "ListApps"
11973
11974// ListAppsRequest generates a "aws/request.Request" representing the
11975// client's request for the ListApps operation. The "output" return
11976// value will be populated with the request's response once the request completes
11977// successfully.
11978//
11979// Use "Send" method on the returned Request to send the API call to the service.
11980// the "output" return value is not valid until after Send returns without error.
11981//
11982// See ListApps for more information on using the ListApps
11983// API call, and error handling.
11984//
11985// This method is useful when you want to inject custom logic or configuration
11986// into the SDK's request lifecycle. Such as custom headers, or retry logic.
11987//
11988//
11989//    // Example sending a request using the ListAppsRequest method.
11990//    req, resp := client.ListAppsRequest(params)
11991//
11992//    err := req.Send()
11993//    if err == nil { // resp is now filled
11994//        fmt.Println(resp)
11995//    }
11996//
11997// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListApps
11998func (c *SageMaker) ListAppsRequest(input *ListAppsInput) (req *request.Request, output *ListAppsOutput) {
11999	op := &request.Operation{
12000		Name:       opListApps,
12001		HTTPMethod: "POST",
12002		HTTPPath:   "/",
12003		Paginator: &request.Paginator{
12004			InputTokens:     []string{"NextToken"},
12005			OutputTokens:    []string{"NextToken"},
12006			LimitToken:      "MaxResults",
12007			TruncationToken: "",
12008		},
12009	}
12010
12011	if input == nil {
12012		input = &ListAppsInput{}
12013	}
12014
12015	output = &ListAppsOutput{}
12016	req = c.newRequest(op, input, output)
12017	return
12018}
12019
12020// ListApps API operation for Amazon SageMaker Service.
12021//
12022// Lists apps.
12023//
12024// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12025// with awserr.Error's Code and Message methods to get detailed information about
12026// the error.
12027//
12028// See the AWS API reference guide for Amazon SageMaker Service's
12029// API operation ListApps for usage and error information.
12030// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListApps
12031func (c *SageMaker) ListApps(input *ListAppsInput) (*ListAppsOutput, error) {
12032	req, out := c.ListAppsRequest(input)
12033	return out, req.Send()
12034}
12035
12036// ListAppsWithContext is the same as ListApps with the addition of
12037// the ability to pass a context and additional request options.
12038//
12039// See ListApps for details on how to use this API operation.
12040//
12041// The context must be non-nil and will be used for request cancellation. If
12042// the context is nil a panic will occur. In the future the SDK may create
12043// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12044// for more information on using Contexts.
12045func (c *SageMaker) ListAppsWithContext(ctx aws.Context, input *ListAppsInput, opts ...request.Option) (*ListAppsOutput, error) {
12046	req, out := c.ListAppsRequest(input)
12047	req.SetContext(ctx)
12048	req.ApplyOptions(opts...)
12049	return out, req.Send()
12050}
12051
12052// ListAppsPages iterates over the pages of a ListApps operation,
12053// calling the "fn" function with the response data for each page. To stop
12054// iterating, return false from the fn function.
12055//
12056// See ListApps method for more information on how to use this operation.
12057//
12058// Note: This operation can generate multiple requests to a service.
12059//
12060//    // Example iterating over at most 3 pages of a ListApps operation.
12061//    pageNum := 0
12062//    err := client.ListAppsPages(params,
12063//        func(page *sagemaker.ListAppsOutput, lastPage bool) bool {
12064//            pageNum++
12065//            fmt.Println(page)
12066//            return pageNum <= 3
12067//        })
12068//
12069func (c *SageMaker) ListAppsPages(input *ListAppsInput, fn func(*ListAppsOutput, bool) bool) error {
12070	return c.ListAppsPagesWithContext(aws.BackgroundContext(), input, fn)
12071}
12072
12073// ListAppsPagesWithContext same as ListAppsPages except
12074// it takes a Context and allows setting request options on the pages.
12075//
12076// The context must be non-nil and will be used for request cancellation. If
12077// the context is nil a panic will occur. In the future the SDK may create
12078// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12079// for more information on using Contexts.
12080func (c *SageMaker) ListAppsPagesWithContext(ctx aws.Context, input *ListAppsInput, fn func(*ListAppsOutput, bool) bool, opts ...request.Option) error {
12081	p := request.Pagination{
12082		NewRequest: func() (*request.Request, error) {
12083			var inCpy *ListAppsInput
12084			if input != nil {
12085				tmp := *input
12086				inCpy = &tmp
12087			}
12088			req, _ := c.ListAppsRequest(inCpy)
12089			req.SetContext(ctx)
12090			req.ApplyOptions(opts...)
12091			return req, nil
12092		},
12093	}
12094
12095	for p.Next() {
12096		if !fn(p.Page().(*ListAppsOutput), !p.HasNextPage()) {
12097			break
12098		}
12099	}
12100
12101	return p.Err()
12102}
12103
12104const opListArtifacts = "ListArtifacts"
12105
12106// ListArtifactsRequest generates a "aws/request.Request" representing the
12107// client's request for the ListArtifacts operation. The "output" return
12108// value will be populated with the request's response once the request completes
12109// successfully.
12110//
12111// Use "Send" method on the returned Request to send the API call to the service.
12112// the "output" return value is not valid until after Send returns without error.
12113//
12114// See ListArtifacts for more information on using the ListArtifacts
12115// API call, and error handling.
12116//
12117// This method is useful when you want to inject custom logic or configuration
12118// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12119//
12120//
12121//    // Example sending a request using the ListArtifactsRequest method.
12122//    req, resp := client.ListArtifactsRequest(params)
12123//
12124//    err := req.Send()
12125//    if err == nil { // resp is now filled
12126//        fmt.Println(resp)
12127//    }
12128//
12129// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListArtifacts
12130func (c *SageMaker) ListArtifactsRequest(input *ListArtifactsInput) (req *request.Request, output *ListArtifactsOutput) {
12131	op := &request.Operation{
12132		Name:       opListArtifacts,
12133		HTTPMethod: "POST",
12134		HTTPPath:   "/",
12135		Paginator: &request.Paginator{
12136			InputTokens:     []string{"NextToken"},
12137			OutputTokens:    []string{"NextToken"},
12138			LimitToken:      "MaxResults",
12139			TruncationToken: "",
12140		},
12141	}
12142
12143	if input == nil {
12144		input = &ListArtifactsInput{}
12145	}
12146
12147	output = &ListArtifactsOutput{}
12148	req = c.newRequest(op, input, output)
12149	return
12150}
12151
12152// ListArtifacts API operation for Amazon SageMaker Service.
12153//
12154// Lists the artifacts in your account and their properties.
12155//
12156// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12157// with awserr.Error's Code and Message methods to get detailed information about
12158// the error.
12159//
12160// See the AWS API reference guide for Amazon SageMaker Service's
12161// API operation ListArtifacts for usage and error information.
12162//
12163// Returned Error Types:
12164//   * ResourceNotFound
12165//   Resource being access is not found.
12166//
12167// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListArtifacts
12168func (c *SageMaker) ListArtifacts(input *ListArtifactsInput) (*ListArtifactsOutput, error) {
12169	req, out := c.ListArtifactsRequest(input)
12170	return out, req.Send()
12171}
12172
12173// ListArtifactsWithContext is the same as ListArtifacts with the addition of
12174// the ability to pass a context and additional request options.
12175//
12176// See ListArtifacts for details on how to use this API operation.
12177//
12178// The context must be non-nil and will be used for request cancellation. If
12179// the context is nil a panic will occur. In the future the SDK may create
12180// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12181// for more information on using Contexts.
12182func (c *SageMaker) ListArtifactsWithContext(ctx aws.Context, input *ListArtifactsInput, opts ...request.Option) (*ListArtifactsOutput, error) {
12183	req, out := c.ListArtifactsRequest(input)
12184	req.SetContext(ctx)
12185	req.ApplyOptions(opts...)
12186	return out, req.Send()
12187}
12188
12189// ListArtifactsPages iterates over the pages of a ListArtifacts operation,
12190// calling the "fn" function with the response data for each page. To stop
12191// iterating, return false from the fn function.
12192//
12193// See ListArtifacts method for more information on how to use this operation.
12194//
12195// Note: This operation can generate multiple requests to a service.
12196//
12197//    // Example iterating over at most 3 pages of a ListArtifacts operation.
12198//    pageNum := 0
12199//    err := client.ListArtifactsPages(params,
12200//        func(page *sagemaker.ListArtifactsOutput, lastPage bool) bool {
12201//            pageNum++
12202//            fmt.Println(page)
12203//            return pageNum <= 3
12204//        })
12205//
12206func (c *SageMaker) ListArtifactsPages(input *ListArtifactsInput, fn func(*ListArtifactsOutput, bool) bool) error {
12207	return c.ListArtifactsPagesWithContext(aws.BackgroundContext(), input, fn)
12208}
12209
12210// ListArtifactsPagesWithContext same as ListArtifactsPages except
12211// it takes a Context and allows setting request options on the pages.
12212//
12213// The context must be non-nil and will be used for request cancellation. If
12214// the context is nil a panic will occur. In the future the SDK may create
12215// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12216// for more information on using Contexts.
12217func (c *SageMaker) ListArtifactsPagesWithContext(ctx aws.Context, input *ListArtifactsInput, fn func(*ListArtifactsOutput, bool) bool, opts ...request.Option) error {
12218	p := request.Pagination{
12219		NewRequest: func() (*request.Request, error) {
12220			var inCpy *ListArtifactsInput
12221			if input != nil {
12222				tmp := *input
12223				inCpy = &tmp
12224			}
12225			req, _ := c.ListArtifactsRequest(inCpy)
12226			req.SetContext(ctx)
12227			req.ApplyOptions(opts...)
12228			return req, nil
12229		},
12230	}
12231
12232	for p.Next() {
12233		if !fn(p.Page().(*ListArtifactsOutput), !p.HasNextPage()) {
12234			break
12235		}
12236	}
12237
12238	return p.Err()
12239}
12240
12241const opListAssociations = "ListAssociations"
12242
12243// ListAssociationsRequest generates a "aws/request.Request" representing the
12244// client's request for the ListAssociations operation. The "output" return
12245// value will be populated with the request's response once the request completes
12246// successfully.
12247//
12248// Use "Send" method on the returned Request to send the API call to the service.
12249// the "output" return value is not valid until after Send returns without error.
12250//
12251// See ListAssociations for more information on using the ListAssociations
12252// API call, and error handling.
12253//
12254// This method is useful when you want to inject custom logic or configuration
12255// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12256//
12257//
12258//    // Example sending a request using the ListAssociationsRequest method.
12259//    req, resp := client.ListAssociationsRequest(params)
12260//
12261//    err := req.Send()
12262//    if err == nil { // resp is now filled
12263//        fmt.Println(resp)
12264//    }
12265//
12266// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAssociations
12267func (c *SageMaker) ListAssociationsRequest(input *ListAssociationsInput) (req *request.Request, output *ListAssociationsOutput) {
12268	op := &request.Operation{
12269		Name:       opListAssociations,
12270		HTTPMethod: "POST",
12271		HTTPPath:   "/",
12272		Paginator: &request.Paginator{
12273			InputTokens:     []string{"NextToken"},
12274			OutputTokens:    []string{"NextToken"},
12275			LimitToken:      "MaxResults",
12276			TruncationToken: "",
12277		},
12278	}
12279
12280	if input == nil {
12281		input = &ListAssociationsInput{}
12282	}
12283
12284	output = &ListAssociationsOutput{}
12285	req = c.newRequest(op, input, output)
12286	return
12287}
12288
12289// ListAssociations API operation for Amazon SageMaker Service.
12290//
12291// Lists the associations in your account and their properties.
12292//
12293// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12294// with awserr.Error's Code and Message methods to get detailed information about
12295// the error.
12296//
12297// See the AWS API reference guide for Amazon SageMaker Service's
12298// API operation ListAssociations for usage and error information.
12299//
12300// Returned Error Types:
12301//   * ResourceNotFound
12302//   Resource being access is not found.
12303//
12304// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAssociations
12305func (c *SageMaker) ListAssociations(input *ListAssociationsInput) (*ListAssociationsOutput, error) {
12306	req, out := c.ListAssociationsRequest(input)
12307	return out, req.Send()
12308}
12309
12310// ListAssociationsWithContext is the same as ListAssociations with the addition of
12311// the ability to pass a context and additional request options.
12312//
12313// See ListAssociations for details on how to use this API operation.
12314//
12315// The context must be non-nil and will be used for request cancellation. If
12316// the context is nil a panic will occur. In the future the SDK may create
12317// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12318// for more information on using Contexts.
12319func (c *SageMaker) ListAssociationsWithContext(ctx aws.Context, input *ListAssociationsInput, opts ...request.Option) (*ListAssociationsOutput, error) {
12320	req, out := c.ListAssociationsRequest(input)
12321	req.SetContext(ctx)
12322	req.ApplyOptions(opts...)
12323	return out, req.Send()
12324}
12325
12326// ListAssociationsPages iterates over the pages of a ListAssociations operation,
12327// calling the "fn" function with the response data for each page. To stop
12328// iterating, return false from the fn function.
12329//
12330// See ListAssociations method for more information on how to use this operation.
12331//
12332// Note: This operation can generate multiple requests to a service.
12333//
12334//    // Example iterating over at most 3 pages of a ListAssociations operation.
12335//    pageNum := 0
12336//    err := client.ListAssociationsPages(params,
12337//        func(page *sagemaker.ListAssociationsOutput, lastPage bool) bool {
12338//            pageNum++
12339//            fmt.Println(page)
12340//            return pageNum <= 3
12341//        })
12342//
12343func (c *SageMaker) ListAssociationsPages(input *ListAssociationsInput, fn func(*ListAssociationsOutput, bool) bool) error {
12344	return c.ListAssociationsPagesWithContext(aws.BackgroundContext(), input, fn)
12345}
12346
12347// ListAssociationsPagesWithContext same as ListAssociationsPages except
12348// it takes a Context and allows setting request options on the pages.
12349//
12350// The context must be non-nil and will be used for request cancellation. If
12351// the context is nil a panic will occur. In the future the SDK may create
12352// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12353// for more information on using Contexts.
12354func (c *SageMaker) ListAssociationsPagesWithContext(ctx aws.Context, input *ListAssociationsInput, fn func(*ListAssociationsOutput, bool) bool, opts ...request.Option) error {
12355	p := request.Pagination{
12356		NewRequest: func() (*request.Request, error) {
12357			var inCpy *ListAssociationsInput
12358			if input != nil {
12359				tmp := *input
12360				inCpy = &tmp
12361			}
12362			req, _ := c.ListAssociationsRequest(inCpy)
12363			req.SetContext(ctx)
12364			req.ApplyOptions(opts...)
12365			return req, nil
12366		},
12367	}
12368
12369	for p.Next() {
12370		if !fn(p.Page().(*ListAssociationsOutput), !p.HasNextPage()) {
12371			break
12372		}
12373	}
12374
12375	return p.Err()
12376}
12377
12378const opListAutoMLJobs = "ListAutoMLJobs"
12379
12380// ListAutoMLJobsRequest generates a "aws/request.Request" representing the
12381// client's request for the ListAutoMLJobs operation. The "output" return
12382// value will be populated with the request's response once the request completes
12383// successfully.
12384//
12385// Use "Send" method on the returned Request to send the API call to the service.
12386// the "output" return value is not valid until after Send returns without error.
12387//
12388// See ListAutoMLJobs for more information on using the ListAutoMLJobs
12389// API call, and error handling.
12390//
12391// This method is useful when you want to inject custom logic or configuration
12392// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12393//
12394//
12395//    // Example sending a request using the ListAutoMLJobsRequest method.
12396//    req, resp := client.ListAutoMLJobsRequest(params)
12397//
12398//    err := req.Send()
12399//    if err == nil { // resp is now filled
12400//        fmt.Println(resp)
12401//    }
12402//
12403// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAutoMLJobs
12404func (c *SageMaker) ListAutoMLJobsRequest(input *ListAutoMLJobsInput) (req *request.Request, output *ListAutoMLJobsOutput) {
12405	op := &request.Operation{
12406		Name:       opListAutoMLJobs,
12407		HTTPMethod: "POST",
12408		HTTPPath:   "/",
12409		Paginator: &request.Paginator{
12410			InputTokens:     []string{"NextToken"},
12411			OutputTokens:    []string{"NextToken"},
12412			LimitToken:      "MaxResults",
12413			TruncationToken: "",
12414		},
12415	}
12416
12417	if input == nil {
12418		input = &ListAutoMLJobsInput{}
12419	}
12420
12421	output = &ListAutoMLJobsOutput{}
12422	req = c.newRequest(op, input, output)
12423	return
12424}
12425
12426// ListAutoMLJobs API operation for Amazon SageMaker Service.
12427//
12428// Request a list of jobs.
12429//
12430// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12431// with awserr.Error's Code and Message methods to get detailed information about
12432// the error.
12433//
12434// See the AWS API reference guide for Amazon SageMaker Service's
12435// API operation ListAutoMLJobs for usage and error information.
12436// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAutoMLJobs
12437func (c *SageMaker) ListAutoMLJobs(input *ListAutoMLJobsInput) (*ListAutoMLJobsOutput, error) {
12438	req, out := c.ListAutoMLJobsRequest(input)
12439	return out, req.Send()
12440}
12441
12442// ListAutoMLJobsWithContext is the same as ListAutoMLJobs with the addition of
12443// the ability to pass a context and additional request options.
12444//
12445// See ListAutoMLJobs for details on how to use this API operation.
12446//
12447// The context must be non-nil and will be used for request cancellation. If
12448// the context is nil a panic will occur. In the future the SDK may create
12449// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12450// for more information on using Contexts.
12451func (c *SageMaker) ListAutoMLJobsWithContext(ctx aws.Context, input *ListAutoMLJobsInput, opts ...request.Option) (*ListAutoMLJobsOutput, error) {
12452	req, out := c.ListAutoMLJobsRequest(input)
12453	req.SetContext(ctx)
12454	req.ApplyOptions(opts...)
12455	return out, req.Send()
12456}
12457
12458// ListAutoMLJobsPages iterates over the pages of a ListAutoMLJobs operation,
12459// calling the "fn" function with the response data for each page. To stop
12460// iterating, return false from the fn function.
12461//
12462// See ListAutoMLJobs method for more information on how to use this operation.
12463//
12464// Note: This operation can generate multiple requests to a service.
12465//
12466//    // Example iterating over at most 3 pages of a ListAutoMLJobs operation.
12467//    pageNum := 0
12468//    err := client.ListAutoMLJobsPages(params,
12469//        func(page *sagemaker.ListAutoMLJobsOutput, lastPage bool) bool {
12470//            pageNum++
12471//            fmt.Println(page)
12472//            return pageNum <= 3
12473//        })
12474//
12475func (c *SageMaker) ListAutoMLJobsPages(input *ListAutoMLJobsInput, fn func(*ListAutoMLJobsOutput, bool) bool) error {
12476	return c.ListAutoMLJobsPagesWithContext(aws.BackgroundContext(), input, fn)
12477}
12478
12479// ListAutoMLJobsPagesWithContext same as ListAutoMLJobsPages except
12480// it takes a Context and allows setting request options on the pages.
12481//
12482// The context must be non-nil and will be used for request cancellation. If
12483// the context is nil a panic will occur. In the future the SDK may create
12484// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12485// for more information on using Contexts.
12486func (c *SageMaker) ListAutoMLJobsPagesWithContext(ctx aws.Context, input *ListAutoMLJobsInput, fn func(*ListAutoMLJobsOutput, bool) bool, opts ...request.Option) error {
12487	p := request.Pagination{
12488		NewRequest: func() (*request.Request, error) {
12489			var inCpy *ListAutoMLJobsInput
12490			if input != nil {
12491				tmp := *input
12492				inCpy = &tmp
12493			}
12494			req, _ := c.ListAutoMLJobsRequest(inCpy)
12495			req.SetContext(ctx)
12496			req.ApplyOptions(opts...)
12497			return req, nil
12498		},
12499	}
12500
12501	for p.Next() {
12502		if !fn(p.Page().(*ListAutoMLJobsOutput), !p.HasNextPage()) {
12503			break
12504		}
12505	}
12506
12507	return p.Err()
12508}
12509
12510const opListCandidatesForAutoMLJob = "ListCandidatesForAutoMLJob"
12511
12512// ListCandidatesForAutoMLJobRequest generates a "aws/request.Request" representing the
12513// client's request for the ListCandidatesForAutoMLJob operation. The "output" return
12514// value will be populated with the request's response once the request completes
12515// successfully.
12516//
12517// Use "Send" method on the returned Request to send the API call to the service.
12518// the "output" return value is not valid until after Send returns without error.
12519//
12520// See ListCandidatesForAutoMLJob for more information on using the ListCandidatesForAutoMLJob
12521// API call, and error handling.
12522//
12523// This method is useful when you want to inject custom logic or configuration
12524// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12525//
12526//
12527//    // Example sending a request using the ListCandidatesForAutoMLJobRequest method.
12528//    req, resp := client.ListCandidatesForAutoMLJobRequest(params)
12529//
12530//    err := req.Send()
12531//    if err == nil { // resp is now filled
12532//        fmt.Println(resp)
12533//    }
12534//
12535// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCandidatesForAutoMLJob
12536func (c *SageMaker) ListCandidatesForAutoMLJobRequest(input *ListCandidatesForAutoMLJobInput) (req *request.Request, output *ListCandidatesForAutoMLJobOutput) {
12537	op := &request.Operation{
12538		Name:       opListCandidatesForAutoMLJob,
12539		HTTPMethod: "POST",
12540		HTTPPath:   "/",
12541		Paginator: &request.Paginator{
12542			InputTokens:     []string{"NextToken"},
12543			OutputTokens:    []string{"NextToken"},
12544			LimitToken:      "MaxResults",
12545			TruncationToken: "",
12546		},
12547	}
12548
12549	if input == nil {
12550		input = &ListCandidatesForAutoMLJobInput{}
12551	}
12552
12553	output = &ListCandidatesForAutoMLJobOutput{}
12554	req = c.newRequest(op, input, output)
12555	return
12556}
12557
12558// ListCandidatesForAutoMLJob API operation for Amazon SageMaker Service.
12559//
12560// List the Candidates created for the job.
12561//
12562// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12563// with awserr.Error's Code and Message methods to get detailed information about
12564// the error.
12565//
12566// See the AWS API reference guide for Amazon SageMaker Service's
12567// API operation ListCandidatesForAutoMLJob for usage and error information.
12568//
12569// Returned Error Types:
12570//   * ResourceNotFound
12571//   Resource being access is not found.
12572//
12573// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCandidatesForAutoMLJob
12574func (c *SageMaker) ListCandidatesForAutoMLJob(input *ListCandidatesForAutoMLJobInput) (*ListCandidatesForAutoMLJobOutput, error) {
12575	req, out := c.ListCandidatesForAutoMLJobRequest(input)
12576	return out, req.Send()
12577}
12578
12579// ListCandidatesForAutoMLJobWithContext is the same as ListCandidatesForAutoMLJob with the addition of
12580// the ability to pass a context and additional request options.
12581//
12582// See ListCandidatesForAutoMLJob for details on how to use this API operation.
12583//
12584// The context must be non-nil and will be used for request cancellation. If
12585// the context is nil a panic will occur. In the future the SDK may create
12586// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12587// for more information on using Contexts.
12588func (c *SageMaker) ListCandidatesForAutoMLJobWithContext(ctx aws.Context, input *ListCandidatesForAutoMLJobInput, opts ...request.Option) (*ListCandidatesForAutoMLJobOutput, error) {
12589	req, out := c.ListCandidatesForAutoMLJobRequest(input)
12590	req.SetContext(ctx)
12591	req.ApplyOptions(opts...)
12592	return out, req.Send()
12593}
12594
12595// ListCandidatesForAutoMLJobPages iterates over the pages of a ListCandidatesForAutoMLJob operation,
12596// calling the "fn" function with the response data for each page. To stop
12597// iterating, return false from the fn function.
12598//
12599// See ListCandidatesForAutoMLJob method for more information on how to use this operation.
12600//
12601// Note: This operation can generate multiple requests to a service.
12602//
12603//    // Example iterating over at most 3 pages of a ListCandidatesForAutoMLJob operation.
12604//    pageNum := 0
12605//    err := client.ListCandidatesForAutoMLJobPages(params,
12606//        func(page *sagemaker.ListCandidatesForAutoMLJobOutput, lastPage bool) bool {
12607//            pageNum++
12608//            fmt.Println(page)
12609//            return pageNum <= 3
12610//        })
12611//
12612func (c *SageMaker) ListCandidatesForAutoMLJobPages(input *ListCandidatesForAutoMLJobInput, fn func(*ListCandidatesForAutoMLJobOutput, bool) bool) error {
12613	return c.ListCandidatesForAutoMLJobPagesWithContext(aws.BackgroundContext(), input, fn)
12614}
12615
12616// ListCandidatesForAutoMLJobPagesWithContext same as ListCandidatesForAutoMLJobPages except
12617// it takes a Context and allows setting request options on the pages.
12618//
12619// The context must be non-nil and will be used for request cancellation. If
12620// the context is nil a panic will occur. In the future the SDK may create
12621// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12622// for more information on using Contexts.
12623func (c *SageMaker) ListCandidatesForAutoMLJobPagesWithContext(ctx aws.Context, input *ListCandidatesForAutoMLJobInput, fn func(*ListCandidatesForAutoMLJobOutput, bool) bool, opts ...request.Option) error {
12624	p := request.Pagination{
12625		NewRequest: func() (*request.Request, error) {
12626			var inCpy *ListCandidatesForAutoMLJobInput
12627			if input != nil {
12628				tmp := *input
12629				inCpy = &tmp
12630			}
12631			req, _ := c.ListCandidatesForAutoMLJobRequest(inCpy)
12632			req.SetContext(ctx)
12633			req.ApplyOptions(opts...)
12634			return req, nil
12635		},
12636	}
12637
12638	for p.Next() {
12639		if !fn(p.Page().(*ListCandidatesForAutoMLJobOutput), !p.HasNextPage()) {
12640			break
12641		}
12642	}
12643
12644	return p.Err()
12645}
12646
12647const opListCodeRepositories = "ListCodeRepositories"
12648
12649// ListCodeRepositoriesRequest generates a "aws/request.Request" representing the
12650// client's request for the ListCodeRepositories operation. The "output" return
12651// value will be populated with the request's response once the request completes
12652// successfully.
12653//
12654// Use "Send" method on the returned Request to send the API call to the service.
12655// the "output" return value is not valid until after Send returns without error.
12656//
12657// See ListCodeRepositories for more information on using the ListCodeRepositories
12658// API call, and error handling.
12659//
12660// This method is useful when you want to inject custom logic or configuration
12661// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12662//
12663//
12664//    // Example sending a request using the ListCodeRepositoriesRequest method.
12665//    req, resp := client.ListCodeRepositoriesRequest(params)
12666//
12667//    err := req.Send()
12668//    if err == nil { // resp is now filled
12669//        fmt.Println(resp)
12670//    }
12671//
12672// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCodeRepositories
12673func (c *SageMaker) ListCodeRepositoriesRequest(input *ListCodeRepositoriesInput) (req *request.Request, output *ListCodeRepositoriesOutput) {
12674	op := &request.Operation{
12675		Name:       opListCodeRepositories,
12676		HTTPMethod: "POST",
12677		HTTPPath:   "/",
12678		Paginator: &request.Paginator{
12679			InputTokens:     []string{"NextToken"},
12680			OutputTokens:    []string{"NextToken"},
12681			LimitToken:      "MaxResults",
12682			TruncationToken: "",
12683		},
12684	}
12685
12686	if input == nil {
12687		input = &ListCodeRepositoriesInput{}
12688	}
12689
12690	output = &ListCodeRepositoriesOutput{}
12691	req = c.newRequest(op, input, output)
12692	return
12693}
12694
12695// ListCodeRepositories API operation for Amazon SageMaker Service.
12696//
12697// Gets a list of the Git repositories in your account.
12698//
12699// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12700// with awserr.Error's Code and Message methods to get detailed information about
12701// the error.
12702//
12703// See the AWS API reference guide for Amazon SageMaker Service's
12704// API operation ListCodeRepositories for usage and error information.
12705// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCodeRepositories
12706func (c *SageMaker) ListCodeRepositories(input *ListCodeRepositoriesInput) (*ListCodeRepositoriesOutput, error) {
12707	req, out := c.ListCodeRepositoriesRequest(input)
12708	return out, req.Send()
12709}
12710
12711// ListCodeRepositoriesWithContext is the same as ListCodeRepositories with the addition of
12712// the ability to pass a context and additional request options.
12713//
12714// See ListCodeRepositories for details on how to use this API operation.
12715//
12716// The context must be non-nil and will be used for request cancellation. If
12717// the context is nil a panic will occur. In the future the SDK may create
12718// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12719// for more information on using Contexts.
12720func (c *SageMaker) ListCodeRepositoriesWithContext(ctx aws.Context, input *ListCodeRepositoriesInput, opts ...request.Option) (*ListCodeRepositoriesOutput, error) {
12721	req, out := c.ListCodeRepositoriesRequest(input)
12722	req.SetContext(ctx)
12723	req.ApplyOptions(opts...)
12724	return out, req.Send()
12725}
12726
12727// ListCodeRepositoriesPages iterates over the pages of a ListCodeRepositories operation,
12728// calling the "fn" function with the response data for each page. To stop
12729// iterating, return false from the fn function.
12730//
12731// See ListCodeRepositories method for more information on how to use this operation.
12732//
12733// Note: This operation can generate multiple requests to a service.
12734//
12735//    // Example iterating over at most 3 pages of a ListCodeRepositories operation.
12736//    pageNum := 0
12737//    err := client.ListCodeRepositoriesPages(params,
12738//        func(page *sagemaker.ListCodeRepositoriesOutput, lastPage bool) bool {
12739//            pageNum++
12740//            fmt.Println(page)
12741//            return pageNum <= 3
12742//        })
12743//
12744func (c *SageMaker) ListCodeRepositoriesPages(input *ListCodeRepositoriesInput, fn func(*ListCodeRepositoriesOutput, bool) bool) error {
12745	return c.ListCodeRepositoriesPagesWithContext(aws.BackgroundContext(), input, fn)
12746}
12747
12748// ListCodeRepositoriesPagesWithContext same as ListCodeRepositoriesPages except
12749// it takes a Context and allows setting request options on the pages.
12750//
12751// The context must be non-nil and will be used for request cancellation. If
12752// the context is nil a panic will occur. In the future the SDK may create
12753// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12754// for more information on using Contexts.
12755func (c *SageMaker) ListCodeRepositoriesPagesWithContext(ctx aws.Context, input *ListCodeRepositoriesInput, fn func(*ListCodeRepositoriesOutput, bool) bool, opts ...request.Option) error {
12756	p := request.Pagination{
12757		NewRequest: func() (*request.Request, error) {
12758			var inCpy *ListCodeRepositoriesInput
12759			if input != nil {
12760				tmp := *input
12761				inCpy = &tmp
12762			}
12763			req, _ := c.ListCodeRepositoriesRequest(inCpy)
12764			req.SetContext(ctx)
12765			req.ApplyOptions(opts...)
12766			return req, nil
12767		},
12768	}
12769
12770	for p.Next() {
12771		if !fn(p.Page().(*ListCodeRepositoriesOutput), !p.HasNextPage()) {
12772			break
12773		}
12774	}
12775
12776	return p.Err()
12777}
12778
12779const opListCompilationJobs = "ListCompilationJobs"
12780
12781// ListCompilationJobsRequest generates a "aws/request.Request" representing the
12782// client's request for the ListCompilationJobs operation. The "output" return
12783// value will be populated with the request's response once the request completes
12784// successfully.
12785//
12786// Use "Send" method on the returned Request to send the API call to the service.
12787// the "output" return value is not valid until after Send returns without error.
12788//
12789// See ListCompilationJobs for more information on using the ListCompilationJobs
12790// API call, and error handling.
12791//
12792// This method is useful when you want to inject custom logic or configuration
12793// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12794//
12795//
12796//    // Example sending a request using the ListCompilationJobsRequest method.
12797//    req, resp := client.ListCompilationJobsRequest(params)
12798//
12799//    err := req.Send()
12800//    if err == nil { // resp is now filled
12801//        fmt.Println(resp)
12802//    }
12803//
12804// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCompilationJobs
12805func (c *SageMaker) ListCompilationJobsRequest(input *ListCompilationJobsInput) (req *request.Request, output *ListCompilationJobsOutput) {
12806	op := &request.Operation{
12807		Name:       opListCompilationJobs,
12808		HTTPMethod: "POST",
12809		HTTPPath:   "/",
12810		Paginator: &request.Paginator{
12811			InputTokens:     []string{"NextToken"},
12812			OutputTokens:    []string{"NextToken"},
12813			LimitToken:      "MaxResults",
12814			TruncationToken: "",
12815		},
12816	}
12817
12818	if input == nil {
12819		input = &ListCompilationJobsInput{}
12820	}
12821
12822	output = &ListCompilationJobsOutput{}
12823	req = c.newRequest(op, input, output)
12824	return
12825}
12826
12827// ListCompilationJobs API operation for Amazon SageMaker Service.
12828//
12829// Lists model compilation jobs that satisfy various filters.
12830//
12831// To create a model compilation job, use CreateCompilationJob. To get information
12832// about a particular model compilation job you have created, use DescribeCompilationJob.
12833//
12834// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12835// with awserr.Error's Code and Message methods to get detailed information about
12836// the error.
12837//
12838// See the AWS API reference guide for Amazon SageMaker Service's
12839// API operation ListCompilationJobs for usage and error information.
12840// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCompilationJobs
12841func (c *SageMaker) ListCompilationJobs(input *ListCompilationJobsInput) (*ListCompilationJobsOutput, error) {
12842	req, out := c.ListCompilationJobsRequest(input)
12843	return out, req.Send()
12844}
12845
12846// ListCompilationJobsWithContext is the same as ListCompilationJobs with the addition of
12847// the ability to pass a context and additional request options.
12848//
12849// See ListCompilationJobs for details on how to use this API operation.
12850//
12851// The context must be non-nil and will be used for request cancellation. If
12852// the context is nil a panic will occur. In the future the SDK may create
12853// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12854// for more information on using Contexts.
12855func (c *SageMaker) ListCompilationJobsWithContext(ctx aws.Context, input *ListCompilationJobsInput, opts ...request.Option) (*ListCompilationJobsOutput, error) {
12856	req, out := c.ListCompilationJobsRequest(input)
12857	req.SetContext(ctx)
12858	req.ApplyOptions(opts...)
12859	return out, req.Send()
12860}
12861
12862// ListCompilationJobsPages iterates over the pages of a ListCompilationJobs operation,
12863// calling the "fn" function with the response data for each page. To stop
12864// iterating, return false from the fn function.
12865//
12866// See ListCompilationJobs method for more information on how to use this operation.
12867//
12868// Note: This operation can generate multiple requests to a service.
12869//
12870//    // Example iterating over at most 3 pages of a ListCompilationJobs operation.
12871//    pageNum := 0
12872//    err := client.ListCompilationJobsPages(params,
12873//        func(page *sagemaker.ListCompilationJobsOutput, lastPage bool) bool {
12874//            pageNum++
12875//            fmt.Println(page)
12876//            return pageNum <= 3
12877//        })
12878//
12879func (c *SageMaker) ListCompilationJobsPages(input *ListCompilationJobsInput, fn func(*ListCompilationJobsOutput, bool) bool) error {
12880	return c.ListCompilationJobsPagesWithContext(aws.BackgroundContext(), input, fn)
12881}
12882
12883// ListCompilationJobsPagesWithContext same as ListCompilationJobsPages except
12884// it takes a Context and allows setting request options on the pages.
12885//
12886// The context must be non-nil and will be used for request cancellation. If
12887// the context is nil a panic will occur. In the future the SDK may create
12888// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12889// for more information on using Contexts.
12890func (c *SageMaker) ListCompilationJobsPagesWithContext(ctx aws.Context, input *ListCompilationJobsInput, fn func(*ListCompilationJobsOutput, bool) bool, opts ...request.Option) error {
12891	p := request.Pagination{
12892		NewRequest: func() (*request.Request, error) {
12893			var inCpy *ListCompilationJobsInput
12894			if input != nil {
12895				tmp := *input
12896				inCpy = &tmp
12897			}
12898			req, _ := c.ListCompilationJobsRequest(inCpy)
12899			req.SetContext(ctx)
12900			req.ApplyOptions(opts...)
12901			return req, nil
12902		},
12903	}
12904
12905	for p.Next() {
12906		if !fn(p.Page().(*ListCompilationJobsOutput), !p.HasNextPage()) {
12907			break
12908		}
12909	}
12910
12911	return p.Err()
12912}
12913
12914const opListContexts = "ListContexts"
12915
12916// ListContextsRequest generates a "aws/request.Request" representing the
12917// client's request for the ListContexts operation. The "output" return
12918// value will be populated with the request's response once the request completes
12919// successfully.
12920//
12921// Use "Send" method on the returned Request to send the API call to the service.
12922// the "output" return value is not valid until after Send returns without error.
12923//
12924// See ListContexts for more information on using the ListContexts
12925// API call, and error handling.
12926//
12927// This method is useful when you want to inject custom logic or configuration
12928// into the SDK's request lifecycle. Such as custom headers, or retry logic.
12929//
12930//
12931//    // Example sending a request using the ListContextsRequest method.
12932//    req, resp := client.ListContextsRequest(params)
12933//
12934//    err := req.Send()
12935//    if err == nil { // resp is now filled
12936//        fmt.Println(resp)
12937//    }
12938//
12939// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListContexts
12940func (c *SageMaker) ListContextsRequest(input *ListContextsInput) (req *request.Request, output *ListContextsOutput) {
12941	op := &request.Operation{
12942		Name:       opListContexts,
12943		HTTPMethod: "POST",
12944		HTTPPath:   "/",
12945		Paginator: &request.Paginator{
12946			InputTokens:     []string{"NextToken"},
12947			OutputTokens:    []string{"NextToken"},
12948			LimitToken:      "MaxResults",
12949			TruncationToken: "",
12950		},
12951	}
12952
12953	if input == nil {
12954		input = &ListContextsInput{}
12955	}
12956
12957	output = &ListContextsOutput{}
12958	req = c.newRequest(op, input, output)
12959	return
12960}
12961
12962// ListContexts API operation for Amazon SageMaker Service.
12963//
12964// Lists the contexts in your account and their properties.
12965//
12966// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
12967// with awserr.Error's Code and Message methods to get detailed information about
12968// the error.
12969//
12970// See the AWS API reference guide for Amazon SageMaker Service's
12971// API operation ListContexts for usage and error information.
12972//
12973// Returned Error Types:
12974//   * ResourceNotFound
12975//   Resource being access is not found.
12976//
12977// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListContexts
12978func (c *SageMaker) ListContexts(input *ListContextsInput) (*ListContextsOutput, error) {
12979	req, out := c.ListContextsRequest(input)
12980	return out, req.Send()
12981}
12982
12983// ListContextsWithContext is the same as ListContexts with the addition of
12984// the ability to pass a context and additional request options.
12985//
12986// See ListContexts for details on how to use this API operation.
12987//
12988// The context must be non-nil and will be used for request cancellation. If
12989// the context is nil a panic will occur. In the future the SDK may create
12990// sub-contexts for http.Requests. See https://golang.org/pkg/context/
12991// for more information on using Contexts.
12992func (c *SageMaker) ListContextsWithContext(ctx aws.Context, input *ListContextsInput, opts ...request.Option) (*ListContextsOutput, error) {
12993	req, out := c.ListContextsRequest(input)
12994	req.SetContext(ctx)
12995	req.ApplyOptions(opts...)
12996	return out, req.Send()
12997}
12998
12999// ListContextsPages iterates over the pages of a ListContexts operation,
13000// calling the "fn" function with the response data for each page. To stop
13001// iterating, return false from the fn function.
13002//
13003// See ListContexts method for more information on how to use this operation.
13004//
13005// Note: This operation can generate multiple requests to a service.
13006//
13007//    // Example iterating over at most 3 pages of a ListContexts operation.
13008//    pageNum := 0
13009//    err := client.ListContextsPages(params,
13010//        func(page *sagemaker.ListContextsOutput, lastPage bool) bool {
13011//            pageNum++
13012//            fmt.Println(page)
13013//            return pageNum <= 3
13014//        })
13015//
13016func (c *SageMaker) ListContextsPages(input *ListContextsInput, fn func(*ListContextsOutput, bool) bool) error {
13017	return c.ListContextsPagesWithContext(aws.BackgroundContext(), input, fn)
13018}
13019
13020// ListContextsPagesWithContext same as ListContextsPages except
13021// it takes a Context and allows setting request options on the pages.
13022//
13023// The context must be non-nil and will be used for request cancellation. If
13024// the context is nil a panic will occur. In the future the SDK may create
13025// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13026// for more information on using Contexts.
13027func (c *SageMaker) ListContextsPagesWithContext(ctx aws.Context, input *ListContextsInput, fn func(*ListContextsOutput, bool) bool, opts ...request.Option) error {
13028	p := request.Pagination{
13029		NewRequest: func() (*request.Request, error) {
13030			var inCpy *ListContextsInput
13031			if input != nil {
13032				tmp := *input
13033				inCpy = &tmp
13034			}
13035			req, _ := c.ListContextsRequest(inCpy)
13036			req.SetContext(ctx)
13037			req.ApplyOptions(opts...)
13038			return req, nil
13039		},
13040	}
13041
13042	for p.Next() {
13043		if !fn(p.Page().(*ListContextsOutput), !p.HasNextPage()) {
13044			break
13045		}
13046	}
13047
13048	return p.Err()
13049}
13050
13051const opListDataQualityJobDefinitions = "ListDataQualityJobDefinitions"
13052
13053// ListDataQualityJobDefinitionsRequest generates a "aws/request.Request" representing the
13054// client's request for the ListDataQualityJobDefinitions operation. The "output" return
13055// value will be populated with the request's response once the request completes
13056// successfully.
13057//
13058// Use "Send" method on the returned Request to send the API call to the service.
13059// the "output" return value is not valid until after Send returns without error.
13060//
13061// See ListDataQualityJobDefinitions for more information on using the ListDataQualityJobDefinitions
13062// API call, and error handling.
13063//
13064// This method is useful when you want to inject custom logic or configuration
13065// into the SDK's request lifecycle. Such as custom headers, or retry logic.
13066//
13067//
13068//    // Example sending a request using the ListDataQualityJobDefinitionsRequest method.
13069//    req, resp := client.ListDataQualityJobDefinitionsRequest(params)
13070//
13071//    err := req.Send()
13072//    if err == nil { // resp is now filled
13073//        fmt.Println(resp)
13074//    }
13075//
13076// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListDataQualityJobDefinitions
13077func (c *SageMaker) ListDataQualityJobDefinitionsRequest(input *ListDataQualityJobDefinitionsInput) (req *request.Request, output *ListDataQualityJobDefinitionsOutput) {
13078	op := &request.Operation{
13079		Name:       opListDataQualityJobDefinitions,
13080		HTTPMethod: "POST",
13081		HTTPPath:   "/",
13082		Paginator: &request.Paginator{
13083			InputTokens:     []string{"NextToken"},
13084			OutputTokens:    []string{"NextToken"},
13085			LimitToken:      "MaxResults",
13086			TruncationToken: "",
13087		},
13088	}
13089
13090	if input == nil {
13091		input = &ListDataQualityJobDefinitionsInput{}
13092	}
13093
13094	output = &ListDataQualityJobDefinitionsOutput{}
13095	req = c.newRequest(op, input, output)
13096	return
13097}
13098
13099// ListDataQualityJobDefinitions API operation for Amazon SageMaker Service.
13100//
13101// Lists the data quality job definitions in your account.
13102//
13103// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
13104// with awserr.Error's Code and Message methods to get detailed information about
13105// the error.
13106//
13107// See the AWS API reference guide for Amazon SageMaker Service's
13108// API operation ListDataQualityJobDefinitions for usage and error information.
13109// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListDataQualityJobDefinitions
13110func (c *SageMaker) ListDataQualityJobDefinitions(input *ListDataQualityJobDefinitionsInput) (*ListDataQualityJobDefinitionsOutput, error) {
13111	req, out := c.ListDataQualityJobDefinitionsRequest(input)
13112	return out, req.Send()
13113}
13114
13115// ListDataQualityJobDefinitionsWithContext is the same as ListDataQualityJobDefinitions with the addition of
13116// the ability to pass a context and additional request options.
13117//
13118// See ListDataQualityJobDefinitions for details on how to use this API operation.
13119//
13120// The context must be non-nil and will be used for request cancellation. If
13121// the context is nil a panic will occur. In the future the SDK may create
13122// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13123// for more information on using Contexts.
13124func (c *SageMaker) ListDataQualityJobDefinitionsWithContext(ctx aws.Context, input *ListDataQualityJobDefinitionsInput, opts ...request.Option) (*ListDataQualityJobDefinitionsOutput, error) {
13125	req, out := c.ListDataQualityJobDefinitionsRequest(input)
13126	req.SetContext(ctx)
13127	req.ApplyOptions(opts...)
13128	return out, req.Send()
13129}
13130
13131// ListDataQualityJobDefinitionsPages iterates over the pages of a ListDataQualityJobDefinitions operation,
13132// calling the "fn" function with the response data for each page. To stop
13133// iterating, return false from the fn function.
13134//
13135// See ListDataQualityJobDefinitions method for more information on how to use this operation.
13136//
13137// Note: This operation can generate multiple requests to a service.
13138//
13139//    // Example iterating over at most 3 pages of a ListDataQualityJobDefinitions operation.
13140//    pageNum := 0
13141//    err := client.ListDataQualityJobDefinitionsPages(params,
13142//        func(page *sagemaker.ListDataQualityJobDefinitionsOutput, lastPage bool) bool {
13143//            pageNum++
13144//            fmt.Println(page)
13145//            return pageNum <= 3
13146//        })
13147//
13148func (c *SageMaker) ListDataQualityJobDefinitionsPages(input *ListDataQualityJobDefinitionsInput, fn func(*ListDataQualityJobDefinitionsOutput, bool) bool) error {
13149	return c.ListDataQualityJobDefinitionsPagesWithContext(aws.BackgroundContext(), input, fn)
13150}
13151
13152// ListDataQualityJobDefinitionsPagesWithContext same as ListDataQualityJobDefinitionsPages except
13153// it takes a Context and allows setting request options on the pages.
13154//
13155// The context must be non-nil and will be used for request cancellation. If
13156// the context is nil a panic will occur. In the future the SDK may create
13157// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13158// for more information on using Contexts.
13159func (c *SageMaker) ListDataQualityJobDefinitionsPagesWithContext(ctx aws.Context, input *ListDataQualityJobDefinitionsInput, fn func(*ListDataQualityJobDefinitionsOutput, bool) bool, opts ...request.Option) error {
13160	p := request.Pagination{
13161		NewRequest: func() (*request.Request, error) {
13162			var inCpy *ListDataQualityJobDefinitionsInput
13163			if input != nil {
13164				tmp := *input
13165				inCpy = &tmp
13166			}
13167			req, _ := c.ListDataQualityJobDefinitionsRequest(inCpy)
13168			req.SetContext(ctx)
13169			req.ApplyOptions(opts...)
13170			return req, nil
13171		},
13172	}
13173
13174	for p.Next() {
13175		if !fn(p.Page().(*ListDataQualityJobDefinitionsOutput), !p.HasNextPage()) {
13176			break
13177		}
13178	}
13179
13180	return p.Err()
13181}
13182
13183const opListDeviceFleets = "ListDeviceFleets"
13184
13185// ListDeviceFleetsRequest generates a "aws/request.Request" representing the
13186// client's request for the ListDeviceFleets operation. The "output" return
13187// value will be populated with the request's response once the request completes
13188// successfully.
13189//
13190// Use "Send" method on the returned Request to send the API call to the service.
13191// the "output" return value is not valid until after Send returns without error.
13192//
13193// See ListDeviceFleets for more information on using the ListDeviceFleets
13194// API call, and error handling.
13195//
13196// This method is useful when you want to inject custom logic or configuration
13197// into the SDK's request lifecycle. Such as custom headers, or retry logic.
13198//
13199//
13200//    // Example sending a request using the ListDeviceFleetsRequest method.
13201//    req, resp := client.ListDeviceFleetsRequest(params)
13202//
13203//    err := req.Send()
13204//    if err == nil { // resp is now filled
13205//        fmt.Println(resp)
13206//    }
13207//
13208// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListDeviceFleets
13209func (c *SageMaker) ListDeviceFleetsRequest(input *ListDeviceFleetsInput) (req *request.Request, output *ListDeviceFleetsOutput) {
13210	op := &request.Operation{
13211		Name:       opListDeviceFleets,
13212		HTTPMethod: "POST",
13213		HTTPPath:   "/",
13214		Paginator: &request.Paginator{
13215			InputTokens:     []string{"NextToken"},
13216			OutputTokens:    []string{"NextToken"},
13217			LimitToken:      "MaxResults",
13218			TruncationToken: "",
13219		},
13220	}
13221
13222	if input == nil {
13223		input = &ListDeviceFleetsInput{}
13224	}
13225
13226	output = &ListDeviceFleetsOutput{}
13227	req = c.newRequest(op, input, output)
13228	return
13229}
13230
13231// ListDeviceFleets API operation for Amazon SageMaker Service.
13232//
13233// Returns a list of devices in the fleet.
13234//
13235// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
13236// with awserr.Error's Code and Message methods to get detailed information about
13237// the error.
13238//
13239// See the AWS API reference guide for Amazon SageMaker Service's
13240// API operation ListDeviceFleets for usage and error information.
13241// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListDeviceFleets
13242func (c *SageMaker) ListDeviceFleets(input *ListDeviceFleetsInput) (*ListDeviceFleetsOutput, error) {
13243	req, out := c.ListDeviceFleetsRequest(input)
13244	return out, req.Send()
13245}
13246
13247// ListDeviceFleetsWithContext is the same as ListDeviceFleets with the addition of
13248// the ability to pass a context and additional request options.
13249//
13250// See ListDeviceFleets for details on how to use this API operation.
13251//
13252// The context must be non-nil and will be used for request cancellation. If
13253// the context is nil a panic will occur. In the future the SDK may create
13254// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13255// for more information on using Contexts.
13256func (c *SageMaker) ListDeviceFleetsWithContext(ctx aws.Context, input *ListDeviceFleetsInput, opts ...request.Option) (*ListDeviceFleetsOutput, error) {
13257	req, out := c.ListDeviceFleetsRequest(input)
13258	req.SetContext(ctx)
13259	req.ApplyOptions(opts...)
13260	return out, req.Send()
13261}
13262
13263// ListDeviceFleetsPages iterates over the pages of a ListDeviceFleets operation,
13264// calling the "fn" function with the response data for each page. To stop
13265// iterating, return false from the fn function.
13266//
13267// See ListDeviceFleets method for more information on how to use this operation.
13268//
13269// Note: This operation can generate multiple requests to a service.
13270//
13271//    // Example iterating over at most 3 pages of a ListDeviceFleets operation.
13272//    pageNum := 0
13273//    err := client.ListDeviceFleetsPages(params,
13274//        func(page *sagemaker.ListDeviceFleetsOutput, lastPage bool) bool {
13275//            pageNum++
13276//            fmt.Println(page)
13277//            return pageNum <= 3
13278//        })
13279//
13280func (c *SageMaker) ListDeviceFleetsPages(input *ListDeviceFleetsInput, fn func(*ListDeviceFleetsOutput, bool) bool) error {
13281	return c.ListDeviceFleetsPagesWithContext(aws.BackgroundContext(), input, fn)
13282}
13283
13284// ListDeviceFleetsPagesWithContext same as ListDeviceFleetsPages except
13285// it takes a Context and allows setting request options on the pages.
13286//
13287// The context must be non-nil and will be used for request cancellation. If
13288// the context is nil a panic will occur. In the future the SDK may create
13289// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13290// for more information on using Contexts.
13291func (c *SageMaker) ListDeviceFleetsPagesWithContext(ctx aws.Context, input *ListDeviceFleetsInput, fn func(*ListDeviceFleetsOutput, bool) bool, opts ...request.Option) error {
13292	p := request.Pagination{
13293		NewRequest: func() (*request.Request, error) {
13294			var inCpy *ListDeviceFleetsInput
13295			if input != nil {
13296				tmp := *input
13297				inCpy = &tmp
13298			}
13299			req, _ := c.ListDeviceFleetsRequest(inCpy)
13300			req.SetContext(ctx)
13301			req.ApplyOptions(opts...)
13302			return req, nil
13303		},
13304	}
13305
13306	for p.Next() {
13307		if !fn(p.Page().(*ListDeviceFleetsOutput), !p.HasNextPage()) {
13308			break
13309		}
13310	}
13311
13312	return p.Err()
13313}
13314
13315const opListDevices = "ListDevices"
13316
13317// ListDevicesRequest generates a "aws/request.Request" representing the
13318// client's request for the ListDevices operation. The "output" return
13319// value will be populated with the request's response once the request completes
13320// successfully.
13321//
13322// Use "Send" method on the returned Request to send the API call to the service.
13323// the "output" return value is not valid until after Send returns without error.
13324//
13325// See ListDevices for more information on using the ListDevices
13326// API call, and error handling.
13327//
13328// This method is useful when you want to inject custom logic or configuration
13329// into the SDK's request lifecycle. Such as custom headers, or retry logic.
13330//
13331//
13332//    // Example sending a request using the ListDevicesRequest method.
13333//    req, resp := client.ListDevicesRequest(params)
13334//
13335//    err := req.Send()
13336//    if err == nil { // resp is now filled
13337//        fmt.Println(resp)
13338//    }
13339//
13340// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListDevices
13341func (c *SageMaker) ListDevicesRequest(input *ListDevicesInput) (req *request.Request, output *ListDevicesOutput) {
13342	op := &request.Operation{
13343		Name:       opListDevices,
13344		HTTPMethod: "POST",
13345		HTTPPath:   "/",
13346		Paginator: &request.Paginator{
13347			InputTokens:     []string{"NextToken"},
13348			OutputTokens:    []string{"NextToken"},
13349			LimitToken:      "MaxResults",
13350			TruncationToken: "",
13351		},
13352	}
13353
13354	if input == nil {
13355		input = &ListDevicesInput{}
13356	}
13357
13358	output = &ListDevicesOutput{}
13359	req = c.newRequest(op, input, output)
13360	return
13361}
13362
13363// ListDevices API operation for Amazon SageMaker Service.
13364//
13365// A list of devices.
13366//
13367// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
13368// with awserr.Error's Code and Message methods to get detailed information about
13369// the error.
13370//
13371// See the AWS API reference guide for Amazon SageMaker Service's
13372// API operation ListDevices for usage and error information.
13373// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListDevices
13374func (c *SageMaker) ListDevices(input *ListDevicesInput) (*ListDevicesOutput, error) {
13375	req, out := c.ListDevicesRequest(input)
13376	return out, req.Send()
13377}
13378
13379// ListDevicesWithContext is the same as ListDevices with the addition of
13380// the ability to pass a context and additional request options.
13381//
13382// See ListDevices for details on how to use this API operation.
13383//
13384// The context must be non-nil and will be used for request cancellation. If
13385// the context is nil a panic will occur. In the future the SDK may create
13386// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13387// for more information on using Contexts.
13388func (c *SageMaker) ListDevicesWithContext(ctx aws.Context, input *ListDevicesInput, opts ...request.Option) (*ListDevicesOutput, error) {
13389	req, out := c.ListDevicesRequest(input)
13390	req.SetContext(ctx)
13391	req.ApplyOptions(opts...)
13392	return out, req.Send()
13393}
13394
13395// ListDevicesPages iterates over the pages of a ListDevices operation,
13396// calling the "fn" function with the response data for each page. To stop
13397// iterating, return false from the fn function.
13398//
13399// See ListDevices method for more information on how to use this operation.
13400//
13401// Note: This operation can generate multiple requests to a service.
13402//
13403//    // Example iterating over at most 3 pages of a ListDevices operation.
13404//    pageNum := 0
13405//    err := client.ListDevicesPages(params,
13406//        func(page *sagemaker.ListDevicesOutput, lastPage bool) bool {
13407//            pageNum++
13408//            fmt.Println(page)
13409//            return pageNum <= 3
13410//        })
13411//
13412func (c *SageMaker) ListDevicesPages(input *ListDevicesInput, fn func(*ListDevicesOutput, bool) bool) error {
13413	return c.ListDevicesPagesWithContext(aws.BackgroundContext(), input, fn)
13414}
13415
13416// ListDevicesPagesWithContext same as ListDevicesPages except
13417// it takes a Context and allows setting request options on the pages.
13418//
13419// The context must be non-nil and will be used for request cancellation. If
13420// the context is nil a panic will occur. In the future the SDK may create
13421// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13422// for more information on using Contexts.
13423func (c *SageMaker) ListDevicesPagesWithContext(ctx aws.Context, input *ListDevicesInput, fn func(*ListDevicesOutput, bool) bool, opts ...request.Option) error {
13424	p := request.Pagination{
13425		NewRequest: func() (*request.Request, error) {
13426			var inCpy *ListDevicesInput
13427			if input != nil {
13428				tmp := *input
13429				inCpy = &tmp
13430			}
13431			req, _ := c.ListDevicesRequest(inCpy)
13432			req.SetContext(ctx)
13433			req.ApplyOptions(opts...)
13434			return req, nil
13435		},
13436	}
13437
13438	for p.Next() {
13439		if !fn(p.Page().(*ListDevicesOutput), !p.HasNextPage()) {
13440			break
13441		}
13442	}
13443
13444	return p.Err()
13445}
13446
13447const opListDomains = "ListDomains"
13448
13449// ListDomainsRequest generates a "aws/request.Request" representing the
13450// client's request for the ListDomains operation. The "output" return
13451// value will be populated with the request's response once the request completes
13452// successfully.
13453//
13454// Use "Send" method on the returned Request to send the API call to the service.
13455// the "output" return value is not valid until after Send returns without error.
13456//
13457// See ListDomains for more information on using the ListDomains
13458// API call, and error handling.
13459//
13460// This method is useful when you want to inject custom logic or configuration
13461// into the SDK's request lifecycle. Such as custom headers, or retry logic.
13462//
13463//
13464//    // Example sending a request using the ListDomainsRequest method.
13465//    req, resp := client.ListDomainsRequest(params)
13466//
13467//    err := req.Send()
13468//    if err == nil { // resp is now filled
13469//        fmt.Println(resp)
13470//    }
13471//
13472// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListDomains
13473func (c *SageMaker) ListDomainsRequest(input *ListDomainsInput) (req *request.Request, output *ListDomainsOutput) {
13474	op := &request.Operation{
13475		Name:       opListDomains,
13476		HTTPMethod: "POST",
13477		HTTPPath:   "/",
13478		Paginator: &request.Paginator{
13479			InputTokens:     []string{"NextToken"},
13480			OutputTokens:    []string{"NextToken"},
13481			LimitToken:      "MaxResults",
13482			TruncationToken: "",
13483		},
13484	}
13485
13486	if input == nil {
13487		input = &ListDomainsInput{}
13488	}
13489
13490	output = &ListDomainsOutput{}
13491	req = c.newRequest(op, input, output)
13492	return
13493}
13494
13495// ListDomains API operation for Amazon SageMaker Service.
13496//
13497// Lists the domains.
13498//
13499// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
13500// with awserr.Error's Code and Message methods to get detailed information about
13501// the error.
13502//
13503// See the AWS API reference guide for Amazon SageMaker Service's
13504// API operation ListDomains for usage and error information.
13505// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListDomains
13506func (c *SageMaker) ListDomains(input *ListDomainsInput) (*ListDomainsOutput, error) {
13507	req, out := c.ListDomainsRequest(input)
13508	return out, req.Send()
13509}
13510
13511// ListDomainsWithContext is the same as ListDomains with the addition of
13512// the ability to pass a context and additional request options.
13513//
13514// See ListDomains for details on how to use this API operation.
13515//
13516// The context must be non-nil and will be used for request cancellation. If
13517// the context is nil a panic will occur. In the future the SDK may create
13518// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13519// for more information on using Contexts.
13520func (c *SageMaker) ListDomainsWithContext(ctx aws.Context, input *ListDomainsInput, opts ...request.Option) (*ListDomainsOutput, error) {
13521	req, out := c.ListDomainsRequest(input)
13522	req.SetContext(ctx)
13523	req.ApplyOptions(opts...)
13524	return out, req.Send()
13525}
13526
13527// ListDomainsPages iterates over the pages of a ListDomains operation,
13528// calling the "fn" function with the response data for each page. To stop
13529// iterating, return false from the fn function.
13530//
13531// See ListDomains method for more information on how to use this operation.
13532//
13533// Note: This operation can generate multiple requests to a service.
13534//
13535//    // Example iterating over at most 3 pages of a ListDomains operation.
13536//    pageNum := 0
13537//    err := client.ListDomainsPages(params,
13538//        func(page *sagemaker.ListDomainsOutput, lastPage bool) bool {
13539//            pageNum++
13540//            fmt.Println(page)
13541//            return pageNum <= 3
13542//        })
13543//
13544func (c *SageMaker) ListDomainsPages(input *ListDomainsInput, fn func(*ListDomainsOutput, bool) bool) error {
13545	return c.ListDomainsPagesWithContext(aws.BackgroundContext(), input, fn)
13546}
13547
13548// ListDomainsPagesWithContext same as ListDomainsPages except
13549// it takes a Context and allows setting request options on the pages.
13550//
13551// The context must be non-nil and will be used for request cancellation. If
13552// the context is nil a panic will occur. In the future the SDK may create
13553// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13554// for more information on using Contexts.
13555func (c *SageMaker) ListDomainsPagesWithContext(ctx aws.Context, input *ListDomainsInput, fn func(*ListDomainsOutput, bool) bool, opts ...request.Option) error {
13556	p := request.Pagination{
13557		NewRequest: func() (*request.Request, error) {
13558			var inCpy *ListDomainsInput
13559			if input != nil {
13560				tmp := *input
13561				inCpy = &tmp
13562			}
13563			req, _ := c.ListDomainsRequest(inCpy)
13564			req.SetContext(ctx)
13565			req.ApplyOptions(opts...)
13566			return req, nil
13567		},
13568	}
13569
13570	for p.Next() {
13571		if !fn(p.Page().(*ListDomainsOutput), !p.HasNextPage()) {
13572			break
13573		}
13574	}
13575
13576	return p.Err()
13577}
13578
13579const opListEdgePackagingJobs = "ListEdgePackagingJobs"
13580
13581// ListEdgePackagingJobsRequest generates a "aws/request.Request" representing the
13582// client's request for the ListEdgePackagingJobs operation. The "output" return
13583// value will be populated with the request's response once the request completes
13584// successfully.
13585//
13586// Use "Send" method on the returned Request to send the API call to the service.
13587// the "output" return value is not valid until after Send returns without error.
13588//
13589// See ListEdgePackagingJobs for more information on using the ListEdgePackagingJobs
13590// API call, and error handling.
13591//
13592// This method is useful when you want to inject custom logic or configuration
13593// into the SDK's request lifecycle. Such as custom headers, or retry logic.
13594//
13595//
13596//    // Example sending a request using the ListEdgePackagingJobsRequest method.
13597//    req, resp := client.ListEdgePackagingJobsRequest(params)
13598//
13599//    err := req.Send()
13600//    if err == nil { // resp is now filled
13601//        fmt.Println(resp)
13602//    }
13603//
13604// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEdgePackagingJobs
13605func (c *SageMaker) ListEdgePackagingJobsRequest(input *ListEdgePackagingJobsInput) (req *request.Request, output *ListEdgePackagingJobsOutput) {
13606	op := &request.Operation{
13607		Name:       opListEdgePackagingJobs,
13608		HTTPMethod: "POST",
13609		HTTPPath:   "/",
13610		Paginator: &request.Paginator{
13611			InputTokens:     []string{"NextToken"},
13612			OutputTokens:    []string{"NextToken"},
13613			LimitToken:      "MaxResults",
13614			TruncationToken: "",
13615		},
13616	}
13617
13618	if input == nil {
13619		input = &ListEdgePackagingJobsInput{}
13620	}
13621
13622	output = &ListEdgePackagingJobsOutput{}
13623	req = c.newRequest(op, input, output)
13624	return
13625}
13626
13627// ListEdgePackagingJobs API operation for Amazon SageMaker Service.
13628//
13629// Returns a list of edge packaging jobs.
13630//
13631// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
13632// with awserr.Error's Code and Message methods to get detailed information about
13633// the error.
13634//
13635// See the AWS API reference guide for Amazon SageMaker Service's
13636// API operation ListEdgePackagingJobs for usage and error information.
13637// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEdgePackagingJobs
13638func (c *SageMaker) ListEdgePackagingJobs(input *ListEdgePackagingJobsInput) (*ListEdgePackagingJobsOutput, error) {
13639	req, out := c.ListEdgePackagingJobsRequest(input)
13640	return out, req.Send()
13641}
13642
13643// ListEdgePackagingJobsWithContext is the same as ListEdgePackagingJobs with the addition of
13644// the ability to pass a context and additional request options.
13645//
13646// See ListEdgePackagingJobs for details on how to use this API operation.
13647//
13648// The context must be non-nil and will be used for request cancellation. If
13649// the context is nil a panic will occur. In the future the SDK may create
13650// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13651// for more information on using Contexts.
13652func (c *SageMaker) ListEdgePackagingJobsWithContext(ctx aws.Context, input *ListEdgePackagingJobsInput, opts ...request.Option) (*ListEdgePackagingJobsOutput, error) {
13653	req, out := c.ListEdgePackagingJobsRequest(input)
13654	req.SetContext(ctx)
13655	req.ApplyOptions(opts...)
13656	return out, req.Send()
13657}
13658
13659// ListEdgePackagingJobsPages iterates over the pages of a ListEdgePackagingJobs operation,
13660// calling the "fn" function with the response data for each page. To stop
13661// iterating, return false from the fn function.
13662//
13663// See ListEdgePackagingJobs method for more information on how to use this operation.
13664//
13665// Note: This operation can generate multiple requests to a service.
13666//
13667//    // Example iterating over at most 3 pages of a ListEdgePackagingJobs operation.
13668//    pageNum := 0
13669//    err := client.ListEdgePackagingJobsPages(params,
13670//        func(page *sagemaker.ListEdgePackagingJobsOutput, lastPage bool) bool {
13671//            pageNum++
13672//            fmt.Println(page)
13673//            return pageNum <= 3
13674//        })
13675//
13676func (c *SageMaker) ListEdgePackagingJobsPages(input *ListEdgePackagingJobsInput, fn func(*ListEdgePackagingJobsOutput, bool) bool) error {
13677	return c.ListEdgePackagingJobsPagesWithContext(aws.BackgroundContext(), input, fn)
13678}
13679
13680// ListEdgePackagingJobsPagesWithContext same as ListEdgePackagingJobsPages except
13681// it takes a Context and allows setting request options on the pages.
13682//
13683// The context must be non-nil and will be used for request cancellation. If
13684// the context is nil a panic will occur. In the future the SDK may create
13685// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13686// for more information on using Contexts.
13687func (c *SageMaker) ListEdgePackagingJobsPagesWithContext(ctx aws.Context, input *ListEdgePackagingJobsInput, fn func(*ListEdgePackagingJobsOutput, bool) bool, opts ...request.Option) error {
13688	p := request.Pagination{
13689		NewRequest: func() (*request.Request, error) {
13690			var inCpy *ListEdgePackagingJobsInput
13691			if input != nil {
13692				tmp := *input
13693				inCpy = &tmp
13694			}
13695			req, _ := c.ListEdgePackagingJobsRequest(inCpy)
13696			req.SetContext(ctx)
13697			req.ApplyOptions(opts...)
13698			return req, nil
13699		},
13700	}
13701
13702	for p.Next() {
13703		if !fn(p.Page().(*ListEdgePackagingJobsOutput), !p.HasNextPage()) {
13704			break
13705		}
13706	}
13707
13708	return p.Err()
13709}
13710
13711const opListEndpointConfigs = "ListEndpointConfigs"
13712
13713// ListEndpointConfigsRequest generates a "aws/request.Request" representing the
13714// client's request for the ListEndpointConfigs operation. The "output" return
13715// value will be populated with the request's response once the request completes
13716// successfully.
13717//
13718// Use "Send" method on the returned Request to send the API call to the service.
13719// the "output" return value is not valid until after Send returns without error.
13720//
13721// See ListEndpointConfigs for more information on using the ListEndpointConfigs
13722// API call, and error handling.
13723//
13724// This method is useful when you want to inject custom logic or configuration
13725// into the SDK's request lifecycle. Such as custom headers, or retry logic.
13726//
13727//
13728//    // Example sending a request using the ListEndpointConfigsRequest method.
13729//    req, resp := client.ListEndpointConfigsRequest(params)
13730//
13731//    err := req.Send()
13732//    if err == nil { // resp is now filled
13733//        fmt.Println(resp)
13734//    }
13735//
13736// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEndpointConfigs
13737func (c *SageMaker) ListEndpointConfigsRequest(input *ListEndpointConfigsInput) (req *request.Request, output *ListEndpointConfigsOutput) {
13738	op := &request.Operation{
13739		Name:       opListEndpointConfigs,
13740		HTTPMethod: "POST",
13741		HTTPPath:   "/",
13742		Paginator: &request.Paginator{
13743			InputTokens:     []string{"NextToken"},
13744			OutputTokens:    []string{"NextToken"},
13745			LimitToken:      "MaxResults",
13746			TruncationToken: "",
13747		},
13748	}
13749
13750	if input == nil {
13751		input = &ListEndpointConfigsInput{}
13752	}
13753
13754	output = &ListEndpointConfigsOutput{}
13755	req = c.newRequest(op, input, output)
13756	return
13757}
13758
13759// ListEndpointConfigs API operation for Amazon SageMaker Service.
13760//
13761// Lists endpoint configurations.
13762//
13763// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
13764// with awserr.Error's Code and Message methods to get detailed information about
13765// the error.
13766//
13767// See the AWS API reference guide for Amazon SageMaker Service's
13768// API operation ListEndpointConfigs for usage and error information.
13769// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEndpointConfigs
13770func (c *SageMaker) ListEndpointConfigs(input *ListEndpointConfigsInput) (*ListEndpointConfigsOutput, error) {
13771	req, out := c.ListEndpointConfigsRequest(input)
13772	return out, req.Send()
13773}
13774
13775// ListEndpointConfigsWithContext is the same as ListEndpointConfigs with the addition of
13776// the ability to pass a context and additional request options.
13777//
13778// See ListEndpointConfigs for details on how to use this API operation.
13779//
13780// The context must be non-nil and will be used for request cancellation. If
13781// the context is nil a panic will occur. In the future the SDK may create
13782// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13783// for more information on using Contexts.
13784func (c *SageMaker) ListEndpointConfigsWithContext(ctx aws.Context, input *ListEndpointConfigsInput, opts ...request.Option) (*ListEndpointConfigsOutput, error) {
13785	req, out := c.ListEndpointConfigsRequest(input)
13786	req.SetContext(ctx)
13787	req.ApplyOptions(opts...)
13788	return out, req.Send()
13789}
13790
13791// ListEndpointConfigsPages iterates over the pages of a ListEndpointConfigs operation,
13792// calling the "fn" function with the response data for each page. To stop
13793// iterating, return false from the fn function.
13794//
13795// See ListEndpointConfigs method for more information on how to use this operation.
13796//
13797// Note: This operation can generate multiple requests to a service.
13798//
13799//    // Example iterating over at most 3 pages of a ListEndpointConfigs operation.
13800//    pageNum := 0
13801//    err := client.ListEndpointConfigsPages(params,
13802//        func(page *sagemaker.ListEndpointConfigsOutput, lastPage bool) bool {
13803//            pageNum++
13804//            fmt.Println(page)
13805//            return pageNum <= 3
13806//        })
13807//
13808func (c *SageMaker) ListEndpointConfigsPages(input *ListEndpointConfigsInput, fn func(*ListEndpointConfigsOutput, bool) bool) error {
13809	return c.ListEndpointConfigsPagesWithContext(aws.BackgroundContext(), input, fn)
13810}
13811
13812// ListEndpointConfigsPagesWithContext same as ListEndpointConfigsPages except
13813// it takes a Context and allows setting request options on the pages.
13814//
13815// The context must be non-nil and will be used for request cancellation. If
13816// the context is nil a panic will occur. In the future the SDK may create
13817// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13818// for more information on using Contexts.
13819func (c *SageMaker) ListEndpointConfigsPagesWithContext(ctx aws.Context, input *ListEndpointConfigsInput, fn func(*ListEndpointConfigsOutput, bool) bool, opts ...request.Option) error {
13820	p := request.Pagination{
13821		NewRequest: func() (*request.Request, error) {
13822			var inCpy *ListEndpointConfigsInput
13823			if input != nil {
13824				tmp := *input
13825				inCpy = &tmp
13826			}
13827			req, _ := c.ListEndpointConfigsRequest(inCpy)
13828			req.SetContext(ctx)
13829			req.ApplyOptions(opts...)
13830			return req, nil
13831		},
13832	}
13833
13834	for p.Next() {
13835		if !fn(p.Page().(*ListEndpointConfigsOutput), !p.HasNextPage()) {
13836			break
13837		}
13838	}
13839
13840	return p.Err()
13841}
13842
13843const opListEndpoints = "ListEndpoints"
13844
13845// ListEndpointsRequest generates a "aws/request.Request" representing the
13846// client's request for the ListEndpoints operation. The "output" return
13847// value will be populated with the request's response once the request completes
13848// successfully.
13849//
13850// Use "Send" method on the returned Request to send the API call to the service.
13851// the "output" return value is not valid until after Send returns without error.
13852//
13853// See ListEndpoints for more information on using the ListEndpoints
13854// API call, and error handling.
13855//
13856// This method is useful when you want to inject custom logic or configuration
13857// into the SDK's request lifecycle. Such as custom headers, or retry logic.
13858//
13859//
13860//    // Example sending a request using the ListEndpointsRequest method.
13861//    req, resp := client.ListEndpointsRequest(params)
13862//
13863//    err := req.Send()
13864//    if err == nil { // resp is now filled
13865//        fmt.Println(resp)
13866//    }
13867//
13868// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEndpoints
13869func (c *SageMaker) ListEndpointsRequest(input *ListEndpointsInput) (req *request.Request, output *ListEndpointsOutput) {
13870	op := &request.Operation{
13871		Name:       opListEndpoints,
13872		HTTPMethod: "POST",
13873		HTTPPath:   "/",
13874		Paginator: &request.Paginator{
13875			InputTokens:     []string{"NextToken"},
13876			OutputTokens:    []string{"NextToken"},
13877			LimitToken:      "MaxResults",
13878			TruncationToken: "",
13879		},
13880	}
13881
13882	if input == nil {
13883		input = &ListEndpointsInput{}
13884	}
13885
13886	output = &ListEndpointsOutput{}
13887	req = c.newRequest(op, input, output)
13888	return
13889}
13890
13891// ListEndpoints API operation for Amazon SageMaker Service.
13892//
13893// Lists endpoints.
13894//
13895// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
13896// with awserr.Error's Code and Message methods to get detailed information about
13897// the error.
13898//
13899// See the AWS API reference guide for Amazon SageMaker Service's
13900// API operation ListEndpoints for usage and error information.
13901// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEndpoints
13902func (c *SageMaker) ListEndpoints(input *ListEndpointsInput) (*ListEndpointsOutput, error) {
13903	req, out := c.ListEndpointsRequest(input)
13904	return out, req.Send()
13905}
13906
13907// ListEndpointsWithContext is the same as ListEndpoints with the addition of
13908// the ability to pass a context and additional request options.
13909//
13910// See ListEndpoints for details on how to use this API operation.
13911//
13912// The context must be non-nil and will be used for request cancellation. If
13913// the context is nil a panic will occur. In the future the SDK may create
13914// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13915// for more information on using Contexts.
13916func (c *SageMaker) ListEndpointsWithContext(ctx aws.Context, input *ListEndpointsInput, opts ...request.Option) (*ListEndpointsOutput, error) {
13917	req, out := c.ListEndpointsRequest(input)
13918	req.SetContext(ctx)
13919	req.ApplyOptions(opts...)
13920	return out, req.Send()
13921}
13922
13923// ListEndpointsPages iterates over the pages of a ListEndpoints operation,
13924// calling the "fn" function with the response data for each page. To stop
13925// iterating, return false from the fn function.
13926//
13927// See ListEndpoints method for more information on how to use this operation.
13928//
13929// Note: This operation can generate multiple requests to a service.
13930//
13931//    // Example iterating over at most 3 pages of a ListEndpoints operation.
13932//    pageNum := 0
13933//    err := client.ListEndpointsPages(params,
13934//        func(page *sagemaker.ListEndpointsOutput, lastPage bool) bool {
13935//            pageNum++
13936//            fmt.Println(page)
13937//            return pageNum <= 3
13938//        })
13939//
13940func (c *SageMaker) ListEndpointsPages(input *ListEndpointsInput, fn func(*ListEndpointsOutput, bool) bool) error {
13941	return c.ListEndpointsPagesWithContext(aws.BackgroundContext(), input, fn)
13942}
13943
13944// ListEndpointsPagesWithContext same as ListEndpointsPages except
13945// it takes a Context and allows setting request options on the pages.
13946//
13947// The context must be non-nil and will be used for request cancellation. If
13948// the context is nil a panic will occur. In the future the SDK may create
13949// sub-contexts for http.Requests. See https://golang.org/pkg/context/
13950// for more information on using Contexts.
13951func (c *SageMaker) ListEndpointsPagesWithContext(ctx aws.Context, input *ListEndpointsInput, fn func(*ListEndpointsOutput, bool) bool, opts ...request.Option) error {
13952	p := request.Pagination{
13953		NewRequest: func() (*request.Request, error) {
13954			var inCpy *ListEndpointsInput
13955			if input != nil {
13956				tmp := *input
13957				inCpy = &tmp
13958			}
13959			req, _ := c.ListEndpointsRequest(inCpy)
13960			req.SetContext(ctx)
13961			req.ApplyOptions(opts...)
13962			return req, nil
13963		},
13964	}
13965
13966	for p.Next() {
13967		if !fn(p.Page().(*ListEndpointsOutput), !p.HasNextPage()) {
13968			break
13969		}
13970	}
13971
13972	return p.Err()
13973}
13974
13975const opListExperiments = "ListExperiments"
13976
13977// ListExperimentsRequest generates a "aws/request.Request" representing the
13978// client's request for the ListExperiments operation. The "output" return
13979// value will be populated with the request's response once the request completes
13980// successfully.
13981//
13982// Use "Send" method on the returned Request to send the API call to the service.
13983// the "output" return value is not valid until after Send returns without error.
13984//
13985// See ListExperiments for more information on using the ListExperiments
13986// API call, and error handling.
13987//
13988// This method is useful when you want to inject custom logic or configuration
13989// into the SDK's request lifecycle. Such as custom headers, or retry logic.
13990//
13991//
13992//    // Example sending a request using the ListExperimentsRequest method.
13993//    req, resp := client.ListExperimentsRequest(params)
13994//
13995//    err := req.Send()
13996//    if err == nil { // resp is now filled
13997//        fmt.Println(resp)
13998//    }
13999//
14000// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListExperiments
14001func (c *SageMaker) ListExperimentsRequest(input *ListExperimentsInput) (req *request.Request, output *ListExperimentsOutput) {
14002	op := &request.Operation{
14003		Name:       opListExperiments,
14004		HTTPMethod: "POST",
14005		HTTPPath:   "/",
14006		Paginator: &request.Paginator{
14007			InputTokens:     []string{"NextToken"},
14008			OutputTokens:    []string{"NextToken"},
14009			LimitToken:      "MaxResults",
14010			TruncationToken: "",
14011		},
14012	}
14013
14014	if input == nil {
14015		input = &ListExperimentsInput{}
14016	}
14017
14018	output = &ListExperimentsOutput{}
14019	req = c.newRequest(op, input, output)
14020	return
14021}
14022
14023// ListExperiments API operation for Amazon SageMaker Service.
14024//
14025// Lists all the experiments in your account. The list can be filtered to show
14026// only experiments that were created in a specific time range. The list can
14027// be sorted by experiment name or creation time.
14028//
14029// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
14030// with awserr.Error's Code and Message methods to get detailed information about
14031// the error.
14032//
14033// See the AWS API reference guide for Amazon SageMaker Service's
14034// API operation ListExperiments for usage and error information.
14035// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListExperiments
14036func (c *SageMaker) ListExperiments(input *ListExperimentsInput) (*ListExperimentsOutput, error) {
14037	req, out := c.ListExperimentsRequest(input)
14038	return out, req.Send()
14039}
14040
14041// ListExperimentsWithContext is the same as ListExperiments with the addition of
14042// the ability to pass a context and additional request options.
14043//
14044// See ListExperiments for details on how to use this API operation.
14045//
14046// The context must be non-nil and will be used for request cancellation. If
14047// the context is nil a panic will occur. In the future the SDK may create
14048// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14049// for more information on using Contexts.
14050func (c *SageMaker) ListExperimentsWithContext(ctx aws.Context, input *ListExperimentsInput, opts ...request.Option) (*ListExperimentsOutput, error) {
14051	req, out := c.ListExperimentsRequest(input)
14052	req.SetContext(ctx)
14053	req.ApplyOptions(opts...)
14054	return out, req.Send()
14055}
14056
14057// ListExperimentsPages iterates over the pages of a ListExperiments operation,
14058// calling the "fn" function with the response data for each page. To stop
14059// iterating, return false from the fn function.
14060//
14061// See ListExperiments method for more information on how to use this operation.
14062//
14063// Note: This operation can generate multiple requests to a service.
14064//
14065//    // Example iterating over at most 3 pages of a ListExperiments operation.
14066//    pageNum := 0
14067//    err := client.ListExperimentsPages(params,
14068//        func(page *sagemaker.ListExperimentsOutput, lastPage bool) bool {
14069//            pageNum++
14070//            fmt.Println(page)
14071//            return pageNum <= 3
14072//        })
14073//
14074func (c *SageMaker) ListExperimentsPages(input *ListExperimentsInput, fn func(*ListExperimentsOutput, bool) bool) error {
14075	return c.ListExperimentsPagesWithContext(aws.BackgroundContext(), input, fn)
14076}
14077
14078// ListExperimentsPagesWithContext same as ListExperimentsPages except
14079// it takes a Context and allows setting request options on the pages.
14080//
14081// The context must be non-nil and will be used for request cancellation. If
14082// the context is nil a panic will occur. In the future the SDK may create
14083// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14084// for more information on using Contexts.
14085func (c *SageMaker) ListExperimentsPagesWithContext(ctx aws.Context, input *ListExperimentsInput, fn func(*ListExperimentsOutput, bool) bool, opts ...request.Option) error {
14086	p := request.Pagination{
14087		NewRequest: func() (*request.Request, error) {
14088			var inCpy *ListExperimentsInput
14089			if input != nil {
14090				tmp := *input
14091				inCpy = &tmp
14092			}
14093			req, _ := c.ListExperimentsRequest(inCpy)
14094			req.SetContext(ctx)
14095			req.ApplyOptions(opts...)
14096			return req, nil
14097		},
14098	}
14099
14100	for p.Next() {
14101		if !fn(p.Page().(*ListExperimentsOutput), !p.HasNextPage()) {
14102			break
14103		}
14104	}
14105
14106	return p.Err()
14107}
14108
14109const opListFeatureGroups = "ListFeatureGroups"
14110
14111// ListFeatureGroupsRequest generates a "aws/request.Request" representing the
14112// client's request for the ListFeatureGroups operation. The "output" return
14113// value will be populated with the request's response once the request completes
14114// successfully.
14115//
14116// Use "Send" method on the returned Request to send the API call to the service.
14117// the "output" return value is not valid until after Send returns without error.
14118//
14119// See ListFeatureGroups for more information on using the ListFeatureGroups
14120// API call, and error handling.
14121//
14122// This method is useful when you want to inject custom logic or configuration
14123// into the SDK's request lifecycle. Such as custom headers, or retry logic.
14124//
14125//
14126//    // Example sending a request using the ListFeatureGroupsRequest method.
14127//    req, resp := client.ListFeatureGroupsRequest(params)
14128//
14129//    err := req.Send()
14130//    if err == nil { // resp is now filled
14131//        fmt.Println(resp)
14132//    }
14133//
14134// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListFeatureGroups
14135func (c *SageMaker) ListFeatureGroupsRequest(input *ListFeatureGroupsInput) (req *request.Request, output *ListFeatureGroupsOutput) {
14136	op := &request.Operation{
14137		Name:       opListFeatureGroups,
14138		HTTPMethod: "POST",
14139		HTTPPath:   "/",
14140		Paginator: &request.Paginator{
14141			InputTokens:     []string{"NextToken"},
14142			OutputTokens:    []string{"NextToken"},
14143			LimitToken:      "MaxResults",
14144			TruncationToken: "",
14145		},
14146	}
14147
14148	if input == nil {
14149		input = &ListFeatureGroupsInput{}
14150	}
14151
14152	output = &ListFeatureGroupsOutput{}
14153	req = c.newRequest(op, input, output)
14154	return
14155}
14156
14157// ListFeatureGroups API operation for Amazon SageMaker Service.
14158//
14159// List FeatureGroups based on given filter and order.
14160//
14161// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
14162// with awserr.Error's Code and Message methods to get detailed information about
14163// the error.
14164//
14165// See the AWS API reference guide for Amazon SageMaker Service's
14166// API operation ListFeatureGroups for usage and error information.
14167// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListFeatureGroups
14168func (c *SageMaker) ListFeatureGroups(input *ListFeatureGroupsInput) (*ListFeatureGroupsOutput, error) {
14169	req, out := c.ListFeatureGroupsRequest(input)
14170	return out, req.Send()
14171}
14172
14173// ListFeatureGroupsWithContext is the same as ListFeatureGroups with the addition of
14174// the ability to pass a context and additional request options.
14175//
14176// See ListFeatureGroups for details on how to use this API operation.
14177//
14178// The context must be non-nil and will be used for request cancellation. If
14179// the context is nil a panic will occur. In the future the SDK may create
14180// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14181// for more information on using Contexts.
14182func (c *SageMaker) ListFeatureGroupsWithContext(ctx aws.Context, input *ListFeatureGroupsInput, opts ...request.Option) (*ListFeatureGroupsOutput, error) {
14183	req, out := c.ListFeatureGroupsRequest(input)
14184	req.SetContext(ctx)
14185	req.ApplyOptions(opts...)
14186	return out, req.Send()
14187}
14188
14189// ListFeatureGroupsPages iterates over the pages of a ListFeatureGroups operation,
14190// calling the "fn" function with the response data for each page. To stop
14191// iterating, return false from the fn function.
14192//
14193// See ListFeatureGroups method for more information on how to use this operation.
14194//
14195// Note: This operation can generate multiple requests to a service.
14196//
14197//    // Example iterating over at most 3 pages of a ListFeatureGroups operation.
14198//    pageNum := 0
14199//    err := client.ListFeatureGroupsPages(params,
14200//        func(page *sagemaker.ListFeatureGroupsOutput, lastPage bool) bool {
14201//            pageNum++
14202//            fmt.Println(page)
14203//            return pageNum <= 3
14204//        })
14205//
14206func (c *SageMaker) ListFeatureGroupsPages(input *ListFeatureGroupsInput, fn func(*ListFeatureGroupsOutput, bool) bool) error {
14207	return c.ListFeatureGroupsPagesWithContext(aws.BackgroundContext(), input, fn)
14208}
14209
14210// ListFeatureGroupsPagesWithContext same as ListFeatureGroupsPages except
14211// it takes a Context and allows setting request options on the pages.
14212//
14213// The context must be non-nil and will be used for request cancellation. If
14214// the context is nil a panic will occur. In the future the SDK may create
14215// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14216// for more information on using Contexts.
14217func (c *SageMaker) ListFeatureGroupsPagesWithContext(ctx aws.Context, input *ListFeatureGroupsInput, fn func(*ListFeatureGroupsOutput, bool) bool, opts ...request.Option) error {
14218	p := request.Pagination{
14219		NewRequest: func() (*request.Request, error) {
14220			var inCpy *ListFeatureGroupsInput
14221			if input != nil {
14222				tmp := *input
14223				inCpy = &tmp
14224			}
14225			req, _ := c.ListFeatureGroupsRequest(inCpy)
14226			req.SetContext(ctx)
14227			req.ApplyOptions(opts...)
14228			return req, nil
14229		},
14230	}
14231
14232	for p.Next() {
14233		if !fn(p.Page().(*ListFeatureGroupsOutput), !p.HasNextPage()) {
14234			break
14235		}
14236	}
14237
14238	return p.Err()
14239}
14240
14241const opListFlowDefinitions = "ListFlowDefinitions"
14242
14243// ListFlowDefinitionsRequest generates a "aws/request.Request" representing the
14244// client's request for the ListFlowDefinitions operation. The "output" return
14245// value will be populated with the request's response once the request completes
14246// successfully.
14247//
14248// Use "Send" method on the returned Request to send the API call to the service.
14249// the "output" return value is not valid until after Send returns without error.
14250//
14251// See ListFlowDefinitions for more information on using the ListFlowDefinitions
14252// API call, and error handling.
14253//
14254// This method is useful when you want to inject custom logic or configuration
14255// into the SDK's request lifecycle. Such as custom headers, or retry logic.
14256//
14257//
14258//    // Example sending a request using the ListFlowDefinitionsRequest method.
14259//    req, resp := client.ListFlowDefinitionsRequest(params)
14260//
14261//    err := req.Send()
14262//    if err == nil { // resp is now filled
14263//        fmt.Println(resp)
14264//    }
14265//
14266// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListFlowDefinitions
14267func (c *SageMaker) ListFlowDefinitionsRequest(input *ListFlowDefinitionsInput) (req *request.Request, output *ListFlowDefinitionsOutput) {
14268	op := &request.Operation{
14269		Name:       opListFlowDefinitions,
14270		HTTPMethod: "POST",
14271		HTTPPath:   "/",
14272		Paginator: &request.Paginator{
14273			InputTokens:     []string{"NextToken"},
14274			OutputTokens:    []string{"NextToken"},
14275			LimitToken:      "MaxResults",
14276			TruncationToken: "",
14277		},
14278	}
14279
14280	if input == nil {
14281		input = &ListFlowDefinitionsInput{}
14282	}
14283
14284	output = &ListFlowDefinitionsOutput{}
14285	req = c.newRequest(op, input, output)
14286	return
14287}
14288
14289// ListFlowDefinitions API operation for Amazon SageMaker Service.
14290//
14291// Returns information about the flow definitions in your account.
14292//
14293// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
14294// with awserr.Error's Code and Message methods to get detailed information about
14295// the error.
14296//
14297// See the AWS API reference guide for Amazon SageMaker Service's
14298// API operation ListFlowDefinitions for usage and error information.
14299// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListFlowDefinitions
14300func (c *SageMaker) ListFlowDefinitions(input *ListFlowDefinitionsInput) (*ListFlowDefinitionsOutput, error) {
14301	req, out := c.ListFlowDefinitionsRequest(input)
14302	return out, req.Send()
14303}
14304
14305// ListFlowDefinitionsWithContext is the same as ListFlowDefinitions with the addition of
14306// the ability to pass a context and additional request options.
14307//
14308// See ListFlowDefinitions for details on how to use this API operation.
14309//
14310// The context must be non-nil and will be used for request cancellation. If
14311// the context is nil a panic will occur. In the future the SDK may create
14312// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14313// for more information on using Contexts.
14314func (c *SageMaker) ListFlowDefinitionsWithContext(ctx aws.Context, input *ListFlowDefinitionsInput, opts ...request.Option) (*ListFlowDefinitionsOutput, error) {
14315	req, out := c.ListFlowDefinitionsRequest(input)
14316	req.SetContext(ctx)
14317	req.ApplyOptions(opts...)
14318	return out, req.Send()
14319}
14320
14321// ListFlowDefinitionsPages iterates over the pages of a ListFlowDefinitions operation,
14322// calling the "fn" function with the response data for each page. To stop
14323// iterating, return false from the fn function.
14324//
14325// See ListFlowDefinitions method for more information on how to use this operation.
14326//
14327// Note: This operation can generate multiple requests to a service.
14328//
14329//    // Example iterating over at most 3 pages of a ListFlowDefinitions operation.
14330//    pageNum := 0
14331//    err := client.ListFlowDefinitionsPages(params,
14332//        func(page *sagemaker.ListFlowDefinitionsOutput, lastPage bool) bool {
14333//            pageNum++
14334//            fmt.Println(page)
14335//            return pageNum <= 3
14336//        })
14337//
14338func (c *SageMaker) ListFlowDefinitionsPages(input *ListFlowDefinitionsInput, fn func(*ListFlowDefinitionsOutput, bool) bool) error {
14339	return c.ListFlowDefinitionsPagesWithContext(aws.BackgroundContext(), input, fn)
14340}
14341
14342// ListFlowDefinitionsPagesWithContext same as ListFlowDefinitionsPages except
14343// it takes a Context and allows setting request options on the pages.
14344//
14345// The context must be non-nil and will be used for request cancellation. If
14346// the context is nil a panic will occur. In the future the SDK may create
14347// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14348// for more information on using Contexts.
14349func (c *SageMaker) ListFlowDefinitionsPagesWithContext(ctx aws.Context, input *ListFlowDefinitionsInput, fn func(*ListFlowDefinitionsOutput, bool) bool, opts ...request.Option) error {
14350	p := request.Pagination{
14351		NewRequest: func() (*request.Request, error) {
14352			var inCpy *ListFlowDefinitionsInput
14353			if input != nil {
14354				tmp := *input
14355				inCpy = &tmp
14356			}
14357			req, _ := c.ListFlowDefinitionsRequest(inCpy)
14358			req.SetContext(ctx)
14359			req.ApplyOptions(opts...)
14360			return req, nil
14361		},
14362	}
14363
14364	for p.Next() {
14365		if !fn(p.Page().(*ListFlowDefinitionsOutput), !p.HasNextPage()) {
14366			break
14367		}
14368	}
14369
14370	return p.Err()
14371}
14372
14373const opListHumanTaskUis = "ListHumanTaskUis"
14374
14375// ListHumanTaskUisRequest generates a "aws/request.Request" representing the
14376// client's request for the ListHumanTaskUis operation. The "output" return
14377// value will be populated with the request's response once the request completes
14378// successfully.
14379//
14380// Use "Send" method on the returned Request to send the API call to the service.
14381// the "output" return value is not valid until after Send returns without error.
14382//
14383// See ListHumanTaskUis for more information on using the ListHumanTaskUis
14384// API call, and error handling.
14385//
14386// This method is useful when you want to inject custom logic or configuration
14387// into the SDK's request lifecycle. Such as custom headers, or retry logic.
14388//
14389//
14390//    // Example sending a request using the ListHumanTaskUisRequest method.
14391//    req, resp := client.ListHumanTaskUisRequest(params)
14392//
14393//    err := req.Send()
14394//    if err == nil { // resp is now filled
14395//        fmt.Println(resp)
14396//    }
14397//
14398// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListHumanTaskUis
14399func (c *SageMaker) ListHumanTaskUisRequest(input *ListHumanTaskUisInput) (req *request.Request, output *ListHumanTaskUisOutput) {
14400	op := &request.Operation{
14401		Name:       opListHumanTaskUis,
14402		HTTPMethod: "POST",
14403		HTTPPath:   "/",
14404		Paginator: &request.Paginator{
14405			InputTokens:     []string{"NextToken"},
14406			OutputTokens:    []string{"NextToken"},
14407			LimitToken:      "MaxResults",
14408			TruncationToken: "",
14409		},
14410	}
14411
14412	if input == nil {
14413		input = &ListHumanTaskUisInput{}
14414	}
14415
14416	output = &ListHumanTaskUisOutput{}
14417	req = c.newRequest(op, input, output)
14418	return
14419}
14420
14421// ListHumanTaskUis API operation for Amazon SageMaker Service.
14422//
14423// Returns information about the human task user interfaces in your account.
14424//
14425// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
14426// with awserr.Error's Code and Message methods to get detailed information about
14427// the error.
14428//
14429// See the AWS API reference guide for Amazon SageMaker Service's
14430// API operation ListHumanTaskUis for usage and error information.
14431// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListHumanTaskUis
14432func (c *SageMaker) ListHumanTaskUis(input *ListHumanTaskUisInput) (*ListHumanTaskUisOutput, error) {
14433	req, out := c.ListHumanTaskUisRequest(input)
14434	return out, req.Send()
14435}
14436
14437// ListHumanTaskUisWithContext is the same as ListHumanTaskUis with the addition of
14438// the ability to pass a context and additional request options.
14439//
14440// See ListHumanTaskUis for details on how to use this API operation.
14441//
14442// The context must be non-nil and will be used for request cancellation. If
14443// the context is nil a panic will occur. In the future the SDK may create
14444// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14445// for more information on using Contexts.
14446func (c *SageMaker) ListHumanTaskUisWithContext(ctx aws.Context, input *ListHumanTaskUisInput, opts ...request.Option) (*ListHumanTaskUisOutput, error) {
14447	req, out := c.ListHumanTaskUisRequest(input)
14448	req.SetContext(ctx)
14449	req.ApplyOptions(opts...)
14450	return out, req.Send()
14451}
14452
14453// ListHumanTaskUisPages iterates over the pages of a ListHumanTaskUis operation,
14454// calling the "fn" function with the response data for each page. To stop
14455// iterating, return false from the fn function.
14456//
14457// See ListHumanTaskUis method for more information on how to use this operation.
14458//
14459// Note: This operation can generate multiple requests to a service.
14460//
14461//    // Example iterating over at most 3 pages of a ListHumanTaskUis operation.
14462//    pageNum := 0
14463//    err := client.ListHumanTaskUisPages(params,
14464//        func(page *sagemaker.ListHumanTaskUisOutput, lastPage bool) bool {
14465//            pageNum++
14466//            fmt.Println(page)
14467//            return pageNum <= 3
14468//        })
14469//
14470func (c *SageMaker) ListHumanTaskUisPages(input *ListHumanTaskUisInput, fn func(*ListHumanTaskUisOutput, bool) bool) error {
14471	return c.ListHumanTaskUisPagesWithContext(aws.BackgroundContext(), input, fn)
14472}
14473
14474// ListHumanTaskUisPagesWithContext same as ListHumanTaskUisPages except
14475// it takes a Context and allows setting request options on the pages.
14476//
14477// The context must be non-nil and will be used for request cancellation. If
14478// the context is nil a panic will occur. In the future the SDK may create
14479// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14480// for more information on using Contexts.
14481func (c *SageMaker) ListHumanTaskUisPagesWithContext(ctx aws.Context, input *ListHumanTaskUisInput, fn func(*ListHumanTaskUisOutput, bool) bool, opts ...request.Option) error {
14482	p := request.Pagination{
14483		NewRequest: func() (*request.Request, error) {
14484			var inCpy *ListHumanTaskUisInput
14485			if input != nil {
14486				tmp := *input
14487				inCpy = &tmp
14488			}
14489			req, _ := c.ListHumanTaskUisRequest(inCpy)
14490			req.SetContext(ctx)
14491			req.ApplyOptions(opts...)
14492			return req, nil
14493		},
14494	}
14495
14496	for p.Next() {
14497		if !fn(p.Page().(*ListHumanTaskUisOutput), !p.HasNextPage()) {
14498			break
14499		}
14500	}
14501
14502	return p.Err()
14503}
14504
14505const opListHyperParameterTuningJobs = "ListHyperParameterTuningJobs"
14506
14507// ListHyperParameterTuningJobsRequest generates a "aws/request.Request" representing the
14508// client's request for the ListHyperParameterTuningJobs operation. The "output" return
14509// value will be populated with the request's response once the request completes
14510// successfully.
14511//
14512// Use "Send" method on the returned Request to send the API call to the service.
14513// the "output" return value is not valid until after Send returns without error.
14514//
14515// See ListHyperParameterTuningJobs for more information on using the ListHyperParameterTuningJobs
14516// API call, and error handling.
14517//
14518// This method is useful when you want to inject custom logic or configuration
14519// into the SDK's request lifecycle. Such as custom headers, or retry logic.
14520//
14521//
14522//    // Example sending a request using the ListHyperParameterTuningJobsRequest method.
14523//    req, resp := client.ListHyperParameterTuningJobsRequest(params)
14524//
14525//    err := req.Send()
14526//    if err == nil { // resp is now filled
14527//        fmt.Println(resp)
14528//    }
14529//
14530// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListHyperParameterTuningJobs
14531func (c *SageMaker) ListHyperParameterTuningJobsRequest(input *ListHyperParameterTuningJobsInput) (req *request.Request, output *ListHyperParameterTuningJobsOutput) {
14532	op := &request.Operation{
14533		Name:       opListHyperParameterTuningJobs,
14534		HTTPMethod: "POST",
14535		HTTPPath:   "/",
14536		Paginator: &request.Paginator{
14537			InputTokens:     []string{"NextToken"},
14538			OutputTokens:    []string{"NextToken"},
14539			LimitToken:      "MaxResults",
14540			TruncationToken: "",
14541		},
14542	}
14543
14544	if input == nil {
14545		input = &ListHyperParameterTuningJobsInput{}
14546	}
14547
14548	output = &ListHyperParameterTuningJobsOutput{}
14549	req = c.newRequest(op, input, output)
14550	return
14551}
14552
14553// ListHyperParameterTuningJobs API operation for Amazon SageMaker Service.
14554//
14555// Gets a list of HyperParameterTuningJobSummary objects that describe the hyperparameter
14556// tuning jobs launched in your account.
14557//
14558// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
14559// with awserr.Error's Code and Message methods to get detailed information about
14560// the error.
14561//
14562// See the AWS API reference guide for Amazon SageMaker Service's
14563// API operation ListHyperParameterTuningJobs for usage and error information.
14564// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListHyperParameterTuningJobs
14565func (c *SageMaker) ListHyperParameterTuningJobs(input *ListHyperParameterTuningJobsInput) (*ListHyperParameterTuningJobsOutput, error) {
14566	req, out := c.ListHyperParameterTuningJobsRequest(input)
14567	return out, req.Send()
14568}
14569
14570// ListHyperParameterTuningJobsWithContext is the same as ListHyperParameterTuningJobs with the addition of
14571// the ability to pass a context and additional request options.
14572//
14573// See ListHyperParameterTuningJobs for details on how to use this API operation.
14574//
14575// The context must be non-nil and will be used for request cancellation. If
14576// the context is nil a panic will occur. In the future the SDK may create
14577// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14578// for more information on using Contexts.
14579func (c *SageMaker) ListHyperParameterTuningJobsWithContext(ctx aws.Context, input *ListHyperParameterTuningJobsInput, opts ...request.Option) (*ListHyperParameterTuningJobsOutput, error) {
14580	req, out := c.ListHyperParameterTuningJobsRequest(input)
14581	req.SetContext(ctx)
14582	req.ApplyOptions(opts...)
14583	return out, req.Send()
14584}
14585
14586// ListHyperParameterTuningJobsPages iterates over the pages of a ListHyperParameterTuningJobs operation,
14587// calling the "fn" function with the response data for each page. To stop
14588// iterating, return false from the fn function.
14589//
14590// See ListHyperParameterTuningJobs method for more information on how to use this operation.
14591//
14592// Note: This operation can generate multiple requests to a service.
14593//
14594//    // Example iterating over at most 3 pages of a ListHyperParameterTuningJobs operation.
14595//    pageNum := 0
14596//    err := client.ListHyperParameterTuningJobsPages(params,
14597//        func(page *sagemaker.ListHyperParameterTuningJobsOutput, lastPage bool) bool {
14598//            pageNum++
14599//            fmt.Println(page)
14600//            return pageNum <= 3
14601//        })
14602//
14603func (c *SageMaker) ListHyperParameterTuningJobsPages(input *ListHyperParameterTuningJobsInput, fn func(*ListHyperParameterTuningJobsOutput, bool) bool) error {
14604	return c.ListHyperParameterTuningJobsPagesWithContext(aws.BackgroundContext(), input, fn)
14605}
14606
14607// ListHyperParameterTuningJobsPagesWithContext same as ListHyperParameterTuningJobsPages except
14608// it takes a Context and allows setting request options on the pages.
14609//
14610// The context must be non-nil and will be used for request cancellation. If
14611// the context is nil a panic will occur. In the future the SDK may create
14612// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14613// for more information on using Contexts.
14614func (c *SageMaker) ListHyperParameterTuningJobsPagesWithContext(ctx aws.Context, input *ListHyperParameterTuningJobsInput, fn func(*ListHyperParameterTuningJobsOutput, bool) bool, opts ...request.Option) error {
14615	p := request.Pagination{
14616		NewRequest: func() (*request.Request, error) {
14617			var inCpy *ListHyperParameterTuningJobsInput
14618			if input != nil {
14619				tmp := *input
14620				inCpy = &tmp
14621			}
14622			req, _ := c.ListHyperParameterTuningJobsRequest(inCpy)
14623			req.SetContext(ctx)
14624			req.ApplyOptions(opts...)
14625			return req, nil
14626		},
14627	}
14628
14629	for p.Next() {
14630		if !fn(p.Page().(*ListHyperParameterTuningJobsOutput), !p.HasNextPage()) {
14631			break
14632		}
14633	}
14634
14635	return p.Err()
14636}
14637
14638const opListImageVersions = "ListImageVersions"
14639
14640// ListImageVersionsRequest generates a "aws/request.Request" representing the
14641// client's request for the ListImageVersions operation. The "output" return
14642// value will be populated with the request's response once the request completes
14643// successfully.
14644//
14645// Use "Send" method on the returned Request to send the API call to the service.
14646// the "output" return value is not valid until after Send returns without error.
14647//
14648// See ListImageVersions for more information on using the ListImageVersions
14649// API call, and error handling.
14650//
14651// This method is useful when you want to inject custom logic or configuration
14652// into the SDK's request lifecycle. Such as custom headers, or retry logic.
14653//
14654//
14655//    // Example sending a request using the ListImageVersionsRequest method.
14656//    req, resp := client.ListImageVersionsRequest(params)
14657//
14658//    err := req.Send()
14659//    if err == nil { // resp is now filled
14660//        fmt.Println(resp)
14661//    }
14662//
14663// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListImageVersions
14664func (c *SageMaker) ListImageVersionsRequest(input *ListImageVersionsInput) (req *request.Request, output *ListImageVersionsOutput) {
14665	op := &request.Operation{
14666		Name:       opListImageVersions,
14667		HTTPMethod: "POST",
14668		HTTPPath:   "/",
14669		Paginator: &request.Paginator{
14670			InputTokens:     []string{"NextToken"},
14671			OutputTokens:    []string{"NextToken"},
14672			LimitToken:      "MaxResults",
14673			TruncationToken: "",
14674		},
14675	}
14676
14677	if input == nil {
14678		input = &ListImageVersionsInput{}
14679	}
14680
14681	output = &ListImageVersionsOutput{}
14682	req = c.newRequest(op, input, output)
14683	return
14684}
14685
14686// ListImageVersions API operation for Amazon SageMaker Service.
14687//
14688// Lists the versions of a specified image and their properties. The list can
14689// be filtered by creation time or modified time.
14690//
14691// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
14692// with awserr.Error's Code and Message methods to get detailed information about
14693// the error.
14694//
14695// See the AWS API reference guide for Amazon SageMaker Service's
14696// API operation ListImageVersions for usage and error information.
14697//
14698// Returned Error Types:
14699//   * ResourceNotFound
14700//   Resource being access is not found.
14701//
14702// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListImageVersions
14703func (c *SageMaker) ListImageVersions(input *ListImageVersionsInput) (*ListImageVersionsOutput, error) {
14704	req, out := c.ListImageVersionsRequest(input)
14705	return out, req.Send()
14706}
14707
14708// ListImageVersionsWithContext is the same as ListImageVersions with the addition of
14709// the ability to pass a context and additional request options.
14710//
14711// See ListImageVersions for details on how to use this API operation.
14712//
14713// The context must be non-nil and will be used for request cancellation. If
14714// the context is nil a panic will occur. In the future the SDK may create
14715// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14716// for more information on using Contexts.
14717func (c *SageMaker) ListImageVersionsWithContext(ctx aws.Context, input *ListImageVersionsInput, opts ...request.Option) (*ListImageVersionsOutput, error) {
14718	req, out := c.ListImageVersionsRequest(input)
14719	req.SetContext(ctx)
14720	req.ApplyOptions(opts...)
14721	return out, req.Send()
14722}
14723
14724// ListImageVersionsPages iterates over the pages of a ListImageVersions operation,
14725// calling the "fn" function with the response data for each page. To stop
14726// iterating, return false from the fn function.
14727//
14728// See ListImageVersions method for more information on how to use this operation.
14729//
14730// Note: This operation can generate multiple requests to a service.
14731//
14732//    // Example iterating over at most 3 pages of a ListImageVersions operation.
14733//    pageNum := 0
14734//    err := client.ListImageVersionsPages(params,
14735//        func(page *sagemaker.ListImageVersionsOutput, lastPage bool) bool {
14736//            pageNum++
14737//            fmt.Println(page)
14738//            return pageNum <= 3
14739//        })
14740//
14741func (c *SageMaker) ListImageVersionsPages(input *ListImageVersionsInput, fn func(*ListImageVersionsOutput, bool) bool) error {
14742	return c.ListImageVersionsPagesWithContext(aws.BackgroundContext(), input, fn)
14743}
14744
14745// ListImageVersionsPagesWithContext same as ListImageVersionsPages except
14746// it takes a Context and allows setting request options on the pages.
14747//
14748// The context must be non-nil and will be used for request cancellation. If
14749// the context is nil a panic will occur. In the future the SDK may create
14750// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14751// for more information on using Contexts.
14752func (c *SageMaker) ListImageVersionsPagesWithContext(ctx aws.Context, input *ListImageVersionsInput, fn func(*ListImageVersionsOutput, bool) bool, opts ...request.Option) error {
14753	p := request.Pagination{
14754		NewRequest: func() (*request.Request, error) {
14755			var inCpy *ListImageVersionsInput
14756			if input != nil {
14757				tmp := *input
14758				inCpy = &tmp
14759			}
14760			req, _ := c.ListImageVersionsRequest(inCpy)
14761			req.SetContext(ctx)
14762			req.ApplyOptions(opts...)
14763			return req, nil
14764		},
14765	}
14766
14767	for p.Next() {
14768		if !fn(p.Page().(*ListImageVersionsOutput), !p.HasNextPage()) {
14769			break
14770		}
14771	}
14772
14773	return p.Err()
14774}
14775
14776const opListImages = "ListImages"
14777
14778// ListImagesRequest generates a "aws/request.Request" representing the
14779// client's request for the ListImages operation. The "output" return
14780// value will be populated with the request's response once the request completes
14781// successfully.
14782//
14783// Use "Send" method on the returned Request to send the API call to the service.
14784// the "output" return value is not valid until after Send returns without error.
14785//
14786// See ListImages for more information on using the ListImages
14787// API call, and error handling.
14788//
14789// This method is useful when you want to inject custom logic or configuration
14790// into the SDK's request lifecycle. Such as custom headers, or retry logic.
14791//
14792//
14793//    // Example sending a request using the ListImagesRequest method.
14794//    req, resp := client.ListImagesRequest(params)
14795//
14796//    err := req.Send()
14797//    if err == nil { // resp is now filled
14798//        fmt.Println(resp)
14799//    }
14800//
14801// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListImages
14802func (c *SageMaker) ListImagesRequest(input *ListImagesInput) (req *request.Request, output *ListImagesOutput) {
14803	op := &request.Operation{
14804		Name:       opListImages,
14805		HTTPMethod: "POST",
14806		HTTPPath:   "/",
14807		Paginator: &request.Paginator{
14808			InputTokens:     []string{"NextToken"},
14809			OutputTokens:    []string{"NextToken"},
14810			LimitToken:      "MaxResults",
14811			TruncationToken: "",
14812		},
14813	}
14814
14815	if input == nil {
14816		input = &ListImagesInput{}
14817	}
14818
14819	output = &ListImagesOutput{}
14820	req = c.newRequest(op, input, output)
14821	return
14822}
14823
14824// ListImages API operation for Amazon SageMaker Service.
14825//
14826// Lists the images in your account and their properties. The list can be filtered
14827// by creation time or modified time, and whether the image name contains a
14828// specified string.
14829//
14830// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
14831// with awserr.Error's Code and Message methods to get detailed information about
14832// the error.
14833//
14834// See the AWS API reference guide for Amazon SageMaker Service's
14835// API operation ListImages for usage and error information.
14836// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListImages
14837func (c *SageMaker) ListImages(input *ListImagesInput) (*ListImagesOutput, error) {
14838	req, out := c.ListImagesRequest(input)
14839	return out, req.Send()
14840}
14841
14842// ListImagesWithContext is the same as ListImages with the addition of
14843// the ability to pass a context and additional request options.
14844//
14845// See ListImages for details on how to use this API operation.
14846//
14847// The context must be non-nil and will be used for request cancellation. If
14848// the context is nil a panic will occur. In the future the SDK may create
14849// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14850// for more information on using Contexts.
14851func (c *SageMaker) ListImagesWithContext(ctx aws.Context, input *ListImagesInput, opts ...request.Option) (*ListImagesOutput, error) {
14852	req, out := c.ListImagesRequest(input)
14853	req.SetContext(ctx)
14854	req.ApplyOptions(opts...)
14855	return out, req.Send()
14856}
14857
14858// ListImagesPages iterates over the pages of a ListImages operation,
14859// calling the "fn" function with the response data for each page. To stop
14860// iterating, return false from the fn function.
14861//
14862// See ListImages method for more information on how to use this operation.
14863//
14864// Note: This operation can generate multiple requests to a service.
14865//
14866//    // Example iterating over at most 3 pages of a ListImages operation.
14867//    pageNum := 0
14868//    err := client.ListImagesPages(params,
14869//        func(page *sagemaker.ListImagesOutput, lastPage bool) bool {
14870//            pageNum++
14871//            fmt.Println(page)
14872//            return pageNum <= 3
14873//        })
14874//
14875func (c *SageMaker) ListImagesPages(input *ListImagesInput, fn func(*ListImagesOutput, bool) bool) error {
14876	return c.ListImagesPagesWithContext(aws.BackgroundContext(), input, fn)
14877}
14878
14879// ListImagesPagesWithContext same as ListImagesPages except
14880// it takes a Context and allows setting request options on the pages.
14881//
14882// The context must be non-nil and will be used for request cancellation. If
14883// the context is nil a panic will occur. In the future the SDK may create
14884// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14885// for more information on using Contexts.
14886func (c *SageMaker) ListImagesPagesWithContext(ctx aws.Context, input *ListImagesInput, fn func(*ListImagesOutput, bool) bool, opts ...request.Option) error {
14887	p := request.Pagination{
14888		NewRequest: func() (*request.Request, error) {
14889			var inCpy *ListImagesInput
14890			if input != nil {
14891				tmp := *input
14892				inCpy = &tmp
14893			}
14894			req, _ := c.ListImagesRequest(inCpy)
14895			req.SetContext(ctx)
14896			req.ApplyOptions(opts...)
14897			return req, nil
14898		},
14899	}
14900
14901	for p.Next() {
14902		if !fn(p.Page().(*ListImagesOutput), !p.HasNextPage()) {
14903			break
14904		}
14905	}
14906
14907	return p.Err()
14908}
14909
14910const opListLabelingJobs = "ListLabelingJobs"
14911
14912// ListLabelingJobsRequest generates a "aws/request.Request" representing the
14913// client's request for the ListLabelingJobs operation. The "output" return
14914// value will be populated with the request's response once the request completes
14915// successfully.
14916//
14917// Use "Send" method on the returned Request to send the API call to the service.
14918// the "output" return value is not valid until after Send returns without error.
14919//
14920// See ListLabelingJobs for more information on using the ListLabelingJobs
14921// API call, and error handling.
14922//
14923// This method is useful when you want to inject custom logic or configuration
14924// into the SDK's request lifecycle. Such as custom headers, or retry logic.
14925//
14926//
14927//    // Example sending a request using the ListLabelingJobsRequest method.
14928//    req, resp := client.ListLabelingJobsRequest(params)
14929//
14930//    err := req.Send()
14931//    if err == nil { // resp is now filled
14932//        fmt.Println(resp)
14933//    }
14934//
14935// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListLabelingJobs
14936func (c *SageMaker) ListLabelingJobsRequest(input *ListLabelingJobsInput) (req *request.Request, output *ListLabelingJobsOutput) {
14937	op := &request.Operation{
14938		Name:       opListLabelingJobs,
14939		HTTPMethod: "POST",
14940		HTTPPath:   "/",
14941		Paginator: &request.Paginator{
14942			InputTokens:     []string{"NextToken"},
14943			OutputTokens:    []string{"NextToken"},
14944			LimitToken:      "MaxResults",
14945			TruncationToken: "",
14946		},
14947	}
14948
14949	if input == nil {
14950		input = &ListLabelingJobsInput{}
14951	}
14952
14953	output = &ListLabelingJobsOutput{}
14954	req = c.newRequest(op, input, output)
14955	return
14956}
14957
14958// ListLabelingJobs API operation for Amazon SageMaker Service.
14959//
14960// Gets a list of labeling jobs.
14961//
14962// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
14963// with awserr.Error's Code and Message methods to get detailed information about
14964// the error.
14965//
14966// See the AWS API reference guide for Amazon SageMaker Service's
14967// API operation ListLabelingJobs for usage and error information.
14968// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListLabelingJobs
14969func (c *SageMaker) ListLabelingJobs(input *ListLabelingJobsInput) (*ListLabelingJobsOutput, error) {
14970	req, out := c.ListLabelingJobsRequest(input)
14971	return out, req.Send()
14972}
14973
14974// ListLabelingJobsWithContext is the same as ListLabelingJobs with the addition of
14975// the ability to pass a context and additional request options.
14976//
14977// See ListLabelingJobs for details on how to use this API operation.
14978//
14979// The context must be non-nil and will be used for request cancellation. If
14980// the context is nil a panic will occur. In the future the SDK may create
14981// sub-contexts for http.Requests. See https://golang.org/pkg/context/
14982// for more information on using Contexts.
14983func (c *SageMaker) ListLabelingJobsWithContext(ctx aws.Context, input *ListLabelingJobsInput, opts ...request.Option) (*ListLabelingJobsOutput, error) {
14984	req, out := c.ListLabelingJobsRequest(input)
14985	req.SetContext(ctx)
14986	req.ApplyOptions(opts...)
14987	return out, req.Send()
14988}
14989
14990// ListLabelingJobsPages iterates over the pages of a ListLabelingJobs operation,
14991// calling the "fn" function with the response data for each page. To stop
14992// iterating, return false from the fn function.
14993//
14994// See ListLabelingJobs method for more information on how to use this operation.
14995//
14996// Note: This operation can generate multiple requests to a service.
14997//
14998//    // Example iterating over at most 3 pages of a ListLabelingJobs operation.
14999//    pageNum := 0
15000//    err := client.ListLabelingJobsPages(params,
15001//        func(page *sagemaker.ListLabelingJobsOutput, lastPage bool) bool {
15002//            pageNum++
15003//            fmt.Println(page)
15004//            return pageNum <= 3
15005//        })
15006//
15007func (c *SageMaker) ListLabelingJobsPages(input *ListLabelingJobsInput, fn func(*ListLabelingJobsOutput, bool) bool) error {
15008	return c.ListLabelingJobsPagesWithContext(aws.BackgroundContext(), input, fn)
15009}
15010
15011// ListLabelingJobsPagesWithContext same as ListLabelingJobsPages except
15012// it takes a Context and allows setting request options on the pages.
15013//
15014// The context must be non-nil and will be used for request cancellation. If
15015// the context is nil a panic will occur. In the future the SDK may create
15016// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15017// for more information on using Contexts.
15018func (c *SageMaker) ListLabelingJobsPagesWithContext(ctx aws.Context, input *ListLabelingJobsInput, fn func(*ListLabelingJobsOutput, bool) bool, opts ...request.Option) error {
15019	p := request.Pagination{
15020		NewRequest: func() (*request.Request, error) {
15021			var inCpy *ListLabelingJobsInput
15022			if input != nil {
15023				tmp := *input
15024				inCpy = &tmp
15025			}
15026			req, _ := c.ListLabelingJobsRequest(inCpy)
15027			req.SetContext(ctx)
15028			req.ApplyOptions(opts...)
15029			return req, nil
15030		},
15031	}
15032
15033	for p.Next() {
15034		if !fn(p.Page().(*ListLabelingJobsOutput), !p.HasNextPage()) {
15035			break
15036		}
15037	}
15038
15039	return p.Err()
15040}
15041
15042const opListLabelingJobsForWorkteam = "ListLabelingJobsForWorkteam"
15043
15044// ListLabelingJobsForWorkteamRequest generates a "aws/request.Request" representing the
15045// client's request for the ListLabelingJobsForWorkteam operation. The "output" return
15046// value will be populated with the request's response once the request completes
15047// successfully.
15048//
15049// Use "Send" method on the returned Request to send the API call to the service.
15050// the "output" return value is not valid until after Send returns without error.
15051//
15052// See ListLabelingJobsForWorkteam for more information on using the ListLabelingJobsForWorkteam
15053// API call, and error handling.
15054//
15055// This method is useful when you want to inject custom logic or configuration
15056// into the SDK's request lifecycle. Such as custom headers, or retry logic.
15057//
15058//
15059//    // Example sending a request using the ListLabelingJobsForWorkteamRequest method.
15060//    req, resp := client.ListLabelingJobsForWorkteamRequest(params)
15061//
15062//    err := req.Send()
15063//    if err == nil { // resp is now filled
15064//        fmt.Println(resp)
15065//    }
15066//
15067// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListLabelingJobsForWorkteam
15068func (c *SageMaker) ListLabelingJobsForWorkteamRequest(input *ListLabelingJobsForWorkteamInput) (req *request.Request, output *ListLabelingJobsForWorkteamOutput) {
15069	op := &request.Operation{
15070		Name:       opListLabelingJobsForWorkteam,
15071		HTTPMethod: "POST",
15072		HTTPPath:   "/",
15073		Paginator: &request.Paginator{
15074			InputTokens:     []string{"NextToken"},
15075			OutputTokens:    []string{"NextToken"},
15076			LimitToken:      "MaxResults",
15077			TruncationToken: "",
15078		},
15079	}
15080
15081	if input == nil {
15082		input = &ListLabelingJobsForWorkteamInput{}
15083	}
15084
15085	output = &ListLabelingJobsForWorkteamOutput{}
15086	req = c.newRequest(op, input, output)
15087	return
15088}
15089
15090// ListLabelingJobsForWorkteam API operation for Amazon SageMaker Service.
15091//
15092// Gets a list of labeling jobs assigned to a specified work team.
15093//
15094// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
15095// with awserr.Error's Code and Message methods to get detailed information about
15096// the error.
15097//
15098// See the AWS API reference guide for Amazon SageMaker Service's
15099// API operation ListLabelingJobsForWorkteam for usage and error information.
15100//
15101// Returned Error Types:
15102//   * ResourceNotFound
15103//   Resource being access is not found.
15104//
15105// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListLabelingJobsForWorkteam
15106func (c *SageMaker) ListLabelingJobsForWorkteam(input *ListLabelingJobsForWorkteamInput) (*ListLabelingJobsForWorkteamOutput, error) {
15107	req, out := c.ListLabelingJobsForWorkteamRequest(input)
15108	return out, req.Send()
15109}
15110
15111// ListLabelingJobsForWorkteamWithContext is the same as ListLabelingJobsForWorkteam with the addition of
15112// the ability to pass a context and additional request options.
15113//
15114// See ListLabelingJobsForWorkteam for details on how to use this API operation.
15115//
15116// The context must be non-nil and will be used for request cancellation. If
15117// the context is nil a panic will occur. In the future the SDK may create
15118// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15119// for more information on using Contexts.
15120func (c *SageMaker) ListLabelingJobsForWorkteamWithContext(ctx aws.Context, input *ListLabelingJobsForWorkteamInput, opts ...request.Option) (*ListLabelingJobsForWorkteamOutput, error) {
15121	req, out := c.ListLabelingJobsForWorkteamRequest(input)
15122	req.SetContext(ctx)
15123	req.ApplyOptions(opts...)
15124	return out, req.Send()
15125}
15126
15127// ListLabelingJobsForWorkteamPages iterates over the pages of a ListLabelingJobsForWorkteam operation,
15128// calling the "fn" function with the response data for each page. To stop
15129// iterating, return false from the fn function.
15130//
15131// See ListLabelingJobsForWorkteam method for more information on how to use this operation.
15132//
15133// Note: This operation can generate multiple requests to a service.
15134//
15135//    // Example iterating over at most 3 pages of a ListLabelingJobsForWorkteam operation.
15136//    pageNum := 0
15137//    err := client.ListLabelingJobsForWorkteamPages(params,
15138//        func(page *sagemaker.ListLabelingJobsForWorkteamOutput, lastPage bool) bool {
15139//            pageNum++
15140//            fmt.Println(page)
15141//            return pageNum <= 3
15142//        })
15143//
15144func (c *SageMaker) ListLabelingJobsForWorkteamPages(input *ListLabelingJobsForWorkteamInput, fn func(*ListLabelingJobsForWorkteamOutput, bool) bool) error {
15145	return c.ListLabelingJobsForWorkteamPagesWithContext(aws.BackgroundContext(), input, fn)
15146}
15147
15148// ListLabelingJobsForWorkteamPagesWithContext same as ListLabelingJobsForWorkteamPages except
15149// it takes a Context and allows setting request options on the pages.
15150//
15151// The context must be non-nil and will be used for request cancellation. If
15152// the context is nil a panic will occur. In the future the SDK may create
15153// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15154// for more information on using Contexts.
15155func (c *SageMaker) ListLabelingJobsForWorkteamPagesWithContext(ctx aws.Context, input *ListLabelingJobsForWorkteamInput, fn func(*ListLabelingJobsForWorkteamOutput, bool) bool, opts ...request.Option) error {
15156	p := request.Pagination{
15157		NewRequest: func() (*request.Request, error) {
15158			var inCpy *ListLabelingJobsForWorkteamInput
15159			if input != nil {
15160				tmp := *input
15161				inCpy = &tmp
15162			}
15163			req, _ := c.ListLabelingJobsForWorkteamRequest(inCpy)
15164			req.SetContext(ctx)
15165			req.ApplyOptions(opts...)
15166			return req, nil
15167		},
15168	}
15169
15170	for p.Next() {
15171		if !fn(p.Page().(*ListLabelingJobsForWorkteamOutput), !p.HasNextPage()) {
15172			break
15173		}
15174	}
15175
15176	return p.Err()
15177}
15178
15179const opListModelBiasJobDefinitions = "ListModelBiasJobDefinitions"
15180
15181// ListModelBiasJobDefinitionsRequest generates a "aws/request.Request" representing the
15182// client's request for the ListModelBiasJobDefinitions operation. The "output" return
15183// value will be populated with the request's response once the request completes
15184// successfully.
15185//
15186// Use "Send" method on the returned Request to send the API call to the service.
15187// the "output" return value is not valid until after Send returns without error.
15188//
15189// See ListModelBiasJobDefinitions for more information on using the ListModelBiasJobDefinitions
15190// API call, and error handling.
15191//
15192// This method is useful when you want to inject custom logic or configuration
15193// into the SDK's request lifecycle. Such as custom headers, or retry logic.
15194//
15195//
15196//    // Example sending a request using the ListModelBiasJobDefinitionsRequest method.
15197//    req, resp := client.ListModelBiasJobDefinitionsRequest(params)
15198//
15199//    err := req.Send()
15200//    if err == nil { // resp is now filled
15201//        fmt.Println(resp)
15202//    }
15203//
15204// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelBiasJobDefinitions
15205func (c *SageMaker) ListModelBiasJobDefinitionsRequest(input *ListModelBiasJobDefinitionsInput) (req *request.Request, output *ListModelBiasJobDefinitionsOutput) {
15206	op := &request.Operation{
15207		Name:       opListModelBiasJobDefinitions,
15208		HTTPMethod: "POST",
15209		HTTPPath:   "/",
15210		Paginator: &request.Paginator{
15211			InputTokens:     []string{"NextToken"},
15212			OutputTokens:    []string{"NextToken"},
15213			LimitToken:      "MaxResults",
15214			TruncationToken: "",
15215		},
15216	}
15217
15218	if input == nil {
15219		input = &ListModelBiasJobDefinitionsInput{}
15220	}
15221
15222	output = &ListModelBiasJobDefinitionsOutput{}
15223	req = c.newRequest(op, input, output)
15224	return
15225}
15226
15227// ListModelBiasJobDefinitions API operation for Amazon SageMaker Service.
15228//
15229// Lists model bias jobs definitions that satisfy various filters.
15230//
15231// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
15232// with awserr.Error's Code and Message methods to get detailed information about
15233// the error.
15234//
15235// See the AWS API reference guide for Amazon SageMaker Service's
15236// API operation ListModelBiasJobDefinitions for usage and error information.
15237// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelBiasJobDefinitions
15238func (c *SageMaker) ListModelBiasJobDefinitions(input *ListModelBiasJobDefinitionsInput) (*ListModelBiasJobDefinitionsOutput, error) {
15239	req, out := c.ListModelBiasJobDefinitionsRequest(input)
15240	return out, req.Send()
15241}
15242
15243// ListModelBiasJobDefinitionsWithContext is the same as ListModelBiasJobDefinitions with the addition of
15244// the ability to pass a context and additional request options.
15245//
15246// See ListModelBiasJobDefinitions for details on how to use this API operation.
15247//
15248// The context must be non-nil and will be used for request cancellation. If
15249// the context is nil a panic will occur. In the future the SDK may create
15250// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15251// for more information on using Contexts.
15252func (c *SageMaker) ListModelBiasJobDefinitionsWithContext(ctx aws.Context, input *ListModelBiasJobDefinitionsInput, opts ...request.Option) (*ListModelBiasJobDefinitionsOutput, error) {
15253	req, out := c.ListModelBiasJobDefinitionsRequest(input)
15254	req.SetContext(ctx)
15255	req.ApplyOptions(opts...)
15256	return out, req.Send()
15257}
15258
15259// ListModelBiasJobDefinitionsPages iterates over the pages of a ListModelBiasJobDefinitions operation,
15260// calling the "fn" function with the response data for each page. To stop
15261// iterating, return false from the fn function.
15262//
15263// See ListModelBiasJobDefinitions method for more information on how to use this operation.
15264//
15265// Note: This operation can generate multiple requests to a service.
15266//
15267//    // Example iterating over at most 3 pages of a ListModelBiasJobDefinitions operation.
15268//    pageNum := 0
15269//    err := client.ListModelBiasJobDefinitionsPages(params,
15270//        func(page *sagemaker.ListModelBiasJobDefinitionsOutput, lastPage bool) bool {
15271//            pageNum++
15272//            fmt.Println(page)
15273//            return pageNum <= 3
15274//        })
15275//
15276func (c *SageMaker) ListModelBiasJobDefinitionsPages(input *ListModelBiasJobDefinitionsInput, fn func(*ListModelBiasJobDefinitionsOutput, bool) bool) error {
15277	return c.ListModelBiasJobDefinitionsPagesWithContext(aws.BackgroundContext(), input, fn)
15278}
15279
15280// ListModelBiasJobDefinitionsPagesWithContext same as ListModelBiasJobDefinitionsPages except
15281// it takes a Context and allows setting request options on the pages.
15282//
15283// The context must be non-nil and will be used for request cancellation. If
15284// the context is nil a panic will occur. In the future the SDK may create
15285// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15286// for more information on using Contexts.
15287func (c *SageMaker) ListModelBiasJobDefinitionsPagesWithContext(ctx aws.Context, input *ListModelBiasJobDefinitionsInput, fn func(*ListModelBiasJobDefinitionsOutput, bool) bool, opts ...request.Option) error {
15288	p := request.Pagination{
15289		NewRequest: func() (*request.Request, error) {
15290			var inCpy *ListModelBiasJobDefinitionsInput
15291			if input != nil {
15292				tmp := *input
15293				inCpy = &tmp
15294			}
15295			req, _ := c.ListModelBiasJobDefinitionsRequest(inCpy)
15296			req.SetContext(ctx)
15297			req.ApplyOptions(opts...)
15298			return req, nil
15299		},
15300	}
15301
15302	for p.Next() {
15303		if !fn(p.Page().(*ListModelBiasJobDefinitionsOutput), !p.HasNextPage()) {
15304			break
15305		}
15306	}
15307
15308	return p.Err()
15309}
15310
15311const opListModelExplainabilityJobDefinitions = "ListModelExplainabilityJobDefinitions"
15312
15313// ListModelExplainabilityJobDefinitionsRequest generates a "aws/request.Request" representing the
15314// client's request for the ListModelExplainabilityJobDefinitions operation. The "output" return
15315// value will be populated with the request's response once the request completes
15316// successfully.
15317//
15318// Use "Send" method on the returned Request to send the API call to the service.
15319// the "output" return value is not valid until after Send returns without error.
15320//
15321// See ListModelExplainabilityJobDefinitions for more information on using the ListModelExplainabilityJobDefinitions
15322// API call, and error handling.
15323//
15324// This method is useful when you want to inject custom logic or configuration
15325// into the SDK's request lifecycle. Such as custom headers, or retry logic.
15326//
15327//
15328//    // Example sending a request using the ListModelExplainabilityJobDefinitionsRequest method.
15329//    req, resp := client.ListModelExplainabilityJobDefinitionsRequest(params)
15330//
15331//    err := req.Send()
15332//    if err == nil { // resp is now filled
15333//        fmt.Println(resp)
15334//    }
15335//
15336// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelExplainabilityJobDefinitions
15337func (c *SageMaker) ListModelExplainabilityJobDefinitionsRequest(input *ListModelExplainabilityJobDefinitionsInput) (req *request.Request, output *ListModelExplainabilityJobDefinitionsOutput) {
15338	op := &request.Operation{
15339		Name:       opListModelExplainabilityJobDefinitions,
15340		HTTPMethod: "POST",
15341		HTTPPath:   "/",
15342		Paginator: &request.Paginator{
15343			InputTokens:     []string{"NextToken"},
15344			OutputTokens:    []string{"NextToken"},
15345			LimitToken:      "MaxResults",
15346			TruncationToken: "",
15347		},
15348	}
15349
15350	if input == nil {
15351		input = &ListModelExplainabilityJobDefinitionsInput{}
15352	}
15353
15354	output = &ListModelExplainabilityJobDefinitionsOutput{}
15355	req = c.newRequest(op, input, output)
15356	return
15357}
15358
15359// ListModelExplainabilityJobDefinitions API operation for Amazon SageMaker Service.
15360//
15361// Lists model explainability job definitions that satisfy various filters.
15362//
15363// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
15364// with awserr.Error's Code and Message methods to get detailed information about
15365// the error.
15366//
15367// See the AWS API reference guide for Amazon SageMaker Service's
15368// API operation ListModelExplainabilityJobDefinitions for usage and error information.
15369// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelExplainabilityJobDefinitions
15370func (c *SageMaker) ListModelExplainabilityJobDefinitions(input *ListModelExplainabilityJobDefinitionsInput) (*ListModelExplainabilityJobDefinitionsOutput, error) {
15371	req, out := c.ListModelExplainabilityJobDefinitionsRequest(input)
15372	return out, req.Send()
15373}
15374
15375// ListModelExplainabilityJobDefinitionsWithContext is the same as ListModelExplainabilityJobDefinitions with the addition of
15376// the ability to pass a context and additional request options.
15377//
15378// See ListModelExplainabilityJobDefinitions for details on how to use this API operation.
15379//
15380// The context must be non-nil and will be used for request cancellation. If
15381// the context is nil a panic will occur. In the future the SDK may create
15382// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15383// for more information on using Contexts.
15384func (c *SageMaker) ListModelExplainabilityJobDefinitionsWithContext(ctx aws.Context, input *ListModelExplainabilityJobDefinitionsInput, opts ...request.Option) (*ListModelExplainabilityJobDefinitionsOutput, error) {
15385	req, out := c.ListModelExplainabilityJobDefinitionsRequest(input)
15386	req.SetContext(ctx)
15387	req.ApplyOptions(opts...)
15388	return out, req.Send()
15389}
15390
15391// ListModelExplainabilityJobDefinitionsPages iterates over the pages of a ListModelExplainabilityJobDefinitions operation,
15392// calling the "fn" function with the response data for each page. To stop
15393// iterating, return false from the fn function.
15394//
15395// See ListModelExplainabilityJobDefinitions method for more information on how to use this operation.
15396//
15397// Note: This operation can generate multiple requests to a service.
15398//
15399//    // Example iterating over at most 3 pages of a ListModelExplainabilityJobDefinitions operation.
15400//    pageNum := 0
15401//    err := client.ListModelExplainabilityJobDefinitionsPages(params,
15402//        func(page *sagemaker.ListModelExplainabilityJobDefinitionsOutput, lastPage bool) bool {
15403//            pageNum++
15404//            fmt.Println(page)
15405//            return pageNum <= 3
15406//        })
15407//
15408func (c *SageMaker) ListModelExplainabilityJobDefinitionsPages(input *ListModelExplainabilityJobDefinitionsInput, fn func(*ListModelExplainabilityJobDefinitionsOutput, bool) bool) error {
15409	return c.ListModelExplainabilityJobDefinitionsPagesWithContext(aws.BackgroundContext(), input, fn)
15410}
15411
15412// ListModelExplainabilityJobDefinitionsPagesWithContext same as ListModelExplainabilityJobDefinitionsPages except
15413// it takes a Context and allows setting request options on the pages.
15414//
15415// The context must be non-nil and will be used for request cancellation. If
15416// the context is nil a panic will occur. In the future the SDK may create
15417// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15418// for more information on using Contexts.
15419func (c *SageMaker) ListModelExplainabilityJobDefinitionsPagesWithContext(ctx aws.Context, input *ListModelExplainabilityJobDefinitionsInput, fn func(*ListModelExplainabilityJobDefinitionsOutput, bool) bool, opts ...request.Option) error {
15420	p := request.Pagination{
15421		NewRequest: func() (*request.Request, error) {
15422			var inCpy *ListModelExplainabilityJobDefinitionsInput
15423			if input != nil {
15424				tmp := *input
15425				inCpy = &tmp
15426			}
15427			req, _ := c.ListModelExplainabilityJobDefinitionsRequest(inCpy)
15428			req.SetContext(ctx)
15429			req.ApplyOptions(opts...)
15430			return req, nil
15431		},
15432	}
15433
15434	for p.Next() {
15435		if !fn(p.Page().(*ListModelExplainabilityJobDefinitionsOutput), !p.HasNextPage()) {
15436			break
15437		}
15438	}
15439
15440	return p.Err()
15441}
15442
15443const opListModelPackageGroups = "ListModelPackageGroups"
15444
15445// ListModelPackageGroupsRequest generates a "aws/request.Request" representing the
15446// client's request for the ListModelPackageGroups operation. The "output" return
15447// value will be populated with the request's response once the request completes
15448// successfully.
15449//
15450// Use "Send" method on the returned Request to send the API call to the service.
15451// the "output" return value is not valid until after Send returns without error.
15452//
15453// See ListModelPackageGroups for more information on using the ListModelPackageGroups
15454// API call, and error handling.
15455//
15456// This method is useful when you want to inject custom logic or configuration
15457// into the SDK's request lifecycle. Such as custom headers, or retry logic.
15458//
15459//
15460//    // Example sending a request using the ListModelPackageGroupsRequest method.
15461//    req, resp := client.ListModelPackageGroupsRequest(params)
15462//
15463//    err := req.Send()
15464//    if err == nil { // resp is now filled
15465//        fmt.Println(resp)
15466//    }
15467//
15468// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelPackageGroups
15469func (c *SageMaker) ListModelPackageGroupsRequest(input *ListModelPackageGroupsInput) (req *request.Request, output *ListModelPackageGroupsOutput) {
15470	op := &request.Operation{
15471		Name:       opListModelPackageGroups,
15472		HTTPMethod: "POST",
15473		HTTPPath:   "/",
15474		Paginator: &request.Paginator{
15475			InputTokens:     []string{"NextToken"},
15476			OutputTokens:    []string{"NextToken"},
15477			LimitToken:      "MaxResults",
15478			TruncationToken: "",
15479		},
15480	}
15481
15482	if input == nil {
15483		input = &ListModelPackageGroupsInput{}
15484	}
15485
15486	output = &ListModelPackageGroupsOutput{}
15487	req = c.newRequest(op, input, output)
15488	return
15489}
15490
15491// ListModelPackageGroups API operation for Amazon SageMaker Service.
15492//
15493// Gets a list of the model groups in your AWS account.
15494//
15495// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
15496// with awserr.Error's Code and Message methods to get detailed information about
15497// the error.
15498//
15499// See the AWS API reference guide for Amazon SageMaker Service's
15500// API operation ListModelPackageGroups for usage and error information.
15501// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelPackageGroups
15502func (c *SageMaker) ListModelPackageGroups(input *ListModelPackageGroupsInput) (*ListModelPackageGroupsOutput, error) {
15503	req, out := c.ListModelPackageGroupsRequest(input)
15504	return out, req.Send()
15505}
15506
15507// ListModelPackageGroupsWithContext is the same as ListModelPackageGroups with the addition of
15508// the ability to pass a context and additional request options.
15509//
15510// See ListModelPackageGroups for details on how to use this API operation.
15511//
15512// The context must be non-nil and will be used for request cancellation. If
15513// the context is nil a panic will occur. In the future the SDK may create
15514// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15515// for more information on using Contexts.
15516func (c *SageMaker) ListModelPackageGroupsWithContext(ctx aws.Context, input *ListModelPackageGroupsInput, opts ...request.Option) (*ListModelPackageGroupsOutput, error) {
15517	req, out := c.ListModelPackageGroupsRequest(input)
15518	req.SetContext(ctx)
15519	req.ApplyOptions(opts...)
15520	return out, req.Send()
15521}
15522
15523// ListModelPackageGroupsPages iterates over the pages of a ListModelPackageGroups operation,
15524// calling the "fn" function with the response data for each page. To stop
15525// iterating, return false from the fn function.
15526//
15527// See ListModelPackageGroups method for more information on how to use this operation.
15528//
15529// Note: This operation can generate multiple requests to a service.
15530//
15531//    // Example iterating over at most 3 pages of a ListModelPackageGroups operation.
15532//    pageNum := 0
15533//    err := client.ListModelPackageGroupsPages(params,
15534//        func(page *sagemaker.ListModelPackageGroupsOutput, lastPage bool) bool {
15535//            pageNum++
15536//            fmt.Println(page)
15537//            return pageNum <= 3
15538//        })
15539//
15540func (c *SageMaker) ListModelPackageGroupsPages(input *ListModelPackageGroupsInput, fn func(*ListModelPackageGroupsOutput, bool) bool) error {
15541	return c.ListModelPackageGroupsPagesWithContext(aws.BackgroundContext(), input, fn)
15542}
15543
15544// ListModelPackageGroupsPagesWithContext same as ListModelPackageGroupsPages except
15545// it takes a Context and allows setting request options on the pages.
15546//
15547// The context must be non-nil and will be used for request cancellation. If
15548// the context is nil a panic will occur. In the future the SDK may create
15549// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15550// for more information on using Contexts.
15551func (c *SageMaker) ListModelPackageGroupsPagesWithContext(ctx aws.Context, input *ListModelPackageGroupsInput, fn func(*ListModelPackageGroupsOutput, bool) bool, opts ...request.Option) error {
15552	p := request.Pagination{
15553		NewRequest: func() (*request.Request, error) {
15554			var inCpy *ListModelPackageGroupsInput
15555			if input != nil {
15556				tmp := *input
15557				inCpy = &tmp
15558			}
15559			req, _ := c.ListModelPackageGroupsRequest(inCpy)
15560			req.SetContext(ctx)
15561			req.ApplyOptions(opts...)
15562			return req, nil
15563		},
15564	}
15565
15566	for p.Next() {
15567		if !fn(p.Page().(*ListModelPackageGroupsOutput), !p.HasNextPage()) {
15568			break
15569		}
15570	}
15571
15572	return p.Err()
15573}
15574
15575const opListModelPackages = "ListModelPackages"
15576
15577// ListModelPackagesRequest generates a "aws/request.Request" representing the
15578// client's request for the ListModelPackages operation. The "output" return
15579// value will be populated with the request's response once the request completes
15580// successfully.
15581//
15582// Use "Send" method on the returned Request to send the API call to the service.
15583// the "output" return value is not valid until after Send returns without error.
15584//
15585// See ListModelPackages for more information on using the ListModelPackages
15586// API call, and error handling.
15587//
15588// This method is useful when you want to inject custom logic or configuration
15589// into the SDK's request lifecycle. Such as custom headers, or retry logic.
15590//
15591//
15592//    // Example sending a request using the ListModelPackagesRequest method.
15593//    req, resp := client.ListModelPackagesRequest(params)
15594//
15595//    err := req.Send()
15596//    if err == nil { // resp is now filled
15597//        fmt.Println(resp)
15598//    }
15599//
15600// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelPackages
15601func (c *SageMaker) ListModelPackagesRequest(input *ListModelPackagesInput) (req *request.Request, output *ListModelPackagesOutput) {
15602	op := &request.Operation{
15603		Name:       opListModelPackages,
15604		HTTPMethod: "POST",
15605		HTTPPath:   "/",
15606		Paginator: &request.Paginator{
15607			InputTokens:     []string{"NextToken"},
15608			OutputTokens:    []string{"NextToken"},
15609			LimitToken:      "MaxResults",
15610			TruncationToken: "",
15611		},
15612	}
15613
15614	if input == nil {
15615		input = &ListModelPackagesInput{}
15616	}
15617
15618	output = &ListModelPackagesOutput{}
15619	req = c.newRequest(op, input, output)
15620	return
15621}
15622
15623// ListModelPackages API operation for Amazon SageMaker Service.
15624//
15625// Lists the model packages that have been created.
15626//
15627// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
15628// with awserr.Error's Code and Message methods to get detailed information about
15629// the error.
15630//
15631// See the AWS API reference guide for Amazon SageMaker Service's
15632// API operation ListModelPackages for usage and error information.
15633// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelPackages
15634func (c *SageMaker) ListModelPackages(input *ListModelPackagesInput) (*ListModelPackagesOutput, error) {
15635	req, out := c.ListModelPackagesRequest(input)
15636	return out, req.Send()
15637}
15638
15639// ListModelPackagesWithContext is the same as ListModelPackages with the addition of
15640// the ability to pass a context and additional request options.
15641//
15642// See ListModelPackages for details on how to use this API operation.
15643//
15644// The context must be non-nil and will be used for request cancellation. If
15645// the context is nil a panic will occur. In the future the SDK may create
15646// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15647// for more information on using Contexts.
15648func (c *SageMaker) ListModelPackagesWithContext(ctx aws.Context, input *ListModelPackagesInput, opts ...request.Option) (*ListModelPackagesOutput, error) {
15649	req, out := c.ListModelPackagesRequest(input)
15650	req.SetContext(ctx)
15651	req.ApplyOptions(opts...)
15652	return out, req.Send()
15653}
15654
15655// ListModelPackagesPages iterates over the pages of a ListModelPackages operation,
15656// calling the "fn" function with the response data for each page. To stop
15657// iterating, return false from the fn function.
15658//
15659// See ListModelPackages method for more information on how to use this operation.
15660//
15661// Note: This operation can generate multiple requests to a service.
15662//
15663//    // Example iterating over at most 3 pages of a ListModelPackages operation.
15664//    pageNum := 0
15665//    err := client.ListModelPackagesPages(params,
15666//        func(page *sagemaker.ListModelPackagesOutput, lastPage bool) bool {
15667//            pageNum++
15668//            fmt.Println(page)
15669//            return pageNum <= 3
15670//        })
15671//
15672func (c *SageMaker) ListModelPackagesPages(input *ListModelPackagesInput, fn func(*ListModelPackagesOutput, bool) bool) error {
15673	return c.ListModelPackagesPagesWithContext(aws.BackgroundContext(), input, fn)
15674}
15675
15676// ListModelPackagesPagesWithContext same as ListModelPackagesPages except
15677// it takes a Context and allows setting request options on the pages.
15678//
15679// The context must be non-nil and will be used for request cancellation. If
15680// the context is nil a panic will occur. In the future the SDK may create
15681// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15682// for more information on using Contexts.
15683func (c *SageMaker) ListModelPackagesPagesWithContext(ctx aws.Context, input *ListModelPackagesInput, fn func(*ListModelPackagesOutput, bool) bool, opts ...request.Option) error {
15684	p := request.Pagination{
15685		NewRequest: func() (*request.Request, error) {
15686			var inCpy *ListModelPackagesInput
15687			if input != nil {
15688				tmp := *input
15689				inCpy = &tmp
15690			}
15691			req, _ := c.ListModelPackagesRequest(inCpy)
15692			req.SetContext(ctx)
15693			req.ApplyOptions(opts...)
15694			return req, nil
15695		},
15696	}
15697
15698	for p.Next() {
15699		if !fn(p.Page().(*ListModelPackagesOutput), !p.HasNextPage()) {
15700			break
15701		}
15702	}
15703
15704	return p.Err()
15705}
15706
15707const opListModelQualityJobDefinitions = "ListModelQualityJobDefinitions"
15708
15709// ListModelQualityJobDefinitionsRequest generates a "aws/request.Request" representing the
15710// client's request for the ListModelQualityJobDefinitions operation. The "output" return
15711// value will be populated with the request's response once the request completes
15712// successfully.
15713//
15714// Use "Send" method on the returned Request to send the API call to the service.
15715// the "output" return value is not valid until after Send returns without error.
15716//
15717// See ListModelQualityJobDefinitions for more information on using the ListModelQualityJobDefinitions
15718// API call, and error handling.
15719//
15720// This method is useful when you want to inject custom logic or configuration
15721// into the SDK's request lifecycle. Such as custom headers, or retry logic.
15722//
15723//
15724//    // Example sending a request using the ListModelQualityJobDefinitionsRequest method.
15725//    req, resp := client.ListModelQualityJobDefinitionsRequest(params)
15726//
15727//    err := req.Send()
15728//    if err == nil { // resp is now filled
15729//        fmt.Println(resp)
15730//    }
15731//
15732// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelQualityJobDefinitions
15733func (c *SageMaker) ListModelQualityJobDefinitionsRequest(input *ListModelQualityJobDefinitionsInput) (req *request.Request, output *ListModelQualityJobDefinitionsOutput) {
15734	op := &request.Operation{
15735		Name:       opListModelQualityJobDefinitions,
15736		HTTPMethod: "POST",
15737		HTTPPath:   "/",
15738		Paginator: &request.Paginator{
15739			InputTokens:     []string{"NextToken"},
15740			OutputTokens:    []string{"NextToken"},
15741			LimitToken:      "MaxResults",
15742			TruncationToken: "",
15743		},
15744	}
15745
15746	if input == nil {
15747		input = &ListModelQualityJobDefinitionsInput{}
15748	}
15749
15750	output = &ListModelQualityJobDefinitionsOutput{}
15751	req = c.newRequest(op, input, output)
15752	return
15753}
15754
15755// ListModelQualityJobDefinitions API operation for Amazon SageMaker Service.
15756//
15757// Gets a list of model quality monitoring job definitions in your account.
15758//
15759// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
15760// with awserr.Error's Code and Message methods to get detailed information about
15761// the error.
15762//
15763// See the AWS API reference guide for Amazon SageMaker Service's
15764// API operation ListModelQualityJobDefinitions for usage and error information.
15765// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelQualityJobDefinitions
15766func (c *SageMaker) ListModelQualityJobDefinitions(input *ListModelQualityJobDefinitionsInput) (*ListModelQualityJobDefinitionsOutput, error) {
15767	req, out := c.ListModelQualityJobDefinitionsRequest(input)
15768	return out, req.Send()
15769}
15770
15771// ListModelQualityJobDefinitionsWithContext is the same as ListModelQualityJobDefinitions with the addition of
15772// the ability to pass a context and additional request options.
15773//
15774// See ListModelQualityJobDefinitions for details on how to use this API operation.
15775//
15776// The context must be non-nil and will be used for request cancellation. If
15777// the context is nil a panic will occur. In the future the SDK may create
15778// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15779// for more information on using Contexts.
15780func (c *SageMaker) ListModelQualityJobDefinitionsWithContext(ctx aws.Context, input *ListModelQualityJobDefinitionsInput, opts ...request.Option) (*ListModelQualityJobDefinitionsOutput, error) {
15781	req, out := c.ListModelQualityJobDefinitionsRequest(input)
15782	req.SetContext(ctx)
15783	req.ApplyOptions(opts...)
15784	return out, req.Send()
15785}
15786
15787// ListModelQualityJobDefinitionsPages iterates over the pages of a ListModelQualityJobDefinitions operation,
15788// calling the "fn" function with the response data for each page. To stop
15789// iterating, return false from the fn function.
15790//
15791// See ListModelQualityJobDefinitions method for more information on how to use this operation.
15792//
15793// Note: This operation can generate multiple requests to a service.
15794//
15795//    // Example iterating over at most 3 pages of a ListModelQualityJobDefinitions operation.
15796//    pageNum := 0
15797//    err := client.ListModelQualityJobDefinitionsPages(params,
15798//        func(page *sagemaker.ListModelQualityJobDefinitionsOutput, lastPage bool) bool {
15799//            pageNum++
15800//            fmt.Println(page)
15801//            return pageNum <= 3
15802//        })
15803//
15804func (c *SageMaker) ListModelQualityJobDefinitionsPages(input *ListModelQualityJobDefinitionsInput, fn func(*ListModelQualityJobDefinitionsOutput, bool) bool) error {
15805	return c.ListModelQualityJobDefinitionsPagesWithContext(aws.BackgroundContext(), input, fn)
15806}
15807
15808// ListModelQualityJobDefinitionsPagesWithContext same as ListModelQualityJobDefinitionsPages except
15809// it takes a Context and allows setting request options on the pages.
15810//
15811// The context must be non-nil and will be used for request cancellation. If
15812// the context is nil a panic will occur. In the future the SDK may create
15813// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15814// for more information on using Contexts.
15815func (c *SageMaker) ListModelQualityJobDefinitionsPagesWithContext(ctx aws.Context, input *ListModelQualityJobDefinitionsInput, fn func(*ListModelQualityJobDefinitionsOutput, bool) bool, opts ...request.Option) error {
15816	p := request.Pagination{
15817		NewRequest: func() (*request.Request, error) {
15818			var inCpy *ListModelQualityJobDefinitionsInput
15819			if input != nil {
15820				tmp := *input
15821				inCpy = &tmp
15822			}
15823			req, _ := c.ListModelQualityJobDefinitionsRequest(inCpy)
15824			req.SetContext(ctx)
15825			req.ApplyOptions(opts...)
15826			return req, nil
15827		},
15828	}
15829
15830	for p.Next() {
15831		if !fn(p.Page().(*ListModelQualityJobDefinitionsOutput), !p.HasNextPage()) {
15832			break
15833		}
15834	}
15835
15836	return p.Err()
15837}
15838
15839const opListModels = "ListModels"
15840
15841// ListModelsRequest generates a "aws/request.Request" representing the
15842// client's request for the ListModels operation. The "output" return
15843// value will be populated with the request's response once the request completes
15844// successfully.
15845//
15846// Use "Send" method on the returned Request to send the API call to the service.
15847// the "output" return value is not valid until after Send returns without error.
15848//
15849// See ListModels for more information on using the ListModels
15850// API call, and error handling.
15851//
15852// This method is useful when you want to inject custom logic or configuration
15853// into the SDK's request lifecycle. Such as custom headers, or retry logic.
15854//
15855//
15856//    // Example sending a request using the ListModelsRequest method.
15857//    req, resp := client.ListModelsRequest(params)
15858//
15859//    err := req.Send()
15860//    if err == nil { // resp is now filled
15861//        fmt.Println(resp)
15862//    }
15863//
15864// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModels
15865func (c *SageMaker) ListModelsRequest(input *ListModelsInput) (req *request.Request, output *ListModelsOutput) {
15866	op := &request.Operation{
15867		Name:       opListModels,
15868		HTTPMethod: "POST",
15869		HTTPPath:   "/",
15870		Paginator: &request.Paginator{
15871			InputTokens:     []string{"NextToken"},
15872			OutputTokens:    []string{"NextToken"},
15873			LimitToken:      "MaxResults",
15874			TruncationToken: "",
15875		},
15876	}
15877
15878	if input == nil {
15879		input = &ListModelsInput{}
15880	}
15881
15882	output = &ListModelsOutput{}
15883	req = c.newRequest(op, input, output)
15884	return
15885}
15886
15887// ListModels API operation for Amazon SageMaker Service.
15888//
15889// Lists models created with the CreateModel API.
15890//
15891// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
15892// with awserr.Error's Code and Message methods to get detailed information about
15893// the error.
15894//
15895// See the AWS API reference guide for Amazon SageMaker Service's
15896// API operation ListModels for usage and error information.
15897// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModels
15898func (c *SageMaker) ListModels(input *ListModelsInput) (*ListModelsOutput, error) {
15899	req, out := c.ListModelsRequest(input)
15900	return out, req.Send()
15901}
15902
15903// ListModelsWithContext is the same as ListModels with the addition of
15904// the ability to pass a context and additional request options.
15905//
15906// See ListModels for details on how to use this API operation.
15907//
15908// The context must be non-nil and will be used for request cancellation. If
15909// the context is nil a panic will occur. In the future the SDK may create
15910// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15911// for more information on using Contexts.
15912func (c *SageMaker) ListModelsWithContext(ctx aws.Context, input *ListModelsInput, opts ...request.Option) (*ListModelsOutput, error) {
15913	req, out := c.ListModelsRequest(input)
15914	req.SetContext(ctx)
15915	req.ApplyOptions(opts...)
15916	return out, req.Send()
15917}
15918
15919// ListModelsPages iterates over the pages of a ListModels operation,
15920// calling the "fn" function with the response data for each page. To stop
15921// iterating, return false from the fn function.
15922//
15923// See ListModels method for more information on how to use this operation.
15924//
15925// Note: This operation can generate multiple requests to a service.
15926//
15927//    // Example iterating over at most 3 pages of a ListModels operation.
15928//    pageNum := 0
15929//    err := client.ListModelsPages(params,
15930//        func(page *sagemaker.ListModelsOutput, lastPage bool) bool {
15931//            pageNum++
15932//            fmt.Println(page)
15933//            return pageNum <= 3
15934//        })
15935//
15936func (c *SageMaker) ListModelsPages(input *ListModelsInput, fn func(*ListModelsOutput, bool) bool) error {
15937	return c.ListModelsPagesWithContext(aws.BackgroundContext(), input, fn)
15938}
15939
15940// ListModelsPagesWithContext same as ListModelsPages except
15941// it takes a Context and allows setting request options on the pages.
15942//
15943// The context must be non-nil and will be used for request cancellation. If
15944// the context is nil a panic will occur. In the future the SDK may create
15945// sub-contexts for http.Requests. See https://golang.org/pkg/context/
15946// for more information on using Contexts.
15947func (c *SageMaker) ListModelsPagesWithContext(ctx aws.Context, input *ListModelsInput, fn func(*ListModelsOutput, bool) bool, opts ...request.Option) error {
15948	p := request.Pagination{
15949		NewRequest: func() (*request.Request, error) {
15950			var inCpy *ListModelsInput
15951			if input != nil {
15952				tmp := *input
15953				inCpy = &tmp
15954			}
15955			req, _ := c.ListModelsRequest(inCpy)
15956			req.SetContext(ctx)
15957			req.ApplyOptions(opts...)
15958			return req, nil
15959		},
15960	}
15961
15962	for p.Next() {
15963		if !fn(p.Page().(*ListModelsOutput), !p.HasNextPage()) {
15964			break
15965		}
15966	}
15967
15968	return p.Err()
15969}
15970
15971const opListMonitoringExecutions = "ListMonitoringExecutions"
15972
15973// ListMonitoringExecutionsRequest generates a "aws/request.Request" representing the
15974// client's request for the ListMonitoringExecutions operation. The "output" return
15975// value will be populated with the request's response once the request completes
15976// successfully.
15977//
15978// Use "Send" method on the returned Request to send the API call to the service.
15979// the "output" return value is not valid until after Send returns without error.
15980//
15981// See ListMonitoringExecutions for more information on using the ListMonitoringExecutions
15982// API call, and error handling.
15983//
15984// This method is useful when you want to inject custom logic or configuration
15985// into the SDK's request lifecycle. Such as custom headers, or retry logic.
15986//
15987//
15988//    // Example sending a request using the ListMonitoringExecutionsRequest method.
15989//    req, resp := client.ListMonitoringExecutionsRequest(params)
15990//
15991//    err := req.Send()
15992//    if err == nil { // resp is now filled
15993//        fmt.Println(resp)
15994//    }
15995//
15996// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListMonitoringExecutions
15997func (c *SageMaker) ListMonitoringExecutionsRequest(input *ListMonitoringExecutionsInput) (req *request.Request, output *ListMonitoringExecutionsOutput) {
15998	op := &request.Operation{
15999		Name:       opListMonitoringExecutions,
16000		HTTPMethod: "POST",
16001		HTTPPath:   "/",
16002		Paginator: &request.Paginator{
16003			InputTokens:     []string{"NextToken"},
16004			OutputTokens:    []string{"NextToken"},
16005			LimitToken:      "MaxResults",
16006			TruncationToken: "",
16007		},
16008	}
16009
16010	if input == nil {
16011		input = &ListMonitoringExecutionsInput{}
16012	}
16013
16014	output = &ListMonitoringExecutionsOutput{}
16015	req = c.newRequest(op, input, output)
16016	return
16017}
16018
16019// ListMonitoringExecutions API operation for Amazon SageMaker Service.
16020//
16021// Returns list of all monitoring job executions.
16022//
16023// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
16024// with awserr.Error's Code and Message methods to get detailed information about
16025// the error.
16026//
16027// See the AWS API reference guide for Amazon SageMaker Service's
16028// API operation ListMonitoringExecutions for usage and error information.
16029// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListMonitoringExecutions
16030func (c *SageMaker) ListMonitoringExecutions(input *ListMonitoringExecutionsInput) (*ListMonitoringExecutionsOutput, error) {
16031	req, out := c.ListMonitoringExecutionsRequest(input)
16032	return out, req.Send()
16033}
16034
16035// ListMonitoringExecutionsWithContext is the same as ListMonitoringExecutions with the addition of
16036// the ability to pass a context and additional request options.
16037//
16038// See ListMonitoringExecutions for details on how to use this API operation.
16039//
16040// The context must be non-nil and will be used for request cancellation. If
16041// the context is nil a panic will occur. In the future the SDK may create
16042// sub-contexts for http.Requests. See https://golang.org/pkg/context/
16043// for more information on using Contexts.
16044func (c *SageMaker) ListMonitoringExecutionsWithContext(ctx aws.Context, input *ListMonitoringExecutionsInput, opts ...request.Option) (*ListMonitoringExecutionsOutput, error) {
16045	req, out := c.ListMonitoringExecutionsRequest(input)
16046	req.SetContext(ctx)
16047	req.ApplyOptions(opts...)
16048	return out, req.Send()
16049}
16050
16051// ListMonitoringExecutionsPages iterates over the pages of a ListMonitoringExecutions operation,
16052// calling the "fn" function with the response data for each page. To stop
16053// iterating, return false from the fn function.
16054//
16055// See ListMonitoringExecutions method for more information on how to use this operation.
16056//
16057// Note: This operation can generate multiple requests to a service.
16058//
16059//    // Example iterating over at most 3 pages of a ListMonitoringExecutions operation.
16060//    pageNum := 0
16061//    err := client.ListMonitoringExecutionsPages(params,
16062//        func(page *sagemaker.ListMonitoringExecutionsOutput, lastPage bool) bool {
16063//            pageNum++
16064//            fmt.Println(page)
16065//            return pageNum <= 3
16066//        })
16067//
16068func (c *SageMaker) ListMonitoringExecutionsPages(input *ListMonitoringExecutionsInput, fn func(*ListMonitoringExecutionsOutput, bool) bool) error {
16069	return c.ListMonitoringExecutionsPagesWithContext(aws.BackgroundContext(), input, fn)
16070}
16071
16072// ListMonitoringExecutionsPagesWithContext same as ListMonitoringExecutionsPages except
16073// it takes a Context and allows setting request options on the pages.
16074//
16075// The context must be non-nil and will be used for request cancellation. If
16076// the context is nil a panic will occur. In the future the SDK may create
16077// sub-contexts for http.Requests. See https://golang.org/pkg/context/
16078// for more information on using Contexts.
16079func (c *SageMaker) ListMonitoringExecutionsPagesWithContext(ctx aws.Context, input *ListMonitoringExecutionsInput, fn func(*ListMonitoringExecutionsOutput, bool) bool, opts ...request.Option) error {
16080	p := request.Pagination{
16081		NewRequest: func() (*request.Request, error) {
16082			var inCpy *ListMonitoringExecutionsInput
16083			if input != nil {
16084				tmp := *input
16085				inCpy = &tmp
16086			}
16087			req, _ := c.ListMonitoringExecutionsRequest(inCpy)
16088			req.SetContext(ctx)
16089			req.ApplyOptions(opts...)
16090			return req, nil
16091		},
16092	}
16093
16094	for p.Next() {
16095		if !fn(p.Page().(*ListMonitoringExecutionsOutput), !p.HasNextPage()) {
16096			break
16097		}
16098	}
16099
16100	return p.Err()
16101}
16102
16103const opListMonitoringSchedules = "ListMonitoringSchedules"
16104
16105// ListMonitoringSchedulesRequest generates a "aws/request.Request" representing the
16106// client's request for the ListMonitoringSchedules operation. The "output" return
16107// value will be populated with the request's response once the request completes
16108// successfully.
16109//
16110// Use "Send" method on the returned Request to send the API call to the service.
16111// the "output" return value is not valid until after Send returns without error.
16112//
16113// See ListMonitoringSchedules for more information on using the ListMonitoringSchedules
16114// API call, and error handling.
16115//
16116// This method is useful when you want to inject custom logic or configuration
16117// into the SDK's request lifecycle. Such as custom headers, or retry logic.
16118//
16119//
16120//    // Example sending a request using the ListMonitoringSchedulesRequest method.
16121//    req, resp := client.ListMonitoringSchedulesRequest(params)
16122//
16123//    err := req.Send()
16124//    if err == nil { // resp is now filled
16125//        fmt.Println(resp)
16126//    }
16127//
16128// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListMonitoringSchedules
16129func (c *SageMaker) ListMonitoringSchedulesRequest(input *ListMonitoringSchedulesInput) (req *request.Request, output *ListMonitoringSchedulesOutput) {
16130	op := &request.Operation{
16131		Name:       opListMonitoringSchedules,
16132		HTTPMethod: "POST",
16133		HTTPPath:   "/",
16134		Paginator: &request.Paginator{
16135			InputTokens:     []string{"NextToken"},
16136			OutputTokens:    []string{"NextToken"},
16137			LimitToken:      "MaxResults",
16138			TruncationToken: "",
16139		},
16140	}
16141
16142	if input == nil {
16143		input = &ListMonitoringSchedulesInput{}
16144	}
16145
16146	output = &ListMonitoringSchedulesOutput{}
16147	req = c.newRequest(op, input, output)
16148	return
16149}
16150
16151// ListMonitoringSchedules API operation for Amazon SageMaker Service.
16152//
16153// Returns list of all monitoring schedules.
16154//
16155// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
16156// with awserr.Error's Code and Message methods to get detailed information about
16157// the error.
16158//
16159// See the AWS API reference guide for Amazon SageMaker Service's
16160// API operation ListMonitoringSchedules for usage and error information.
16161// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListMonitoringSchedules
16162func (c *SageMaker) ListMonitoringSchedules(input *ListMonitoringSchedulesInput) (*ListMonitoringSchedulesOutput, error) {
16163	req, out := c.ListMonitoringSchedulesRequest(input)
16164	return out, req.Send()
16165}
16166
16167// ListMonitoringSchedulesWithContext is the same as ListMonitoringSchedules with the addition of
16168// the ability to pass a context and additional request options.
16169//
16170// See ListMonitoringSchedules for details on how to use this API operation.
16171//
16172// The context must be non-nil and will be used for request cancellation. If
16173// the context is nil a panic will occur. In the future the SDK may create
16174// sub-contexts for http.Requests. See https://golang.org/pkg/context/
16175// for more information on using Contexts.
16176func (c *SageMaker) ListMonitoringSchedulesWithContext(ctx aws.Context, input *ListMonitoringSchedulesInput, opts ...request.Option) (*ListMonitoringSchedulesOutput, error) {
16177	req, out := c.ListMonitoringSchedulesRequest(input)
16178	req.SetContext(ctx)
16179	req.ApplyOptions(opts...)
16180	return out, req.Send()
16181}
16182
16183// ListMonitoringSchedulesPages iterates over the pages of a ListMonitoringSchedules operation,
16184// calling the "fn" function with the response data for each page. To stop
16185// iterating, return false from the fn function.
16186//
16187// See ListMonitoringSchedules method for more information on how to use this operation.
16188//
16189// Note: This operation can generate multiple requests to a service.
16190//
16191//    // Example iterating over at most 3 pages of a ListMonitoringSchedules operation.
16192//    pageNum := 0
16193//    err := client.ListMonitoringSchedulesPages(params,
16194//        func(page *sagemaker.ListMonitoringSchedulesOutput, lastPage bool) bool {
16195//            pageNum++
16196//            fmt.Println(page)
16197//            return pageNum <= 3
16198//        })
16199//
16200func (c *SageMaker) ListMonitoringSchedulesPages(input *ListMonitoringSchedulesInput, fn func(*ListMonitoringSchedulesOutput, bool) bool) error {
16201	return c.ListMonitoringSchedulesPagesWithContext(aws.BackgroundContext(), input, fn)
16202}
16203
16204// ListMonitoringSchedulesPagesWithContext same as ListMonitoringSchedulesPages except
16205// it takes a Context and allows setting request options on the pages.
16206//
16207// The context must be non-nil and will be used for request cancellation. If
16208// the context is nil a panic will occur. In the future the SDK may create
16209// sub-contexts for http.Requests. See https://golang.org/pkg/context/
16210// for more information on using Contexts.
16211func (c *SageMaker) ListMonitoringSchedulesPagesWithContext(ctx aws.Context, input *ListMonitoringSchedulesInput, fn func(*ListMonitoringSchedulesOutput, bool) bool, opts ...request.Option) error {
16212	p := request.Pagination{
16213		NewRequest: func() (*request.Request, error) {
16214			var inCpy *ListMonitoringSchedulesInput
16215			if input != nil {
16216				tmp := *input
16217				inCpy = &tmp
16218			}
16219			req, _ := c.ListMonitoringSchedulesRequest(inCpy)
16220			req.SetContext(ctx)
16221			req.ApplyOptions(opts...)
16222			return req, nil
16223		},
16224	}
16225
16226	for p.Next() {
16227		if !fn(p.Page().(*ListMonitoringSchedulesOutput), !p.HasNextPage()) {
16228			break
16229		}
16230	}
16231
16232	return p.Err()
16233}
16234
16235const opListNotebookInstanceLifecycleConfigs = "ListNotebookInstanceLifecycleConfigs"
16236
16237// ListNotebookInstanceLifecycleConfigsRequest generates a "aws/request.Request" representing the
16238// client's request for the ListNotebookInstanceLifecycleConfigs operation. The "output" return
16239// value will be populated with the request's response once the request completes
16240// successfully.
16241//
16242// Use "Send" method on the returned Request to send the API call to the service.
16243// the "output" return value is not valid until after Send returns without error.
16244//
16245// See ListNotebookInstanceLifecycleConfigs for more information on using the ListNotebookInstanceLifecycleConfigs
16246// API call, and error handling.
16247//
16248// This method is useful when you want to inject custom logic or configuration
16249// into the SDK's request lifecycle. Such as custom headers, or retry logic.
16250//
16251//
16252//    // Example sending a request using the ListNotebookInstanceLifecycleConfigsRequest method.
16253//    req, resp := client.ListNotebookInstanceLifecycleConfigsRequest(params)
16254//
16255//    err := req.Send()
16256//    if err == nil { // resp is now filled
16257//        fmt.Println(resp)
16258//    }
16259//
16260// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListNotebookInstanceLifecycleConfigs
16261func (c *SageMaker) ListNotebookInstanceLifecycleConfigsRequest(input *ListNotebookInstanceLifecycleConfigsInput) (req *request.Request, output *ListNotebookInstanceLifecycleConfigsOutput) {
16262	op := &request.Operation{
16263		Name:       opListNotebookInstanceLifecycleConfigs,
16264		HTTPMethod: "POST",
16265		HTTPPath:   "/",
16266		Paginator: &request.Paginator{
16267			InputTokens:     []string{"NextToken"},
16268			OutputTokens:    []string{"NextToken"},
16269			LimitToken:      "MaxResults",
16270			TruncationToken: "",
16271		},
16272	}
16273
16274	if input == nil {
16275		input = &ListNotebookInstanceLifecycleConfigsInput{}
16276	}
16277
16278	output = &ListNotebookInstanceLifecycleConfigsOutput{}
16279	req = c.newRequest(op, input, output)
16280	return
16281}
16282
16283// ListNotebookInstanceLifecycleConfigs API operation for Amazon SageMaker Service.
16284//
16285// Lists notebook instance lifestyle configurations created with the CreateNotebookInstanceLifecycleConfig
16286// API.
16287//
16288// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
16289// with awserr.Error's Code and Message methods to get detailed information about
16290// the error.
16291//
16292// See the AWS API reference guide for Amazon SageMaker Service's
16293// API operation ListNotebookInstanceLifecycleConfigs for usage and error information.
16294// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListNotebookInstanceLifecycleConfigs
16295func (c *SageMaker) ListNotebookInstanceLifecycleConfigs(input *ListNotebookInstanceLifecycleConfigsInput) (*ListNotebookInstanceLifecycleConfigsOutput, error) {
16296	req, out := c.ListNotebookInstanceLifecycleConfigsRequest(input)
16297	return out, req.Send()
16298}
16299
16300// ListNotebookInstanceLifecycleConfigsWithContext is the same as ListNotebookInstanceLifecycleConfigs with the addition of
16301// the ability to pass a context and additional request options.
16302//
16303// See ListNotebookInstanceLifecycleConfigs for details on how to use this API operation.
16304//
16305// The context must be non-nil and will be used for request cancellation. If
16306// the context is nil a panic will occur. In the future the SDK may create
16307// sub-contexts for http.Requests. See https://golang.org/pkg/context/
16308// for more information on using Contexts.
16309func (c *SageMaker) ListNotebookInstanceLifecycleConfigsWithContext(ctx aws.Context, input *ListNotebookInstanceLifecycleConfigsInput, opts ...request.Option) (*ListNotebookInstanceLifecycleConfigsOutput, error) {
16310	req, out := c.ListNotebookInstanceLifecycleConfigsRequest(input)
16311	req.SetContext(ctx)
16312	req.ApplyOptions(opts...)
16313	return out, req.Send()
16314}
16315
16316// ListNotebookInstanceLifecycleConfigsPages iterates over the pages of a ListNotebookInstanceLifecycleConfigs operation,
16317// calling the "fn" function with the response data for each page. To stop
16318// iterating, return false from the fn function.
16319//
16320// See ListNotebookInstanceLifecycleConfigs method for more information on how to use this operation.
16321//
16322// Note: This operation can generate multiple requests to a service.
16323//
16324//    // Example iterating over at most 3 pages of a ListNotebookInstanceLifecycleConfigs operation.
16325//    pageNum := 0
16326//    err := client.ListNotebookInstanceLifecycleConfigsPages(params,
16327//        func(page *sagemaker.ListNotebookInstanceLifecycleConfigsOutput, lastPage bool) bool {
16328//            pageNum++
16329//            fmt.Println(page)
16330//            return pageNum <= 3
16331//        })
16332//
16333func (c *SageMaker) ListNotebookInstanceLifecycleConfigsPages(input *ListNotebookInstanceLifecycleConfigsInput, fn func(*ListNotebookInstanceLifecycleConfigsOutput, bool) bool) error {
16334	return c.ListNotebookInstanceLifecycleConfigsPagesWithContext(aws.BackgroundContext(), input, fn)
16335}
16336
16337// ListNotebookInstanceLifecycleConfigsPagesWithContext same as ListNotebookInstanceLifecycleConfigsPages except
16338// it takes a Context and allows setting request options on the pages.
16339//
16340// The context must be non-nil and will be used for request cancellation. If
16341// the context is nil a panic will occur. In the future the SDK may create
16342// sub-contexts for http.Requests. See https://golang.org/pkg/context/
16343// for more information on using Contexts.
16344func (c *SageMaker) ListNotebookInstanceLifecycleConfigsPagesWithContext(ctx aws.Context, input *ListNotebookInstanceLifecycleConfigsInput, fn func(*ListNotebookInstanceLifecycleConfigsOutput, bool) bool, opts ...request.Option) error {
16345	p := request.Pagination{
16346		NewRequest: func() (*request.Request, error) {
16347			var inCpy *ListNotebookInstanceLifecycleConfigsInput
16348			if input != nil {
16349				tmp := *input
16350				inCpy = &tmp
16351			}
16352			req, _ := c.ListNotebookInstanceLifecycleConfigsRequest(inCpy)
16353			req.SetContext(ctx)
16354			req.ApplyOptions(opts...)
16355			return req, nil
16356		},
16357	}
16358
16359	for p.Next() {
16360		if !fn(p.Page().(*ListNotebookInstanceLifecycleConfigsOutput), !p.HasNextPage()) {
16361			break
16362		}
16363	}
16364
16365	return p.Err()
16366}
16367
16368const opListNotebookInstances = "ListNotebookInstances"
16369
16370// ListNotebookInstancesRequest generates a "aws/request.Request" representing the
16371// client's request for the ListNotebookInstances operation. The "output" return
16372// value will be populated with the request's response once the request completes
16373// successfully.
16374//
16375// Use "Send" method on the returned Request to send the API call to the service.
16376// the "output" return value is not valid until after Send returns without error.
16377//
16378// See ListNotebookInstances for more information on using the ListNotebookInstances
16379// API call, and error handling.
16380//
16381// This method is useful when you want to inject custom logic or configuration
16382// into the SDK's request lifecycle. Such as custom headers, or retry logic.
16383//
16384//
16385//    // Example sending a request using the ListNotebookInstancesRequest method.
16386//    req, resp := client.ListNotebookInstancesRequest(params)
16387//
16388//    err := req.Send()
16389//    if err == nil { // resp is now filled
16390//        fmt.Println(resp)
16391//    }
16392//
16393// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListNotebookInstances
16394func (c *SageMaker) ListNotebookInstancesRequest(input *ListNotebookInstancesInput) (req *request.Request, output *ListNotebookInstancesOutput) {
16395	op := &request.Operation{
16396		Name:       opListNotebookInstances,
16397		HTTPMethod: "POST",
16398		HTTPPath:   "/",
16399		Paginator: &request.Paginator{
16400			InputTokens:     []string{"NextToken"},
16401			OutputTokens:    []string{"NextToken"},
16402			LimitToken:      "MaxResults",
16403			TruncationToken: "",
16404		},
16405	}
16406
16407	if input == nil {
16408		input = &ListNotebookInstancesInput{}
16409	}
16410
16411	output = &ListNotebookInstancesOutput{}
16412	req = c.newRequest(op, input, output)
16413	return
16414}
16415
16416// ListNotebookInstances API operation for Amazon SageMaker Service.
16417//
16418// Returns a list of the Amazon SageMaker notebook instances in the requester's
16419// account in an AWS Region.
16420//
16421// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
16422// with awserr.Error's Code and Message methods to get detailed information about
16423// the error.
16424//
16425// See the AWS API reference guide for Amazon SageMaker Service's
16426// API operation ListNotebookInstances for usage and error information.
16427// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListNotebookInstances
16428func (c *SageMaker) ListNotebookInstances(input *ListNotebookInstancesInput) (*ListNotebookInstancesOutput, error) {
16429	req, out := c.ListNotebookInstancesRequest(input)
16430	return out, req.Send()
16431}
16432
16433// ListNotebookInstancesWithContext is the same as ListNotebookInstances with the addition of
16434// the ability to pass a context and additional request options.
16435//
16436// See ListNotebookInstances for details on how to use this API operation.
16437//
16438// The context must be non-nil and will be used for request cancellation. If
16439// the context is nil a panic will occur. In the future the SDK may create
16440// sub-contexts for http.Requests. See https://golang.org/pkg/context/
16441// for more information on using Contexts.
16442func (c *SageMaker) ListNotebookInstancesWithContext(ctx aws.Context, input *ListNotebookInstancesInput, opts ...request.Option) (*ListNotebookInstancesOutput, error) {
16443	req, out := c.ListNotebookInstancesRequest(input)
16444	req.SetContext(ctx)
16445	req.ApplyOptions(opts...)
16446	return out, req.Send()
16447}
16448
16449// ListNotebookInstancesPages iterates over the pages of a ListNotebookInstances operation,
16450// calling the "fn" function with the response data for each page. To stop
16451// iterating, return false from the fn function.
16452//
16453// See ListNotebookInstances method for more information on how to use this operation.
16454//
16455// Note: This operation can generate multiple requests to a service.
16456//
16457//    // Example iterating over at most 3 pages of a ListNotebookInstances operation.
16458//    pageNum := 0
16459//    err := client.ListNotebookInstancesPages(params,
16460//        func(page *sagemaker.ListNotebookInstancesOutput, lastPage bool) bool {
16461//            pageNum++
16462//            fmt.Println(page)
16463//            return pageNum <= 3
16464//        })
16465//
16466func (c *SageMaker) ListNotebookInstancesPages(input *ListNotebookInstancesInput, fn func(*ListNotebookInstancesOutput, bool) bool) error {
16467	return c.ListNotebookInstancesPagesWithContext(aws.BackgroundContext(), input, fn)
16468}
16469
16470// ListNotebookInstancesPagesWithContext same as ListNotebookInstancesPages except
16471// it takes a Context and allows setting request options on the pages.
16472//
16473// The context must be non-nil and will be used for request cancellation. If
16474// the context is nil a panic will occur. In the future the SDK may create
16475// sub-contexts for http.Requests. See https://golang.org/pkg/context/
16476// for more information on using Contexts.
16477func (c *SageMaker) ListNotebookInstancesPagesWithContext(ctx aws.Context, input *ListNotebookInstancesInput, fn func(*ListNotebookInstancesOutput, bool) bool, opts ...request.Option) error {
16478	p := request.Pagination{
16479		NewRequest: func() (*request.Request, error) {
16480			var inCpy *ListNotebookInstancesInput
16481			if input != nil {
16482				tmp := *input
16483				inCpy = &tmp
16484			}
16485			req, _ := c.ListNotebookInstancesRequest(inCpy)
16486			req.SetContext(ctx)
16487			req.ApplyOptions(opts...)
16488			return req, nil
16489		},
16490	}
16491
16492	for p.Next() {
16493		if !fn(p.Page().(*ListNotebookInstancesOutput), !p.HasNextPage()) {
16494			break
16495		}
16496	}
16497
16498	return p.Err()
16499}
16500
16501const opListPipelineExecutionSteps = "ListPipelineExecutionSteps"
16502
16503// ListPipelineExecutionStepsRequest generates a "aws/request.Request" representing the
16504// client's request for the ListPipelineExecutionSteps operation. The "output" return
16505// value will be populated with the request's response once the request completes
16506// successfully.
16507//
16508// Use "Send" method on the returned Request to send the API call to the service.
16509// the "output" return value is not valid until after Send returns without error.
16510//
16511// See ListPipelineExecutionSteps for more information on using the ListPipelineExecutionSteps
16512// API call, and error handling.
16513//
16514// This method is useful when you want to inject custom logic or configuration
16515// into the SDK's request lifecycle. Such as custom headers, or retry logic.
16516//
16517//
16518//    // Example sending a request using the ListPipelineExecutionStepsRequest method.
16519//    req, resp := client.ListPipelineExecutionStepsRequest(params)
16520//
16521//    err := req.Send()
16522//    if err == nil { // resp is now filled
16523//        fmt.Println(resp)
16524//    }
16525//
16526// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListPipelineExecutionSteps
16527func (c *SageMaker) ListPipelineExecutionStepsRequest(input *ListPipelineExecutionStepsInput) (req *request.Request, output *ListPipelineExecutionStepsOutput) {
16528	op := &request.Operation{
16529		Name:       opListPipelineExecutionSteps,
16530		HTTPMethod: "POST",
16531		HTTPPath:   "/",
16532		Paginator: &request.Paginator{
16533			InputTokens:     []string{"NextToken"},
16534			OutputTokens:    []string{"NextToken"},
16535			LimitToken:      "MaxResults",
16536			TruncationToken: "",
16537		},
16538	}
16539
16540	if input == nil {
16541		input = &ListPipelineExecutionStepsInput{}
16542	}
16543
16544	output = &ListPipelineExecutionStepsOutput{}
16545	req = c.newRequest(op, input, output)
16546	return
16547}
16548
16549// ListPipelineExecutionSteps API operation for Amazon SageMaker Service.
16550//
16551// Gets a list of PipeLineExecutionStep objects.
16552//
16553// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
16554// with awserr.Error's Code and Message methods to get detailed information about
16555// the error.
16556//
16557// See the AWS API reference guide for Amazon SageMaker Service's
16558// API operation ListPipelineExecutionSteps for usage and error information.
16559//
16560// Returned Error Types:
16561//   * ResourceNotFound
16562//   Resource being access is not found.
16563//
16564// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListPipelineExecutionSteps
16565func (c *SageMaker) ListPipelineExecutionSteps(input *ListPipelineExecutionStepsInput) (*ListPipelineExecutionStepsOutput, error) {
16566	req, out := c.ListPipelineExecutionStepsRequest(input)
16567	return out, req.Send()
16568}
16569
16570// ListPipelineExecutionStepsWithContext is the same as ListPipelineExecutionSteps with the addition of
16571// the ability to pass a context and additional request options.
16572//
16573// See ListPipelineExecutionSteps for details on how to use this API operation.
16574//
16575// The context must be non-nil and will be used for request cancellation. If
16576// the context is nil a panic will occur. In the future the SDK may create
16577// sub-contexts for http.Requests. See https://golang.org/pkg/context/
16578// for more information on using Contexts.
16579func (c *SageMaker) ListPipelineExecutionStepsWithContext(ctx aws.Context, input *ListPipelineExecutionStepsInput, opts ...request.Option) (*ListPipelineExecutionStepsOutput, error) {
16580	req, out := c.ListPipelineExecutionStepsRequest(input)
16581	req.SetContext(ctx)
16582	req.ApplyOptions(opts...)
16583	return out, req.Send()
16584}
16585
16586// ListPipelineExecutionStepsPages iterates over the pages of a ListPipelineExecutionSteps operation,
16587// calling the "fn" function with the response data for each page. To stop
16588// iterating, return false from the fn function.
16589//
16590// See ListPipelineExecutionSteps method for more information on how to use this operation.
16591//
16592// Note: This operation can generate multiple requests to a service.
16593//
16594//    // Example iterating over at most 3 pages of a ListPipelineExecutionSteps operation.
16595//    pageNum := 0
16596//    err := client.ListPipelineExecutionStepsPages(params,
16597//        func(page *sagemaker.ListPipelineExecutionStepsOutput, lastPage bool) bool {
16598//            pageNum++
16599//            fmt.Println(page)
16600//            return pageNum <= 3
16601//        })
16602//
16603func (c *SageMaker) ListPipelineExecutionStepsPages(input *ListPipelineExecutionStepsInput, fn func(*ListPipelineExecutionStepsOutput, bool) bool) error {
16604	return c.ListPipelineExecutionStepsPagesWithContext(aws.BackgroundContext(), input, fn)
16605}
16606
16607// ListPipelineExecutionStepsPagesWithContext same as ListPipelineExecutionStepsPages except
16608// it takes a Context and allows setting request options on the pages.
16609//
16610// The context must be non-nil and will be used for request cancellation. If
16611// the context is nil a panic will occur. In the future the SDK may create
16612// sub-contexts for http.Requests. See https://golang.org/pkg/context/
16613// for more information on using Contexts.
16614func (c *SageMaker) ListPipelineExecutionStepsPagesWithContext(ctx aws.Context, input *ListPipelineExecutionStepsInput, fn func(*ListPipelineExecutionStepsOutput, bool) bool, opts ...request.Option) error {
16615	p := request.Pagination{
16616		NewRequest: func() (*request.Request, error) {
16617			var inCpy *ListPipelineExecutionStepsInput
16618			if input != nil {
16619				tmp := *input
16620				inCpy = &tmp
16621			}
16622			req, _ := c.ListPipelineExecutionStepsRequest(inCpy)
16623			req.SetContext(ctx)
16624			req.ApplyOptions(opts...)
16625			return req, nil
16626		},
16627	}
16628
16629	for p.Next() {
16630		if !fn(p.Page().(*ListPipelineExecutionStepsOutput), !p.HasNextPage()) {
16631			break
16632		}
16633	}
16634
16635	return p.Err()
16636}
16637
16638const opListPipelineExecutions = "ListPipelineExecutions"
16639
16640// ListPipelineExecutionsRequest generates a "aws/request.Request" representing the
16641// client's request for the ListPipelineExecutions operation. The "output" return
16642// value will be populated with the request's response once the request completes
16643// successfully.
16644//
16645// Use "Send" method on the returned Request to send the API call to the service.
16646// the "output" return value is not valid until after Send returns without error.
16647//
16648// See ListPipelineExecutions for more information on using the ListPipelineExecutions
16649// API call, and error handling.
16650//
16651// This method is useful when you want to inject custom logic or configuration
16652// into the SDK's request lifecycle. Such as custom headers, or retry logic.
16653//
16654//
16655//    // Example sending a request using the ListPipelineExecutionsRequest method.
16656//    req, resp := client.ListPipelineExecutionsRequest(params)
16657//
16658//    err := req.Send()
16659//    if err == nil { // resp is now filled
16660//        fmt.Println(resp)
16661//    }
16662//
16663// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListPipelineExecutions
16664func (c *SageMaker) ListPipelineExecutionsRequest(input *ListPipelineExecutionsInput) (req *request.Request, output *ListPipelineExecutionsOutput) {
16665	op := &request.Operation{
16666		Name:       opListPipelineExecutions,
16667		HTTPMethod: "POST",
16668		HTTPPath:   "/",
16669		Paginator: &request.Paginator{
16670			InputTokens:     []string{"NextToken"},
16671			OutputTokens:    []string{"NextToken"},
16672			LimitToken:      "MaxResults",
16673			TruncationToken: "",
16674		},
16675	}
16676
16677	if input == nil {
16678		input = &ListPipelineExecutionsInput{}
16679	}
16680
16681	output = &ListPipelineExecutionsOutput{}
16682	req = c.newRequest(op, input, output)
16683	return
16684}
16685
16686// ListPipelineExecutions API operation for Amazon SageMaker Service.
16687//
16688// Gets a list of the pipeline executions.
16689//
16690// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
16691// with awserr.Error's Code and Message methods to get detailed information about
16692// the error.
16693//
16694// See the AWS API reference guide for Amazon SageMaker Service's
16695// API operation ListPipelineExecutions for usage and error information.
16696//
16697// Returned Error Types:
16698//   * ResourceNotFound
16699//   Resource being access is not found.
16700//
16701// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListPipelineExecutions
16702func (c *SageMaker) ListPipelineExecutions(input *ListPipelineExecutionsInput) (*ListPipelineExecutionsOutput, error) {
16703	req, out := c.ListPipelineExecutionsRequest(input)
16704	return out, req.Send()
16705}
16706
16707// ListPipelineExecutionsWithContext is the same as ListPipelineExecutions with the addition of
16708// the ability to pass a context and additional request options.
16709//
16710// See ListPipelineExecutions for details on how to use this API operation.
16711//
16712// The context must be non-nil and will be used for request cancellation. If
16713// the context is nil a panic will occur. In the future the SDK may create
16714// sub-contexts for http.Requests. See https://golang.org/pkg/context/
16715// for more information on using Contexts.
16716func (c *SageMaker) ListPipelineExecutionsWithContext(ctx aws.Context, input *ListPipelineExecutionsInput, opts ...request.Option) (*ListPipelineExecutionsOutput, error) {
16717	req, out := c.ListPipelineExecutionsRequest(input)
16718	req.SetContext(ctx)
16719	req.ApplyOptions(opts...)
16720	return out, req.Send()
16721}
16722
16723// ListPipelineExecutionsPages iterates over the pages of a ListPipelineExecutions operation,
16724// calling the "fn" function with the response data for each page. To stop
16725// iterating, return false from the fn function.
16726//
16727// See ListPipelineExecutions method for more information on how to use this operation.
16728//
16729// Note: This operation can generate multiple requests to a service.
16730//
16731//    // Example iterating over at most 3 pages of a ListPipelineExecutions operation.
16732//    pageNum := 0
16733//    err := client.ListPipelineExecutionsPages(params,
16734//        func(page *sagemaker.ListPipelineExecutionsOutput, lastPage bool) bool {
16735//            pageNum++
16736//            fmt.Println(page)
16737//            return pageNum <= 3
16738//        })
16739//
16740func (c *SageMaker) ListPipelineExecutionsPages(input *ListPipelineExecutionsInput, fn func(*ListPipelineExecutionsOutput, bool) bool) error {
16741	return c.ListPipelineExecutionsPagesWithContext(aws.BackgroundContext(), input, fn)
16742}
16743
16744// ListPipelineExecutionsPagesWithContext same as ListPipelineExecutionsPages except
16745// it takes a Context and allows setting request options on the pages.
16746//
16747// The context must be non-nil and will be used for request cancellation. If
16748// the context is nil a panic will occur. In the future the SDK may create
16749// sub-contexts for http.Requests. See https://golang.org/pkg/context/
16750// for more information on using Contexts.
16751func (c *SageMaker) ListPipelineExecutionsPagesWithContext(ctx aws.Context, input *ListPipelineExecutionsInput, fn func(*ListPipelineExecutionsOutput, bool) bool, opts ...request.Option) error {
16752	p := request.Pagination{
16753		NewRequest: func() (*request.Request, error) {
16754			var inCpy *ListPipelineExecutionsInput
16755			if input != nil {
16756				tmp := *input
16757				inCpy = &tmp
16758			}
16759			req, _ := c.ListPipelineExecutionsRequest(inCpy)
16760			req.SetContext(ctx)
16761			req.ApplyOptions(opts...)
16762			return req, nil
16763		},
16764	}
16765
16766	for p.Next() {
16767		if !fn(p.Page().(*ListPipelineExecutionsOutput), !p.HasNextPage()) {
16768			break
16769		}
16770	}
16771
16772	return p.Err()
16773}
16774
16775const opListPipelineParametersForExecution = "ListPipelineParametersForExecution"
16776
16777// ListPipelineParametersForExecutionRequest generates a "aws/request.Request" representing the
16778// client's request for the ListPipelineParametersForExecution operation. The "output" return
16779// value will be populated with the request's response once the request completes
16780// successfully.
16781//
16782// Use "Send" method on the returned Request to send the API call to the service.
16783// the "output" return value is not valid until after Send returns without error.
16784//
16785// See ListPipelineParametersForExecution for more information on using the ListPipelineParametersForExecution
16786// API call, and error handling.
16787//
16788// This method is useful when you want to inject custom logic or configuration
16789// into the SDK's request lifecycle. Such as custom headers, or retry logic.
16790//
16791//
16792//    // Example sending a request using the ListPipelineParametersForExecutionRequest method.
16793//    req, resp := client.ListPipelineParametersForExecutionRequest(params)
16794//
16795//    err := req.Send()
16796//    if err == nil { // resp is now filled
16797//        fmt.Println(resp)
16798//    }
16799//
16800// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListPipelineParametersForExecution
16801func (c *SageMaker) ListPipelineParametersForExecutionRequest(input *ListPipelineParametersForExecutionInput) (req *request.Request, output *ListPipelineParametersForExecutionOutput) {
16802	op := &request.Operation{
16803		Name:       opListPipelineParametersForExecution,
16804		HTTPMethod: "POST",
16805		HTTPPath:   "/",
16806		Paginator: &request.Paginator{
16807			InputTokens:     []string{"NextToken"},
16808			OutputTokens:    []string{"NextToken"},
16809			LimitToken:      "MaxResults",
16810			TruncationToken: "",
16811		},
16812	}
16813
16814	if input == nil {
16815		input = &ListPipelineParametersForExecutionInput{}
16816	}
16817
16818	output = &ListPipelineParametersForExecutionOutput{}
16819	req = c.newRequest(op, input, output)
16820	return
16821}
16822
16823// ListPipelineParametersForExecution API operation for Amazon SageMaker Service.
16824//
16825// Gets a list of parameters for a pipeline execution.
16826//
16827// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
16828// with awserr.Error's Code and Message methods to get detailed information about
16829// the error.
16830//
16831// See the AWS API reference guide for Amazon SageMaker Service's
16832// API operation ListPipelineParametersForExecution for usage and error information.
16833//
16834// Returned Error Types:
16835//   * ResourceNotFound
16836//   Resource being access is not found.
16837//
16838// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListPipelineParametersForExecution
16839func (c *SageMaker) ListPipelineParametersForExecution(input *ListPipelineParametersForExecutionInput) (*ListPipelineParametersForExecutionOutput, error) {
16840	req, out := c.ListPipelineParametersForExecutionRequest(input)
16841	return out, req.Send()
16842}
16843
16844// ListPipelineParametersForExecutionWithContext is the same as ListPipelineParametersForExecution with the addition of
16845// the ability to pass a context and additional request options.
16846//
16847// See ListPipelineParametersForExecution for details on how to use this API operation.
16848//
16849// The context must be non-nil and will be used for request cancellation. If
16850// the context is nil a panic will occur. In the future the SDK may create
16851// sub-contexts for http.Requests. See https://golang.org/pkg/context/
16852// for more information on using Contexts.
16853func (c *SageMaker) ListPipelineParametersForExecutionWithContext(ctx aws.Context, input *ListPipelineParametersForExecutionInput, opts ...request.Option) (*ListPipelineParametersForExecutionOutput, error) {
16854	req, out := c.ListPipelineParametersForExecutionRequest(input)
16855	req.SetContext(ctx)
16856	req.ApplyOptions(opts...)
16857	return out, req.Send()
16858}
16859
16860// ListPipelineParametersForExecutionPages iterates over the pages of a ListPipelineParametersForExecution operation,
16861// calling the "fn" function with the response data for each page. To stop
16862// iterating, return false from the fn function.
16863//
16864// See ListPipelineParametersForExecution method for more information on how to use this operation.
16865//
16866// Note: This operation can generate multiple requests to a service.
16867//
16868//    // Example iterating over at most 3 pages of a ListPipelineParametersForExecution operation.
16869//    pageNum := 0
16870//    err := client.ListPipelineParametersForExecutionPages(params,
16871//        func(page *sagemaker.ListPipelineParametersForExecutionOutput, lastPage bool) bool {
16872//            pageNum++
16873//            fmt.Println(page)
16874//            return pageNum <= 3
16875//        })
16876//
16877func (c *SageMaker) ListPipelineParametersForExecutionPages(input *ListPipelineParametersForExecutionInput, fn func(*ListPipelineParametersForExecutionOutput, bool) bool) error {
16878	return c.ListPipelineParametersForExecutionPagesWithContext(aws.BackgroundContext(), input, fn)
16879}
16880
16881// ListPipelineParametersForExecutionPagesWithContext same as ListPipelineParametersForExecutionPages except
16882// it takes a Context and allows setting request options on the pages.
16883//
16884// The context must be non-nil and will be used for request cancellation. If
16885// the context is nil a panic will occur. In the future the SDK may create
16886// sub-contexts for http.Requests. See https://golang.org/pkg/context/
16887// for more information on using Contexts.
16888func (c *SageMaker) ListPipelineParametersForExecutionPagesWithContext(ctx aws.Context, input *ListPipelineParametersForExecutionInput, fn func(*ListPipelineParametersForExecutionOutput, bool) bool, opts ...request.Option) error {
16889	p := request.Pagination{
16890		NewRequest: func() (*request.Request, error) {
16891			var inCpy *ListPipelineParametersForExecutionInput
16892			if input != nil {
16893				tmp := *input
16894				inCpy = &tmp
16895			}
16896			req, _ := c.ListPipelineParametersForExecutionRequest(inCpy)
16897			req.SetContext(ctx)
16898			req.ApplyOptions(opts...)
16899			return req, nil
16900		},
16901	}
16902
16903	for p.Next() {
16904		if !fn(p.Page().(*ListPipelineParametersForExecutionOutput), !p.HasNextPage()) {
16905			break
16906		}
16907	}
16908
16909	return p.Err()
16910}
16911
16912const opListPipelines = "ListPipelines"
16913
16914// ListPipelinesRequest generates a "aws/request.Request" representing the
16915// client's request for the ListPipelines operation. The "output" return
16916// value will be populated with the request's response once the request completes
16917// successfully.
16918//
16919// Use "Send" method on the returned Request to send the API call to the service.
16920// the "output" return value is not valid until after Send returns without error.
16921//
16922// See ListPipelines for more information on using the ListPipelines
16923// API call, and error handling.
16924//
16925// This method is useful when you want to inject custom logic or configuration
16926// into the SDK's request lifecycle. Such as custom headers, or retry logic.
16927//
16928//
16929//    // Example sending a request using the ListPipelinesRequest method.
16930//    req, resp := client.ListPipelinesRequest(params)
16931//
16932//    err := req.Send()
16933//    if err == nil { // resp is now filled
16934//        fmt.Println(resp)
16935//    }
16936//
16937// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListPipelines
16938func (c *SageMaker) ListPipelinesRequest(input *ListPipelinesInput) (req *request.Request, output *ListPipelinesOutput) {
16939	op := &request.Operation{
16940		Name:       opListPipelines,
16941		HTTPMethod: "POST",
16942		HTTPPath:   "/",
16943		Paginator: &request.Paginator{
16944			InputTokens:     []string{"NextToken"},
16945			OutputTokens:    []string{"NextToken"},
16946			LimitToken:      "MaxResults",
16947			TruncationToken: "",
16948		},
16949	}
16950
16951	if input == nil {
16952		input = &ListPipelinesInput{}
16953	}
16954
16955	output = &ListPipelinesOutput{}
16956	req = c.newRequest(op, input, output)
16957	return
16958}
16959
16960// ListPipelines API operation for Amazon SageMaker Service.
16961//
16962// Gets a list of pipelines.
16963//
16964// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
16965// with awserr.Error's Code and Message methods to get detailed information about
16966// the error.
16967//
16968// See the AWS API reference guide for Amazon SageMaker Service's
16969// API operation ListPipelines for usage and error information.
16970// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListPipelines
16971func (c *SageMaker) ListPipelines(input *ListPipelinesInput) (*ListPipelinesOutput, error) {
16972	req, out := c.ListPipelinesRequest(input)
16973	return out, req.Send()
16974}
16975
16976// ListPipelinesWithContext is the same as ListPipelines with the addition of
16977// the ability to pass a context and additional request options.
16978//
16979// See ListPipelines for details on how to use this API operation.
16980//
16981// The context must be non-nil and will be used for request cancellation. If
16982// the context is nil a panic will occur. In the future the SDK may create
16983// sub-contexts for http.Requests. See https://golang.org/pkg/context/
16984// for more information on using Contexts.
16985func (c *SageMaker) ListPipelinesWithContext(ctx aws.Context, input *ListPipelinesInput, opts ...request.Option) (*ListPipelinesOutput, error) {
16986	req, out := c.ListPipelinesRequest(input)
16987	req.SetContext(ctx)
16988	req.ApplyOptions(opts...)
16989	return out, req.Send()
16990}
16991
16992// ListPipelinesPages iterates over the pages of a ListPipelines operation,
16993// calling the "fn" function with the response data for each page. To stop
16994// iterating, return false from the fn function.
16995//
16996// See ListPipelines method for more information on how to use this operation.
16997//
16998// Note: This operation can generate multiple requests to a service.
16999//
17000//    // Example iterating over at most 3 pages of a ListPipelines operation.
17001//    pageNum := 0
17002//    err := client.ListPipelinesPages(params,
17003//        func(page *sagemaker.ListPipelinesOutput, lastPage bool) bool {
17004//            pageNum++
17005//            fmt.Println(page)
17006//            return pageNum <= 3
17007//        })
17008//
17009func (c *SageMaker) ListPipelinesPages(input *ListPipelinesInput, fn func(*ListPipelinesOutput, bool) bool) error {
17010	return c.ListPipelinesPagesWithContext(aws.BackgroundContext(), input, fn)
17011}
17012
17013// ListPipelinesPagesWithContext same as ListPipelinesPages except
17014// it takes a Context and allows setting request options on the pages.
17015//
17016// The context must be non-nil and will be used for request cancellation. If
17017// the context is nil a panic will occur. In the future the SDK may create
17018// sub-contexts for http.Requests. See https://golang.org/pkg/context/
17019// for more information on using Contexts.
17020func (c *SageMaker) ListPipelinesPagesWithContext(ctx aws.Context, input *ListPipelinesInput, fn func(*ListPipelinesOutput, bool) bool, opts ...request.Option) error {
17021	p := request.Pagination{
17022		NewRequest: func() (*request.Request, error) {
17023			var inCpy *ListPipelinesInput
17024			if input != nil {
17025				tmp := *input
17026				inCpy = &tmp
17027			}
17028			req, _ := c.ListPipelinesRequest(inCpy)
17029			req.SetContext(ctx)
17030			req.ApplyOptions(opts...)
17031			return req, nil
17032		},
17033	}
17034
17035	for p.Next() {
17036		if !fn(p.Page().(*ListPipelinesOutput), !p.HasNextPage()) {
17037			break
17038		}
17039	}
17040
17041	return p.Err()
17042}
17043
17044const opListProcessingJobs = "ListProcessingJobs"
17045
17046// ListProcessingJobsRequest generates a "aws/request.Request" representing the
17047// client's request for the ListProcessingJobs operation. The "output" return
17048// value will be populated with the request's response once the request completes
17049// successfully.
17050//
17051// Use "Send" method on the returned Request to send the API call to the service.
17052// the "output" return value is not valid until after Send returns without error.
17053//
17054// See ListProcessingJobs for more information on using the ListProcessingJobs
17055// API call, and error handling.
17056//
17057// This method is useful when you want to inject custom logic or configuration
17058// into the SDK's request lifecycle. Such as custom headers, or retry logic.
17059//
17060//
17061//    // Example sending a request using the ListProcessingJobsRequest method.
17062//    req, resp := client.ListProcessingJobsRequest(params)
17063//
17064//    err := req.Send()
17065//    if err == nil { // resp is now filled
17066//        fmt.Println(resp)
17067//    }
17068//
17069// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListProcessingJobs
17070func (c *SageMaker) ListProcessingJobsRequest(input *ListProcessingJobsInput) (req *request.Request, output *ListProcessingJobsOutput) {
17071	op := &request.Operation{
17072		Name:       opListProcessingJobs,
17073		HTTPMethod: "POST",
17074		HTTPPath:   "/",
17075		Paginator: &request.Paginator{
17076			InputTokens:     []string{"NextToken"},
17077			OutputTokens:    []string{"NextToken"},
17078			LimitToken:      "MaxResults",
17079			TruncationToken: "",
17080		},
17081	}
17082
17083	if input == nil {
17084		input = &ListProcessingJobsInput{}
17085	}
17086
17087	output = &ListProcessingJobsOutput{}
17088	req = c.newRequest(op, input, output)
17089	return
17090}
17091
17092// ListProcessingJobs API operation for Amazon SageMaker Service.
17093//
17094// Lists processing jobs that satisfy various filters.
17095//
17096// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
17097// with awserr.Error's Code and Message methods to get detailed information about
17098// the error.
17099//
17100// See the AWS API reference guide for Amazon SageMaker Service's
17101// API operation ListProcessingJobs for usage and error information.
17102// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListProcessingJobs
17103func (c *SageMaker) ListProcessingJobs(input *ListProcessingJobsInput) (*ListProcessingJobsOutput, error) {
17104	req, out := c.ListProcessingJobsRequest(input)
17105	return out, req.Send()
17106}
17107
17108// ListProcessingJobsWithContext is the same as ListProcessingJobs with the addition of
17109// the ability to pass a context and additional request options.
17110//
17111// See ListProcessingJobs for details on how to use this API operation.
17112//
17113// The context must be non-nil and will be used for request cancellation. If
17114// the context is nil a panic will occur. In the future the SDK may create
17115// sub-contexts for http.Requests. See https://golang.org/pkg/context/
17116// for more information on using Contexts.
17117func (c *SageMaker) ListProcessingJobsWithContext(ctx aws.Context, input *ListProcessingJobsInput, opts ...request.Option) (*ListProcessingJobsOutput, error) {
17118	req, out := c.ListProcessingJobsRequest(input)
17119	req.SetContext(ctx)
17120	req.ApplyOptions(opts...)
17121	return out, req.Send()
17122}
17123
17124// ListProcessingJobsPages iterates over the pages of a ListProcessingJobs operation,
17125// calling the "fn" function with the response data for each page. To stop
17126// iterating, return false from the fn function.
17127//
17128// See ListProcessingJobs method for more information on how to use this operation.
17129//
17130// Note: This operation can generate multiple requests to a service.
17131//
17132//    // Example iterating over at most 3 pages of a ListProcessingJobs operation.
17133//    pageNum := 0
17134//    err := client.ListProcessingJobsPages(params,
17135//        func(page *sagemaker.ListProcessingJobsOutput, lastPage bool) bool {
17136//            pageNum++
17137//            fmt.Println(page)
17138//            return pageNum <= 3
17139//        })
17140//
17141func (c *SageMaker) ListProcessingJobsPages(input *ListProcessingJobsInput, fn func(*ListProcessingJobsOutput, bool) bool) error {
17142	return c.ListProcessingJobsPagesWithContext(aws.BackgroundContext(), input, fn)
17143}
17144
17145// ListProcessingJobsPagesWithContext same as ListProcessingJobsPages except
17146// it takes a Context and allows setting request options on the pages.
17147//
17148// The context must be non-nil and will be used for request cancellation. If
17149// the context is nil a panic will occur. In the future the SDK may create
17150// sub-contexts for http.Requests. See https://golang.org/pkg/context/
17151// for more information on using Contexts.
17152func (c *SageMaker) ListProcessingJobsPagesWithContext(ctx aws.Context, input *ListProcessingJobsInput, fn func(*ListProcessingJobsOutput, bool) bool, opts ...request.Option) error {
17153	p := request.Pagination{
17154		NewRequest: func() (*request.Request, error) {
17155			var inCpy *ListProcessingJobsInput
17156			if input != nil {
17157				tmp := *input
17158				inCpy = &tmp
17159			}
17160			req, _ := c.ListProcessingJobsRequest(inCpy)
17161			req.SetContext(ctx)
17162			req.ApplyOptions(opts...)
17163			return req, nil
17164		},
17165	}
17166
17167	for p.Next() {
17168		if !fn(p.Page().(*ListProcessingJobsOutput), !p.HasNextPage()) {
17169			break
17170		}
17171	}
17172
17173	return p.Err()
17174}
17175
17176const opListProjects = "ListProjects"
17177
17178// ListProjectsRequest generates a "aws/request.Request" representing the
17179// client's request for the ListProjects operation. The "output" return
17180// value will be populated with the request's response once the request completes
17181// successfully.
17182//
17183// Use "Send" method on the returned Request to send the API call to the service.
17184// the "output" return value is not valid until after Send returns without error.
17185//
17186// See ListProjects for more information on using the ListProjects
17187// API call, and error handling.
17188//
17189// This method is useful when you want to inject custom logic or configuration
17190// into the SDK's request lifecycle. Such as custom headers, or retry logic.
17191//
17192//
17193//    // Example sending a request using the ListProjectsRequest method.
17194//    req, resp := client.ListProjectsRequest(params)
17195//
17196//    err := req.Send()
17197//    if err == nil { // resp is now filled
17198//        fmt.Println(resp)
17199//    }
17200//
17201// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListProjects
17202func (c *SageMaker) ListProjectsRequest(input *ListProjectsInput) (req *request.Request, output *ListProjectsOutput) {
17203	op := &request.Operation{
17204		Name:       opListProjects,
17205		HTTPMethod: "POST",
17206		HTTPPath:   "/",
17207		Paginator: &request.Paginator{
17208			InputTokens:     []string{"NextToken"},
17209			OutputTokens:    []string{"NextToken"},
17210			LimitToken:      "MaxResults",
17211			TruncationToken: "",
17212		},
17213	}
17214
17215	if input == nil {
17216		input = &ListProjectsInput{}
17217	}
17218
17219	output = &ListProjectsOutput{}
17220	req = c.newRequest(op, input, output)
17221	return
17222}
17223
17224// ListProjects API operation for Amazon SageMaker Service.
17225//
17226// Gets a list of the projects in an AWS account.
17227//
17228// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
17229// with awserr.Error's Code and Message methods to get detailed information about
17230// the error.
17231//
17232// See the AWS API reference guide for Amazon SageMaker Service's
17233// API operation ListProjects for usage and error information.
17234// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListProjects
17235func (c *SageMaker) ListProjects(input *ListProjectsInput) (*ListProjectsOutput, error) {
17236	req, out := c.ListProjectsRequest(input)
17237	return out, req.Send()
17238}
17239
17240// ListProjectsWithContext is the same as ListProjects with the addition of
17241// the ability to pass a context and additional request options.
17242//
17243// See ListProjects for details on how to use this API operation.
17244//
17245// The context must be non-nil and will be used for request cancellation. If
17246// the context is nil a panic will occur. In the future the SDK may create
17247// sub-contexts for http.Requests. See https://golang.org/pkg/context/
17248// for more information on using Contexts.
17249func (c *SageMaker) ListProjectsWithContext(ctx aws.Context, input *ListProjectsInput, opts ...request.Option) (*ListProjectsOutput, error) {
17250	req, out := c.ListProjectsRequest(input)
17251	req.SetContext(ctx)
17252	req.ApplyOptions(opts...)
17253	return out, req.Send()
17254}
17255
17256// ListProjectsPages iterates over the pages of a ListProjects operation,
17257// calling the "fn" function with the response data for each page. To stop
17258// iterating, return false from the fn function.
17259//
17260// See ListProjects method for more information on how to use this operation.
17261//
17262// Note: This operation can generate multiple requests to a service.
17263//
17264//    // Example iterating over at most 3 pages of a ListProjects operation.
17265//    pageNum := 0
17266//    err := client.ListProjectsPages(params,
17267//        func(page *sagemaker.ListProjectsOutput, lastPage bool) bool {
17268//            pageNum++
17269//            fmt.Println(page)
17270//            return pageNum <= 3
17271//        })
17272//
17273func (c *SageMaker) ListProjectsPages(input *ListProjectsInput, fn func(*ListProjectsOutput, bool) bool) error {
17274	return c.ListProjectsPagesWithContext(aws.BackgroundContext(), input, fn)
17275}
17276
17277// ListProjectsPagesWithContext same as ListProjectsPages except
17278// it takes a Context and allows setting request options on the pages.
17279//
17280// The context must be non-nil and will be used for request cancellation. If
17281// the context is nil a panic will occur. In the future the SDK may create
17282// sub-contexts for http.Requests. See https://golang.org/pkg/context/
17283// for more information on using Contexts.
17284func (c *SageMaker) ListProjectsPagesWithContext(ctx aws.Context, input *ListProjectsInput, fn func(*ListProjectsOutput, bool) bool, opts ...request.Option) error {
17285	p := request.Pagination{
17286		NewRequest: func() (*request.Request, error) {
17287			var inCpy *ListProjectsInput
17288			if input != nil {
17289				tmp := *input
17290				inCpy = &tmp
17291			}
17292			req, _ := c.ListProjectsRequest(inCpy)
17293			req.SetContext(ctx)
17294			req.ApplyOptions(opts...)
17295			return req, nil
17296		},
17297	}
17298
17299	for p.Next() {
17300		if !fn(p.Page().(*ListProjectsOutput), !p.HasNextPage()) {
17301			break
17302		}
17303	}
17304
17305	return p.Err()
17306}
17307
17308const opListSubscribedWorkteams = "ListSubscribedWorkteams"
17309
17310// ListSubscribedWorkteamsRequest generates a "aws/request.Request" representing the
17311// client's request for the ListSubscribedWorkteams operation. The "output" return
17312// value will be populated with the request's response once the request completes
17313// successfully.
17314//
17315// Use "Send" method on the returned Request to send the API call to the service.
17316// the "output" return value is not valid until after Send returns without error.
17317//
17318// See ListSubscribedWorkteams for more information on using the ListSubscribedWorkteams
17319// API call, and error handling.
17320//
17321// This method is useful when you want to inject custom logic or configuration
17322// into the SDK's request lifecycle. Such as custom headers, or retry logic.
17323//
17324//
17325//    // Example sending a request using the ListSubscribedWorkteamsRequest method.
17326//    req, resp := client.ListSubscribedWorkteamsRequest(params)
17327//
17328//    err := req.Send()
17329//    if err == nil { // resp is now filled
17330//        fmt.Println(resp)
17331//    }
17332//
17333// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListSubscribedWorkteams
17334func (c *SageMaker) ListSubscribedWorkteamsRequest(input *ListSubscribedWorkteamsInput) (req *request.Request, output *ListSubscribedWorkteamsOutput) {
17335	op := &request.Operation{
17336		Name:       opListSubscribedWorkteams,
17337		HTTPMethod: "POST",
17338		HTTPPath:   "/",
17339		Paginator: &request.Paginator{
17340			InputTokens:     []string{"NextToken"},
17341			OutputTokens:    []string{"NextToken"},
17342			LimitToken:      "MaxResults",
17343			TruncationToken: "",
17344		},
17345	}
17346
17347	if input == nil {
17348		input = &ListSubscribedWorkteamsInput{}
17349	}
17350
17351	output = &ListSubscribedWorkteamsOutput{}
17352	req = c.newRequest(op, input, output)
17353	return
17354}
17355
17356// ListSubscribedWorkteams API operation for Amazon SageMaker Service.
17357//
17358// Gets a list of the work teams that you are subscribed to in the AWS Marketplace.
17359// The list may be empty if no work team satisfies the filter specified in the
17360// NameContains parameter.
17361//
17362// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
17363// with awserr.Error's Code and Message methods to get detailed information about
17364// the error.
17365//
17366// See the AWS API reference guide for Amazon SageMaker Service's
17367// API operation ListSubscribedWorkteams for usage and error information.
17368// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListSubscribedWorkteams
17369func (c *SageMaker) ListSubscribedWorkteams(input *ListSubscribedWorkteamsInput) (*ListSubscribedWorkteamsOutput, error) {
17370	req, out := c.ListSubscribedWorkteamsRequest(input)
17371	return out, req.Send()
17372}
17373
17374// ListSubscribedWorkteamsWithContext is the same as ListSubscribedWorkteams with the addition of
17375// the ability to pass a context and additional request options.
17376//
17377// See ListSubscribedWorkteams for details on how to use this API operation.
17378//
17379// The context must be non-nil and will be used for request cancellation. If
17380// the context is nil a panic will occur. In the future the SDK may create
17381// sub-contexts for http.Requests. See https://golang.org/pkg/context/
17382// for more information on using Contexts.
17383func (c *SageMaker) ListSubscribedWorkteamsWithContext(ctx aws.Context, input *ListSubscribedWorkteamsInput, opts ...request.Option) (*ListSubscribedWorkteamsOutput, error) {
17384	req, out := c.ListSubscribedWorkteamsRequest(input)
17385	req.SetContext(ctx)
17386	req.ApplyOptions(opts...)
17387	return out, req.Send()
17388}
17389
17390// ListSubscribedWorkteamsPages iterates over the pages of a ListSubscribedWorkteams operation,
17391// calling the "fn" function with the response data for each page. To stop
17392// iterating, return false from the fn function.
17393//
17394// See ListSubscribedWorkteams method for more information on how to use this operation.
17395//
17396// Note: This operation can generate multiple requests to a service.
17397//
17398//    // Example iterating over at most 3 pages of a ListSubscribedWorkteams operation.
17399//    pageNum := 0
17400//    err := client.ListSubscribedWorkteamsPages(params,
17401//        func(page *sagemaker.ListSubscribedWorkteamsOutput, lastPage bool) bool {
17402//            pageNum++
17403//            fmt.Println(page)
17404//            return pageNum <= 3
17405//        })
17406//
17407func (c *SageMaker) ListSubscribedWorkteamsPages(input *ListSubscribedWorkteamsInput, fn func(*ListSubscribedWorkteamsOutput, bool) bool) error {
17408	return c.ListSubscribedWorkteamsPagesWithContext(aws.BackgroundContext(), input, fn)
17409}
17410
17411// ListSubscribedWorkteamsPagesWithContext same as ListSubscribedWorkteamsPages except
17412// it takes a Context and allows setting request options on the pages.
17413//
17414// The context must be non-nil and will be used for request cancellation. If
17415// the context is nil a panic will occur. In the future the SDK may create
17416// sub-contexts for http.Requests. See https://golang.org/pkg/context/
17417// for more information on using Contexts.
17418func (c *SageMaker) ListSubscribedWorkteamsPagesWithContext(ctx aws.Context, input *ListSubscribedWorkteamsInput, fn func(*ListSubscribedWorkteamsOutput, bool) bool, opts ...request.Option) error {
17419	p := request.Pagination{
17420		NewRequest: func() (*request.Request, error) {
17421			var inCpy *ListSubscribedWorkteamsInput
17422			if input != nil {
17423				tmp := *input
17424				inCpy = &tmp
17425			}
17426			req, _ := c.ListSubscribedWorkteamsRequest(inCpy)
17427			req.SetContext(ctx)
17428			req.ApplyOptions(opts...)
17429			return req, nil
17430		},
17431	}
17432
17433	for p.Next() {
17434		if !fn(p.Page().(*ListSubscribedWorkteamsOutput), !p.HasNextPage()) {
17435			break
17436		}
17437	}
17438
17439	return p.Err()
17440}
17441
17442const opListTags = "ListTags"
17443
17444// ListTagsRequest generates a "aws/request.Request" representing the
17445// client's request for the ListTags operation. The "output" return
17446// value will be populated with the request's response once the request completes
17447// successfully.
17448//
17449// Use "Send" method on the returned Request to send the API call to the service.
17450// the "output" return value is not valid until after Send returns without error.
17451//
17452// See ListTags for more information on using the ListTags
17453// API call, and error handling.
17454//
17455// This method is useful when you want to inject custom logic or configuration
17456// into the SDK's request lifecycle. Such as custom headers, or retry logic.
17457//
17458//
17459//    // Example sending a request using the ListTagsRequest method.
17460//    req, resp := client.ListTagsRequest(params)
17461//
17462//    err := req.Send()
17463//    if err == nil { // resp is now filled
17464//        fmt.Println(resp)
17465//    }
17466//
17467// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTags
17468func (c *SageMaker) ListTagsRequest(input *ListTagsInput) (req *request.Request, output *ListTagsOutput) {
17469	op := &request.Operation{
17470		Name:       opListTags,
17471		HTTPMethod: "POST",
17472		HTTPPath:   "/",
17473		Paginator: &request.Paginator{
17474			InputTokens:     []string{"NextToken"},
17475			OutputTokens:    []string{"NextToken"},
17476			LimitToken:      "MaxResults",
17477			TruncationToken: "",
17478		},
17479	}
17480
17481	if input == nil {
17482		input = &ListTagsInput{}
17483	}
17484
17485	output = &ListTagsOutput{}
17486	req = c.newRequest(op, input, output)
17487	return
17488}
17489
17490// ListTags API operation for Amazon SageMaker Service.
17491//
17492// Returns the tags for the specified Amazon SageMaker resource.
17493//
17494// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
17495// with awserr.Error's Code and Message methods to get detailed information about
17496// the error.
17497//
17498// See the AWS API reference guide for Amazon SageMaker Service's
17499// API operation ListTags for usage and error information.
17500// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTags
17501func (c *SageMaker) ListTags(input *ListTagsInput) (*ListTagsOutput, error) {
17502	req, out := c.ListTagsRequest(input)
17503	return out, req.Send()
17504}
17505
17506// ListTagsWithContext is the same as ListTags with the addition of
17507// the ability to pass a context and additional request options.
17508//
17509// See ListTags for details on how to use this API operation.
17510//
17511// The context must be non-nil and will be used for request cancellation. If
17512// the context is nil a panic will occur. In the future the SDK may create
17513// sub-contexts for http.Requests. See https://golang.org/pkg/context/
17514// for more information on using Contexts.
17515func (c *SageMaker) ListTagsWithContext(ctx aws.Context, input *ListTagsInput, opts ...request.Option) (*ListTagsOutput, error) {
17516	req, out := c.ListTagsRequest(input)
17517	req.SetContext(ctx)
17518	req.ApplyOptions(opts...)
17519	return out, req.Send()
17520}
17521
17522// ListTagsPages iterates over the pages of a ListTags operation,
17523// calling the "fn" function with the response data for each page. To stop
17524// iterating, return false from the fn function.
17525//
17526// See ListTags method for more information on how to use this operation.
17527//
17528// Note: This operation can generate multiple requests to a service.
17529//
17530//    // Example iterating over at most 3 pages of a ListTags operation.
17531//    pageNum := 0
17532//    err := client.ListTagsPages(params,
17533//        func(page *sagemaker.ListTagsOutput, lastPage bool) bool {
17534//            pageNum++
17535//            fmt.Println(page)
17536//            return pageNum <= 3
17537//        })
17538//
17539func (c *SageMaker) ListTagsPages(input *ListTagsInput, fn func(*ListTagsOutput, bool) bool) error {
17540	return c.ListTagsPagesWithContext(aws.BackgroundContext(), input, fn)
17541}
17542
17543// ListTagsPagesWithContext same as ListTagsPages except
17544// it takes a Context and allows setting request options on the pages.
17545//
17546// The context must be non-nil and will be used for request cancellation. If
17547// the context is nil a panic will occur. In the future the SDK may create
17548// sub-contexts for http.Requests. See https://golang.org/pkg/context/
17549// for more information on using Contexts.
17550func (c *SageMaker) ListTagsPagesWithContext(ctx aws.Context, input *ListTagsInput, fn func(*ListTagsOutput, bool) bool, opts ...request.Option) error {
17551	p := request.Pagination{
17552		NewRequest: func() (*request.Request, error) {
17553			var inCpy *ListTagsInput
17554			if input != nil {
17555				tmp := *input
17556				inCpy = &tmp
17557			}
17558			req, _ := c.ListTagsRequest(inCpy)
17559			req.SetContext(ctx)
17560			req.ApplyOptions(opts...)
17561			return req, nil
17562		},
17563	}
17564
17565	for p.Next() {
17566		if !fn(p.Page().(*ListTagsOutput), !p.HasNextPage()) {
17567			break
17568		}
17569	}
17570
17571	return p.Err()
17572}
17573
17574const opListTrainingJobs = "ListTrainingJobs"
17575
17576// ListTrainingJobsRequest generates a "aws/request.Request" representing the
17577// client's request for the ListTrainingJobs operation. The "output" return
17578// value will be populated with the request's response once the request completes
17579// successfully.
17580//
17581// Use "Send" method on the returned Request to send the API call to the service.
17582// the "output" return value is not valid until after Send returns without error.
17583//
17584// See ListTrainingJobs for more information on using the ListTrainingJobs
17585// API call, and error handling.
17586//
17587// This method is useful when you want to inject custom logic or configuration
17588// into the SDK's request lifecycle. Such as custom headers, or retry logic.
17589//
17590//
17591//    // Example sending a request using the ListTrainingJobsRequest method.
17592//    req, resp := client.ListTrainingJobsRequest(params)
17593//
17594//    err := req.Send()
17595//    if err == nil { // resp is now filled
17596//        fmt.Println(resp)
17597//    }
17598//
17599// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrainingJobs
17600func (c *SageMaker) ListTrainingJobsRequest(input *ListTrainingJobsInput) (req *request.Request, output *ListTrainingJobsOutput) {
17601	op := &request.Operation{
17602		Name:       opListTrainingJobs,
17603		HTTPMethod: "POST",
17604		HTTPPath:   "/",
17605		Paginator: &request.Paginator{
17606			InputTokens:     []string{"NextToken"},
17607			OutputTokens:    []string{"NextToken"},
17608			LimitToken:      "MaxResults",
17609			TruncationToken: "",
17610		},
17611	}
17612
17613	if input == nil {
17614		input = &ListTrainingJobsInput{}
17615	}
17616
17617	output = &ListTrainingJobsOutput{}
17618	req = c.newRequest(op, input, output)
17619	return
17620}
17621
17622// ListTrainingJobs API operation for Amazon SageMaker Service.
17623//
17624// Lists training jobs.
17625//
17626// When StatusEquals and MaxResults are set at the same time, the MaxResults
17627// number of training jobs are first retrieved ignoring the StatusEquals parameter
17628// and then they are filtered by the StatusEquals parameter, which is returned
17629// as a response. For example, if ListTrainingJobs is invoked with the following
17630// parameters:
17631//
17632// { ... MaxResults: 100, StatusEquals: InProgress ... }
17633//
17634// Then, 100 trainings jobs with any status including those other than InProgress
17635// are selected first (sorted according the creation time, from the latest to
17636// the oldest) and those with status InProgress are returned.
17637//
17638// You can quickly test the API using the following AWS CLI code.
17639//
17640// aws sagemaker list-training-jobs --max-results 100 --status-equals InProgress
17641//
17642// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
17643// with awserr.Error's Code and Message methods to get detailed information about
17644// the error.
17645//
17646// See the AWS API reference guide for Amazon SageMaker Service's
17647// API operation ListTrainingJobs for usage and error information.
17648// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrainingJobs
17649func (c *SageMaker) ListTrainingJobs(input *ListTrainingJobsInput) (*ListTrainingJobsOutput, error) {
17650	req, out := c.ListTrainingJobsRequest(input)
17651	return out, req.Send()
17652}
17653
17654// ListTrainingJobsWithContext is the same as ListTrainingJobs with the addition of
17655// the ability to pass a context and additional request options.
17656//
17657// See ListTrainingJobs for details on how to use this API operation.
17658//
17659// The context must be non-nil and will be used for request cancellation. If
17660// the context is nil a panic will occur. In the future the SDK may create
17661// sub-contexts for http.Requests. See https://golang.org/pkg/context/
17662// for more information on using Contexts.
17663func (c *SageMaker) ListTrainingJobsWithContext(ctx aws.Context, input *ListTrainingJobsInput, opts ...request.Option) (*ListTrainingJobsOutput, error) {
17664	req, out := c.ListTrainingJobsRequest(input)
17665	req.SetContext(ctx)
17666	req.ApplyOptions(opts...)
17667	return out, req.Send()
17668}
17669
17670// ListTrainingJobsPages iterates over the pages of a ListTrainingJobs operation,
17671// calling the "fn" function with the response data for each page. To stop
17672// iterating, return false from the fn function.
17673//
17674// See ListTrainingJobs method for more information on how to use this operation.
17675//
17676// Note: This operation can generate multiple requests to a service.
17677//
17678//    // Example iterating over at most 3 pages of a ListTrainingJobs operation.
17679//    pageNum := 0
17680//    err := client.ListTrainingJobsPages(params,
17681//        func(page *sagemaker.ListTrainingJobsOutput, lastPage bool) bool {
17682//            pageNum++
17683//            fmt.Println(page)
17684//            return pageNum <= 3
17685//        })
17686//
17687func (c *SageMaker) ListTrainingJobsPages(input *ListTrainingJobsInput, fn func(*ListTrainingJobsOutput, bool) bool) error {
17688	return c.ListTrainingJobsPagesWithContext(aws.BackgroundContext(), input, fn)
17689}
17690
17691// ListTrainingJobsPagesWithContext same as ListTrainingJobsPages except
17692// it takes a Context and allows setting request options on the pages.
17693//
17694// The context must be non-nil and will be used for request cancellation. If
17695// the context is nil a panic will occur. In the future the SDK may create
17696// sub-contexts for http.Requests. See https://golang.org/pkg/context/
17697// for more information on using Contexts.
17698func (c *SageMaker) ListTrainingJobsPagesWithContext(ctx aws.Context, input *ListTrainingJobsInput, fn func(*ListTrainingJobsOutput, bool) bool, opts ...request.Option) error {
17699	p := request.Pagination{
17700		NewRequest: func() (*request.Request, error) {
17701			var inCpy *ListTrainingJobsInput
17702			if input != nil {
17703				tmp := *input
17704				inCpy = &tmp
17705			}
17706			req, _ := c.ListTrainingJobsRequest(inCpy)
17707			req.SetContext(ctx)
17708			req.ApplyOptions(opts...)
17709			return req, nil
17710		},
17711	}
17712
17713	for p.Next() {
17714		if !fn(p.Page().(*ListTrainingJobsOutput), !p.HasNextPage()) {
17715			break
17716		}
17717	}
17718
17719	return p.Err()
17720}
17721
17722const opListTrainingJobsForHyperParameterTuningJob = "ListTrainingJobsForHyperParameterTuningJob"
17723
17724// ListTrainingJobsForHyperParameterTuningJobRequest generates a "aws/request.Request" representing the
17725// client's request for the ListTrainingJobsForHyperParameterTuningJob operation. The "output" return
17726// value will be populated with the request's response once the request completes
17727// successfully.
17728//
17729// Use "Send" method on the returned Request to send the API call to the service.
17730// the "output" return value is not valid until after Send returns without error.
17731//
17732// See ListTrainingJobsForHyperParameterTuningJob for more information on using the ListTrainingJobsForHyperParameterTuningJob
17733// API call, and error handling.
17734//
17735// This method is useful when you want to inject custom logic or configuration
17736// into the SDK's request lifecycle. Such as custom headers, or retry logic.
17737//
17738//
17739//    // Example sending a request using the ListTrainingJobsForHyperParameterTuningJobRequest method.
17740//    req, resp := client.ListTrainingJobsForHyperParameterTuningJobRequest(params)
17741//
17742//    err := req.Send()
17743//    if err == nil { // resp is now filled
17744//        fmt.Println(resp)
17745//    }
17746//
17747// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrainingJobsForHyperParameterTuningJob
17748func (c *SageMaker) ListTrainingJobsForHyperParameterTuningJobRequest(input *ListTrainingJobsForHyperParameterTuningJobInput) (req *request.Request, output *ListTrainingJobsForHyperParameterTuningJobOutput) {
17749	op := &request.Operation{
17750		Name:       opListTrainingJobsForHyperParameterTuningJob,
17751		HTTPMethod: "POST",
17752		HTTPPath:   "/",
17753		Paginator: &request.Paginator{
17754			InputTokens:     []string{"NextToken"},
17755			OutputTokens:    []string{"NextToken"},
17756			LimitToken:      "MaxResults",
17757			TruncationToken: "",
17758		},
17759	}
17760
17761	if input == nil {
17762		input = &ListTrainingJobsForHyperParameterTuningJobInput{}
17763	}
17764
17765	output = &ListTrainingJobsForHyperParameterTuningJobOutput{}
17766	req = c.newRequest(op, input, output)
17767	return
17768}
17769
17770// ListTrainingJobsForHyperParameterTuningJob API operation for Amazon SageMaker Service.
17771//
17772// Gets a list of TrainingJobSummary objects that describe the training jobs
17773// that a hyperparameter tuning job launched.
17774//
17775// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
17776// with awserr.Error's Code and Message methods to get detailed information about
17777// the error.
17778//
17779// See the AWS API reference guide for Amazon SageMaker Service's
17780// API operation ListTrainingJobsForHyperParameterTuningJob for usage and error information.
17781//
17782// Returned Error Types:
17783//   * ResourceNotFound
17784//   Resource being access is not found.
17785//
17786// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrainingJobsForHyperParameterTuningJob
17787func (c *SageMaker) ListTrainingJobsForHyperParameterTuningJob(input *ListTrainingJobsForHyperParameterTuningJobInput) (*ListTrainingJobsForHyperParameterTuningJobOutput, error) {
17788	req, out := c.ListTrainingJobsForHyperParameterTuningJobRequest(input)
17789	return out, req.Send()
17790}
17791
17792// ListTrainingJobsForHyperParameterTuningJobWithContext is the same as ListTrainingJobsForHyperParameterTuningJob with the addition of
17793// the ability to pass a context and additional request options.
17794//
17795// See ListTrainingJobsForHyperParameterTuningJob for details on how to use this API operation.
17796//
17797// The context must be non-nil and will be used for request cancellation. If
17798// the context is nil a panic will occur. In the future the SDK may create
17799// sub-contexts for http.Requests. See https://golang.org/pkg/context/
17800// for more information on using Contexts.
17801func (c *SageMaker) ListTrainingJobsForHyperParameterTuningJobWithContext(ctx aws.Context, input *ListTrainingJobsForHyperParameterTuningJobInput, opts ...request.Option) (*ListTrainingJobsForHyperParameterTuningJobOutput, error) {
17802	req, out := c.ListTrainingJobsForHyperParameterTuningJobRequest(input)
17803	req.SetContext(ctx)
17804	req.ApplyOptions(opts...)
17805	return out, req.Send()
17806}
17807
17808// ListTrainingJobsForHyperParameterTuningJobPages iterates over the pages of a ListTrainingJobsForHyperParameterTuningJob operation,
17809// calling the "fn" function with the response data for each page. To stop
17810// iterating, return false from the fn function.
17811//
17812// See ListTrainingJobsForHyperParameterTuningJob method for more information on how to use this operation.
17813//
17814// Note: This operation can generate multiple requests to a service.
17815//
17816//    // Example iterating over at most 3 pages of a ListTrainingJobsForHyperParameterTuningJob operation.
17817//    pageNum := 0
17818//    err := client.ListTrainingJobsForHyperParameterTuningJobPages(params,
17819//        func(page *sagemaker.ListTrainingJobsForHyperParameterTuningJobOutput, lastPage bool) bool {
17820//            pageNum++
17821//            fmt.Println(page)
17822//            return pageNum <= 3
17823//        })
17824//
17825func (c *SageMaker) ListTrainingJobsForHyperParameterTuningJobPages(input *ListTrainingJobsForHyperParameterTuningJobInput, fn func(*ListTrainingJobsForHyperParameterTuningJobOutput, bool) bool) error {
17826	return c.ListTrainingJobsForHyperParameterTuningJobPagesWithContext(aws.BackgroundContext(), input, fn)
17827}
17828
17829// ListTrainingJobsForHyperParameterTuningJobPagesWithContext same as ListTrainingJobsForHyperParameterTuningJobPages except
17830// it takes a Context and allows setting request options on the pages.
17831//
17832// The context must be non-nil and will be used for request cancellation. If
17833// the context is nil a panic will occur. In the future the SDK may create
17834// sub-contexts for http.Requests. See https://golang.org/pkg/context/
17835// for more information on using Contexts.
17836func (c *SageMaker) ListTrainingJobsForHyperParameterTuningJobPagesWithContext(ctx aws.Context, input *ListTrainingJobsForHyperParameterTuningJobInput, fn func(*ListTrainingJobsForHyperParameterTuningJobOutput, bool) bool, opts ...request.Option) error {
17837	p := request.Pagination{
17838		NewRequest: func() (*request.Request, error) {
17839			var inCpy *ListTrainingJobsForHyperParameterTuningJobInput
17840			if input != nil {
17841				tmp := *input
17842				inCpy = &tmp
17843			}
17844			req, _ := c.ListTrainingJobsForHyperParameterTuningJobRequest(inCpy)
17845			req.SetContext(ctx)
17846			req.ApplyOptions(opts...)
17847			return req, nil
17848		},
17849	}
17850
17851	for p.Next() {
17852		if !fn(p.Page().(*ListTrainingJobsForHyperParameterTuningJobOutput), !p.HasNextPage()) {
17853			break
17854		}
17855	}
17856
17857	return p.Err()
17858}
17859
17860const opListTransformJobs = "ListTransformJobs"
17861
17862// ListTransformJobsRequest generates a "aws/request.Request" representing the
17863// client's request for the ListTransformJobs operation. The "output" return
17864// value will be populated with the request's response once the request completes
17865// successfully.
17866//
17867// Use "Send" method on the returned Request to send the API call to the service.
17868// the "output" return value is not valid until after Send returns without error.
17869//
17870// See ListTransformJobs for more information on using the ListTransformJobs
17871// API call, and error handling.
17872//
17873// This method is useful when you want to inject custom logic or configuration
17874// into the SDK's request lifecycle. Such as custom headers, or retry logic.
17875//
17876//
17877//    // Example sending a request using the ListTransformJobsRequest method.
17878//    req, resp := client.ListTransformJobsRequest(params)
17879//
17880//    err := req.Send()
17881//    if err == nil { // resp is now filled
17882//        fmt.Println(resp)
17883//    }
17884//
17885// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTransformJobs
17886func (c *SageMaker) ListTransformJobsRequest(input *ListTransformJobsInput) (req *request.Request, output *ListTransformJobsOutput) {
17887	op := &request.Operation{
17888		Name:       opListTransformJobs,
17889		HTTPMethod: "POST",
17890		HTTPPath:   "/",
17891		Paginator: &request.Paginator{
17892			InputTokens:     []string{"NextToken"},
17893			OutputTokens:    []string{"NextToken"},
17894			LimitToken:      "MaxResults",
17895			TruncationToken: "",
17896		},
17897	}
17898
17899	if input == nil {
17900		input = &ListTransformJobsInput{}
17901	}
17902
17903	output = &ListTransformJobsOutput{}
17904	req = c.newRequest(op, input, output)
17905	return
17906}
17907
17908// ListTransformJobs API operation for Amazon SageMaker Service.
17909//
17910// Lists transform jobs.
17911//
17912// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
17913// with awserr.Error's Code and Message methods to get detailed information about
17914// the error.
17915//
17916// See the AWS API reference guide for Amazon SageMaker Service's
17917// API operation ListTransformJobs for usage and error information.
17918// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTransformJobs
17919func (c *SageMaker) ListTransformJobs(input *ListTransformJobsInput) (*ListTransformJobsOutput, error) {
17920	req, out := c.ListTransformJobsRequest(input)
17921	return out, req.Send()
17922}
17923
17924// ListTransformJobsWithContext is the same as ListTransformJobs with the addition of
17925// the ability to pass a context and additional request options.
17926//
17927// See ListTransformJobs for details on how to use this API operation.
17928//
17929// The context must be non-nil and will be used for request cancellation. If
17930// the context is nil a panic will occur. In the future the SDK may create
17931// sub-contexts for http.Requests. See https://golang.org/pkg/context/
17932// for more information on using Contexts.
17933func (c *SageMaker) ListTransformJobsWithContext(ctx aws.Context, input *ListTransformJobsInput, opts ...request.Option) (*ListTransformJobsOutput, error) {
17934	req, out := c.ListTransformJobsRequest(input)
17935	req.SetContext(ctx)
17936	req.ApplyOptions(opts...)
17937	return out, req.Send()
17938}
17939
17940// ListTransformJobsPages iterates over the pages of a ListTransformJobs operation,
17941// calling the "fn" function with the response data for each page. To stop
17942// iterating, return false from the fn function.
17943//
17944// See ListTransformJobs method for more information on how to use this operation.
17945//
17946// Note: This operation can generate multiple requests to a service.
17947//
17948//    // Example iterating over at most 3 pages of a ListTransformJobs operation.
17949//    pageNum := 0
17950//    err := client.ListTransformJobsPages(params,
17951//        func(page *sagemaker.ListTransformJobsOutput, lastPage bool) bool {
17952//            pageNum++
17953//            fmt.Println(page)
17954//            return pageNum <= 3
17955//        })
17956//
17957func (c *SageMaker) ListTransformJobsPages(input *ListTransformJobsInput, fn func(*ListTransformJobsOutput, bool) bool) error {
17958	return c.ListTransformJobsPagesWithContext(aws.BackgroundContext(), input, fn)
17959}
17960
17961// ListTransformJobsPagesWithContext same as ListTransformJobsPages except
17962// it takes a Context and allows setting request options on the pages.
17963//
17964// The context must be non-nil and will be used for request cancellation. If
17965// the context is nil a panic will occur. In the future the SDK may create
17966// sub-contexts for http.Requests. See https://golang.org/pkg/context/
17967// for more information on using Contexts.
17968func (c *SageMaker) ListTransformJobsPagesWithContext(ctx aws.Context, input *ListTransformJobsInput, fn func(*ListTransformJobsOutput, bool) bool, opts ...request.Option) error {
17969	p := request.Pagination{
17970		NewRequest: func() (*request.Request, error) {
17971			var inCpy *ListTransformJobsInput
17972			if input != nil {
17973				tmp := *input
17974				inCpy = &tmp
17975			}
17976			req, _ := c.ListTransformJobsRequest(inCpy)
17977			req.SetContext(ctx)
17978			req.ApplyOptions(opts...)
17979			return req, nil
17980		},
17981	}
17982
17983	for p.Next() {
17984		if !fn(p.Page().(*ListTransformJobsOutput), !p.HasNextPage()) {
17985			break
17986		}
17987	}
17988
17989	return p.Err()
17990}
17991
17992const opListTrialComponents = "ListTrialComponents"
17993
17994// ListTrialComponentsRequest generates a "aws/request.Request" representing the
17995// client's request for the ListTrialComponents operation. The "output" return
17996// value will be populated with the request's response once the request completes
17997// successfully.
17998//
17999// Use "Send" method on the returned Request to send the API call to the service.
18000// the "output" return value is not valid until after Send returns without error.
18001//
18002// See ListTrialComponents for more information on using the ListTrialComponents
18003// API call, and error handling.
18004//
18005// This method is useful when you want to inject custom logic or configuration
18006// into the SDK's request lifecycle. Such as custom headers, or retry logic.
18007//
18008//
18009//    // Example sending a request using the ListTrialComponentsRequest method.
18010//    req, resp := client.ListTrialComponentsRequest(params)
18011//
18012//    err := req.Send()
18013//    if err == nil { // resp is now filled
18014//        fmt.Println(resp)
18015//    }
18016//
18017// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrialComponents
18018func (c *SageMaker) ListTrialComponentsRequest(input *ListTrialComponentsInput) (req *request.Request, output *ListTrialComponentsOutput) {
18019	op := &request.Operation{
18020		Name:       opListTrialComponents,
18021		HTTPMethod: "POST",
18022		HTTPPath:   "/",
18023		Paginator: &request.Paginator{
18024			InputTokens:     []string{"NextToken"},
18025			OutputTokens:    []string{"NextToken"},
18026			LimitToken:      "MaxResults",
18027			TruncationToken: "",
18028		},
18029	}
18030
18031	if input == nil {
18032		input = &ListTrialComponentsInput{}
18033	}
18034
18035	output = &ListTrialComponentsOutput{}
18036	req = c.newRequest(op, input, output)
18037	return
18038}
18039
18040// ListTrialComponents API operation for Amazon SageMaker Service.
18041//
18042// Lists the trial components in your account. You can sort the list by trial
18043// component name or creation time. You can filter the list to show only components
18044// that were created in a specific time range. You can also filter on one of
18045// the following:
18046//
18047//    * ExperimentName
18048//
18049//    * SourceArn
18050//
18051//    * TrialName
18052//
18053// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
18054// with awserr.Error's Code and Message methods to get detailed information about
18055// the error.
18056//
18057// See the AWS API reference guide for Amazon SageMaker Service's
18058// API operation ListTrialComponents for usage and error information.
18059//
18060// Returned Error Types:
18061//   * ResourceNotFound
18062//   Resource being access is not found.
18063//
18064// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrialComponents
18065func (c *SageMaker) ListTrialComponents(input *ListTrialComponentsInput) (*ListTrialComponentsOutput, error) {
18066	req, out := c.ListTrialComponentsRequest(input)
18067	return out, req.Send()
18068}
18069
18070// ListTrialComponentsWithContext is the same as ListTrialComponents with the addition of
18071// the ability to pass a context and additional request options.
18072//
18073// See ListTrialComponents for details on how to use this API operation.
18074//
18075// The context must be non-nil and will be used for request cancellation. If
18076// the context is nil a panic will occur. In the future the SDK may create
18077// sub-contexts for http.Requests. See https://golang.org/pkg/context/
18078// for more information on using Contexts.
18079func (c *SageMaker) ListTrialComponentsWithContext(ctx aws.Context, input *ListTrialComponentsInput, opts ...request.Option) (*ListTrialComponentsOutput, error) {
18080	req, out := c.ListTrialComponentsRequest(input)
18081	req.SetContext(ctx)
18082	req.ApplyOptions(opts...)
18083	return out, req.Send()
18084}
18085
18086// ListTrialComponentsPages iterates over the pages of a ListTrialComponents operation,
18087// calling the "fn" function with the response data for each page. To stop
18088// iterating, return false from the fn function.
18089//
18090// See ListTrialComponents method for more information on how to use this operation.
18091//
18092// Note: This operation can generate multiple requests to a service.
18093//
18094//    // Example iterating over at most 3 pages of a ListTrialComponents operation.
18095//    pageNum := 0
18096//    err := client.ListTrialComponentsPages(params,
18097//        func(page *sagemaker.ListTrialComponentsOutput, lastPage bool) bool {
18098//            pageNum++
18099//            fmt.Println(page)
18100//            return pageNum <= 3
18101//        })
18102//
18103func (c *SageMaker) ListTrialComponentsPages(input *ListTrialComponentsInput, fn func(*ListTrialComponentsOutput, bool) bool) error {
18104	return c.ListTrialComponentsPagesWithContext(aws.BackgroundContext(), input, fn)
18105}
18106
18107// ListTrialComponentsPagesWithContext same as ListTrialComponentsPages except
18108// it takes a Context and allows setting request options on the pages.
18109//
18110// The context must be non-nil and will be used for request cancellation. If
18111// the context is nil a panic will occur. In the future the SDK may create
18112// sub-contexts for http.Requests. See https://golang.org/pkg/context/
18113// for more information on using Contexts.
18114func (c *SageMaker) ListTrialComponentsPagesWithContext(ctx aws.Context, input *ListTrialComponentsInput, fn func(*ListTrialComponentsOutput, bool) bool, opts ...request.Option) error {
18115	p := request.Pagination{
18116		NewRequest: func() (*request.Request, error) {
18117			var inCpy *ListTrialComponentsInput
18118			if input != nil {
18119				tmp := *input
18120				inCpy = &tmp
18121			}
18122			req, _ := c.ListTrialComponentsRequest(inCpy)
18123			req.SetContext(ctx)
18124			req.ApplyOptions(opts...)
18125			return req, nil
18126		},
18127	}
18128
18129	for p.Next() {
18130		if !fn(p.Page().(*ListTrialComponentsOutput), !p.HasNextPage()) {
18131			break
18132		}
18133	}
18134
18135	return p.Err()
18136}
18137
18138const opListTrials = "ListTrials"
18139
18140// ListTrialsRequest generates a "aws/request.Request" representing the
18141// client's request for the ListTrials operation. The "output" return
18142// value will be populated with the request's response once the request completes
18143// successfully.
18144//
18145// Use "Send" method on the returned Request to send the API call to the service.
18146// the "output" return value is not valid until after Send returns without error.
18147//
18148// See ListTrials for more information on using the ListTrials
18149// API call, and error handling.
18150//
18151// This method is useful when you want to inject custom logic or configuration
18152// into the SDK's request lifecycle. Such as custom headers, or retry logic.
18153//
18154//
18155//    // Example sending a request using the ListTrialsRequest method.
18156//    req, resp := client.ListTrialsRequest(params)
18157//
18158//    err := req.Send()
18159//    if err == nil { // resp is now filled
18160//        fmt.Println(resp)
18161//    }
18162//
18163// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrials
18164func (c *SageMaker) ListTrialsRequest(input *ListTrialsInput) (req *request.Request, output *ListTrialsOutput) {
18165	op := &request.Operation{
18166		Name:       opListTrials,
18167		HTTPMethod: "POST",
18168		HTTPPath:   "/",
18169		Paginator: &request.Paginator{
18170			InputTokens:     []string{"NextToken"},
18171			OutputTokens:    []string{"NextToken"},
18172			LimitToken:      "MaxResults",
18173			TruncationToken: "",
18174		},
18175	}
18176
18177	if input == nil {
18178		input = &ListTrialsInput{}
18179	}
18180
18181	output = &ListTrialsOutput{}
18182	req = c.newRequest(op, input, output)
18183	return
18184}
18185
18186// ListTrials API operation for Amazon SageMaker Service.
18187//
18188// Lists the trials in your account. Specify an experiment name to limit the
18189// list to the trials that are part of that experiment. Specify a trial component
18190// name to limit the list to the trials that associated with that trial component.
18191// The list can be filtered to show only trials that were created in a specific
18192// time range. The list can be sorted by trial name or creation time.
18193//
18194// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
18195// with awserr.Error's Code and Message methods to get detailed information about
18196// the error.
18197//
18198// See the AWS API reference guide for Amazon SageMaker Service's
18199// API operation ListTrials for usage and error information.
18200//
18201// Returned Error Types:
18202//   * ResourceNotFound
18203//   Resource being access is not found.
18204//
18205// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrials
18206func (c *SageMaker) ListTrials(input *ListTrialsInput) (*ListTrialsOutput, error) {
18207	req, out := c.ListTrialsRequest(input)
18208	return out, req.Send()
18209}
18210
18211// ListTrialsWithContext is the same as ListTrials with the addition of
18212// the ability to pass a context and additional request options.
18213//
18214// See ListTrials for details on how to use this API operation.
18215//
18216// The context must be non-nil and will be used for request cancellation. If
18217// the context is nil a panic will occur. In the future the SDK may create
18218// sub-contexts for http.Requests. See https://golang.org/pkg/context/
18219// for more information on using Contexts.
18220func (c *SageMaker) ListTrialsWithContext(ctx aws.Context, input *ListTrialsInput, opts ...request.Option) (*ListTrialsOutput, error) {
18221	req, out := c.ListTrialsRequest(input)
18222	req.SetContext(ctx)
18223	req.ApplyOptions(opts...)
18224	return out, req.Send()
18225}
18226
18227// ListTrialsPages iterates over the pages of a ListTrials operation,
18228// calling the "fn" function with the response data for each page. To stop
18229// iterating, return false from the fn function.
18230//
18231// See ListTrials method for more information on how to use this operation.
18232//
18233// Note: This operation can generate multiple requests to a service.
18234//
18235//    // Example iterating over at most 3 pages of a ListTrials operation.
18236//    pageNum := 0
18237//    err := client.ListTrialsPages(params,
18238//        func(page *sagemaker.ListTrialsOutput, lastPage bool) bool {
18239//            pageNum++
18240//            fmt.Println(page)
18241//            return pageNum <= 3
18242//        })
18243//
18244func (c *SageMaker) ListTrialsPages(input *ListTrialsInput, fn func(*ListTrialsOutput, bool) bool) error {
18245	return c.ListTrialsPagesWithContext(aws.BackgroundContext(), input, fn)
18246}
18247
18248// ListTrialsPagesWithContext same as ListTrialsPages except
18249// it takes a Context and allows setting request options on the pages.
18250//
18251// The context must be non-nil and will be used for request cancellation. If
18252// the context is nil a panic will occur. In the future the SDK may create
18253// sub-contexts for http.Requests. See https://golang.org/pkg/context/
18254// for more information on using Contexts.
18255func (c *SageMaker) ListTrialsPagesWithContext(ctx aws.Context, input *ListTrialsInput, fn func(*ListTrialsOutput, bool) bool, opts ...request.Option) error {
18256	p := request.Pagination{
18257		NewRequest: func() (*request.Request, error) {
18258			var inCpy *ListTrialsInput
18259			if input != nil {
18260				tmp := *input
18261				inCpy = &tmp
18262			}
18263			req, _ := c.ListTrialsRequest(inCpy)
18264			req.SetContext(ctx)
18265			req.ApplyOptions(opts...)
18266			return req, nil
18267		},
18268	}
18269
18270	for p.Next() {
18271		if !fn(p.Page().(*ListTrialsOutput), !p.HasNextPage()) {
18272			break
18273		}
18274	}
18275
18276	return p.Err()
18277}
18278
18279const opListUserProfiles = "ListUserProfiles"
18280
18281// ListUserProfilesRequest generates a "aws/request.Request" representing the
18282// client's request for the ListUserProfiles operation. The "output" return
18283// value will be populated with the request's response once the request completes
18284// successfully.
18285//
18286// Use "Send" method on the returned Request to send the API call to the service.
18287// the "output" return value is not valid until after Send returns without error.
18288//
18289// See ListUserProfiles for more information on using the ListUserProfiles
18290// API call, and error handling.
18291//
18292// This method is useful when you want to inject custom logic or configuration
18293// into the SDK's request lifecycle. Such as custom headers, or retry logic.
18294//
18295//
18296//    // Example sending a request using the ListUserProfilesRequest method.
18297//    req, resp := client.ListUserProfilesRequest(params)
18298//
18299//    err := req.Send()
18300//    if err == nil { // resp is now filled
18301//        fmt.Println(resp)
18302//    }
18303//
18304// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListUserProfiles
18305func (c *SageMaker) ListUserProfilesRequest(input *ListUserProfilesInput) (req *request.Request, output *ListUserProfilesOutput) {
18306	op := &request.Operation{
18307		Name:       opListUserProfiles,
18308		HTTPMethod: "POST",
18309		HTTPPath:   "/",
18310		Paginator: &request.Paginator{
18311			InputTokens:     []string{"NextToken"},
18312			OutputTokens:    []string{"NextToken"},
18313			LimitToken:      "MaxResults",
18314			TruncationToken: "",
18315		},
18316	}
18317
18318	if input == nil {
18319		input = &ListUserProfilesInput{}
18320	}
18321
18322	output = &ListUserProfilesOutput{}
18323	req = c.newRequest(op, input, output)
18324	return
18325}
18326
18327// ListUserProfiles API operation for Amazon SageMaker Service.
18328//
18329// Lists user profiles.
18330//
18331// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
18332// with awserr.Error's Code and Message methods to get detailed information about
18333// the error.
18334//
18335// See the AWS API reference guide for Amazon SageMaker Service's
18336// API operation ListUserProfiles for usage and error information.
18337// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListUserProfiles
18338func (c *SageMaker) ListUserProfiles(input *ListUserProfilesInput) (*ListUserProfilesOutput, error) {
18339	req, out := c.ListUserProfilesRequest(input)
18340	return out, req.Send()
18341}
18342
18343// ListUserProfilesWithContext is the same as ListUserProfiles with the addition of
18344// the ability to pass a context and additional request options.
18345//
18346// See ListUserProfiles for details on how to use this API operation.
18347//
18348// The context must be non-nil and will be used for request cancellation. If
18349// the context is nil a panic will occur. In the future the SDK may create
18350// sub-contexts for http.Requests. See https://golang.org/pkg/context/
18351// for more information on using Contexts.
18352func (c *SageMaker) ListUserProfilesWithContext(ctx aws.Context, input *ListUserProfilesInput, opts ...request.Option) (*ListUserProfilesOutput, error) {
18353	req, out := c.ListUserProfilesRequest(input)
18354	req.SetContext(ctx)
18355	req.ApplyOptions(opts...)
18356	return out, req.Send()
18357}
18358
18359// ListUserProfilesPages iterates over the pages of a ListUserProfiles operation,
18360// calling the "fn" function with the response data for each page. To stop
18361// iterating, return false from the fn function.
18362//
18363// See ListUserProfiles method for more information on how to use this operation.
18364//
18365// Note: This operation can generate multiple requests to a service.
18366//
18367//    // Example iterating over at most 3 pages of a ListUserProfiles operation.
18368//    pageNum := 0
18369//    err := client.ListUserProfilesPages(params,
18370//        func(page *sagemaker.ListUserProfilesOutput, lastPage bool) bool {
18371//            pageNum++
18372//            fmt.Println(page)
18373//            return pageNum <= 3
18374//        })
18375//
18376func (c *SageMaker) ListUserProfilesPages(input *ListUserProfilesInput, fn func(*ListUserProfilesOutput, bool) bool) error {
18377	return c.ListUserProfilesPagesWithContext(aws.BackgroundContext(), input, fn)
18378}
18379
18380// ListUserProfilesPagesWithContext same as ListUserProfilesPages except
18381// it takes a Context and allows setting request options on the pages.
18382//
18383// The context must be non-nil and will be used for request cancellation. If
18384// the context is nil a panic will occur. In the future the SDK may create
18385// sub-contexts for http.Requests. See https://golang.org/pkg/context/
18386// for more information on using Contexts.
18387func (c *SageMaker) ListUserProfilesPagesWithContext(ctx aws.Context, input *ListUserProfilesInput, fn func(*ListUserProfilesOutput, bool) bool, opts ...request.Option) error {
18388	p := request.Pagination{
18389		NewRequest: func() (*request.Request, error) {
18390			var inCpy *ListUserProfilesInput
18391			if input != nil {
18392				tmp := *input
18393				inCpy = &tmp
18394			}
18395			req, _ := c.ListUserProfilesRequest(inCpy)
18396			req.SetContext(ctx)
18397			req.ApplyOptions(opts...)
18398			return req, nil
18399		},
18400	}
18401
18402	for p.Next() {
18403		if !fn(p.Page().(*ListUserProfilesOutput), !p.HasNextPage()) {
18404			break
18405		}
18406	}
18407
18408	return p.Err()
18409}
18410
18411const opListWorkforces = "ListWorkforces"
18412
18413// ListWorkforcesRequest generates a "aws/request.Request" representing the
18414// client's request for the ListWorkforces operation. The "output" return
18415// value will be populated with the request's response once the request completes
18416// successfully.
18417//
18418// Use "Send" method on the returned Request to send the API call to the service.
18419// the "output" return value is not valid until after Send returns without error.
18420//
18421// See ListWorkforces for more information on using the ListWorkforces
18422// API call, and error handling.
18423//
18424// This method is useful when you want to inject custom logic or configuration
18425// into the SDK's request lifecycle. Such as custom headers, or retry logic.
18426//
18427//
18428//    // Example sending a request using the ListWorkforcesRequest method.
18429//    req, resp := client.ListWorkforcesRequest(params)
18430//
18431//    err := req.Send()
18432//    if err == nil { // resp is now filled
18433//        fmt.Println(resp)
18434//    }
18435//
18436// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListWorkforces
18437func (c *SageMaker) ListWorkforcesRequest(input *ListWorkforcesInput) (req *request.Request, output *ListWorkforcesOutput) {
18438	op := &request.Operation{
18439		Name:       opListWorkforces,
18440		HTTPMethod: "POST",
18441		HTTPPath:   "/",
18442		Paginator: &request.Paginator{
18443			InputTokens:     []string{"NextToken"},
18444			OutputTokens:    []string{"NextToken"},
18445			LimitToken:      "MaxResults",
18446			TruncationToken: "",
18447		},
18448	}
18449
18450	if input == nil {
18451		input = &ListWorkforcesInput{}
18452	}
18453
18454	output = &ListWorkforcesOutput{}
18455	req = c.newRequest(op, input, output)
18456	return
18457}
18458
18459// ListWorkforces API operation for Amazon SageMaker Service.
18460//
18461// Use this operation to list all private and vendor workforces in an AWS Region.
18462// Note that you can only have one private workforce per AWS Region.
18463//
18464// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
18465// with awserr.Error's Code and Message methods to get detailed information about
18466// the error.
18467//
18468// See the AWS API reference guide for Amazon SageMaker Service's
18469// API operation ListWorkforces for usage and error information.
18470// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListWorkforces
18471func (c *SageMaker) ListWorkforces(input *ListWorkforcesInput) (*ListWorkforcesOutput, error) {
18472	req, out := c.ListWorkforcesRequest(input)
18473	return out, req.Send()
18474}
18475
18476// ListWorkforcesWithContext is the same as ListWorkforces with the addition of
18477// the ability to pass a context and additional request options.
18478//
18479// See ListWorkforces for details on how to use this API operation.
18480//
18481// The context must be non-nil and will be used for request cancellation. If
18482// the context is nil a panic will occur. In the future the SDK may create
18483// sub-contexts for http.Requests. See https://golang.org/pkg/context/
18484// for more information on using Contexts.
18485func (c *SageMaker) ListWorkforcesWithContext(ctx aws.Context, input *ListWorkforcesInput, opts ...request.Option) (*ListWorkforcesOutput, error) {
18486	req, out := c.ListWorkforcesRequest(input)
18487	req.SetContext(ctx)
18488	req.ApplyOptions(opts...)
18489	return out, req.Send()
18490}
18491
18492// ListWorkforcesPages iterates over the pages of a ListWorkforces operation,
18493// calling the "fn" function with the response data for each page. To stop
18494// iterating, return false from the fn function.
18495//
18496// See ListWorkforces method for more information on how to use this operation.
18497//
18498// Note: This operation can generate multiple requests to a service.
18499//
18500//    // Example iterating over at most 3 pages of a ListWorkforces operation.
18501//    pageNum := 0
18502//    err := client.ListWorkforcesPages(params,
18503//        func(page *sagemaker.ListWorkforcesOutput, lastPage bool) bool {
18504//            pageNum++
18505//            fmt.Println(page)
18506//            return pageNum <= 3
18507//        })
18508//
18509func (c *SageMaker) ListWorkforcesPages(input *ListWorkforcesInput, fn func(*ListWorkforcesOutput, bool) bool) error {
18510	return c.ListWorkforcesPagesWithContext(aws.BackgroundContext(), input, fn)
18511}
18512
18513// ListWorkforcesPagesWithContext same as ListWorkforcesPages except
18514// it takes a Context and allows setting request options on the pages.
18515//
18516// The context must be non-nil and will be used for request cancellation. If
18517// the context is nil a panic will occur. In the future the SDK may create
18518// sub-contexts for http.Requests. See https://golang.org/pkg/context/
18519// for more information on using Contexts.
18520func (c *SageMaker) ListWorkforcesPagesWithContext(ctx aws.Context, input *ListWorkforcesInput, fn func(*ListWorkforcesOutput, bool) bool, opts ...request.Option) error {
18521	p := request.Pagination{
18522		NewRequest: func() (*request.Request, error) {
18523			var inCpy *ListWorkforcesInput
18524			if input != nil {
18525				tmp := *input
18526				inCpy = &tmp
18527			}
18528			req, _ := c.ListWorkforcesRequest(inCpy)
18529			req.SetContext(ctx)
18530			req.ApplyOptions(opts...)
18531			return req, nil
18532		},
18533	}
18534
18535	for p.Next() {
18536		if !fn(p.Page().(*ListWorkforcesOutput), !p.HasNextPage()) {
18537			break
18538		}
18539	}
18540
18541	return p.Err()
18542}
18543
18544const opListWorkteams = "ListWorkteams"
18545
18546// ListWorkteamsRequest generates a "aws/request.Request" representing the
18547// client's request for the ListWorkteams operation. The "output" return
18548// value will be populated with the request's response once the request completes
18549// successfully.
18550//
18551// Use "Send" method on the returned Request to send the API call to the service.
18552// the "output" return value is not valid until after Send returns without error.
18553//
18554// See ListWorkteams for more information on using the ListWorkteams
18555// API call, and error handling.
18556//
18557// This method is useful when you want to inject custom logic or configuration
18558// into the SDK's request lifecycle. Such as custom headers, or retry logic.
18559//
18560//
18561//    // Example sending a request using the ListWorkteamsRequest method.
18562//    req, resp := client.ListWorkteamsRequest(params)
18563//
18564//    err := req.Send()
18565//    if err == nil { // resp is now filled
18566//        fmt.Println(resp)
18567//    }
18568//
18569// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListWorkteams
18570func (c *SageMaker) ListWorkteamsRequest(input *ListWorkteamsInput) (req *request.Request, output *ListWorkteamsOutput) {
18571	op := &request.Operation{
18572		Name:       opListWorkteams,
18573		HTTPMethod: "POST",
18574		HTTPPath:   "/",
18575		Paginator: &request.Paginator{
18576			InputTokens:     []string{"NextToken"},
18577			OutputTokens:    []string{"NextToken"},
18578			LimitToken:      "MaxResults",
18579			TruncationToken: "",
18580		},
18581	}
18582
18583	if input == nil {
18584		input = &ListWorkteamsInput{}
18585	}
18586
18587	output = &ListWorkteamsOutput{}
18588	req = c.newRequest(op, input, output)
18589	return
18590}
18591
18592// ListWorkteams API operation for Amazon SageMaker Service.
18593//
18594// Gets a list of private work teams that you have defined in a region. The
18595// list may be empty if no work team satisfies the filter specified in the NameContains
18596// parameter.
18597//
18598// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
18599// with awserr.Error's Code and Message methods to get detailed information about
18600// the error.
18601//
18602// See the AWS API reference guide for Amazon SageMaker Service's
18603// API operation ListWorkteams for usage and error information.
18604// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListWorkteams
18605func (c *SageMaker) ListWorkteams(input *ListWorkteamsInput) (*ListWorkteamsOutput, error) {
18606	req, out := c.ListWorkteamsRequest(input)
18607	return out, req.Send()
18608}
18609
18610// ListWorkteamsWithContext is the same as ListWorkteams with the addition of
18611// the ability to pass a context and additional request options.
18612//
18613// See ListWorkteams for details on how to use this API operation.
18614//
18615// The context must be non-nil and will be used for request cancellation. If
18616// the context is nil a panic will occur. In the future the SDK may create
18617// sub-contexts for http.Requests. See https://golang.org/pkg/context/
18618// for more information on using Contexts.
18619func (c *SageMaker) ListWorkteamsWithContext(ctx aws.Context, input *ListWorkteamsInput, opts ...request.Option) (*ListWorkteamsOutput, error) {
18620	req, out := c.ListWorkteamsRequest(input)
18621	req.SetContext(ctx)
18622	req.ApplyOptions(opts...)
18623	return out, req.Send()
18624}
18625
18626// ListWorkteamsPages iterates over the pages of a ListWorkteams operation,
18627// calling the "fn" function with the response data for each page. To stop
18628// iterating, return false from the fn function.
18629//
18630// See ListWorkteams method for more information on how to use this operation.
18631//
18632// Note: This operation can generate multiple requests to a service.
18633//
18634//    // Example iterating over at most 3 pages of a ListWorkteams operation.
18635//    pageNum := 0
18636//    err := client.ListWorkteamsPages(params,
18637//        func(page *sagemaker.ListWorkteamsOutput, lastPage bool) bool {
18638//            pageNum++
18639//            fmt.Println(page)
18640//            return pageNum <= 3
18641//        })
18642//
18643func (c *SageMaker) ListWorkteamsPages(input *ListWorkteamsInput, fn func(*ListWorkteamsOutput, bool) bool) error {
18644	return c.ListWorkteamsPagesWithContext(aws.BackgroundContext(), input, fn)
18645}
18646
18647// ListWorkteamsPagesWithContext same as ListWorkteamsPages except
18648// it takes a Context and allows setting request options on the pages.
18649//
18650// The context must be non-nil and will be used for request cancellation. If
18651// the context is nil a panic will occur. In the future the SDK may create
18652// sub-contexts for http.Requests. See https://golang.org/pkg/context/
18653// for more information on using Contexts.
18654func (c *SageMaker) ListWorkteamsPagesWithContext(ctx aws.Context, input *ListWorkteamsInput, fn func(*ListWorkteamsOutput, bool) bool, opts ...request.Option) error {
18655	p := request.Pagination{
18656		NewRequest: func() (*request.Request, error) {
18657			var inCpy *ListWorkteamsInput
18658			if input != nil {
18659				tmp := *input
18660				inCpy = &tmp
18661			}
18662			req, _ := c.ListWorkteamsRequest(inCpy)
18663			req.SetContext(ctx)
18664			req.ApplyOptions(opts...)
18665			return req, nil
18666		},
18667	}
18668
18669	for p.Next() {
18670		if !fn(p.Page().(*ListWorkteamsOutput), !p.HasNextPage()) {
18671			break
18672		}
18673	}
18674
18675	return p.Err()
18676}
18677
18678const opPutModelPackageGroupPolicy = "PutModelPackageGroupPolicy"
18679
18680// PutModelPackageGroupPolicyRequest generates a "aws/request.Request" representing the
18681// client's request for the PutModelPackageGroupPolicy operation. The "output" return
18682// value will be populated with the request's response once the request completes
18683// successfully.
18684//
18685// Use "Send" method on the returned Request to send the API call to the service.
18686// the "output" return value is not valid until after Send returns without error.
18687//
18688// See PutModelPackageGroupPolicy for more information on using the PutModelPackageGroupPolicy
18689// API call, and error handling.
18690//
18691// This method is useful when you want to inject custom logic or configuration
18692// into the SDK's request lifecycle. Such as custom headers, or retry logic.
18693//
18694//
18695//    // Example sending a request using the PutModelPackageGroupPolicyRequest method.
18696//    req, resp := client.PutModelPackageGroupPolicyRequest(params)
18697//
18698//    err := req.Send()
18699//    if err == nil { // resp is now filled
18700//        fmt.Println(resp)
18701//    }
18702//
18703// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/PutModelPackageGroupPolicy
18704func (c *SageMaker) PutModelPackageGroupPolicyRequest(input *PutModelPackageGroupPolicyInput) (req *request.Request, output *PutModelPackageGroupPolicyOutput) {
18705	op := &request.Operation{
18706		Name:       opPutModelPackageGroupPolicy,
18707		HTTPMethod: "POST",
18708		HTTPPath:   "/",
18709	}
18710
18711	if input == nil {
18712		input = &PutModelPackageGroupPolicyInput{}
18713	}
18714
18715	output = &PutModelPackageGroupPolicyOutput{}
18716	req = c.newRequest(op, input, output)
18717	return
18718}
18719
18720// PutModelPackageGroupPolicy API operation for Amazon SageMaker Service.
18721//
18722// Adds a resouce policy to control access to a model group. For information
18723// about resoure policies, see Identity-based policies and resource-based policies
18724// (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_identity-vs-resource.html)
18725// in the AWS Identity and Access Management User Guide..
18726//
18727// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
18728// with awserr.Error's Code and Message methods to get detailed information about
18729// the error.
18730//
18731// See the AWS API reference guide for Amazon SageMaker Service's
18732// API operation PutModelPackageGroupPolicy for usage and error information.
18733// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/PutModelPackageGroupPolicy
18734func (c *SageMaker) PutModelPackageGroupPolicy(input *PutModelPackageGroupPolicyInput) (*PutModelPackageGroupPolicyOutput, error) {
18735	req, out := c.PutModelPackageGroupPolicyRequest(input)
18736	return out, req.Send()
18737}
18738
18739// PutModelPackageGroupPolicyWithContext is the same as PutModelPackageGroupPolicy with the addition of
18740// the ability to pass a context and additional request options.
18741//
18742// See PutModelPackageGroupPolicy for details on how to use this API operation.
18743//
18744// The context must be non-nil and will be used for request cancellation. If
18745// the context is nil a panic will occur. In the future the SDK may create
18746// sub-contexts for http.Requests. See https://golang.org/pkg/context/
18747// for more information on using Contexts.
18748func (c *SageMaker) PutModelPackageGroupPolicyWithContext(ctx aws.Context, input *PutModelPackageGroupPolicyInput, opts ...request.Option) (*PutModelPackageGroupPolicyOutput, error) {
18749	req, out := c.PutModelPackageGroupPolicyRequest(input)
18750	req.SetContext(ctx)
18751	req.ApplyOptions(opts...)
18752	return out, req.Send()
18753}
18754
18755const opRegisterDevices = "RegisterDevices"
18756
18757// RegisterDevicesRequest generates a "aws/request.Request" representing the
18758// client's request for the RegisterDevices operation. The "output" return
18759// value will be populated with the request's response once the request completes
18760// successfully.
18761//
18762// Use "Send" method on the returned Request to send the API call to the service.
18763// the "output" return value is not valid until after Send returns without error.
18764//
18765// See RegisterDevices for more information on using the RegisterDevices
18766// API call, and error handling.
18767//
18768// This method is useful when you want to inject custom logic or configuration
18769// into the SDK's request lifecycle. Such as custom headers, or retry logic.
18770//
18771//
18772//    // Example sending a request using the RegisterDevicesRequest method.
18773//    req, resp := client.RegisterDevicesRequest(params)
18774//
18775//    err := req.Send()
18776//    if err == nil { // resp is now filled
18777//        fmt.Println(resp)
18778//    }
18779//
18780// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RegisterDevices
18781func (c *SageMaker) RegisterDevicesRequest(input *RegisterDevicesInput) (req *request.Request, output *RegisterDevicesOutput) {
18782	op := &request.Operation{
18783		Name:       opRegisterDevices,
18784		HTTPMethod: "POST",
18785		HTTPPath:   "/",
18786	}
18787
18788	if input == nil {
18789		input = &RegisterDevicesInput{}
18790	}
18791
18792	output = &RegisterDevicesOutput{}
18793	req = c.newRequest(op, input, output)
18794	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
18795	return
18796}
18797
18798// RegisterDevices API operation for Amazon SageMaker Service.
18799//
18800// Register devices.
18801//
18802// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
18803// with awserr.Error's Code and Message methods to get detailed information about
18804// the error.
18805//
18806// See the AWS API reference guide for Amazon SageMaker Service's
18807// API operation RegisterDevices for usage and error information.
18808//
18809// Returned Error Types:
18810//   * ResourceLimitExceeded
18811//   You have exceeded an Amazon SageMaker resource limit. For example, you might
18812//   have too many training jobs created.
18813//
18814// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RegisterDevices
18815func (c *SageMaker) RegisterDevices(input *RegisterDevicesInput) (*RegisterDevicesOutput, error) {
18816	req, out := c.RegisterDevicesRequest(input)
18817	return out, req.Send()
18818}
18819
18820// RegisterDevicesWithContext is the same as RegisterDevices with the addition of
18821// the ability to pass a context and additional request options.
18822//
18823// See RegisterDevices for details on how to use this API operation.
18824//
18825// The context must be non-nil and will be used for request cancellation. If
18826// the context is nil a panic will occur. In the future the SDK may create
18827// sub-contexts for http.Requests. See https://golang.org/pkg/context/
18828// for more information on using Contexts.
18829func (c *SageMaker) RegisterDevicesWithContext(ctx aws.Context, input *RegisterDevicesInput, opts ...request.Option) (*RegisterDevicesOutput, error) {
18830	req, out := c.RegisterDevicesRequest(input)
18831	req.SetContext(ctx)
18832	req.ApplyOptions(opts...)
18833	return out, req.Send()
18834}
18835
18836const opRenderUiTemplate = "RenderUiTemplate"
18837
18838// RenderUiTemplateRequest generates a "aws/request.Request" representing the
18839// client's request for the RenderUiTemplate operation. The "output" return
18840// value will be populated with the request's response once the request completes
18841// successfully.
18842//
18843// Use "Send" method on the returned Request to send the API call to the service.
18844// the "output" return value is not valid until after Send returns without error.
18845//
18846// See RenderUiTemplate for more information on using the RenderUiTemplate
18847// API call, and error handling.
18848//
18849// This method is useful when you want to inject custom logic or configuration
18850// into the SDK's request lifecycle. Such as custom headers, or retry logic.
18851//
18852//
18853//    // Example sending a request using the RenderUiTemplateRequest method.
18854//    req, resp := client.RenderUiTemplateRequest(params)
18855//
18856//    err := req.Send()
18857//    if err == nil { // resp is now filled
18858//        fmt.Println(resp)
18859//    }
18860//
18861// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RenderUiTemplate
18862func (c *SageMaker) RenderUiTemplateRequest(input *RenderUiTemplateInput) (req *request.Request, output *RenderUiTemplateOutput) {
18863	op := &request.Operation{
18864		Name:       opRenderUiTemplate,
18865		HTTPMethod: "POST",
18866		HTTPPath:   "/",
18867	}
18868
18869	if input == nil {
18870		input = &RenderUiTemplateInput{}
18871	}
18872
18873	output = &RenderUiTemplateOutput{}
18874	req = c.newRequest(op, input, output)
18875	return
18876}
18877
18878// RenderUiTemplate API operation for Amazon SageMaker Service.
18879//
18880// Renders the UI template so that you can preview the worker's experience.
18881//
18882// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
18883// with awserr.Error's Code and Message methods to get detailed information about
18884// the error.
18885//
18886// See the AWS API reference guide for Amazon SageMaker Service's
18887// API operation RenderUiTemplate for usage and error information.
18888//
18889// Returned Error Types:
18890//   * ResourceNotFound
18891//   Resource being access is not found.
18892//
18893// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RenderUiTemplate
18894func (c *SageMaker) RenderUiTemplate(input *RenderUiTemplateInput) (*RenderUiTemplateOutput, error) {
18895	req, out := c.RenderUiTemplateRequest(input)
18896	return out, req.Send()
18897}
18898
18899// RenderUiTemplateWithContext is the same as RenderUiTemplate with the addition of
18900// the ability to pass a context and additional request options.
18901//
18902// See RenderUiTemplate for details on how to use this API operation.
18903//
18904// The context must be non-nil and will be used for request cancellation. If
18905// the context is nil a panic will occur. In the future the SDK may create
18906// sub-contexts for http.Requests. See https://golang.org/pkg/context/
18907// for more information on using Contexts.
18908func (c *SageMaker) RenderUiTemplateWithContext(ctx aws.Context, input *RenderUiTemplateInput, opts ...request.Option) (*RenderUiTemplateOutput, error) {
18909	req, out := c.RenderUiTemplateRequest(input)
18910	req.SetContext(ctx)
18911	req.ApplyOptions(opts...)
18912	return out, req.Send()
18913}
18914
18915const opSearch = "Search"
18916
18917// SearchRequest generates a "aws/request.Request" representing the
18918// client's request for the Search operation. The "output" return
18919// value will be populated with the request's response once the request completes
18920// successfully.
18921//
18922// Use "Send" method on the returned Request to send the API call to the service.
18923// the "output" return value is not valid until after Send returns without error.
18924//
18925// See Search for more information on using the Search
18926// API call, and error handling.
18927//
18928// This method is useful when you want to inject custom logic or configuration
18929// into the SDK's request lifecycle. Such as custom headers, or retry logic.
18930//
18931//
18932//    // Example sending a request using the SearchRequest method.
18933//    req, resp := client.SearchRequest(params)
18934//
18935//    err := req.Send()
18936//    if err == nil { // resp is now filled
18937//        fmt.Println(resp)
18938//    }
18939//
18940// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/Search
18941func (c *SageMaker) SearchRequest(input *SearchInput) (req *request.Request, output *SearchOutput) {
18942	op := &request.Operation{
18943		Name:       opSearch,
18944		HTTPMethod: "POST",
18945		HTTPPath:   "/",
18946		Paginator: &request.Paginator{
18947			InputTokens:     []string{"NextToken"},
18948			OutputTokens:    []string{"NextToken"},
18949			LimitToken:      "MaxResults",
18950			TruncationToken: "",
18951		},
18952	}
18953
18954	if input == nil {
18955		input = &SearchInput{}
18956	}
18957
18958	output = &SearchOutput{}
18959	req = c.newRequest(op, input, output)
18960	return
18961}
18962
18963// Search API operation for Amazon SageMaker Service.
18964//
18965// Finds Amazon SageMaker resources that match a search query. Matching resources
18966// are returned as a list of SearchRecord objects in the response. You can sort
18967// the search results by any resource property in a ascending or descending
18968// order.
18969//
18970// You can query against the following value types: numeric, text, Boolean,
18971// and timestamp.
18972//
18973// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
18974// with awserr.Error's Code and Message methods to get detailed information about
18975// the error.
18976//
18977// See the AWS API reference guide for Amazon SageMaker Service's
18978// API operation Search for usage and error information.
18979// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/Search
18980func (c *SageMaker) Search(input *SearchInput) (*SearchOutput, error) {
18981	req, out := c.SearchRequest(input)
18982	return out, req.Send()
18983}
18984
18985// SearchWithContext is the same as Search with the addition of
18986// the ability to pass a context and additional request options.
18987//
18988// See Search for details on how to use this API operation.
18989//
18990// The context must be non-nil and will be used for request cancellation. If
18991// the context is nil a panic will occur. In the future the SDK may create
18992// sub-contexts for http.Requests. See https://golang.org/pkg/context/
18993// for more information on using Contexts.
18994func (c *SageMaker) SearchWithContext(ctx aws.Context, input *SearchInput, opts ...request.Option) (*SearchOutput, error) {
18995	req, out := c.SearchRequest(input)
18996	req.SetContext(ctx)
18997	req.ApplyOptions(opts...)
18998	return out, req.Send()
18999}
19000
19001// SearchPages iterates over the pages of a Search operation,
19002// calling the "fn" function with the response data for each page. To stop
19003// iterating, return false from the fn function.
19004//
19005// See Search method for more information on how to use this operation.
19006//
19007// Note: This operation can generate multiple requests to a service.
19008//
19009//    // Example iterating over at most 3 pages of a Search operation.
19010//    pageNum := 0
19011//    err := client.SearchPages(params,
19012//        func(page *sagemaker.SearchOutput, lastPage bool) bool {
19013//            pageNum++
19014//            fmt.Println(page)
19015//            return pageNum <= 3
19016//        })
19017//
19018func (c *SageMaker) SearchPages(input *SearchInput, fn func(*SearchOutput, bool) bool) error {
19019	return c.SearchPagesWithContext(aws.BackgroundContext(), input, fn)
19020}
19021
19022// SearchPagesWithContext same as SearchPages except
19023// it takes a Context and allows setting request options on the pages.
19024//
19025// The context must be non-nil and will be used for request cancellation. If
19026// the context is nil a panic will occur. In the future the SDK may create
19027// sub-contexts for http.Requests. See https://golang.org/pkg/context/
19028// for more information on using Contexts.
19029func (c *SageMaker) SearchPagesWithContext(ctx aws.Context, input *SearchInput, fn func(*SearchOutput, bool) bool, opts ...request.Option) error {
19030	p := request.Pagination{
19031		NewRequest: func() (*request.Request, error) {
19032			var inCpy *SearchInput
19033			if input != nil {
19034				tmp := *input
19035				inCpy = &tmp
19036			}
19037			req, _ := c.SearchRequest(inCpy)
19038			req.SetContext(ctx)
19039			req.ApplyOptions(opts...)
19040			return req, nil
19041		},
19042	}
19043
19044	for p.Next() {
19045		if !fn(p.Page().(*SearchOutput), !p.HasNextPage()) {
19046			break
19047		}
19048	}
19049
19050	return p.Err()
19051}
19052
19053const opStartMonitoringSchedule = "StartMonitoringSchedule"
19054
19055// StartMonitoringScheduleRequest generates a "aws/request.Request" representing the
19056// client's request for the StartMonitoringSchedule operation. The "output" return
19057// value will be populated with the request's response once the request completes
19058// successfully.
19059//
19060// Use "Send" method on the returned Request to send the API call to the service.
19061// the "output" return value is not valid until after Send returns without error.
19062//
19063// See StartMonitoringSchedule for more information on using the StartMonitoringSchedule
19064// API call, and error handling.
19065//
19066// This method is useful when you want to inject custom logic or configuration
19067// into the SDK's request lifecycle. Such as custom headers, or retry logic.
19068//
19069//
19070//    // Example sending a request using the StartMonitoringScheduleRequest method.
19071//    req, resp := client.StartMonitoringScheduleRequest(params)
19072//
19073//    err := req.Send()
19074//    if err == nil { // resp is now filled
19075//        fmt.Println(resp)
19076//    }
19077//
19078// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartMonitoringSchedule
19079func (c *SageMaker) StartMonitoringScheduleRequest(input *StartMonitoringScheduleInput) (req *request.Request, output *StartMonitoringScheduleOutput) {
19080	op := &request.Operation{
19081		Name:       opStartMonitoringSchedule,
19082		HTTPMethod: "POST",
19083		HTTPPath:   "/",
19084	}
19085
19086	if input == nil {
19087		input = &StartMonitoringScheduleInput{}
19088	}
19089
19090	output = &StartMonitoringScheduleOutput{}
19091	req = c.newRequest(op, input, output)
19092	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
19093	return
19094}
19095
19096// StartMonitoringSchedule API operation for Amazon SageMaker Service.
19097//
19098// Starts a previously stopped monitoring schedule.
19099//
19100// By default, when you successfully create a new schedule, the status of a
19101// monitoring schedule is scheduled.
19102//
19103// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
19104// with awserr.Error's Code and Message methods to get detailed information about
19105// the error.
19106//
19107// See the AWS API reference guide for Amazon SageMaker Service's
19108// API operation StartMonitoringSchedule for usage and error information.
19109//
19110// Returned Error Types:
19111//   * ResourceNotFound
19112//   Resource being access is not found.
19113//
19114// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartMonitoringSchedule
19115func (c *SageMaker) StartMonitoringSchedule(input *StartMonitoringScheduleInput) (*StartMonitoringScheduleOutput, error) {
19116	req, out := c.StartMonitoringScheduleRequest(input)
19117	return out, req.Send()
19118}
19119
19120// StartMonitoringScheduleWithContext is the same as StartMonitoringSchedule with the addition of
19121// the ability to pass a context and additional request options.
19122//
19123// See StartMonitoringSchedule for details on how to use this API operation.
19124//
19125// The context must be non-nil and will be used for request cancellation. If
19126// the context is nil a panic will occur. In the future the SDK may create
19127// sub-contexts for http.Requests. See https://golang.org/pkg/context/
19128// for more information on using Contexts.
19129func (c *SageMaker) StartMonitoringScheduleWithContext(ctx aws.Context, input *StartMonitoringScheduleInput, opts ...request.Option) (*StartMonitoringScheduleOutput, error) {
19130	req, out := c.StartMonitoringScheduleRequest(input)
19131	req.SetContext(ctx)
19132	req.ApplyOptions(opts...)
19133	return out, req.Send()
19134}
19135
19136const opStartNotebookInstance = "StartNotebookInstance"
19137
19138// StartNotebookInstanceRequest generates a "aws/request.Request" representing the
19139// client's request for the StartNotebookInstance operation. The "output" return
19140// value will be populated with the request's response once the request completes
19141// successfully.
19142//
19143// Use "Send" method on the returned Request to send the API call to the service.
19144// the "output" return value is not valid until after Send returns without error.
19145//
19146// See StartNotebookInstance for more information on using the StartNotebookInstance
19147// API call, and error handling.
19148//
19149// This method is useful when you want to inject custom logic or configuration
19150// into the SDK's request lifecycle. Such as custom headers, or retry logic.
19151//
19152//
19153//    // Example sending a request using the StartNotebookInstanceRequest method.
19154//    req, resp := client.StartNotebookInstanceRequest(params)
19155//
19156//    err := req.Send()
19157//    if err == nil { // resp is now filled
19158//        fmt.Println(resp)
19159//    }
19160//
19161// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartNotebookInstance
19162func (c *SageMaker) StartNotebookInstanceRequest(input *StartNotebookInstanceInput) (req *request.Request, output *StartNotebookInstanceOutput) {
19163	op := &request.Operation{
19164		Name:       opStartNotebookInstance,
19165		HTTPMethod: "POST",
19166		HTTPPath:   "/",
19167	}
19168
19169	if input == nil {
19170		input = &StartNotebookInstanceInput{}
19171	}
19172
19173	output = &StartNotebookInstanceOutput{}
19174	req = c.newRequest(op, input, output)
19175	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
19176	return
19177}
19178
19179// StartNotebookInstance API operation for Amazon SageMaker Service.
19180//
19181// Launches an ML compute instance with the latest version of the libraries
19182// and attaches your ML storage volume. After configuring the notebook instance,
19183// Amazon SageMaker sets the notebook instance status to InService. A notebook
19184// instance's status must be InService before you can connect to your Jupyter
19185// notebook.
19186//
19187// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
19188// with awserr.Error's Code and Message methods to get detailed information about
19189// the error.
19190//
19191// See the AWS API reference guide for Amazon SageMaker Service's
19192// API operation StartNotebookInstance for usage and error information.
19193//
19194// Returned Error Types:
19195//   * ResourceLimitExceeded
19196//   You have exceeded an Amazon SageMaker resource limit. For example, you might
19197//   have too many training jobs created.
19198//
19199// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartNotebookInstance
19200func (c *SageMaker) StartNotebookInstance(input *StartNotebookInstanceInput) (*StartNotebookInstanceOutput, error) {
19201	req, out := c.StartNotebookInstanceRequest(input)
19202	return out, req.Send()
19203}
19204
19205// StartNotebookInstanceWithContext is the same as StartNotebookInstance with the addition of
19206// the ability to pass a context and additional request options.
19207//
19208// See StartNotebookInstance for details on how to use this API operation.
19209//
19210// The context must be non-nil and will be used for request cancellation. If
19211// the context is nil a panic will occur. In the future the SDK may create
19212// sub-contexts for http.Requests. See https://golang.org/pkg/context/
19213// for more information on using Contexts.
19214func (c *SageMaker) StartNotebookInstanceWithContext(ctx aws.Context, input *StartNotebookInstanceInput, opts ...request.Option) (*StartNotebookInstanceOutput, error) {
19215	req, out := c.StartNotebookInstanceRequest(input)
19216	req.SetContext(ctx)
19217	req.ApplyOptions(opts...)
19218	return out, req.Send()
19219}
19220
19221const opStartPipelineExecution = "StartPipelineExecution"
19222
19223// StartPipelineExecutionRequest generates a "aws/request.Request" representing the
19224// client's request for the StartPipelineExecution operation. The "output" return
19225// value will be populated with the request's response once the request completes
19226// successfully.
19227//
19228// Use "Send" method on the returned Request to send the API call to the service.
19229// the "output" return value is not valid until after Send returns without error.
19230//
19231// See StartPipelineExecution for more information on using the StartPipelineExecution
19232// API call, and error handling.
19233//
19234// This method is useful when you want to inject custom logic or configuration
19235// into the SDK's request lifecycle. Such as custom headers, or retry logic.
19236//
19237//
19238//    // Example sending a request using the StartPipelineExecutionRequest method.
19239//    req, resp := client.StartPipelineExecutionRequest(params)
19240//
19241//    err := req.Send()
19242//    if err == nil { // resp is now filled
19243//        fmt.Println(resp)
19244//    }
19245//
19246// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartPipelineExecution
19247func (c *SageMaker) StartPipelineExecutionRequest(input *StartPipelineExecutionInput) (req *request.Request, output *StartPipelineExecutionOutput) {
19248	op := &request.Operation{
19249		Name:       opStartPipelineExecution,
19250		HTTPMethod: "POST",
19251		HTTPPath:   "/",
19252	}
19253
19254	if input == nil {
19255		input = &StartPipelineExecutionInput{}
19256	}
19257
19258	output = &StartPipelineExecutionOutput{}
19259	req = c.newRequest(op, input, output)
19260	return
19261}
19262
19263// StartPipelineExecution API operation for Amazon SageMaker Service.
19264//
19265// Starts a pipeline execution.
19266//
19267// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
19268// with awserr.Error's Code and Message methods to get detailed information about
19269// the error.
19270//
19271// See the AWS API reference guide for Amazon SageMaker Service's
19272// API operation StartPipelineExecution for usage and error information.
19273//
19274// Returned Error Types:
19275//   * ResourceNotFound
19276//   Resource being access is not found.
19277//
19278//   * ResourceLimitExceeded
19279//   You have exceeded an Amazon SageMaker resource limit. For example, you might
19280//   have too many training jobs created.
19281//
19282// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartPipelineExecution
19283func (c *SageMaker) StartPipelineExecution(input *StartPipelineExecutionInput) (*StartPipelineExecutionOutput, error) {
19284	req, out := c.StartPipelineExecutionRequest(input)
19285	return out, req.Send()
19286}
19287
19288// StartPipelineExecutionWithContext is the same as StartPipelineExecution with the addition of
19289// the ability to pass a context and additional request options.
19290//
19291// See StartPipelineExecution for details on how to use this API operation.
19292//
19293// The context must be non-nil and will be used for request cancellation. If
19294// the context is nil a panic will occur. In the future the SDK may create
19295// sub-contexts for http.Requests. See https://golang.org/pkg/context/
19296// for more information on using Contexts.
19297func (c *SageMaker) StartPipelineExecutionWithContext(ctx aws.Context, input *StartPipelineExecutionInput, opts ...request.Option) (*StartPipelineExecutionOutput, error) {
19298	req, out := c.StartPipelineExecutionRequest(input)
19299	req.SetContext(ctx)
19300	req.ApplyOptions(opts...)
19301	return out, req.Send()
19302}
19303
19304const opStopAutoMLJob = "StopAutoMLJob"
19305
19306// StopAutoMLJobRequest generates a "aws/request.Request" representing the
19307// client's request for the StopAutoMLJob operation. The "output" return
19308// value will be populated with the request's response once the request completes
19309// successfully.
19310//
19311// Use "Send" method on the returned Request to send the API call to the service.
19312// the "output" return value is not valid until after Send returns without error.
19313//
19314// See StopAutoMLJob for more information on using the StopAutoMLJob
19315// API call, and error handling.
19316//
19317// This method is useful when you want to inject custom logic or configuration
19318// into the SDK's request lifecycle. Such as custom headers, or retry logic.
19319//
19320//
19321//    // Example sending a request using the StopAutoMLJobRequest method.
19322//    req, resp := client.StopAutoMLJobRequest(params)
19323//
19324//    err := req.Send()
19325//    if err == nil { // resp is now filled
19326//        fmt.Println(resp)
19327//    }
19328//
19329// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopAutoMLJob
19330func (c *SageMaker) StopAutoMLJobRequest(input *StopAutoMLJobInput) (req *request.Request, output *StopAutoMLJobOutput) {
19331	op := &request.Operation{
19332		Name:       opStopAutoMLJob,
19333		HTTPMethod: "POST",
19334		HTTPPath:   "/",
19335	}
19336
19337	if input == nil {
19338		input = &StopAutoMLJobInput{}
19339	}
19340
19341	output = &StopAutoMLJobOutput{}
19342	req = c.newRequest(op, input, output)
19343	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
19344	return
19345}
19346
19347// StopAutoMLJob API operation for Amazon SageMaker Service.
19348//
19349// A method for forcing the termination of a running job.
19350//
19351// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
19352// with awserr.Error's Code and Message methods to get detailed information about
19353// the error.
19354//
19355// See the AWS API reference guide for Amazon SageMaker Service's
19356// API operation StopAutoMLJob for usage and error information.
19357//
19358// Returned Error Types:
19359//   * ResourceNotFound
19360//   Resource being access is not found.
19361//
19362// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopAutoMLJob
19363func (c *SageMaker) StopAutoMLJob(input *StopAutoMLJobInput) (*StopAutoMLJobOutput, error) {
19364	req, out := c.StopAutoMLJobRequest(input)
19365	return out, req.Send()
19366}
19367
19368// StopAutoMLJobWithContext is the same as StopAutoMLJob with the addition of
19369// the ability to pass a context and additional request options.
19370//
19371// See StopAutoMLJob for details on how to use this API operation.
19372//
19373// The context must be non-nil and will be used for request cancellation. If
19374// the context is nil a panic will occur. In the future the SDK may create
19375// sub-contexts for http.Requests. See https://golang.org/pkg/context/
19376// for more information on using Contexts.
19377func (c *SageMaker) StopAutoMLJobWithContext(ctx aws.Context, input *StopAutoMLJobInput, opts ...request.Option) (*StopAutoMLJobOutput, error) {
19378	req, out := c.StopAutoMLJobRequest(input)
19379	req.SetContext(ctx)
19380	req.ApplyOptions(opts...)
19381	return out, req.Send()
19382}
19383
19384const opStopCompilationJob = "StopCompilationJob"
19385
19386// StopCompilationJobRequest generates a "aws/request.Request" representing the
19387// client's request for the StopCompilationJob operation. The "output" return
19388// value will be populated with the request's response once the request completes
19389// successfully.
19390//
19391// Use "Send" method on the returned Request to send the API call to the service.
19392// the "output" return value is not valid until after Send returns without error.
19393//
19394// See StopCompilationJob for more information on using the StopCompilationJob
19395// API call, and error handling.
19396//
19397// This method is useful when you want to inject custom logic or configuration
19398// into the SDK's request lifecycle. Such as custom headers, or retry logic.
19399//
19400//
19401//    // Example sending a request using the StopCompilationJobRequest method.
19402//    req, resp := client.StopCompilationJobRequest(params)
19403//
19404//    err := req.Send()
19405//    if err == nil { // resp is now filled
19406//        fmt.Println(resp)
19407//    }
19408//
19409// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopCompilationJob
19410func (c *SageMaker) StopCompilationJobRequest(input *StopCompilationJobInput) (req *request.Request, output *StopCompilationJobOutput) {
19411	op := &request.Operation{
19412		Name:       opStopCompilationJob,
19413		HTTPMethod: "POST",
19414		HTTPPath:   "/",
19415	}
19416
19417	if input == nil {
19418		input = &StopCompilationJobInput{}
19419	}
19420
19421	output = &StopCompilationJobOutput{}
19422	req = c.newRequest(op, input, output)
19423	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
19424	return
19425}
19426
19427// StopCompilationJob API operation for Amazon SageMaker Service.
19428//
19429// Stops a model compilation job.
19430//
19431// To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal. This
19432// gracefully shuts the job down. If the job hasn't stopped, it sends the SIGKILL
19433// signal.
19434//
19435// When it receives a StopCompilationJob request, Amazon SageMaker changes the
19436// CompilationJobSummary$CompilationJobStatus of the job to Stopping. After
19437// Amazon SageMaker stops the job, it sets the CompilationJobSummary$CompilationJobStatus
19438// to Stopped.
19439//
19440// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
19441// with awserr.Error's Code and Message methods to get detailed information about
19442// the error.
19443//
19444// See the AWS API reference guide for Amazon SageMaker Service's
19445// API operation StopCompilationJob for usage and error information.
19446//
19447// Returned Error Types:
19448//   * ResourceNotFound
19449//   Resource being access is not found.
19450//
19451// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopCompilationJob
19452func (c *SageMaker) StopCompilationJob(input *StopCompilationJobInput) (*StopCompilationJobOutput, error) {
19453	req, out := c.StopCompilationJobRequest(input)
19454	return out, req.Send()
19455}
19456
19457// StopCompilationJobWithContext is the same as StopCompilationJob with the addition of
19458// the ability to pass a context and additional request options.
19459//
19460// See StopCompilationJob for details on how to use this API operation.
19461//
19462// The context must be non-nil and will be used for request cancellation. If
19463// the context is nil a panic will occur. In the future the SDK may create
19464// sub-contexts for http.Requests. See https://golang.org/pkg/context/
19465// for more information on using Contexts.
19466func (c *SageMaker) StopCompilationJobWithContext(ctx aws.Context, input *StopCompilationJobInput, opts ...request.Option) (*StopCompilationJobOutput, error) {
19467	req, out := c.StopCompilationJobRequest(input)
19468	req.SetContext(ctx)
19469	req.ApplyOptions(opts...)
19470	return out, req.Send()
19471}
19472
19473const opStopEdgePackagingJob = "StopEdgePackagingJob"
19474
19475// StopEdgePackagingJobRequest generates a "aws/request.Request" representing the
19476// client's request for the StopEdgePackagingJob operation. The "output" return
19477// value will be populated with the request's response once the request completes
19478// successfully.
19479//
19480// Use "Send" method on the returned Request to send the API call to the service.
19481// the "output" return value is not valid until after Send returns without error.
19482//
19483// See StopEdgePackagingJob for more information on using the StopEdgePackagingJob
19484// API call, and error handling.
19485//
19486// This method is useful when you want to inject custom logic or configuration
19487// into the SDK's request lifecycle. Such as custom headers, or retry logic.
19488//
19489//
19490//    // Example sending a request using the StopEdgePackagingJobRequest method.
19491//    req, resp := client.StopEdgePackagingJobRequest(params)
19492//
19493//    err := req.Send()
19494//    if err == nil { // resp is now filled
19495//        fmt.Println(resp)
19496//    }
19497//
19498// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopEdgePackagingJob
19499func (c *SageMaker) StopEdgePackagingJobRequest(input *StopEdgePackagingJobInput) (req *request.Request, output *StopEdgePackagingJobOutput) {
19500	op := &request.Operation{
19501		Name:       opStopEdgePackagingJob,
19502		HTTPMethod: "POST",
19503		HTTPPath:   "/",
19504	}
19505
19506	if input == nil {
19507		input = &StopEdgePackagingJobInput{}
19508	}
19509
19510	output = &StopEdgePackagingJobOutput{}
19511	req = c.newRequest(op, input, output)
19512	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
19513	return
19514}
19515
19516// StopEdgePackagingJob API operation for Amazon SageMaker Service.
19517//
19518// Request to stop an edge packaging job.
19519//
19520// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
19521// with awserr.Error's Code and Message methods to get detailed information about
19522// the error.
19523//
19524// See the AWS API reference guide for Amazon SageMaker Service's
19525// API operation StopEdgePackagingJob for usage and error information.
19526// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopEdgePackagingJob
19527func (c *SageMaker) StopEdgePackagingJob(input *StopEdgePackagingJobInput) (*StopEdgePackagingJobOutput, error) {
19528	req, out := c.StopEdgePackagingJobRequest(input)
19529	return out, req.Send()
19530}
19531
19532// StopEdgePackagingJobWithContext is the same as StopEdgePackagingJob with the addition of
19533// the ability to pass a context and additional request options.
19534//
19535// See StopEdgePackagingJob for details on how to use this API operation.
19536//
19537// The context must be non-nil and will be used for request cancellation. If
19538// the context is nil a panic will occur. In the future the SDK may create
19539// sub-contexts for http.Requests. See https://golang.org/pkg/context/
19540// for more information on using Contexts.
19541func (c *SageMaker) StopEdgePackagingJobWithContext(ctx aws.Context, input *StopEdgePackagingJobInput, opts ...request.Option) (*StopEdgePackagingJobOutput, error) {
19542	req, out := c.StopEdgePackagingJobRequest(input)
19543	req.SetContext(ctx)
19544	req.ApplyOptions(opts...)
19545	return out, req.Send()
19546}
19547
19548const opStopHyperParameterTuningJob = "StopHyperParameterTuningJob"
19549
19550// StopHyperParameterTuningJobRequest generates a "aws/request.Request" representing the
19551// client's request for the StopHyperParameterTuningJob operation. The "output" return
19552// value will be populated with the request's response once the request completes
19553// successfully.
19554//
19555// Use "Send" method on the returned Request to send the API call to the service.
19556// the "output" return value is not valid until after Send returns without error.
19557//
19558// See StopHyperParameterTuningJob for more information on using the StopHyperParameterTuningJob
19559// API call, and error handling.
19560//
19561// This method is useful when you want to inject custom logic or configuration
19562// into the SDK's request lifecycle. Such as custom headers, or retry logic.
19563//
19564//
19565//    // Example sending a request using the StopHyperParameterTuningJobRequest method.
19566//    req, resp := client.StopHyperParameterTuningJobRequest(params)
19567//
19568//    err := req.Send()
19569//    if err == nil { // resp is now filled
19570//        fmt.Println(resp)
19571//    }
19572//
19573// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopHyperParameterTuningJob
19574func (c *SageMaker) StopHyperParameterTuningJobRequest(input *StopHyperParameterTuningJobInput) (req *request.Request, output *StopHyperParameterTuningJobOutput) {
19575	op := &request.Operation{
19576		Name:       opStopHyperParameterTuningJob,
19577		HTTPMethod: "POST",
19578		HTTPPath:   "/",
19579	}
19580
19581	if input == nil {
19582		input = &StopHyperParameterTuningJobInput{}
19583	}
19584
19585	output = &StopHyperParameterTuningJobOutput{}
19586	req = c.newRequest(op, input, output)
19587	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
19588	return
19589}
19590
19591// StopHyperParameterTuningJob API operation for Amazon SageMaker Service.
19592//
19593// Stops a running hyperparameter tuning job and all running training jobs that
19594// the tuning job launched.
19595//
19596// All model artifacts output from the training jobs are stored in Amazon Simple
19597// Storage Service (Amazon S3). All data that the training jobs write to Amazon
19598// CloudWatch Logs are still available in CloudWatch. After the tuning job moves
19599// to the Stopped state, it releases all reserved resources for the tuning job.
19600//
19601// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
19602// with awserr.Error's Code and Message methods to get detailed information about
19603// the error.
19604//
19605// See the AWS API reference guide for Amazon SageMaker Service's
19606// API operation StopHyperParameterTuningJob for usage and error information.
19607//
19608// Returned Error Types:
19609//   * ResourceNotFound
19610//   Resource being access is not found.
19611//
19612// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopHyperParameterTuningJob
19613func (c *SageMaker) StopHyperParameterTuningJob(input *StopHyperParameterTuningJobInput) (*StopHyperParameterTuningJobOutput, error) {
19614	req, out := c.StopHyperParameterTuningJobRequest(input)
19615	return out, req.Send()
19616}
19617
19618// StopHyperParameterTuningJobWithContext is the same as StopHyperParameterTuningJob with the addition of
19619// the ability to pass a context and additional request options.
19620//
19621// See StopHyperParameterTuningJob for details on how to use this API operation.
19622//
19623// The context must be non-nil and will be used for request cancellation. If
19624// the context is nil a panic will occur. In the future the SDK may create
19625// sub-contexts for http.Requests. See https://golang.org/pkg/context/
19626// for more information on using Contexts.
19627func (c *SageMaker) StopHyperParameterTuningJobWithContext(ctx aws.Context, input *StopHyperParameterTuningJobInput, opts ...request.Option) (*StopHyperParameterTuningJobOutput, error) {
19628	req, out := c.StopHyperParameterTuningJobRequest(input)
19629	req.SetContext(ctx)
19630	req.ApplyOptions(opts...)
19631	return out, req.Send()
19632}
19633
19634const opStopLabelingJob = "StopLabelingJob"
19635
19636// StopLabelingJobRequest generates a "aws/request.Request" representing the
19637// client's request for the StopLabelingJob operation. The "output" return
19638// value will be populated with the request's response once the request completes
19639// successfully.
19640//
19641// Use "Send" method on the returned Request to send the API call to the service.
19642// the "output" return value is not valid until after Send returns without error.
19643//
19644// See StopLabelingJob for more information on using the StopLabelingJob
19645// API call, and error handling.
19646//
19647// This method is useful when you want to inject custom logic or configuration
19648// into the SDK's request lifecycle. Such as custom headers, or retry logic.
19649//
19650//
19651//    // Example sending a request using the StopLabelingJobRequest method.
19652//    req, resp := client.StopLabelingJobRequest(params)
19653//
19654//    err := req.Send()
19655//    if err == nil { // resp is now filled
19656//        fmt.Println(resp)
19657//    }
19658//
19659// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopLabelingJob
19660func (c *SageMaker) StopLabelingJobRequest(input *StopLabelingJobInput) (req *request.Request, output *StopLabelingJobOutput) {
19661	op := &request.Operation{
19662		Name:       opStopLabelingJob,
19663		HTTPMethod: "POST",
19664		HTTPPath:   "/",
19665	}
19666
19667	if input == nil {
19668		input = &StopLabelingJobInput{}
19669	}
19670
19671	output = &StopLabelingJobOutput{}
19672	req = c.newRequest(op, input, output)
19673	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
19674	return
19675}
19676
19677// StopLabelingJob API operation for Amazon SageMaker Service.
19678//
19679// Stops a running labeling job. A job that is stopped cannot be restarted.
19680// Any results obtained before the job is stopped are placed in the Amazon S3
19681// output bucket.
19682//
19683// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
19684// with awserr.Error's Code and Message methods to get detailed information about
19685// the error.
19686//
19687// See the AWS API reference guide for Amazon SageMaker Service's
19688// API operation StopLabelingJob for usage and error information.
19689//
19690// Returned Error Types:
19691//   * ResourceNotFound
19692//   Resource being access is not found.
19693//
19694// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopLabelingJob
19695func (c *SageMaker) StopLabelingJob(input *StopLabelingJobInput) (*StopLabelingJobOutput, error) {
19696	req, out := c.StopLabelingJobRequest(input)
19697	return out, req.Send()
19698}
19699
19700// StopLabelingJobWithContext is the same as StopLabelingJob with the addition of
19701// the ability to pass a context and additional request options.
19702//
19703// See StopLabelingJob for details on how to use this API operation.
19704//
19705// The context must be non-nil and will be used for request cancellation. If
19706// the context is nil a panic will occur. In the future the SDK may create
19707// sub-contexts for http.Requests. See https://golang.org/pkg/context/
19708// for more information on using Contexts.
19709func (c *SageMaker) StopLabelingJobWithContext(ctx aws.Context, input *StopLabelingJobInput, opts ...request.Option) (*StopLabelingJobOutput, error) {
19710	req, out := c.StopLabelingJobRequest(input)
19711	req.SetContext(ctx)
19712	req.ApplyOptions(opts...)
19713	return out, req.Send()
19714}
19715
19716const opStopMonitoringSchedule = "StopMonitoringSchedule"
19717
19718// StopMonitoringScheduleRequest generates a "aws/request.Request" representing the
19719// client's request for the StopMonitoringSchedule operation. The "output" return
19720// value will be populated with the request's response once the request completes
19721// successfully.
19722//
19723// Use "Send" method on the returned Request to send the API call to the service.
19724// the "output" return value is not valid until after Send returns without error.
19725//
19726// See StopMonitoringSchedule for more information on using the StopMonitoringSchedule
19727// API call, and error handling.
19728//
19729// This method is useful when you want to inject custom logic or configuration
19730// into the SDK's request lifecycle. Such as custom headers, or retry logic.
19731//
19732//
19733//    // Example sending a request using the StopMonitoringScheduleRequest method.
19734//    req, resp := client.StopMonitoringScheduleRequest(params)
19735//
19736//    err := req.Send()
19737//    if err == nil { // resp is now filled
19738//        fmt.Println(resp)
19739//    }
19740//
19741// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopMonitoringSchedule
19742func (c *SageMaker) StopMonitoringScheduleRequest(input *StopMonitoringScheduleInput) (req *request.Request, output *StopMonitoringScheduleOutput) {
19743	op := &request.Operation{
19744		Name:       opStopMonitoringSchedule,
19745		HTTPMethod: "POST",
19746		HTTPPath:   "/",
19747	}
19748
19749	if input == nil {
19750		input = &StopMonitoringScheduleInput{}
19751	}
19752
19753	output = &StopMonitoringScheduleOutput{}
19754	req = c.newRequest(op, input, output)
19755	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
19756	return
19757}
19758
19759// StopMonitoringSchedule API operation for Amazon SageMaker Service.
19760//
19761// Stops a previously started monitoring schedule.
19762//
19763// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
19764// with awserr.Error's Code and Message methods to get detailed information about
19765// the error.
19766//
19767// See the AWS API reference guide for Amazon SageMaker Service's
19768// API operation StopMonitoringSchedule for usage and error information.
19769//
19770// Returned Error Types:
19771//   * ResourceNotFound
19772//   Resource being access is not found.
19773//
19774// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopMonitoringSchedule
19775func (c *SageMaker) StopMonitoringSchedule(input *StopMonitoringScheduleInput) (*StopMonitoringScheduleOutput, error) {
19776	req, out := c.StopMonitoringScheduleRequest(input)
19777	return out, req.Send()
19778}
19779
19780// StopMonitoringScheduleWithContext is the same as StopMonitoringSchedule with the addition of
19781// the ability to pass a context and additional request options.
19782//
19783// See StopMonitoringSchedule for details on how to use this API operation.
19784//
19785// The context must be non-nil and will be used for request cancellation. If
19786// the context is nil a panic will occur. In the future the SDK may create
19787// sub-contexts for http.Requests. See https://golang.org/pkg/context/
19788// for more information on using Contexts.
19789func (c *SageMaker) StopMonitoringScheduleWithContext(ctx aws.Context, input *StopMonitoringScheduleInput, opts ...request.Option) (*StopMonitoringScheduleOutput, error) {
19790	req, out := c.StopMonitoringScheduleRequest(input)
19791	req.SetContext(ctx)
19792	req.ApplyOptions(opts...)
19793	return out, req.Send()
19794}
19795
19796const opStopNotebookInstance = "StopNotebookInstance"
19797
19798// StopNotebookInstanceRequest generates a "aws/request.Request" representing the
19799// client's request for the StopNotebookInstance operation. The "output" return
19800// value will be populated with the request's response once the request completes
19801// successfully.
19802//
19803// Use "Send" method on the returned Request to send the API call to the service.
19804// the "output" return value is not valid until after Send returns without error.
19805//
19806// See StopNotebookInstance for more information on using the StopNotebookInstance
19807// API call, and error handling.
19808//
19809// This method is useful when you want to inject custom logic or configuration
19810// into the SDK's request lifecycle. Such as custom headers, or retry logic.
19811//
19812//
19813//    // Example sending a request using the StopNotebookInstanceRequest method.
19814//    req, resp := client.StopNotebookInstanceRequest(params)
19815//
19816//    err := req.Send()
19817//    if err == nil { // resp is now filled
19818//        fmt.Println(resp)
19819//    }
19820//
19821// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopNotebookInstance
19822func (c *SageMaker) StopNotebookInstanceRequest(input *StopNotebookInstanceInput) (req *request.Request, output *StopNotebookInstanceOutput) {
19823	op := &request.Operation{
19824		Name:       opStopNotebookInstance,
19825		HTTPMethod: "POST",
19826		HTTPPath:   "/",
19827	}
19828
19829	if input == nil {
19830		input = &StopNotebookInstanceInput{}
19831	}
19832
19833	output = &StopNotebookInstanceOutput{}
19834	req = c.newRequest(op, input, output)
19835	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
19836	return
19837}
19838
19839// StopNotebookInstance API operation for Amazon SageMaker Service.
19840//
19841// Terminates the ML compute instance. Before terminating the instance, Amazon
19842// SageMaker disconnects the ML storage volume from it. Amazon SageMaker preserves
19843// the ML storage volume. Amazon SageMaker stops charging you for the ML compute
19844// instance when you call StopNotebookInstance.
19845//
19846// To access data on the ML storage volume for a notebook instance that has
19847// been terminated, call the StartNotebookInstance API. StartNotebookInstance
19848// launches another ML compute instance, configures it, and attaches the preserved
19849// ML storage volume so you can continue your work.
19850//
19851// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
19852// with awserr.Error's Code and Message methods to get detailed information about
19853// the error.
19854//
19855// See the AWS API reference guide for Amazon SageMaker Service's
19856// API operation StopNotebookInstance for usage and error information.
19857// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopNotebookInstance
19858func (c *SageMaker) StopNotebookInstance(input *StopNotebookInstanceInput) (*StopNotebookInstanceOutput, error) {
19859	req, out := c.StopNotebookInstanceRequest(input)
19860	return out, req.Send()
19861}
19862
19863// StopNotebookInstanceWithContext is the same as StopNotebookInstance with the addition of
19864// the ability to pass a context and additional request options.
19865//
19866// See StopNotebookInstance for details on how to use this API operation.
19867//
19868// The context must be non-nil and will be used for request cancellation. If
19869// the context is nil a panic will occur. In the future the SDK may create
19870// sub-contexts for http.Requests. See https://golang.org/pkg/context/
19871// for more information on using Contexts.
19872func (c *SageMaker) StopNotebookInstanceWithContext(ctx aws.Context, input *StopNotebookInstanceInput, opts ...request.Option) (*StopNotebookInstanceOutput, error) {
19873	req, out := c.StopNotebookInstanceRequest(input)
19874	req.SetContext(ctx)
19875	req.ApplyOptions(opts...)
19876	return out, req.Send()
19877}
19878
19879const opStopPipelineExecution = "StopPipelineExecution"
19880
19881// StopPipelineExecutionRequest generates a "aws/request.Request" representing the
19882// client's request for the StopPipelineExecution operation. The "output" return
19883// value will be populated with the request's response once the request completes
19884// successfully.
19885//
19886// Use "Send" method on the returned Request to send the API call to the service.
19887// the "output" return value is not valid until after Send returns without error.
19888//
19889// See StopPipelineExecution for more information on using the StopPipelineExecution
19890// API call, and error handling.
19891//
19892// This method is useful when you want to inject custom logic or configuration
19893// into the SDK's request lifecycle. Such as custom headers, or retry logic.
19894//
19895//
19896//    // Example sending a request using the StopPipelineExecutionRequest method.
19897//    req, resp := client.StopPipelineExecutionRequest(params)
19898//
19899//    err := req.Send()
19900//    if err == nil { // resp is now filled
19901//        fmt.Println(resp)
19902//    }
19903//
19904// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopPipelineExecution
19905func (c *SageMaker) StopPipelineExecutionRequest(input *StopPipelineExecutionInput) (req *request.Request, output *StopPipelineExecutionOutput) {
19906	op := &request.Operation{
19907		Name:       opStopPipelineExecution,
19908		HTTPMethod: "POST",
19909		HTTPPath:   "/",
19910	}
19911
19912	if input == nil {
19913		input = &StopPipelineExecutionInput{}
19914	}
19915
19916	output = &StopPipelineExecutionOutput{}
19917	req = c.newRequest(op, input, output)
19918	return
19919}
19920
19921// StopPipelineExecution API operation for Amazon SageMaker Service.
19922//
19923// Stops a pipeline execution.
19924//
19925// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
19926// with awserr.Error's Code and Message methods to get detailed information about
19927// the error.
19928//
19929// See the AWS API reference guide for Amazon SageMaker Service's
19930// API operation StopPipelineExecution for usage and error information.
19931//
19932// Returned Error Types:
19933//   * ResourceNotFound
19934//   Resource being access is not found.
19935//
19936// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopPipelineExecution
19937func (c *SageMaker) StopPipelineExecution(input *StopPipelineExecutionInput) (*StopPipelineExecutionOutput, error) {
19938	req, out := c.StopPipelineExecutionRequest(input)
19939	return out, req.Send()
19940}
19941
19942// StopPipelineExecutionWithContext is the same as StopPipelineExecution with the addition of
19943// the ability to pass a context and additional request options.
19944//
19945// See StopPipelineExecution for details on how to use this API operation.
19946//
19947// The context must be non-nil and will be used for request cancellation. If
19948// the context is nil a panic will occur. In the future the SDK may create
19949// sub-contexts for http.Requests. See https://golang.org/pkg/context/
19950// for more information on using Contexts.
19951func (c *SageMaker) StopPipelineExecutionWithContext(ctx aws.Context, input *StopPipelineExecutionInput, opts ...request.Option) (*StopPipelineExecutionOutput, error) {
19952	req, out := c.StopPipelineExecutionRequest(input)
19953	req.SetContext(ctx)
19954	req.ApplyOptions(opts...)
19955	return out, req.Send()
19956}
19957
19958const opStopProcessingJob = "StopProcessingJob"
19959
19960// StopProcessingJobRequest generates a "aws/request.Request" representing the
19961// client's request for the StopProcessingJob operation. The "output" return
19962// value will be populated with the request's response once the request completes
19963// successfully.
19964//
19965// Use "Send" method on the returned Request to send the API call to the service.
19966// the "output" return value is not valid until after Send returns without error.
19967//
19968// See StopProcessingJob for more information on using the StopProcessingJob
19969// API call, and error handling.
19970//
19971// This method is useful when you want to inject custom logic or configuration
19972// into the SDK's request lifecycle. Such as custom headers, or retry logic.
19973//
19974//
19975//    // Example sending a request using the StopProcessingJobRequest method.
19976//    req, resp := client.StopProcessingJobRequest(params)
19977//
19978//    err := req.Send()
19979//    if err == nil { // resp is now filled
19980//        fmt.Println(resp)
19981//    }
19982//
19983// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopProcessingJob
19984func (c *SageMaker) StopProcessingJobRequest(input *StopProcessingJobInput) (req *request.Request, output *StopProcessingJobOutput) {
19985	op := &request.Operation{
19986		Name:       opStopProcessingJob,
19987		HTTPMethod: "POST",
19988		HTTPPath:   "/",
19989	}
19990
19991	if input == nil {
19992		input = &StopProcessingJobInput{}
19993	}
19994
19995	output = &StopProcessingJobOutput{}
19996	req = c.newRequest(op, input, output)
19997	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
19998	return
19999}
20000
20001// StopProcessingJob API operation for Amazon SageMaker Service.
20002//
20003// Stops a processing job.
20004//
20005// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
20006// with awserr.Error's Code and Message methods to get detailed information about
20007// the error.
20008//
20009// See the AWS API reference guide for Amazon SageMaker Service's
20010// API operation StopProcessingJob for usage and error information.
20011//
20012// Returned Error Types:
20013//   * ResourceNotFound
20014//   Resource being access is not found.
20015//
20016// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopProcessingJob
20017func (c *SageMaker) StopProcessingJob(input *StopProcessingJobInput) (*StopProcessingJobOutput, error) {
20018	req, out := c.StopProcessingJobRequest(input)
20019	return out, req.Send()
20020}
20021
20022// StopProcessingJobWithContext is the same as StopProcessingJob with the addition of
20023// the ability to pass a context and additional request options.
20024//
20025// See StopProcessingJob for details on how to use this API operation.
20026//
20027// The context must be non-nil and will be used for request cancellation. If
20028// the context is nil a panic will occur. In the future the SDK may create
20029// sub-contexts for http.Requests. See https://golang.org/pkg/context/
20030// for more information on using Contexts.
20031func (c *SageMaker) StopProcessingJobWithContext(ctx aws.Context, input *StopProcessingJobInput, opts ...request.Option) (*StopProcessingJobOutput, error) {
20032	req, out := c.StopProcessingJobRequest(input)
20033	req.SetContext(ctx)
20034	req.ApplyOptions(opts...)
20035	return out, req.Send()
20036}
20037
20038const opStopTrainingJob = "StopTrainingJob"
20039
20040// StopTrainingJobRequest generates a "aws/request.Request" representing the
20041// client's request for the StopTrainingJob operation. The "output" return
20042// value will be populated with the request's response once the request completes
20043// successfully.
20044//
20045// Use "Send" method on the returned Request to send the API call to the service.
20046// the "output" return value is not valid until after Send returns without error.
20047//
20048// See StopTrainingJob for more information on using the StopTrainingJob
20049// API call, and error handling.
20050//
20051// This method is useful when you want to inject custom logic or configuration
20052// into the SDK's request lifecycle. Such as custom headers, or retry logic.
20053//
20054//
20055//    // Example sending a request using the StopTrainingJobRequest method.
20056//    req, resp := client.StopTrainingJobRequest(params)
20057//
20058//    err := req.Send()
20059//    if err == nil { // resp is now filled
20060//        fmt.Println(resp)
20061//    }
20062//
20063// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopTrainingJob
20064func (c *SageMaker) StopTrainingJobRequest(input *StopTrainingJobInput) (req *request.Request, output *StopTrainingJobOutput) {
20065	op := &request.Operation{
20066		Name:       opStopTrainingJob,
20067		HTTPMethod: "POST",
20068		HTTPPath:   "/",
20069	}
20070
20071	if input == nil {
20072		input = &StopTrainingJobInput{}
20073	}
20074
20075	output = &StopTrainingJobOutput{}
20076	req = c.newRequest(op, input, output)
20077	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
20078	return
20079}
20080
20081// StopTrainingJob API operation for Amazon SageMaker Service.
20082//
20083// Stops a training job. To stop a job, Amazon SageMaker sends the algorithm
20084// the SIGTERM signal, which delays job termination for 120 seconds. Algorithms
20085// might use this 120-second window to save the model artifacts, so the results
20086// of the training is not lost.
20087//
20088// When it receives a StopTrainingJob request, Amazon SageMaker changes the
20089// status of the job to Stopping. After Amazon SageMaker stops the job, it sets
20090// the status to Stopped.
20091//
20092// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
20093// with awserr.Error's Code and Message methods to get detailed information about
20094// the error.
20095//
20096// See the AWS API reference guide for Amazon SageMaker Service's
20097// API operation StopTrainingJob for usage and error information.
20098//
20099// Returned Error Types:
20100//   * ResourceNotFound
20101//   Resource being access is not found.
20102//
20103// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopTrainingJob
20104func (c *SageMaker) StopTrainingJob(input *StopTrainingJobInput) (*StopTrainingJobOutput, error) {
20105	req, out := c.StopTrainingJobRequest(input)
20106	return out, req.Send()
20107}
20108
20109// StopTrainingJobWithContext is the same as StopTrainingJob with the addition of
20110// the ability to pass a context and additional request options.
20111//
20112// See StopTrainingJob for details on how to use this API operation.
20113//
20114// The context must be non-nil and will be used for request cancellation. If
20115// the context is nil a panic will occur. In the future the SDK may create
20116// sub-contexts for http.Requests. See https://golang.org/pkg/context/
20117// for more information on using Contexts.
20118func (c *SageMaker) StopTrainingJobWithContext(ctx aws.Context, input *StopTrainingJobInput, opts ...request.Option) (*StopTrainingJobOutput, error) {
20119	req, out := c.StopTrainingJobRequest(input)
20120	req.SetContext(ctx)
20121	req.ApplyOptions(opts...)
20122	return out, req.Send()
20123}
20124
20125const opStopTransformJob = "StopTransformJob"
20126
20127// StopTransformJobRequest generates a "aws/request.Request" representing the
20128// client's request for the StopTransformJob operation. The "output" return
20129// value will be populated with the request's response once the request completes
20130// successfully.
20131//
20132// Use "Send" method on the returned Request to send the API call to the service.
20133// the "output" return value is not valid until after Send returns without error.
20134//
20135// See StopTransformJob for more information on using the StopTransformJob
20136// API call, and error handling.
20137//
20138// This method is useful when you want to inject custom logic or configuration
20139// into the SDK's request lifecycle. Such as custom headers, or retry logic.
20140//
20141//
20142//    // Example sending a request using the StopTransformJobRequest method.
20143//    req, resp := client.StopTransformJobRequest(params)
20144//
20145//    err := req.Send()
20146//    if err == nil { // resp is now filled
20147//        fmt.Println(resp)
20148//    }
20149//
20150// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopTransformJob
20151func (c *SageMaker) StopTransformJobRequest(input *StopTransformJobInput) (req *request.Request, output *StopTransformJobOutput) {
20152	op := &request.Operation{
20153		Name:       opStopTransformJob,
20154		HTTPMethod: "POST",
20155		HTTPPath:   "/",
20156	}
20157
20158	if input == nil {
20159		input = &StopTransformJobInput{}
20160	}
20161
20162	output = &StopTransformJobOutput{}
20163	req = c.newRequest(op, input, output)
20164	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
20165	return
20166}
20167
20168// StopTransformJob API operation for Amazon SageMaker Service.
20169//
20170// Stops a transform job.
20171//
20172// When Amazon SageMaker receives a StopTransformJob request, the status of
20173// the job changes to Stopping. After Amazon SageMaker stops the job, the status
20174// is set to Stopped. When you stop a transform job before it is completed,
20175// Amazon SageMaker doesn't store the job's output in Amazon S3.
20176//
20177// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
20178// with awserr.Error's Code and Message methods to get detailed information about
20179// the error.
20180//
20181// See the AWS API reference guide for Amazon SageMaker Service's
20182// API operation StopTransformJob for usage and error information.
20183//
20184// Returned Error Types:
20185//   * ResourceNotFound
20186//   Resource being access is not found.
20187//
20188// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopTransformJob
20189func (c *SageMaker) StopTransformJob(input *StopTransformJobInput) (*StopTransformJobOutput, error) {
20190	req, out := c.StopTransformJobRequest(input)
20191	return out, req.Send()
20192}
20193
20194// StopTransformJobWithContext is the same as StopTransformJob with the addition of
20195// the ability to pass a context and additional request options.
20196//
20197// See StopTransformJob for details on how to use this API operation.
20198//
20199// The context must be non-nil and will be used for request cancellation. If
20200// the context is nil a panic will occur. In the future the SDK may create
20201// sub-contexts for http.Requests. See https://golang.org/pkg/context/
20202// for more information on using Contexts.
20203func (c *SageMaker) StopTransformJobWithContext(ctx aws.Context, input *StopTransformJobInput, opts ...request.Option) (*StopTransformJobOutput, error) {
20204	req, out := c.StopTransformJobRequest(input)
20205	req.SetContext(ctx)
20206	req.ApplyOptions(opts...)
20207	return out, req.Send()
20208}
20209
20210const opUpdateAction = "UpdateAction"
20211
20212// UpdateActionRequest generates a "aws/request.Request" representing the
20213// client's request for the UpdateAction operation. The "output" return
20214// value will be populated with the request's response once the request completes
20215// successfully.
20216//
20217// Use "Send" method on the returned Request to send the API call to the service.
20218// the "output" return value is not valid until after Send returns without error.
20219//
20220// See UpdateAction for more information on using the UpdateAction
20221// API call, and error handling.
20222//
20223// This method is useful when you want to inject custom logic or configuration
20224// into the SDK's request lifecycle. Such as custom headers, or retry logic.
20225//
20226//
20227//    // Example sending a request using the UpdateActionRequest method.
20228//    req, resp := client.UpdateActionRequest(params)
20229//
20230//    err := req.Send()
20231//    if err == nil { // resp is now filled
20232//        fmt.Println(resp)
20233//    }
20234//
20235// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateAction
20236func (c *SageMaker) UpdateActionRequest(input *UpdateActionInput) (req *request.Request, output *UpdateActionOutput) {
20237	op := &request.Operation{
20238		Name:       opUpdateAction,
20239		HTTPMethod: "POST",
20240		HTTPPath:   "/",
20241	}
20242
20243	if input == nil {
20244		input = &UpdateActionInput{}
20245	}
20246
20247	output = &UpdateActionOutput{}
20248	req = c.newRequest(op, input, output)
20249	return
20250}
20251
20252// UpdateAction API operation for Amazon SageMaker Service.
20253//
20254// Updates an action.
20255//
20256// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
20257// with awserr.Error's Code and Message methods to get detailed information about
20258// the error.
20259//
20260// See the AWS API reference guide for Amazon SageMaker Service's
20261// API operation UpdateAction for usage and error information.
20262//
20263// Returned Error Types:
20264//   * ConflictException
20265//   There was a conflict when you attempted to modify an experiment, trial, or
20266//   trial component.
20267//
20268//   * ResourceNotFound
20269//   Resource being access is not found.
20270//
20271// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateAction
20272func (c *SageMaker) UpdateAction(input *UpdateActionInput) (*UpdateActionOutput, error) {
20273	req, out := c.UpdateActionRequest(input)
20274	return out, req.Send()
20275}
20276
20277// UpdateActionWithContext is the same as UpdateAction with the addition of
20278// the ability to pass a context and additional request options.
20279//
20280// See UpdateAction for details on how to use this API operation.
20281//
20282// The context must be non-nil and will be used for request cancellation. If
20283// the context is nil a panic will occur. In the future the SDK may create
20284// sub-contexts for http.Requests. See https://golang.org/pkg/context/
20285// for more information on using Contexts.
20286func (c *SageMaker) UpdateActionWithContext(ctx aws.Context, input *UpdateActionInput, opts ...request.Option) (*UpdateActionOutput, error) {
20287	req, out := c.UpdateActionRequest(input)
20288	req.SetContext(ctx)
20289	req.ApplyOptions(opts...)
20290	return out, req.Send()
20291}
20292
20293const opUpdateAppImageConfig = "UpdateAppImageConfig"
20294
20295// UpdateAppImageConfigRequest generates a "aws/request.Request" representing the
20296// client's request for the UpdateAppImageConfig operation. The "output" return
20297// value will be populated with the request's response once the request completes
20298// successfully.
20299//
20300// Use "Send" method on the returned Request to send the API call to the service.
20301// the "output" return value is not valid until after Send returns without error.
20302//
20303// See UpdateAppImageConfig for more information on using the UpdateAppImageConfig
20304// API call, and error handling.
20305//
20306// This method is useful when you want to inject custom logic or configuration
20307// into the SDK's request lifecycle. Such as custom headers, or retry logic.
20308//
20309//
20310//    // Example sending a request using the UpdateAppImageConfigRequest method.
20311//    req, resp := client.UpdateAppImageConfigRequest(params)
20312//
20313//    err := req.Send()
20314//    if err == nil { // resp is now filled
20315//        fmt.Println(resp)
20316//    }
20317//
20318// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateAppImageConfig
20319func (c *SageMaker) UpdateAppImageConfigRequest(input *UpdateAppImageConfigInput) (req *request.Request, output *UpdateAppImageConfigOutput) {
20320	op := &request.Operation{
20321		Name:       opUpdateAppImageConfig,
20322		HTTPMethod: "POST",
20323		HTTPPath:   "/",
20324	}
20325
20326	if input == nil {
20327		input = &UpdateAppImageConfigInput{}
20328	}
20329
20330	output = &UpdateAppImageConfigOutput{}
20331	req = c.newRequest(op, input, output)
20332	return
20333}
20334
20335// UpdateAppImageConfig API operation for Amazon SageMaker Service.
20336//
20337// Updates the properties of an AppImageConfig.
20338//
20339// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
20340// with awserr.Error's Code and Message methods to get detailed information about
20341// the error.
20342//
20343// See the AWS API reference guide for Amazon SageMaker Service's
20344// API operation UpdateAppImageConfig for usage and error information.
20345//
20346// Returned Error Types:
20347//   * ResourceNotFound
20348//   Resource being access is not found.
20349//
20350// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateAppImageConfig
20351func (c *SageMaker) UpdateAppImageConfig(input *UpdateAppImageConfigInput) (*UpdateAppImageConfigOutput, error) {
20352	req, out := c.UpdateAppImageConfigRequest(input)
20353	return out, req.Send()
20354}
20355
20356// UpdateAppImageConfigWithContext is the same as UpdateAppImageConfig with the addition of
20357// the ability to pass a context and additional request options.
20358//
20359// See UpdateAppImageConfig for details on how to use this API operation.
20360//
20361// The context must be non-nil and will be used for request cancellation. If
20362// the context is nil a panic will occur. In the future the SDK may create
20363// sub-contexts for http.Requests. See https://golang.org/pkg/context/
20364// for more information on using Contexts.
20365func (c *SageMaker) UpdateAppImageConfigWithContext(ctx aws.Context, input *UpdateAppImageConfigInput, opts ...request.Option) (*UpdateAppImageConfigOutput, error) {
20366	req, out := c.UpdateAppImageConfigRequest(input)
20367	req.SetContext(ctx)
20368	req.ApplyOptions(opts...)
20369	return out, req.Send()
20370}
20371
20372const opUpdateArtifact = "UpdateArtifact"
20373
20374// UpdateArtifactRequest generates a "aws/request.Request" representing the
20375// client's request for the UpdateArtifact operation. The "output" return
20376// value will be populated with the request's response once the request completes
20377// successfully.
20378//
20379// Use "Send" method on the returned Request to send the API call to the service.
20380// the "output" return value is not valid until after Send returns without error.
20381//
20382// See UpdateArtifact for more information on using the UpdateArtifact
20383// API call, and error handling.
20384//
20385// This method is useful when you want to inject custom logic or configuration
20386// into the SDK's request lifecycle. Such as custom headers, or retry logic.
20387//
20388//
20389//    // Example sending a request using the UpdateArtifactRequest method.
20390//    req, resp := client.UpdateArtifactRequest(params)
20391//
20392//    err := req.Send()
20393//    if err == nil { // resp is now filled
20394//        fmt.Println(resp)
20395//    }
20396//
20397// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateArtifact
20398func (c *SageMaker) UpdateArtifactRequest(input *UpdateArtifactInput) (req *request.Request, output *UpdateArtifactOutput) {
20399	op := &request.Operation{
20400		Name:       opUpdateArtifact,
20401		HTTPMethod: "POST",
20402		HTTPPath:   "/",
20403	}
20404
20405	if input == nil {
20406		input = &UpdateArtifactInput{}
20407	}
20408
20409	output = &UpdateArtifactOutput{}
20410	req = c.newRequest(op, input, output)
20411	return
20412}
20413
20414// UpdateArtifact API operation for Amazon SageMaker Service.
20415//
20416// Updates an artifact.
20417//
20418// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
20419// with awserr.Error's Code and Message methods to get detailed information about
20420// the error.
20421//
20422// See the AWS API reference guide for Amazon SageMaker Service's
20423// API operation UpdateArtifact for usage and error information.
20424//
20425// Returned Error Types:
20426//   * ConflictException
20427//   There was a conflict when you attempted to modify an experiment, trial, or
20428//   trial component.
20429//
20430//   * ResourceNotFound
20431//   Resource being access is not found.
20432//
20433// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateArtifact
20434func (c *SageMaker) UpdateArtifact(input *UpdateArtifactInput) (*UpdateArtifactOutput, error) {
20435	req, out := c.UpdateArtifactRequest(input)
20436	return out, req.Send()
20437}
20438
20439// UpdateArtifactWithContext is the same as UpdateArtifact with the addition of
20440// the ability to pass a context and additional request options.
20441//
20442// See UpdateArtifact for details on how to use this API operation.
20443//
20444// The context must be non-nil and will be used for request cancellation. If
20445// the context is nil a panic will occur. In the future the SDK may create
20446// sub-contexts for http.Requests. See https://golang.org/pkg/context/
20447// for more information on using Contexts.
20448func (c *SageMaker) UpdateArtifactWithContext(ctx aws.Context, input *UpdateArtifactInput, opts ...request.Option) (*UpdateArtifactOutput, error) {
20449	req, out := c.UpdateArtifactRequest(input)
20450	req.SetContext(ctx)
20451	req.ApplyOptions(opts...)
20452	return out, req.Send()
20453}
20454
20455const opUpdateCodeRepository = "UpdateCodeRepository"
20456
20457// UpdateCodeRepositoryRequest generates a "aws/request.Request" representing the
20458// client's request for the UpdateCodeRepository operation. The "output" return
20459// value will be populated with the request's response once the request completes
20460// successfully.
20461//
20462// Use "Send" method on the returned Request to send the API call to the service.
20463// the "output" return value is not valid until after Send returns without error.
20464//
20465// See UpdateCodeRepository for more information on using the UpdateCodeRepository
20466// API call, and error handling.
20467//
20468// This method is useful when you want to inject custom logic or configuration
20469// into the SDK's request lifecycle. Such as custom headers, or retry logic.
20470//
20471//
20472//    // Example sending a request using the UpdateCodeRepositoryRequest method.
20473//    req, resp := client.UpdateCodeRepositoryRequest(params)
20474//
20475//    err := req.Send()
20476//    if err == nil { // resp is now filled
20477//        fmt.Println(resp)
20478//    }
20479//
20480// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateCodeRepository
20481func (c *SageMaker) UpdateCodeRepositoryRequest(input *UpdateCodeRepositoryInput) (req *request.Request, output *UpdateCodeRepositoryOutput) {
20482	op := &request.Operation{
20483		Name:       opUpdateCodeRepository,
20484		HTTPMethod: "POST",
20485		HTTPPath:   "/",
20486	}
20487
20488	if input == nil {
20489		input = &UpdateCodeRepositoryInput{}
20490	}
20491
20492	output = &UpdateCodeRepositoryOutput{}
20493	req = c.newRequest(op, input, output)
20494	return
20495}
20496
20497// UpdateCodeRepository API operation for Amazon SageMaker Service.
20498//
20499// Updates the specified Git repository with the specified values.
20500//
20501// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
20502// with awserr.Error's Code and Message methods to get detailed information about
20503// the error.
20504//
20505// See the AWS API reference guide for Amazon SageMaker Service's
20506// API operation UpdateCodeRepository for usage and error information.
20507// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateCodeRepository
20508func (c *SageMaker) UpdateCodeRepository(input *UpdateCodeRepositoryInput) (*UpdateCodeRepositoryOutput, error) {
20509	req, out := c.UpdateCodeRepositoryRequest(input)
20510	return out, req.Send()
20511}
20512
20513// UpdateCodeRepositoryWithContext is the same as UpdateCodeRepository with the addition of
20514// the ability to pass a context and additional request options.
20515//
20516// See UpdateCodeRepository for details on how to use this API operation.
20517//
20518// The context must be non-nil and will be used for request cancellation. If
20519// the context is nil a panic will occur. In the future the SDK may create
20520// sub-contexts for http.Requests. See https://golang.org/pkg/context/
20521// for more information on using Contexts.
20522func (c *SageMaker) UpdateCodeRepositoryWithContext(ctx aws.Context, input *UpdateCodeRepositoryInput, opts ...request.Option) (*UpdateCodeRepositoryOutput, error) {
20523	req, out := c.UpdateCodeRepositoryRequest(input)
20524	req.SetContext(ctx)
20525	req.ApplyOptions(opts...)
20526	return out, req.Send()
20527}
20528
20529const opUpdateContext = "UpdateContext"
20530
20531// UpdateContextRequest generates a "aws/request.Request" representing the
20532// client's request for the UpdateContext operation. The "output" return
20533// value will be populated with the request's response once the request completes
20534// successfully.
20535//
20536// Use "Send" method on the returned Request to send the API call to the service.
20537// the "output" return value is not valid until after Send returns without error.
20538//
20539// See UpdateContext for more information on using the UpdateContext
20540// API call, and error handling.
20541//
20542// This method is useful when you want to inject custom logic or configuration
20543// into the SDK's request lifecycle. Such as custom headers, or retry logic.
20544//
20545//
20546//    // Example sending a request using the UpdateContextRequest method.
20547//    req, resp := client.UpdateContextRequest(params)
20548//
20549//    err := req.Send()
20550//    if err == nil { // resp is now filled
20551//        fmt.Println(resp)
20552//    }
20553//
20554// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateContext
20555func (c *SageMaker) UpdateContextRequest(input *UpdateContextInput) (req *request.Request, output *UpdateContextOutput) {
20556	op := &request.Operation{
20557		Name:       opUpdateContext,
20558		HTTPMethod: "POST",
20559		HTTPPath:   "/",
20560	}
20561
20562	if input == nil {
20563		input = &UpdateContextInput{}
20564	}
20565
20566	output = &UpdateContextOutput{}
20567	req = c.newRequest(op, input, output)
20568	return
20569}
20570
20571// UpdateContext API operation for Amazon SageMaker Service.
20572//
20573// Updates a context.
20574//
20575// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
20576// with awserr.Error's Code and Message methods to get detailed information about
20577// the error.
20578//
20579// See the AWS API reference guide for Amazon SageMaker Service's
20580// API operation UpdateContext for usage and error information.
20581//
20582// Returned Error Types:
20583//   * ConflictException
20584//   There was a conflict when you attempted to modify an experiment, trial, or
20585//   trial component.
20586//
20587//   * ResourceNotFound
20588//   Resource being access is not found.
20589//
20590// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateContext
20591func (c *SageMaker) UpdateContext(input *UpdateContextInput) (*UpdateContextOutput, error) {
20592	req, out := c.UpdateContextRequest(input)
20593	return out, req.Send()
20594}
20595
20596// UpdateContextWithContext is the same as UpdateContext with the addition of
20597// the ability to pass a context and additional request options.
20598//
20599// See UpdateContext for details on how to use this API operation.
20600//
20601// The context must be non-nil and will be used for request cancellation. If
20602// the context is nil a panic will occur. In the future the SDK may create
20603// sub-contexts for http.Requests. See https://golang.org/pkg/context/
20604// for more information on using Contexts.
20605func (c *SageMaker) UpdateContextWithContext(ctx aws.Context, input *UpdateContextInput, opts ...request.Option) (*UpdateContextOutput, error) {
20606	req, out := c.UpdateContextRequest(input)
20607	req.SetContext(ctx)
20608	req.ApplyOptions(opts...)
20609	return out, req.Send()
20610}
20611
20612const opUpdateDeviceFleet = "UpdateDeviceFleet"
20613
20614// UpdateDeviceFleetRequest generates a "aws/request.Request" representing the
20615// client's request for the UpdateDeviceFleet operation. The "output" return
20616// value will be populated with the request's response once the request completes
20617// successfully.
20618//
20619// Use "Send" method on the returned Request to send the API call to the service.
20620// the "output" return value is not valid until after Send returns without error.
20621//
20622// See UpdateDeviceFleet for more information on using the UpdateDeviceFleet
20623// API call, and error handling.
20624//
20625// This method is useful when you want to inject custom logic or configuration
20626// into the SDK's request lifecycle. Such as custom headers, or retry logic.
20627//
20628//
20629//    // Example sending a request using the UpdateDeviceFleetRequest method.
20630//    req, resp := client.UpdateDeviceFleetRequest(params)
20631//
20632//    err := req.Send()
20633//    if err == nil { // resp is now filled
20634//        fmt.Println(resp)
20635//    }
20636//
20637// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateDeviceFleet
20638func (c *SageMaker) UpdateDeviceFleetRequest(input *UpdateDeviceFleetInput) (req *request.Request, output *UpdateDeviceFleetOutput) {
20639	op := &request.Operation{
20640		Name:       opUpdateDeviceFleet,
20641		HTTPMethod: "POST",
20642		HTTPPath:   "/",
20643	}
20644
20645	if input == nil {
20646		input = &UpdateDeviceFleetInput{}
20647	}
20648
20649	output = &UpdateDeviceFleetOutput{}
20650	req = c.newRequest(op, input, output)
20651	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
20652	return
20653}
20654
20655// UpdateDeviceFleet API operation for Amazon SageMaker Service.
20656//
20657// Updates a fleet of devices.
20658//
20659// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
20660// with awserr.Error's Code and Message methods to get detailed information about
20661// the error.
20662//
20663// See the AWS API reference guide for Amazon SageMaker Service's
20664// API operation UpdateDeviceFleet for usage and error information.
20665//
20666// Returned Error Types:
20667//   * ResourceInUse
20668//   Resource being accessed is in use.
20669//
20670// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateDeviceFleet
20671func (c *SageMaker) UpdateDeviceFleet(input *UpdateDeviceFleetInput) (*UpdateDeviceFleetOutput, error) {
20672	req, out := c.UpdateDeviceFleetRequest(input)
20673	return out, req.Send()
20674}
20675
20676// UpdateDeviceFleetWithContext is the same as UpdateDeviceFleet with the addition of
20677// the ability to pass a context and additional request options.
20678//
20679// See UpdateDeviceFleet for details on how to use this API operation.
20680//
20681// The context must be non-nil and will be used for request cancellation. If
20682// the context is nil a panic will occur. In the future the SDK may create
20683// sub-contexts for http.Requests. See https://golang.org/pkg/context/
20684// for more information on using Contexts.
20685func (c *SageMaker) UpdateDeviceFleetWithContext(ctx aws.Context, input *UpdateDeviceFleetInput, opts ...request.Option) (*UpdateDeviceFleetOutput, error) {
20686	req, out := c.UpdateDeviceFleetRequest(input)
20687	req.SetContext(ctx)
20688	req.ApplyOptions(opts...)
20689	return out, req.Send()
20690}
20691
20692const opUpdateDevices = "UpdateDevices"
20693
20694// UpdateDevicesRequest generates a "aws/request.Request" representing the
20695// client's request for the UpdateDevices operation. The "output" return
20696// value will be populated with the request's response once the request completes
20697// successfully.
20698//
20699// Use "Send" method on the returned Request to send the API call to the service.
20700// the "output" return value is not valid until after Send returns without error.
20701//
20702// See UpdateDevices for more information on using the UpdateDevices
20703// API call, and error handling.
20704//
20705// This method is useful when you want to inject custom logic or configuration
20706// into the SDK's request lifecycle. Such as custom headers, or retry logic.
20707//
20708//
20709//    // Example sending a request using the UpdateDevicesRequest method.
20710//    req, resp := client.UpdateDevicesRequest(params)
20711//
20712//    err := req.Send()
20713//    if err == nil { // resp is now filled
20714//        fmt.Println(resp)
20715//    }
20716//
20717// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateDevices
20718func (c *SageMaker) UpdateDevicesRequest(input *UpdateDevicesInput) (req *request.Request, output *UpdateDevicesOutput) {
20719	op := &request.Operation{
20720		Name:       opUpdateDevices,
20721		HTTPMethod: "POST",
20722		HTTPPath:   "/",
20723	}
20724
20725	if input == nil {
20726		input = &UpdateDevicesInput{}
20727	}
20728
20729	output = &UpdateDevicesOutput{}
20730	req = c.newRequest(op, input, output)
20731	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
20732	return
20733}
20734
20735// UpdateDevices API operation for Amazon SageMaker Service.
20736//
20737// Updates one or more devices in a fleet.
20738//
20739// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
20740// with awserr.Error's Code and Message methods to get detailed information about
20741// the error.
20742//
20743// See the AWS API reference guide for Amazon SageMaker Service's
20744// API operation UpdateDevices for usage and error information.
20745// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateDevices
20746func (c *SageMaker) UpdateDevices(input *UpdateDevicesInput) (*UpdateDevicesOutput, error) {
20747	req, out := c.UpdateDevicesRequest(input)
20748	return out, req.Send()
20749}
20750
20751// UpdateDevicesWithContext is the same as UpdateDevices with the addition of
20752// the ability to pass a context and additional request options.
20753//
20754// See UpdateDevices for details on how to use this API operation.
20755//
20756// The context must be non-nil and will be used for request cancellation. If
20757// the context is nil a panic will occur. In the future the SDK may create
20758// sub-contexts for http.Requests. See https://golang.org/pkg/context/
20759// for more information on using Contexts.
20760func (c *SageMaker) UpdateDevicesWithContext(ctx aws.Context, input *UpdateDevicesInput, opts ...request.Option) (*UpdateDevicesOutput, error) {
20761	req, out := c.UpdateDevicesRequest(input)
20762	req.SetContext(ctx)
20763	req.ApplyOptions(opts...)
20764	return out, req.Send()
20765}
20766
20767const opUpdateDomain = "UpdateDomain"
20768
20769// UpdateDomainRequest generates a "aws/request.Request" representing the
20770// client's request for the UpdateDomain operation. The "output" return
20771// value will be populated with the request's response once the request completes
20772// successfully.
20773//
20774// Use "Send" method on the returned Request to send the API call to the service.
20775// the "output" return value is not valid until after Send returns without error.
20776//
20777// See UpdateDomain for more information on using the UpdateDomain
20778// API call, and error handling.
20779//
20780// This method is useful when you want to inject custom logic or configuration
20781// into the SDK's request lifecycle. Such as custom headers, or retry logic.
20782//
20783//
20784//    // Example sending a request using the UpdateDomainRequest method.
20785//    req, resp := client.UpdateDomainRequest(params)
20786//
20787//    err := req.Send()
20788//    if err == nil { // resp is now filled
20789//        fmt.Println(resp)
20790//    }
20791//
20792// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateDomain
20793func (c *SageMaker) UpdateDomainRequest(input *UpdateDomainInput) (req *request.Request, output *UpdateDomainOutput) {
20794	op := &request.Operation{
20795		Name:       opUpdateDomain,
20796		HTTPMethod: "POST",
20797		HTTPPath:   "/",
20798	}
20799
20800	if input == nil {
20801		input = &UpdateDomainInput{}
20802	}
20803
20804	output = &UpdateDomainOutput{}
20805	req = c.newRequest(op, input, output)
20806	return
20807}
20808
20809// UpdateDomain API operation for Amazon SageMaker Service.
20810//
20811// Updates the default settings for new user profiles in the domain.
20812//
20813// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
20814// with awserr.Error's Code and Message methods to get detailed information about
20815// the error.
20816//
20817// See the AWS API reference guide for Amazon SageMaker Service's
20818// API operation UpdateDomain for usage and error information.
20819//
20820// Returned Error Types:
20821//   * ResourceLimitExceeded
20822//   You have exceeded an Amazon SageMaker resource limit. For example, you might
20823//   have too many training jobs created.
20824//
20825//   * ResourceInUse
20826//   Resource being accessed is in use.
20827//
20828//   * ResourceNotFound
20829//   Resource being access is not found.
20830//
20831// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateDomain
20832func (c *SageMaker) UpdateDomain(input *UpdateDomainInput) (*UpdateDomainOutput, error) {
20833	req, out := c.UpdateDomainRequest(input)
20834	return out, req.Send()
20835}
20836
20837// UpdateDomainWithContext is the same as UpdateDomain with the addition of
20838// the ability to pass a context and additional request options.
20839//
20840// See UpdateDomain for details on how to use this API operation.
20841//
20842// The context must be non-nil and will be used for request cancellation. If
20843// the context is nil a panic will occur. In the future the SDK may create
20844// sub-contexts for http.Requests. See https://golang.org/pkg/context/
20845// for more information on using Contexts.
20846func (c *SageMaker) UpdateDomainWithContext(ctx aws.Context, input *UpdateDomainInput, opts ...request.Option) (*UpdateDomainOutput, error) {
20847	req, out := c.UpdateDomainRequest(input)
20848	req.SetContext(ctx)
20849	req.ApplyOptions(opts...)
20850	return out, req.Send()
20851}
20852
20853const opUpdateEndpoint = "UpdateEndpoint"
20854
20855// UpdateEndpointRequest generates a "aws/request.Request" representing the
20856// client's request for the UpdateEndpoint operation. The "output" return
20857// value will be populated with the request's response once the request completes
20858// successfully.
20859//
20860// Use "Send" method on the returned Request to send the API call to the service.
20861// the "output" return value is not valid until after Send returns without error.
20862//
20863// See UpdateEndpoint for more information on using the UpdateEndpoint
20864// API call, and error handling.
20865//
20866// This method is useful when you want to inject custom logic or configuration
20867// into the SDK's request lifecycle. Such as custom headers, or retry logic.
20868//
20869//
20870//    // Example sending a request using the UpdateEndpointRequest method.
20871//    req, resp := client.UpdateEndpointRequest(params)
20872//
20873//    err := req.Send()
20874//    if err == nil { // resp is now filled
20875//        fmt.Println(resp)
20876//    }
20877//
20878// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpoint
20879func (c *SageMaker) UpdateEndpointRequest(input *UpdateEndpointInput) (req *request.Request, output *UpdateEndpointOutput) {
20880	op := &request.Operation{
20881		Name:       opUpdateEndpoint,
20882		HTTPMethod: "POST",
20883		HTTPPath:   "/",
20884	}
20885
20886	if input == nil {
20887		input = &UpdateEndpointInput{}
20888	}
20889
20890	output = &UpdateEndpointOutput{}
20891	req = c.newRequest(op, input, output)
20892	return
20893}
20894
20895// UpdateEndpoint API operation for Amazon SageMaker Service.
20896//
20897// Deploys the new EndpointConfig specified in the request, switches to using
20898// newly created endpoint, and then deletes resources provisioned for the endpoint
20899// using the previous EndpointConfig (there is no availability loss).
20900//
20901// When Amazon SageMaker receives the request, it sets the endpoint status to
20902// Updating. After updating the endpoint, it sets the status to InService. To
20903// check the status of an endpoint, use the DescribeEndpoint API.
20904//
20905// You must not delete an EndpointConfig in use by an endpoint that is live
20906// or while the UpdateEndpoint or CreateEndpoint operations are being performed
20907// on the endpoint. To update an endpoint, you must create a new EndpointConfig.
20908//
20909// If you delete the EndpointConfig of an endpoint that is active or being created
20910// or updated you may lose visibility into the instance type the endpoint is
20911// using. The endpoint must be deleted in order to stop incurring charges.
20912//
20913// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
20914// with awserr.Error's Code and Message methods to get detailed information about
20915// the error.
20916//
20917// See the AWS API reference guide for Amazon SageMaker Service's
20918// API operation UpdateEndpoint for usage and error information.
20919//
20920// Returned Error Types:
20921//   * ResourceLimitExceeded
20922//   You have exceeded an Amazon SageMaker resource limit. For example, you might
20923//   have too many training jobs created.
20924//
20925// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpoint
20926func (c *SageMaker) UpdateEndpoint(input *UpdateEndpointInput) (*UpdateEndpointOutput, error) {
20927	req, out := c.UpdateEndpointRequest(input)
20928	return out, req.Send()
20929}
20930
20931// UpdateEndpointWithContext is the same as UpdateEndpoint with the addition of
20932// the ability to pass a context and additional request options.
20933//
20934// See UpdateEndpoint for details on how to use this API operation.
20935//
20936// The context must be non-nil and will be used for request cancellation. If
20937// the context is nil a panic will occur. In the future the SDK may create
20938// sub-contexts for http.Requests. See https://golang.org/pkg/context/
20939// for more information on using Contexts.
20940func (c *SageMaker) UpdateEndpointWithContext(ctx aws.Context, input *UpdateEndpointInput, opts ...request.Option) (*UpdateEndpointOutput, error) {
20941	req, out := c.UpdateEndpointRequest(input)
20942	req.SetContext(ctx)
20943	req.ApplyOptions(opts...)
20944	return out, req.Send()
20945}
20946
20947const opUpdateEndpointWeightsAndCapacities = "UpdateEndpointWeightsAndCapacities"
20948
20949// UpdateEndpointWeightsAndCapacitiesRequest generates a "aws/request.Request" representing the
20950// client's request for the UpdateEndpointWeightsAndCapacities operation. The "output" return
20951// value will be populated with the request's response once the request completes
20952// successfully.
20953//
20954// Use "Send" method on the returned Request to send the API call to the service.
20955// the "output" return value is not valid until after Send returns without error.
20956//
20957// See UpdateEndpointWeightsAndCapacities for more information on using the UpdateEndpointWeightsAndCapacities
20958// API call, and error handling.
20959//
20960// This method is useful when you want to inject custom logic or configuration
20961// into the SDK's request lifecycle. Such as custom headers, or retry logic.
20962//
20963//
20964//    // Example sending a request using the UpdateEndpointWeightsAndCapacitiesRequest method.
20965//    req, resp := client.UpdateEndpointWeightsAndCapacitiesRequest(params)
20966//
20967//    err := req.Send()
20968//    if err == nil { // resp is now filled
20969//        fmt.Println(resp)
20970//    }
20971//
20972// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpointWeightsAndCapacities
20973func (c *SageMaker) UpdateEndpointWeightsAndCapacitiesRequest(input *UpdateEndpointWeightsAndCapacitiesInput) (req *request.Request, output *UpdateEndpointWeightsAndCapacitiesOutput) {
20974	op := &request.Operation{
20975		Name:       opUpdateEndpointWeightsAndCapacities,
20976		HTTPMethod: "POST",
20977		HTTPPath:   "/",
20978	}
20979
20980	if input == nil {
20981		input = &UpdateEndpointWeightsAndCapacitiesInput{}
20982	}
20983
20984	output = &UpdateEndpointWeightsAndCapacitiesOutput{}
20985	req = c.newRequest(op, input, output)
20986	return
20987}
20988
20989// UpdateEndpointWeightsAndCapacities API operation for Amazon SageMaker Service.
20990//
20991// Updates variant weight of one or more variants associated with an existing
20992// endpoint, or capacity of one variant associated with an existing endpoint.
20993// When it receives the request, Amazon SageMaker sets the endpoint status to
20994// Updating. After updating the endpoint, it sets the status to InService. To
20995// check the status of an endpoint, use the DescribeEndpoint API.
20996//
20997// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
20998// with awserr.Error's Code and Message methods to get detailed information about
20999// the error.
21000//
21001// See the AWS API reference guide for Amazon SageMaker Service's
21002// API operation UpdateEndpointWeightsAndCapacities for usage and error information.
21003//
21004// Returned Error Types:
21005//   * ResourceLimitExceeded
21006//   You have exceeded an Amazon SageMaker resource limit. For example, you might
21007//   have too many training jobs created.
21008//
21009// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpointWeightsAndCapacities
21010func (c *SageMaker) UpdateEndpointWeightsAndCapacities(input *UpdateEndpointWeightsAndCapacitiesInput) (*UpdateEndpointWeightsAndCapacitiesOutput, error) {
21011	req, out := c.UpdateEndpointWeightsAndCapacitiesRequest(input)
21012	return out, req.Send()
21013}
21014
21015// UpdateEndpointWeightsAndCapacitiesWithContext is the same as UpdateEndpointWeightsAndCapacities with the addition of
21016// the ability to pass a context and additional request options.
21017//
21018// See UpdateEndpointWeightsAndCapacities for details on how to use this API operation.
21019//
21020// The context must be non-nil and will be used for request cancellation. If
21021// the context is nil a panic will occur. In the future the SDK may create
21022// sub-contexts for http.Requests. See https://golang.org/pkg/context/
21023// for more information on using Contexts.
21024func (c *SageMaker) UpdateEndpointWeightsAndCapacitiesWithContext(ctx aws.Context, input *UpdateEndpointWeightsAndCapacitiesInput, opts ...request.Option) (*UpdateEndpointWeightsAndCapacitiesOutput, error) {
21025	req, out := c.UpdateEndpointWeightsAndCapacitiesRequest(input)
21026	req.SetContext(ctx)
21027	req.ApplyOptions(opts...)
21028	return out, req.Send()
21029}
21030
21031const opUpdateExperiment = "UpdateExperiment"
21032
21033// UpdateExperimentRequest generates a "aws/request.Request" representing the
21034// client's request for the UpdateExperiment operation. The "output" return
21035// value will be populated with the request's response once the request completes
21036// successfully.
21037//
21038// Use "Send" method on the returned Request to send the API call to the service.
21039// the "output" return value is not valid until after Send returns without error.
21040//
21041// See UpdateExperiment for more information on using the UpdateExperiment
21042// API call, and error handling.
21043//
21044// This method is useful when you want to inject custom logic or configuration
21045// into the SDK's request lifecycle. Such as custom headers, or retry logic.
21046//
21047//
21048//    // Example sending a request using the UpdateExperimentRequest method.
21049//    req, resp := client.UpdateExperimentRequest(params)
21050//
21051//    err := req.Send()
21052//    if err == nil { // resp is now filled
21053//        fmt.Println(resp)
21054//    }
21055//
21056// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateExperiment
21057func (c *SageMaker) UpdateExperimentRequest(input *UpdateExperimentInput) (req *request.Request, output *UpdateExperimentOutput) {
21058	op := &request.Operation{
21059		Name:       opUpdateExperiment,
21060		HTTPMethod: "POST",
21061		HTTPPath:   "/",
21062	}
21063
21064	if input == nil {
21065		input = &UpdateExperimentInput{}
21066	}
21067
21068	output = &UpdateExperimentOutput{}
21069	req = c.newRequest(op, input, output)
21070	return
21071}
21072
21073// UpdateExperiment API operation for Amazon SageMaker Service.
21074//
21075// Adds, updates, or removes the description of an experiment. Updates the display
21076// name of an experiment.
21077//
21078// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
21079// with awserr.Error's Code and Message methods to get detailed information about
21080// the error.
21081//
21082// See the AWS API reference guide for Amazon SageMaker Service's
21083// API operation UpdateExperiment for usage and error information.
21084//
21085// Returned Error Types:
21086//   * ConflictException
21087//   There was a conflict when you attempted to modify an experiment, trial, or
21088//   trial component.
21089//
21090//   * ResourceNotFound
21091//   Resource being access is not found.
21092//
21093// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateExperiment
21094func (c *SageMaker) UpdateExperiment(input *UpdateExperimentInput) (*UpdateExperimentOutput, error) {
21095	req, out := c.UpdateExperimentRequest(input)
21096	return out, req.Send()
21097}
21098
21099// UpdateExperimentWithContext is the same as UpdateExperiment with the addition of
21100// the ability to pass a context and additional request options.
21101//
21102// See UpdateExperiment for details on how to use this API operation.
21103//
21104// The context must be non-nil and will be used for request cancellation. If
21105// the context is nil a panic will occur. In the future the SDK may create
21106// sub-contexts for http.Requests. See https://golang.org/pkg/context/
21107// for more information on using Contexts.
21108func (c *SageMaker) UpdateExperimentWithContext(ctx aws.Context, input *UpdateExperimentInput, opts ...request.Option) (*UpdateExperimentOutput, error) {
21109	req, out := c.UpdateExperimentRequest(input)
21110	req.SetContext(ctx)
21111	req.ApplyOptions(opts...)
21112	return out, req.Send()
21113}
21114
21115const opUpdateImage = "UpdateImage"
21116
21117// UpdateImageRequest generates a "aws/request.Request" representing the
21118// client's request for the UpdateImage operation. The "output" return
21119// value will be populated with the request's response once the request completes
21120// successfully.
21121//
21122// Use "Send" method on the returned Request to send the API call to the service.
21123// the "output" return value is not valid until after Send returns without error.
21124//
21125// See UpdateImage for more information on using the UpdateImage
21126// API call, and error handling.
21127//
21128// This method is useful when you want to inject custom logic or configuration
21129// into the SDK's request lifecycle. Such as custom headers, or retry logic.
21130//
21131//
21132//    // Example sending a request using the UpdateImageRequest method.
21133//    req, resp := client.UpdateImageRequest(params)
21134//
21135//    err := req.Send()
21136//    if err == nil { // resp is now filled
21137//        fmt.Println(resp)
21138//    }
21139//
21140// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateImage
21141func (c *SageMaker) UpdateImageRequest(input *UpdateImageInput) (req *request.Request, output *UpdateImageOutput) {
21142	op := &request.Operation{
21143		Name:       opUpdateImage,
21144		HTTPMethod: "POST",
21145		HTTPPath:   "/",
21146	}
21147
21148	if input == nil {
21149		input = &UpdateImageInput{}
21150	}
21151
21152	output = &UpdateImageOutput{}
21153	req = c.newRequest(op, input, output)
21154	return
21155}
21156
21157// UpdateImage API operation for Amazon SageMaker Service.
21158//
21159// Updates the properties of a SageMaker image. To change the image's tags,
21160// use the AddTags and DeleteTags APIs.
21161//
21162// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
21163// with awserr.Error's Code and Message methods to get detailed information about
21164// the error.
21165//
21166// See the AWS API reference guide for Amazon SageMaker Service's
21167// API operation UpdateImage for usage and error information.
21168//
21169// Returned Error Types:
21170//   * ResourceInUse
21171//   Resource being accessed is in use.
21172//
21173//   * ResourceNotFound
21174//   Resource being access is not found.
21175//
21176// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateImage
21177func (c *SageMaker) UpdateImage(input *UpdateImageInput) (*UpdateImageOutput, error) {
21178	req, out := c.UpdateImageRequest(input)
21179	return out, req.Send()
21180}
21181
21182// UpdateImageWithContext is the same as UpdateImage with the addition of
21183// the ability to pass a context and additional request options.
21184//
21185// See UpdateImage for details on how to use this API operation.
21186//
21187// The context must be non-nil and will be used for request cancellation. If
21188// the context is nil a panic will occur. In the future the SDK may create
21189// sub-contexts for http.Requests. See https://golang.org/pkg/context/
21190// for more information on using Contexts.
21191func (c *SageMaker) UpdateImageWithContext(ctx aws.Context, input *UpdateImageInput, opts ...request.Option) (*UpdateImageOutput, error) {
21192	req, out := c.UpdateImageRequest(input)
21193	req.SetContext(ctx)
21194	req.ApplyOptions(opts...)
21195	return out, req.Send()
21196}
21197
21198const opUpdateModelPackage = "UpdateModelPackage"
21199
21200// UpdateModelPackageRequest generates a "aws/request.Request" representing the
21201// client's request for the UpdateModelPackage operation. The "output" return
21202// value will be populated with the request's response once the request completes
21203// successfully.
21204//
21205// Use "Send" method on the returned Request to send the API call to the service.
21206// the "output" return value is not valid until after Send returns without error.
21207//
21208// See UpdateModelPackage for more information on using the UpdateModelPackage
21209// API call, and error handling.
21210//
21211// This method is useful when you want to inject custom logic or configuration
21212// into the SDK's request lifecycle. Such as custom headers, or retry logic.
21213//
21214//
21215//    // Example sending a request using the UpdateModelPackageRequest method.
21216//    req, resp := client.UpdateModelPackageRequest(params)
21217//
21218//    err := req.Send()
21219//    if err == nil { // resp is now filled
21220//        fmt.Println(resp)
21221//    }
21222//
21223// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateModelPackage
21224func (c *SageMaker) UpdateModelPackageRequest(input *UpdateModelPackageInput) (req *request.Request, output *UpdateModelPackageOutput) {
21225	op := &request.Operation{
21226		Name:       opUpdateModelPackage,
21227		HTTPMethod: "POST",
21228		HTTPPath:   "/",
21229	}
21230
21231	if input == nil {
21232		input = &UpdateModelPackageInput{}
21233	}
21234
21235	output = &UpdateModelPackageOutput{}
21236	req = c.newRequest(op, input, output)
21237	return
21238}
21239
21240// UpdateModelPackage API operation for Amazon SageMaker Service.
21241//
21242// Updates a versioned model.
21243//
21244// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
21245// with awserr.Error's Code and Message methods to get detailed information about
21246// the error.
21247//
21248// See the AWS API reference guide for Amazon SageMaker Service's
21249// API operation UpdateModelPackage for usage and error information.
21250// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateModelPackage
21251func (c *SageMaker) UpdateModelPackage(input *UpdateModelPackageInput) (*UpdateModelPackageOutput, error) {
21252	req, out := c.UpdateModelPackageRequest(input)
21253	return out, req.Send()
21254}
21255
21256// UpdateModelPackageWithContext is the same as UpdateModelPackage with the addition of
21257// the ability to pass a context and additional request options.
21258//
21259// See UpdateModelPackage for details on how to use this API operation.
21260//
21261// The context must be non-nil and will be used for request cancellation. If
21262// the context is nil a panic will occur. In the future the SDK may create
21263// sub-contexts for http.Requests. See https://golang.org/pkg/context/
21264// for more information on using Contexts.
21265func (c *SageMaker) UpdateModelPackageWithContext(ctx aws.Context, input *UpdateModelPackageInput, opts ...request.Option) (*UpdateModelPackageOutput, error) {
21266	req, out := c.UpdateModelPackageRequest(input)
21267	req.SetContext(ctx)
21268	req.ApplyOptions(opts...)
21269	return out, req.Send()
21270}
21271
21272const opUpdateMonitoringSchedule = "UpdateMonitoringSchedule"
21273
21274// UpdateMonitoringScheduleRequest generates a "aws/request.Request" representing the
21275// client's request for the UpdateMonitoringSchedule operation. The "output" return
21276// value will be populated with the request's response once the request completes
21277// successfully.
21278//
21279// Use "Send" method on the returned Request to send the API call to the service.
21280// the "output" return value is not valid until after Send returns without error.
21281//
21282// See UpdateMonitoringSchedule for more information on using the UpdateMonitoringSchedule
21283// API call, and error handling.
21284//
21285// This method is useful when you want to inject custom logic or configuration
21286// into the SDK's request lifecycle. Such as custom headers, or retry logic.
21287//
21288//
21289//    // Example sending a request using the UpdateMonitoringScheduleRequest method.
21290//    req, resp := client.UpdateMonitoringScheduleRequest(params)
21291//
21292//    err := req.Send()
21293//    if err == nil { // resp is now filled
21294//        fmt.Println(resp)
21295//    }
21296//
21297// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateMonitoringSchedule
21298func (c *SageMaker) UpdateMonitoringScheduleRequest(input *UpdateMonitoringScheduleInput) (req *request.Request, output *UpdateMonitoringScheduleOutput) {
21299	op := &request.Operation{
21300		Name:       opUpdateMonitoringSchedule,
21301		HTTPMethod: "POST",
21302		HTTPPath:   "/",
21303	}
21304
21305	if input == nil {
21306		input = &UpdateMonitoringScheduleInput{}
21307	}
21308
21309	output = &UpdateMonitoringScheduleOutput{}
21310	req = c.newRequest(op, input, output)
21311	return
21312}
21313
21314// UpdateMonitoringSchedule API operation for Amazon SageMaker Service.
21315//
21316// Updates a previously created schedule.
21317//
21318// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
21319// with awserr.Error's Code and Message methods to get detailed information about
21320// the error.
21321//
21322// See the AWS API reference guide for Amazon SageMaker Service's
21323// API operation UpdateMonitoringSchedule for usage and error information.
21324//
21325// Returned Error Types:
21326//   * ResourceLimitExceeded
21327//   You have exceeded an Amazon SageMaker resource limit. For example, you might
21328//   have too many training jobs created.
21329//
21330//   * ResourceNotFound
21331//   Resource being access is not found.
21332//
21333// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateMonitoringSchedule
21334func (c *SageMaker) UpdateMonitoringSchedule(input *UpdateMonitoringScheduleInput) (*UpdateMonitoringScheduleOutput, error) {
21335	req, out := c.UpdateMonitoringScheduleRequest(input)
21336	return out, req.Send()
21337}
21338
21339// UpdateMonitoringScheduleWithContext is the same as UpdateMonitoringSchedule with the addition of
21340// the ability to pass a context and additional request options.
21341//
21342// See UpdateMonitoringSchedule for details on how to use this API operation.
21343//
21344// The context must be non-nil and will be used for request cancellation. If
21345// the context is nil a panic will occur. In the future the SDK may create
21346// sub-contexts for http.Requests. See https://golang.org/pkg/context/
21347// for more information on using Contexts.
21348func (c *SageMaker) UpdateMonitoringScheduleWithContext(ctx aws.Context, input *UpdateMonitoringScheduleInput, opts ...request.Option) (*UpdateMonitoringScheduleOutput, error) {
21349	req, out := c.UpdateMonitoringScheduleRequest(input)
21350	req.SetContext(ctx)
21351	req.ApplyOptions(opts...)
21352	return out, req.Send()
21353}
21354
21355const opUpdateNotebookInstance = "UpdateNotebookInstance"
21356
21357// UpdateNotebookInstanceRequest generates a "aws/request.Request" representing the
21358// client's request for the UpdateNotebookInstance operation. The "output" return
21359// value will be populated with the request's response once the request completes
21360// successfully.
21361//
21362// Use "Send" method on the returned Request to send the API call to the service.
21363// the "output" return value is not valid until after Send returns without error.
21364//
21365// See UpdateNotebookInstance for more information on using the UpdateNotebookInstance
21366// API call, and error handling.
21367//
21368// This method is useful when you want to inject custom logic or configuration
21369// into the SDK's request lifecycle. Such as custom headers, or retry logic.
21370//
21371//
21372//    // Example sending a request using the UpdateNotebookInstanceRequest method.
21373//    req, resp := client.UpdateNotebookInstanceRequest(params)
21374//
21375//    err := req.Send()
21376//    if err == nil { // resp is now filled
21377//        fmt.Println(resp)
21378//    }
21379//
21380// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateNotebookInstance
21381func (c *SageMaker) UpdateNotebookInstanceRequest(input *UpdateNotebookInstanceInput) (req *request.Request, output *UpdateNotebookInstanceOutput) {
21382	op := &request.Operation{
21383		Name:       opUpdateNotebookInstance,
21384		HTTPMethod: "POST",
21385		HTTPPath:   "/",
21386	}
21387
21388	if input == nil {
21389		input = &UpdateNotebookInstanceInput{}
21390	}
21391
21392	output = &UpdateNotebookInstanceOutput{}
21393	req = c.newRequest(op, input, output)
21394	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
21395	return
21396}
21397
21398// UpdateNotebookInstance API operation for Amazon SageMaker Service.
21399//
21400// Updates a notebook instance. NotebookInstance updates include upgrading or
21401// downgrading the ML compute instance used for your notebook instance to accommodate
21402// changes in your workload requirements.
21403//
21404// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
21405// with awserr.Error's Code and Message methods to get detailed information about
21406// the error.
21407//
21408// See the AWS API reference guide for Amazon SageMaker Service's
21409// API operation UpdateNotebookInstance for usage and error information.
21410//
21411// Returned Error Types:
21412//   * ResourceLimitExceeded
21413//   You have exceeded an Amazon SageMaker resource limit. For example, you might
21414//   have too many training jobs created.
21415//
21416// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateNotebookInstance
21417func (c *SageMaker) UpdateNotebookInstance(input *UpdateNotebookInstanceInput) (*UpdateNotebookInstanceOutput, error) {
21418	req, out := c.UpdateNotebookInstanceRequest(input)
21419	return out, req.Send()
21420}
21421
21422// UpdateNotebookInstanceWithContext is the same as UpdateNotebookInstance with the addition of
21423// the ability to pass a context and additional request options.
21424//
21425// See UpdateNotebookInstance for details on how to use this API operation.
21426//
21427// The context must be non-nil and will be used for request cancellation. If
21428// the context is nil a panic will occur. In the future the SDK may create
21429// sub-contexts for http.Requests. See https://golang.org/pkg/context/
21430// for more information on using Contexts.
21431func (c *SageMaker) UpdateNotebookInstanceWithContext(ctx aws.Context, input *UpdateNotebookInstanceInput, opts ...request.Option) (*UpdateNotebookInstanceOutput, error) {
21432	req, out := c.UpdateNotebookInstanceRequest(input)
21433	req.SetContext(ctx)
21434	req.ApplyOptions(opts...)
21435	return out, req.Send()
21436}
21437
21438const opUpdateNotebookInstanceLifecycleConfig = "UpdateNotebookInstanceLifecycleConfig"
21439
21440// UpdateNotebookInstanceLifecycleConfigRequest generates a "aws/request.Request" representing the
21441// client's request for the UpdateNotebookInstanceLifecycleConfig operation. The "output" return
21442// value will be populated with the request's response once the request completes
21443// successfully.
21444//
21445// Use "Send" method on the returned Request to send the API call to the service.
21446// the "output" return value is not valid until after Send returns without error.
21447//
21448// See UpdateNotebookInstanceLifecycleConfig for more information on using the UpdateNotebookInstanceLifecycleConfig
21449// API call, and error handling.
21450//
21451// This method is useful when you want to inject custom logic or configuration
21452// into the SDK's request lifecycle. Such as custom headers, or retry logic.
21453//
21454//
21455//    // Example sending a request using the UpdateNotebookInstanceLifecycleConfigRequest method.
21456//    req, resp := client.UpdateNotebookInstanceLifecycleConfigRequest(params)
21457//
21458//    err := req.Send()
21459//    if err == nil { // resp is now filled
21460//        fmt.Println(resp)
21461//    }
21462//
21463// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateNotebookInstanceLifecycleConfig
21464func (c *SageMaker) UpdateNotebookInstanceLifecycleConfigRequest(input *UpdateNotebookInstanceLifecycleConfigInput) (req *request.Request, output *UpdateNotebookInstanceLifecycleConfigOutput) {
21465	op := &request.Operation{
21466		Name:       opUpdateNotebookInstanceLifecycleConfig,
21467		HTTPMethod: "POST",
21468		HTTPPath:   "/",
21469	}
21470
21471	if input == nil {
21472		input = &UpdateNotebookInstanceLifecycleConfigInput{}
21473	}
21474
21475	output = &UpdateNotebookInstanceLifecycleConfigOutput{}
21476	req = c.newRequest(op, input, output)
21477	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
21478	return
21479}
21480
21481// UpdateNotebookInstanceLifecycleConfig API operation for Amazon SageMaker Service.
21482//
21483// Updates a notebook instance lifecycle configuration created with the CreateNotebookInstanceLifecycleConfig
21484// API.
21485//
21486// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
21487// with awserr.Error's Code and Message methods to get detailed information about
21488// the error.
21489//
21490// See the AWS API reference guide for Amazon SageMaker Service's
21491// API operation UpdateNotebookInstanceLifecycleConfig for usage and error information.
21492//
21493// Returned Error Types:
21494//   * ResourceLimitExceeded
21495//   You have exceeded an Amazon SageMaker resource limit. For example, you might
21496//   have too many training jobs created.
21497//
21498// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateNotebookInstanceLifecycleConfig
21499func (c *SageMaker) UpdateNotebookInstanceLifecycleConfig(input *UpdateNotebookInstanceLifecycleConfigInput) (*UpdateNotebookInstanceLifecycleConfigOutput, error) {
21500	req, out := c.UpdateNotebookInstanceLifecycleConfigRequest(input)
21501	return out, req.Send()
21502}
21503
21504// UpdateNotebookInstanceLifecycleConfigWithContext is the same as UpdateNotebookInstanceLifecycleConfig with the addition of
21505// the ability to pass a context and additional request options.
21506//
21507// See UpdateNotebookInstanceLifecycleConfig for details on how to use this API operation.
21508//
21509// The context must be non-nil and will be used for request cancellation. If
21510// the context is nil a panic will occur. In the future the SDK may create
21511// sub-contexts for http.Requests. See https://golang.org/pkg/context/
21512// for more information on using Contexts.
21513func (c *SageMaker) UpdateNotebookInstanceLifecycleConfigWithContext(ctx aws.Context, input *UpdateNotebookInstanceLifecycleConfigInput, opts ...request.Option) (*UpdateNotebookInstanceLifecycleConfigOutput, error) {
21514	req, out := c.UpdateNotebookInstanceLifecycleConfigRequest(input)
21515	req.SetContext(ctx)
21516	req.ApplyOptions(opts...)
21517	return out, req.Send()
21518}
21519
21520const opUpdatePipeline = "UpdatePipeline"
21521
21522// UpdatePipelineRequest generates a "aws/request.Request" representing the
21523// client's request for the UpdatePipeline operation. The "output" return
21524// value will be populated with the request's response once the request completes
21525// successfully.
21526//
21527// Use "Send" method on the returned Request to send the API call to the service.
21528// the "output" return value is not valid until after Send returns without error.
21529//
21530// See UpdatePipeline for more information on using the UpdatePipeline
21531// API call, and error handling.
21532//
21533// This method is useful when you want to inject custom logic or configuration
21534// into the SDK's request lifecycle. Such as custom headers, or retry logic.
21535//
21536//
21537//    // Example sending a request using the UpdatePipelineRequest method.
21538//    req, resp := client.UpdatePipelineRequest(params)
21539//
21540//    err := req.Send()
21541//    if err == nil { // resp is now filled
21542//        fmt.Println(resp)
21543//    }
21544//
21545// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdatePipeline
21546func (c *SageMaker) UpdatePipelineRequest(input *UpdatePipelineInput) (req *request.Request, output *UpdatePipelineOutput) {
21547	op := &request.Operation{
21548		Name:       opUpdatePipeline,
21549		HTTPMethod: "POST",
21550		HTTPPath:   "/",
21551	}
21552
21553	if input == nil {
21554		input = &UpdatePipelineInput{}
21555	}
21556
21557	output = &UpdatePipelineOutput{}
21558	req = c.newRequest(op, input, output)
21559	return
21560}
21561
21562// UpdatePipeline API operation for Amazon SageMaker Service.
21563//
21564// Updates a pipeline.
21565//
21566// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
21567// with awserr.Error's Code and Message methods to get detailed information about
21568// the error.
21569//
21570// See the AWS API reference guide for Amazon SageMaker Service's
21571// API operation UpdatePipeline for usage and error information.
21572//
21573// Returned Error Types:
21574//   * ResourceNotFound
21575//   Resource being access is not found.
21576//
21577// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdatePipeline
21578func (c *SageMaker) UpdatePipeline(input *UpdatePipelineInput) (*UpdatePipelineOutput, error) {
21579	req, out := c.UpdatePipelineRequest(input)
21580	return out, req.Send()
21581}
21582
21583// UpdatePipelineWithContext is the same as UpdatePipeline with the addition of
21584// the ability to pass a context and additional request options.
21585//
21586// See UpdatePipeline for details on how to use this API operation.
21587//
21588// The context must be non-nil and will be used for request cancellation. If
21589// the context is nil a panic will occur. In the future the SDK may create
21590// sub-contexts for http.Requests. See https://golang.org/pkg/context/
21591// for more information on using Contexts.
21592func (c *SageMaker) UpdatePipelineWithContext(ctx aws.Context, input *UpdatePipelineInput, opts ...request.Option) (*UpdatePipelineOutput, error) {
21593	req, out := c.UpdatePipelineRequest(input)
21594	req.SetContext(ctx)
21595	req.ApplyOptions(opts...)
21596	return out, req.Send()
21597}
21598
21599const opUpdatePipelineExecution = "UpdatePipelineExecution"
21600
21601// UpdatePipelineExecutionRequest generates a "aws/request.Request" representing the
21602// client's request for the UpdatePipelineExecution operation. The "output" return
21603// value will be populated with the request's response once the request completes
21604// successfully.
21605//
21606// Use "Send" method on the returned Request to send the API call to the service.
21607// the "output" return value is not valid until after Send returns without error.
21608//
21609// See UpdatePipelineExecution for more information on using the UpdatePipelineExecution
21610// API call, and error handling.
21611//
21612// This method is useful when you want to inject custom logic or configuration
21613// into the SDK's request lifecycle. Such as custom headers, or retry logic.
21614//
21615//
21616//    // Example sending a request using the UpdatePipelineExecutionRequest method.
21617//    req, resp := client.UpdatePipelineExecutionRequest(params)
21618//
21619//    err := req.Send()
21620//    if err == nil { // resp is now filled
21621//        fmt.Println(resp)
21622//    }
21623//
21624// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdatePipelineExecution
21625func (c *SageMaker) UpdatePipelineExecutionRequest(input *UpdatePipelineExecutionInput) (req *request.Request, output *UpdatePipelineExecutionOutput) {
21626	op := &request.Operation{
21627		Name:       opUpdatePipelineExecution,
21628		HTTPMethod: "POST",
21629		HTTPPath:   "/",
21630	}
21631
21632	if input == nil {
21633		input = &UpdatePipelineExecutionInput{}
21634	}
21635
21636	output = &UpdatePipelineExecutionOutput{}
21637	req = c.newRequest(op, input, output)
21638	return
21639}
21640
21641// UpdatePipelineExecution API operation for Amazon SageMaker Service.
21642//
21643// Updates a pipeline execution.
21644//
21645// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
21646// with awserr.Error's Code and Message methods to get detailed information about
21647// the error.
21648//
21649// See the AWS API reference guide for Amazon SageMaker Service's
21650// API operation UpdatePipelineExecution for usage and error information.
21651//
21652// Returned Error Types:
21653//   * ResourceNotFound
21654//   Resource being access is not found.
21655//
21656// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdatePipelineExecution
21657func (c *SageMaker) UpdatePipelineExecution(input *UpdatePipelineExecutionInput) (*UpdatePipelineExecutionOutput, error) {
21658	req, out := c.UpdatePipelineExecutionRequest(input)
21659	return out, req.Send()
21660}
21661
21662// UpdatePipelineExecutionWithContext is the same as UpdatePipelineExecution with the addition of
21663// the ability to pass a context and additional request options.
21664//
21665// See UpdatePipelineExecution for details on how to use this API operation.
21666//
21667// The context must be non-nil and will be used for request cancellation. If
21668// the context is nil a panic will occur. In the future the SDK may create
21669// sub-contexts for http.Requests. See https://golang.org/pkg/context/
21670// for more information on using Contexts.
21671func (c *SageMaker) UpdatePipelineExecutionWithContext(ctx aws.Context, input *UpdatePipelineExecutionInput, opts ...request.Option) (*UpdatePipelineExecutionOutput, error) {
21672	req, out := c.UpdatePipelineExecutionRequest(input)
21673	req.SetContext(ctx)
21674	req.ApplyOptions(opts...)
21675	return out, req.Send()
21676}
21677
21678const opUpdateTrainingJob = "UpdateTrainingJob"
21679
21680// UpdateTrainingJobRequest generates a "aws/request.Request" representing the
21681// client's request for the UpdateTrainingJob operation. The "output" return
21682// value will be populated with the request's response once the request completes
21683// successfully.
21684//
21685// Use "Send" method on the returned Request to send the API call to the service.
21686// the "output" return value is not valid until after Send returns without error.
21687//
21688// See UpdateTrainingJob for more information on using the UpdateTrainingJob
21689// API call, and error handling.
21690//
21691// This method is useful when you want to inject custom logic or configuration
21692// into the SDK's request lifecycle. Such as custom headers, or retry logic.
21693//
21694//
21695//    // Example sending a request using the UpdateTrainingJobRequest method.
21696//    req, resp := client.UpdateTrainingJobRequest(params)
21697//
21698//    err := req.Send()
21699//    if err == nil { // resp is now filled
21700//        fmt.Println(resp)
21701//    }
21702//
21703// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateTrainingJob
21704func (c *SageMaker) UpdateTrainingJobRequest(input *UpdateTrainingJobInput) (req *request.Request, output *UpdateTrainingJobOutput) {
21705	op := &request.Operation{
21706		Name:       opUpdateTrainingJob,
21707		HTTPMethod: "POST",
21708		HTTPPath:   "/",
21709	}
21710
21711	if input == nil {
21712		input = &UpdateTrainingJobInput{}
21713	}
21714
21715	output = &UpdateTrainingJobOutput{}
21716	req = c.newRequest(op, input, output)
21717	return
21718}
21719
21720// UpdateTrainingJob API operation for Amazon SageMaker Service.
21721//
21722// Update a model training job to request a new Debugger profiling configuration.
21723//
21724// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
21725// with awserr.Error's Code and Message methods to get detailed information about
21726// the error.
21727//
21728// See the AWS API reference guide for Amazon SageMaker Service's
21729// API operation UpdateTrainingJob for usage and error information.
21730//
21731// Returned Error Types:
21732//   * ResourceNotFound
21733//   Resource being access is not found.
21734//
21735// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateTrainingJob
21736func (c *SageMaker) UpdateTrainingJob(input *UpdateTrainingJobInput) (*UpdateTrainingJobOutput, error) {
21737	req, out := c.UpdateTrainingJobRequest(input)
21738	return out, req.Send()
21739}
21740
21741// UpdateTrainingJobWithContext is the same as UpdateTrainingJob with the addition of
21742// the ability to pass a context and additional request options.
21743//
21744// See UpdateTrainingJob for details on how to use this API operation.
21745//
21746// The context must be non-nil and will be used for request cancellation. If
21747// the context is nil a panic will occur. In the future the SDK may create
21748// sub-contexts for http.Requests. See https://golang.org/pkg/context/
21749// for more information on using Contexts.
21750func (c *SageMaker) UpdateTrainingJobWithContext(ctx aws.Context, input *UpdateTrainingJobInput, opts ...request.Option) (*UpdateTrainingJobOutput, error) {
21751	req, out := c.UpdateTrainingJobRequest(input)
21752	req.SetContext(ctx)
21753	req.ApplyOptions(opts...)
21754	return out, req.Send()
21755}
21756
21757const opUpdateTrial = "UpdateTrial"
21758
21759// UpdateTrialRequest generates a "aws/request.Request" representing the
21760// client's request for the UpdateTrial operation. The "output" return
21761// value will be populated with the request's response once the request completes
21762// successfully.
21763//
21764// Use "Send" method on the returned Request to send the API call to the service.
21765// the "output" return value is not valid until after Send returns without error.
21766//
21767// See UpdateTrial for more information on using the UpdateTrial
21768// API call, and error handling.
21769//
21770// This method is useful when you want to inject custom logic or configuration
21771// into the SDK's request lifecycle. Such as custom headers, or retry logic.
21772//
21773//
21774//    // Example sending a request using the UpdateTrialRequest method.
21775//    req, resp := client.UpdateTrialRequest(params)
21776//
21777//    err := req.Send()
21778//    if err == nil { // resp is now filled
21779//        fmt.Println(resp)
21780//    }
21781//
21782// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateTrial
21783func (c *SageMaker) UpdateTrialRequest(input *UpdateTrialInput) (req *request.Request, output *UpdateTrialOutput) {
21784	op := &request.Operation{
21785		Name:       opUpdateTrial,
21786		HTTPMethod: "POST",
21787		HTTPPath:   "/",
21788	}
21789
21790	if input == nil {
21791		input = &UpdateTrialInput{}
21792	}
21793
21794	output = &UpdateTrialOutput{}
21795	req = c.newRequest(op, input, output)
21796	return
21797}
21798
21799// UpdateTrial API operation for Amazon SageMaker Service.
21800//
21801// Updates the display name of a trial.
21802//
21803// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
21804// with awserr.Error's Code and Message methods to get detailed information about
21805// the error.
21806//
21807// See the AWS API reference guide for Amazon SageMaker Service's
21808// API operation UpdateTrial for usage and error information.
21809//
21810// Returned Error Types:
21811//   * ConflictException
21812//   There was a conflict when you attempted to modify an experiment, trial, or
21813//   trial component.
21814//
21815//   * ResourceNotFound
21816//   Resource being access is not found.
21817//
21818// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateTrial
21819func (c *SageMaker) UpdateTrial(input *UpdateTrialInput) (*UpdateTrialOutput, error) {
21820	req, out := c.UpdateTrialRequest(input)
21821	return out, req.Send()
21822}
21823
21824// UpdateTrialWithContext is the same as UpdateTrial with the addition of
21825// the ability to pass a context and additional request options.
21826//
21827// See UpdateTrial for details on how to use this API operation.
21828//
21829// The context must be non-nil and will be used for request cancellation. If
21830// the context is nil a panic will occur. In the future the SDK may create
21831// sub-contexts for http.Requests. See https://golang.org/pkg/context/
21832// for more information on using Contexts.
21833func (c *SageMaker) UpdateTrialWithContext(ctx aws.Context, input *UpdateTrialInput, opts ...request.Option) (*UpdateTrialOutput, error) {
21834	req, out := c.UpdateTrialRequest(input)
21835	req.SetContext(ctx)
21836	req.ApplyOptions(opts...)
21837	return out, req.Send()
21838}
21839
21840const opUpdateTrialComponent = "UpdateTrialComponent"
21841
21842// UpdateTrialComponentRequest generates a "aws/request.Request" representing the
21843// client's request for the UpdateTrialComponent operation. The "output" return
21844// value will be populated with the request's response once the request completes
21845// successfully.
21846//
21847// Use "Send" method on the returned Request to send the API call to the service.
21848// the "output" return value is not valid until after Send returns without error.
21849//
21850// See UpdateTrialComponent for more information on using the UpdateTrialComponent
21851// API call, and error handling.
21852//
21853// This method is useful when you want to inject custom logic or configuration
21854// into the SDK's request lifecycle. Such as custom headers, or retry logic.
21855//
21856//
21857//    // Example sending a request using the UpdateTrialComponentRequest method.
21858//    req, resp := client.UpdateTrialComponentRequest(params)
21859//
21860//    err := req.Send()
21861//    if err == nil { // resp is now filled
21862//        fmt.Println(resp)
21863//    }
21864//
21865// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateTrialComponent
21866func (c *SageMaker) UpdateTrialComponentRequest(input *UpdateTrialComponentInput) (req *request.Request, output *UpdateTrialComponentOutput) {
21867	op := &request.Operation{
21868		Name:       opUpdateTrialComponent,
21869		HTTPMethod: "POST",
21870		HTTPPath:   "/",
21871	}
21872
21873	if input == nil {
21874		input = &UpdateTrialComponentInput{}
21875	}
21876
21877	output = &UpdateTrialComponentOutput{}
21878	req = c.newRequest(op, input, output)
21879	return
21880}
21881
21882// UpdateTrialComponent API operation for Amazon SageMaker Service.
21883//
21884// Updates one or more properties of a trial component.
21885//
21886// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
21887// with awserr.Error's Code and Message methods to get detailed information about
21888// the error.
21889//
21890// See the AWS API reference guide for Amazon SageMaker Service's
21891// API operation UpdateTrialComponent for usage and error information.
21892//
21893// Returned Error Types:
21894//   * ConflictException
21895//   There was a conflict when you attempted to modify an experiment, trial, or
21896//   trial component.
21897//
21898//   * ResourceNotFound
21899//   Resource being access is not found.
21900//
21901// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateTrialComponent
21902func (c *SageMaker) UpdateTrialComponent(input *UpdateTrialComponentInput) (*UpdateTrialComponentOutput, error) {
21903	req, out := c.UpdateTrialComponentRequest(input)
21904	return out, req.Send()
21905}
21906
21907// UpdateTrialComponentWithContext is the same as UpdateTrialComponent with the addition of
21908// the ability to pass a context and additional request options.
21909//
21910// See UpdateTrialComponent for details on how to use this API operation.
21911//
21912// The context must be non-nil and will be used for request cancellation. If
21913// the context is nil a panic will occur. In the future the SDK may create
21914// sub-contexts for http.Requests. See https://golang.org/pkg/context/
21915// for more information on using Contexts.
21916func (c *SageMaker) UpdateTrialComponentWithContext(ctx aws.Context, input *UpdateTrialComponentInput, opts ...request.Option) (*UpdateTrialComponentOutput, error) {
21917	req, out := c.UpdateTrialComponentRequest(input)
21918	req.SetContext(ctx)
21919	req.ApplyOptions(opts...)
21920	return out, req.Send()
21921}
21922
21923const opUpdateUserProfile = "UpdateUserProfile"
21924
21925// UpdateUserProfileRequest generates a "aws/request.Request" representing the
21926// client's request for the UpdateUserProfile operation. The "output" return
21927// value will be populated with the request's response once the request completes
21928// successfully.
21929//
21930// Use "Send" method on the returned Request to send the API call to the service.
21931// the "output" return value is not valid until after Send returns without error.
21932//
21933// See UpdateUserProfile for more information on using the UpdateUserProfile
21934// API call, and error handling.
21935//
21936// This method is useful when you want to inject custom logic or configuration
21937// into the SDK's request lifecycle. Such as custom headers, or retry logic.
21938//
21939//
21940//    // Example sending a request using the UpdateUserProfileRequest method.
21941//    req, resp := client.UpdateUserProfileRequest(params)
21942//
21943//    err := req.Send()
21944//    if err == nil { // resp is now filled
21945//        fmt.Println(resp)
21946//    }
21947//
21948// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateUserProfile
21949func (c *SageMaker) UpdateUserProfileRequest(input *UpdateUserProfileInput) (req *request.Request, output *UpdateUserProfileOutput) {
21950	op := &request.Operation{
21951		Name:       opUpdateUserProfile,
21952		HTTPMethod: "POST",
21953		HTTPPath:   "/",
21954	}
21955
21956	if input == nil {
21957		input = &UpdateUserProfileInput{}
21958	}
21959
21960	output = &UpdateUserProfileOutput{}
21961	req = c.newRequest(op, input, output)
21962	return
21963}
21964
21965// UpdateUserProfile API operation for Amazon SageMaker Service.
21966//
21967// Updates a user profile.
21968//
21969// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
21970// with awserr.Error's Code and Message methods to get detailed information about
21971// the error.
21972//
21973// See the AWS API reference guide for Amazon SageMaker Service's
21974// API operation UpdateUserProfile for usage and error information.
21975//
21976// Returned Error Types:
21977//   * ResourceLimitExceeded
21978//   You have exceeded an Amazon SageMaker resource limit. For example, you might
21979//   have too many training jobs created.
21980//
21981//   * ResourceInUse
21982//   Resource being accessed is in use.
21983//
21984//   * ResourceNotFound
21985//   Resource being access is not found.
21986//
21987// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateUserProfile
21988func (c *SageMaker) UpdateUserProfile(input *UpdateUserProfileInput) (*UpdateUserProfileOutput, error) {
21989	req, out := c.UpdateUserProfileRequest(input)
21990	return out, req.Send()
21991}
21992
21993// UpdateUserProfileWithContext is the same as UpdateUserProfile with the addition of
21994// the ability to pass a context and additional request options.
21995//
21996// See UpdateUserProfile for details on how to use this API operation.
21997//
21998// The context must be non-nil and will be used for request cancellation. If
21999// the context is nil a panic will occur. In the future the SDK may create
22000// sub-contexts for http.Requests. See https://golang.org/pkg/context/
22001// for more information on using Contexts.
22002func (c *SageMaker) UpdateUserProfileWithContext(ctx aws.Context, input *UpdateUserProfileInput, opts ...request.Option) (*UpdateUserProfileOutput, error) {
22003	req, out := c.UpdateUserProfileRequest(input)
22004	req.SetContext(ctx)
22005	req.ApplyOptions(opts...)
22006	return out, req.Send()
22007}
22008
22009const opUpdateWorkforce = "UpdateWorkforce"
22010
22011// UpdateWorkforceRequest generates a "aws/request.Request" representing the
22012// client's request for the UpdateWorkforce operation. The "output" return
22013// value will be populated with the request's response once the request completes
22014// successfully.
22015//
22016// Use "Send" method on the returned Request to send the API call to the service.
22017// the "output" return value is not valid until after Send returns without error.
22018//
22019// See UpdateWorkforce for more information on using the UpdateWorkforce
22020// API call, and error handling.
22021//
22022// This method is useful when you want to inject custom logic or configuration
22023// into the SDK's request lifecycle. Such as custom headers, or retry logic.
22024//
22025//
22026//    // Example sending a request using the UpdateWorkforceRequest method.
22027//    req, resp := client.UpdateWorkforceRequest(params)
22028//
22029//    err := req.Send()
22030//    if err == nil { // resp is now filled
22031//        fmt.Println(resp)
22032//    }
22033//
22034// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateWorkforce
22035func (c *SageMaker) UpdateWorkforceRequest(input *UpdateWorkforceInput) (req *request.Request, output *UpdateWorkforceOutput) {
22036	op := &request.Operation{
22037		Name:       opUpdateWorkforce,
22038		HTTPMethod: "POST",
22039		HTTPPath:   "/",
22040	}
22041
22042	if input == nil {
22043		input = &UpdateWorkforceInput{}
22044	}
22045
22046	output = &UpdateWorkforceOutput{}
22047	req = c.newRequest(op, input, output)
22048	return
22049}
22050
22051// UpdateWorkforce API operation for Amazon SageMaker Service.
22052//
22053// Use this operation to update your workforce. You can use this operation to
22054// require that workers use specific IP addresses to work on tasks and to update
22055// your OpenID Connect (OIDC) Identity Provider (IdP) workforce configuration.
22056//
22057// Use SourceIpConfig to restrict worker access to tasks to a specific range
22058// of IP addresses. You specify allowed IP addresses by creating a list of up
22059// to ten CIDRs (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html).
22060// By default, a workforce isn't restricted to specific IP addresses. If you
22061// specify a range of IP addresses, workers who attempt to access tasks using
22062// any IP address outside the specified range are denied and get a Not Found
22063// error message on the worker portal.
22064//
22065// Use OidcConfig to update the configuration of a workforce created using your
22066// own OIDC IdP.
22067//
22068// You can only update your OIDC IdP configuration when there are no work teams
22069// associated with your workforce. You can delete work teams using the operation.
22070//
22071// After restricting access to a range of IP addresses or updating your OIDC
22072// IdP configuration with this operation, you can view details about your update
22073// workforce using the operation.
22074//
22075// This operation only applies to private workforces.
22076//
22077// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
22078// with awserr.Error's Code and Message methods to get detailed information about
22079// the error.
22080//
22081// See the AWS API reference guide for Amazon SageMaker Service's
22082// API operation UpdateWorkforce for usage and error information.
22083// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateWorkforce
22084func (c *SageMaker) UpdateWorkforce(input *UpdateWorkforceInput) (*UpdateWorkforceOutput, error) {
22085	req, out := c.UpdateWorkforceRequest(input)
22086	return out, req.Send()
22087}
22088
22089// UpdateWorkforceWithContext is the same as UpdateWorkforce with the addition of
22090// the ability to pass a context and additional request options.
22091//
22092// See UpdateWorkforce for details on how to use this API operation.
22093//
22094// The context must be non-nil and will be used for request cancellation. If
22095// the context is nil a panic will occur. In the future the SDK may create
22096// sub-contexts for http.Requests. See https://golang.org/pkg/context/
22097// for more information on using Contexts.
22098func (c *SageMaker) UpdateWorkforceWithContext(ctx aws.Context, input *UpdateWorkforceInput, opts ...request.Option) (*UpdateWorkforceOutput, error) {
22099	req, out := c.UpdateWorkforceRequest(input)
22100	req.SetContext(ctx)
22101	req.ApplyOptions(opts...)
22102	return out, req.Send()
22103}
22104
22105const opUpdateWorkteam = "UpdateWorkteam"
22106
22107// UpdateWorkteamRequest generates a "aws/request.Request" representing the
22108// client's request for the UpdateWorkteam operation. The "output" return
22109// value will be populated with the request's response once the request completes
22110// successfully.
22111//
22112// Use "Send" method on the returned Request to send the API call to the service.
22113// the "output" return value is not valid until after Send returns without error.
22114//
22115// See UpdateWorkteam for more information on using the UpdateWorkteam
22116// API call, and error handling.
22117//
22118// This method is useful when you want to inject custom logic or configuration
22119// into the SDK's request lifecycle. Such as custom headers, or retry logic.
22120//
22121//
22122//    // Example sending a request using the UpdateWorkteamRequest method.
22123//    req, resp := client.UpdateWorkteamRequest(params)
22124//
22125//    err := req.Send()
22126//    if err == nil { // resp is now filled
22127//        fmt.Println(resp)
22128//    }
22129//
22130// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateWorkteam
22131func (c *SageMaker) UpdateWorkteamRequest(input *UpdateWorkteamInput) (req *request.Request, output *UpdateWorkteamOutput) {
22132	op := &request.Operation{
22133		Name:       opUpdateWorkteam,
22134		HTTPMethod: "POST",
22135		HTTPPath:   "/",
22136	}
22137
22138	if input == nil {
22139		input = &UpdateWorkteamInput{}
22140	}
22141
22142	output = &UpdateWorkteamOutput{}
22143	req = c.newRequest(op, input, output)
22144	return
22145}
22146
22147// UpdateWorkteam API operation for Amazon SageMaker Service.
22148//
22149// Updates an existing work team with new member definitions or description.
22150//
22151// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
22152// with awserr.Error's Code and Message methods to get detailed information about
22153// the error.
22154//
22155// See the AWS API reference guide for Amazon SageMaker Service's
22156// API operation UpdateWorkteam for usage and error information.
22157//
22158// Returned Error Types:
22159//   * ResourceLimitExceeded
22160//   You have exceeded an Amazon SageMaker resource limit. For example, you might
22161//   have too many training jobs created.
22162//
22163// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateWorkteam
22164func (c *SageMaker) UpdateWorkteam(input *UpdateWorkteamInput) (*UpdateWorkteamOutput, error) {
22165	req, out := c.UpdateWorkteamRequest(input)
22166	return out, req.Send()
22167}
22168
22169// UpdateWorkteamWithContext is the same as UpdateWorkteam with the addition of
22170// the ability to pass a context and additional request options.
22171//
22172// See UpdateWorkteam for details on how to use this API operation.
22173//
22174// The context must be non-nil and will be used for request cancellation. If
22175// the context is nil a panic will occur. In the future the SDK may create
22176// sub-contexts for http.Requests. See https://golang.org/pkg/context/
22177// for more information on using Contexts.
22178func (c *SageMaker) UpdateWorkteamWithContext(ctx aws.Context, input *UpdateWorkteamInput, opts ...request.Option) (*UpdateWorkteamOutput, error) {
22179	req, out := c.UpdateWorkteamRequest(input)
22180	req.SetContext(ctx)
22181	req.ApplyOptions(opts...)
22182	return out, req.Send()
22183}
22184
22185// A structure describing the source of an action.
22186type ActionSource struct {
22187	_ struct{} `type:"structure"`
22188
22189	// The ID of the source.
22190	SourceId *string `type:"string"`
22191
22192	// The type of the source.
22193	SourceType *string `type:"string"`
22194
22195	// The URI of the source.
22196	//
22197	// SourceUri is a required field
22198	SourceUri *string `type:"string" required:"true"`
22199}
22200
22201// String returns the string representation
22202func (s ActionSource) String() string {
22203	return awsutil.Prettify(s)
22204}
22205
22206// GoString returns the string representation
22207func (s ActionSource) GoString() string {
22208	return s.String()
22209}
22210
22211// Validate inspects the fields of the type to determine if they are valid.
22212func (s *ActionSource) Validate() error {
22213	invalidParams := request.ErrInvalidParams{Context: "ActionSource"}
22214	if s.SourceUri == nil {
22215		invalidParams.Add(request.NewErrParamRequired("SourceUri"))
22216	}
22217
22218	if invalidParams.Len() > 0 {
22219		return invalidParams
22220	}
22221	return nil
22222}
22223
22224// SetSourceId sets the SourceId field's value.
22225func (s *ActionSource) SetSourceId(v string) *ActionSource {
22226	s.SourceId = &v
22227	return s
22228}
22229
22230// SetSourceType sets the SourceType field's value.
22231func (s *ActionSource) SetSourceType(v string) *ActionSource {
22232	s.SourceType = &v
22233	return s
22234}
22235
22236// SetSourceUri sets the SourceUri field's value.
22237func (s *ActionSource) SetSourceUri(v string) *ActionSource {
22238	s.SourceUri = &v
22239	return s
22240}
22241
22242// Lists the properties of an action. An action represents an action or activity.
22243// Some examples are a workflow step and a model deployment. Generally, an action
22244// involves at least one input artifact or output artifact.
22245type ActionSummary struct {
22246	_ struct{} `type:"structure"`
22247
22248	// The Amazon Resource Name (ARN) of the action.
22249	ActionArn *string `type:"string"`
22250
22251	// The name of the action.
22252	ActionName *string `min:"1" type:"string"`
22253
22254	// The type of the action.
22255	ActionType *string `type:"string"`
22256
22257	// When the action was created.
22258	CreationTime *time.Time `type:"timestamp"`
22259
22260	// When the action was last modified.
22261	LastModifiedTime *time.Time `type:"timestamp"`
22262
22263	// The source of the action.
22264	Source *ActionSource `type:"structure"`
22265
22266	// The status of the action.
22267	Status *string `type:"string" enum:"ActionStatus"`
22268}
22269
22270// String returns the string representation
22271func (s ActionSummary) String() string {
22272	return awsutil.Prettify(s)
22273}
22274
22275// GoString returns the string representation
22276func (s ActionSummary) GoString() string {
22277	return s.String()
22278}
22279
22280// SetActionArn sets the ActionArn field's value.
22281func (s *ActionSummary) SetActionArn(v string) *ActionSummary {
22282	s.ActionArn = &v
22283	return s
22284}
22285
22286// SetActionName sets the ActionName field's value.
22287func (s *ActionSummary) SetActionName(v string) *ActionSummary {
22288	s.ActionName = &v
22289	return s
22290}
22291
22292// SetActionType sets the ActionType field's value.
22293func (s *ActionSummary) SetActionType(v string) *ActionSummary {
22294	s.ActionType = &v
22295	return s
22296}
22297
22298// SetCreationTime sets the CreationTime field's value.
22299func (s *ActionSummary) SetCreationTime(v time.Time) *ActionSummary {
22300	s.CreationTime = &v
22301	return s
22302}
22303
22304// SetLastModifiedTime sets the LastModifiedTime field's value.
22305func (s *ActionSummary) SetLastModifiedTime(v time.Time) *ActionSummary {
22306	s.LastModifiedTime = &v
22307	return s
22308}
22309
22310// SetSource sets the Source field's value.
22311func (s *ActionSummary) SetSource(v *ActionSource) *ActionSummary {
22312	s.Source = v
22313	return s
22314}
22315
22316// SetStatus sets the Status field's value.
22317func (s *ActionSummary) SetStatus(v string) *ActionSummary {
22318	s.Status = &v
22319	return s
22320}
22321
22322type AddAssociationInput struct {
22323	_ struct{} `type:"structure"`
22324
22325	// The type of association. The following are suggested uses for each type.
22326	// Amazon SageMaker places no restrictions on their use.
22327	//
22328	//    * ContributedTo - The source contributed to the destination or had a part
22329	//    in enabling the destination. For example, the training data contributed
22330	//    to the training job.
22331	//
22332	//    * AssociatedWith - The source is connected to the destination. For example,
22333	//    an approval workflow is associated with a model deployment.
22334	//
22335	//    * DerivedFrom - The destination is a modification of the source. For example,
22336	//    a digest output of a channel input for a processing job is derived from
22337	//    the original inputs.
22338	//
22339	//    * Produced - The source generated the destination. For example, a training
22340	//    job produced a model artifact.
22341	AssociationType *string `type:"string" enum:"AssociationEdgeType"`
22342
22343	// The Amazon Resource Name (ARN) of the destination.
22344	//
22345	// DestinationArn is a required field
22346	DestinationArn *string `type:"string" required:"true"`
22347
22348	// The ARN of the source.
22349	//
22350	// SourceArn is a required field
22351	SourceArn *string `type:"string" required:"true"`
22352}
22353
22354// String returns the string representation
22355func (s AddAssociationInput) String() string {
22356	return awsutil.Prettify(s)
22357}
22358
22359// GoString returns the string representation
22360func (s AddAssociationInput) GoString() string {
22361	return s.String()
22362}
22363
22364// Validate inspects the fields of the type to determine if they are valid.
22365func (s *AddAssociationInput) Validate() error {
22366	invalidParams := request.ErrInvalidParams{Context: "AddAssociationInput"}
22367	if s.DestinationArn == nil {
22368		invalidParams.Add(request.NewErrParamRequired("DestinationArn"))
22369	}
22370	if s.SourceArn == nil {
22371		invalidParams.Add(request.NewErrParamRequired("SourceArn"))
22372	}
22373
22374	if invalidParams.Len() > 0 {
22375		return invalidParams
22376	}
22377	return nil
22378}
22379
22380// SetAssociationType sets the AssociationType field's value.
22381func (s *AddAssociationInput) SetAssociationType(v string) *AddAssociationInput {
22382	s.AssociationType = &v
22383	return s
22384}
22385
22386// SetDestinationArn sets the DestinationArn field's value.
22387func (s *AddAssociationInput) SetDestinationArn(v string) *AddAssociationInput {
22388	s.DestinationArn = &v
22389	return s
22390}
22391
22392// SetSourceArn sets the SourceArn field's value.
22393func (s *AddAssociationInput) SetSourceArn(v string) *AddAssociationInput {
22394	s.SourceArn = &v
22395	return s
22396}
22397
22398type AddAssociationOutput struct {
22399	_ struct{} `type:"structure"`
22400
22401	// The Amazon Resource Name (ARN) of the destination.
22402	DestinationArn *string `type:"string"`
22403
22404	// The ARN of the source.
22405	SourceArn *string `type:"string"`
22406}
22407
22408// String returns the string representation
22409func (s AddAssociationOutput) String() string {
22410	return awsutil.Prettify(s)
22411}
22412
22413// GoString returns the string representation
22414func (s AddAssociationOutput) GoString() string {
22415	return s.String()
22416}
22417
22418// SetDestinationArn sets the DestinationArn field's value.
22419func (s *AddAssociationOutput) SetDestinationArn(v string) *AddAssociationOutput {
22420	s.DestinationArn = &v
22421	return s
22422}
22423
22424// SetSourceArn sets the SourceArn field's value.
22425func (s *AddAssociationOutput) SetSourceArn(v string) *AddAssociationOutput {
22426	s.SourceArn = &v
22427	return s
22428}
22429
22430type AddTagsInput struct {
22431	_ struct{} `type:"structure"`
22432
22433	// The Amazon Resource Name (ARN) of the resource that you want to tag.
22434	//
22435	// ResourceArn is a required field
22436	ResourceArn *string `type:"string" required:"true"`
22437
22438	// An array of key-value pairs. You can use tags to categorize your AWS resources
22439	// in different ways, for example, by purpose, owner, or environment. For more
22440	// information, see Tagging AWS Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html).
22441	//
22442	// Tags is a required field
22443	Tags []*Tag `type:"list" required:"true"`
22444}
22445
22446// String returns the string representation
22447func (s AddTagsInput) String() string {
22448	return awsutil.Prettify(s)
22449}
22450
22451// GoString returns the string representation
22452func (s AddTagsInput) GoString() string {
22453	return s.String()
22454}
22455
22456// Validate inspects the fields of the type to determine if they are valid.
22457func (s *AddTagsInput) Validate() error {
22458	invalidParams := request.ErrInvalidParams{Context: "AddTagsInput"}
22459	if s.ResourceArn == nil {
22460		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
22461	}
22462	if s.Tags == nil {
22463		invalidParams.Add(request.NewErrParamRequired("Tags"))
22464	}
22465	if s.Tags != nil {
22466		for i, v := range s.Tags {
22467			if v == nil {
22468				continue
22469			}
22470			if err := v.Validate(); err != nil {
22471				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
22472			}
22473		}
22474	}
22475
22476	if invalidParams.Len() > 0 {
22477		return invalidParams
22478	}
22479	return nil
22480}
22481
22482// SetResourceArn sets the ResourceArn field's value.
22483func (s *AddTagsInput) SetResourceArn(v string) *AddTagsInput {
22484	s.ResourceArn = &v
22485	return s
22486}
22487
22488// SetTags sets the Tags field's value.
22489func (s *AddTagsInput) SetTags(v []*Tag) *AddTagsInput {
22490	s.Tags = v
22491	return s
22492}
22493
22494type AddTagsOutput struct {
22495	_ struct{} `type:"structure"`
22496
22497	// A list of tags associated with the Amazon SageMaker resource.
22498	Tags []*Tag `type:"list"`
22499}
22500
22501// String returns the string representation
22502func (s AddTagsOutput) String() string {
22503	return awsutil.Prettify(s)
22504}
22505
22506// GoString returns the string representation
22507func (s AddTagsOutput) GoString() string {
22508	return s.String()
22509}
22510
22511// SetTags sets the Tags field's value.
22512func (s *AddTagsOutput) SetTags(v []*Tag) *AddTagsOutput {
22513	s.Tags = v
22514	return s
22515}
22516
22517// Edge Manager agent version.
22518type AgentVersion struct {
22519	_ struct{} `type:"structure"`
22520
22521	// The number of Edge Manager agents.
22522	//
22523	// AgentCount is a required field
22524	AgentCount *int64 `type:"long" required:"true"`
22525
22526	// Version of the agent.
22527	//
22528	// Version is a required field
22529	Version *string `min:"1" type:"string" required:"true"`
22530}
22531
22532// String returns the string representation
22533func (s AgentVersion) String() string {
22534	return awsutil.Prettify(s)
22535}
22536
22537// GoString returns the string representation
22538func (s AgentVersion) GoString() string {
22539	return s.String()
22540}
22541
22542// SetAgentCount sets the AgentCount field's value.
22543func (s *AgentVersion) SetAgentCount(v int64) *AgentVersion {
22544	s.AgentCount = &v
22545	return s
22546}
22547
22548// SetVersion sets the Version field's value.
22549func (s *AgentVersion) SetVersion(v string) *AgentVersion {
22550	s.Version = &v
22551	return s
22552}
22553
22554// This API is not supported.
22555type Alarm struct {
22556	_ struct{} `type:"structure"`
22557
22558	AlarmName *string `min:"1" type:"string"`
22559}
22560
22561// String returns the string representation
22562func (s Alarm) String() string {
22563	return awsutil.Prettify(s)
22564}
22565
22566// GoString returns the string representation
22567func (s Alarm) GoString() string {
22568	return s.String()
22569}
22570
22571// Validate inspects the fields of the type to determine if they are valid.
22572func (s *Alarm) Validate() error {
22573	invalidParams := request.ErrInvalidParams{Context: "Alarm"}
22574	if s.AlarmName != nil && len(*s.AlarmName) < 1 {
22575		invalidParams.Add(request.NewErrParamMinLen("AlarmName", 1))
22576	}
22577
22578	if invalidParams.Len() > 0 {
22579		return invalidParams
22580	}
22581	return nil
22582}
22583
22584// SetAlarmName sets the AlarmName field's value.
22585func (s *Alarm) SetAlarmName(v string) *Alarm {
22586	s.AlarmName = &v
22587	return s
22588}
22589
22590// Specifies the training algorithm to use in a CreateTrainingJob request.
22591//
22592// For more information about algorithms provided by Amazon SageMaker, see Algorithms
22593// (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html). For information
22594// about using your own algorithms, see Using Your Own Algorithms with Amazon
22595// SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html).
22596type AlgorithmSpecification struct {
22597	_ struct{} `type:"structure"`
22598
22599	// The name of the algorithm resource to use for the training job. This must
22600	// be an algorithm resource that you created or subscribe to on AWS Marketplace.
22601	// If you specify a value for this parameter, you can't specify a value for
22602	// TrainingImage.
22603	AlgorithmName *string `min:"1" type:"string"`
22604
22605	// To generate and save time-series metrics during training, set to true. The
22606	// default is false and time-series metrics aren't generated except in the following
22607	// cases:
22608	//
22609	//    * You use one of the Amazon SageMaker built-in algorithms
22610	//
22611	//    * You use one of the following Prebuilt Amazon SageMaker Docker Images
22612	//    (https://docs.aws.amazon.com/sagemaker/latest/dg/pre-built-containers-frameworks-deep-learning.html):
22613	//    Tensorflow (version >= 1.15) MXNet (version >= 1.6) PyTorch (version >=
22614	//    1.3)
22615	//
22616	//    * You specify at least one MetricDefinition
22617	EnableSageMakerMetricsTimeSeries *bool `type:"boolean"`
22618
22619	// A list of metric definition objects. Each object specifies the metric name
22620	// and regular expressions used to parse algorithm logs. Amazon SageMaker publishes
22621	// each metric to Amazon CloudWatch.
22622	MetricDefinitions []*MetricDefinition `type:"list"`
22623
22624	// The registry path of the Docker image that contains the training algorithm.
22625	// For information about docker registry paths for built-in algorithms, see
22626	// Algorithms Provided by Amazon SageMaker: Common Parameters (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-algo-docker-registry-paths.html).
22627	// Amazon SageMaker supports both registry/repository[:tag] and registry/repository[@digest]
22628	// image path formats. For more information, see Using Your Own Algorithms with
22629	// Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html).
22630	TrainingImage *string `type:"string"`
22631
22632	// The input mode that the algorithm supports. For the input modes that Amazon
22633	// SageMaker algorithms support, see Algorithms (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html).
22634	// If an algorithm supports the File input mode, Amazon SageMaker downloads
22635	// the training data from S3 to the provisioned ML storage Volume, and mounts
22636	// the directory to docker volume for training container. If an algorithm supports
22637	// the Pipe input mode, Amazon SageMaker streams data directly from S3 to the
22638	// container.
22639	//
22640	// In File mode, make sure you provision ML storage volume with sufficient capacity
22641	// to accommodate the data download from S3. In addition to the training data,
22642	// the ML storage volume also stores the output model. The algorithm container
22643	// use ML storage volume to also store intermediate information, if any.
22644	//
22645	// For distributed algorithms using File mode, training data is distributed
22646	// uniformly, and your training duration is predictable if the input data objects
22647	// size is approximately same. Amazon SageMaker does not split the files any
22648	// further for model training. If the object sizes are skewed, training won't
22649	// be optimal as the data distribution is also skewed where one host in a training
22650	// cluster is overloaded, thus becoming bottleneck in training.
22651	//
22652	// TrainingInputMode is a required field
22653	TrainingInputMode *string `type:"string" required:"true" enum:"TrainingInputMode"`
22654}
22655
22656// String returns the string representation
22657func (s AlgorithmSpecification) String() string {
22658	return awsutil.Prettify(s)
22659}
22660
22661// GoString returns the string representation
22662func (s AlgorithmSpecification) GoString() string {
22663	return s.String()
22664}
22665
22666// Validate inspects the fields of the type to determine if they are valid.
22667func (s *AlgorithmSpecification) Validate() error {
22668	invalidParams := request.ErrInvalidParams{Context: "AlgorithmSpecification"}
22669	if s.AlgorithmName != nil && len(*s.AlgorithmName) < 1 {
22670		invalidParams.Add(request.NewErrParamMinLen("AlgorithmName", 1))
22671	}
22672	if s.TrainingInputMode == nil {
22673		invalidParams.Add(request.NewErrParamRequired("TrainingInputMode"))
22674	}
22675	if s.MetricDefinitions != nil {
22676		for i, v := range s.MetricDefinitions {
22677			if v == nil {
22678				continue
22679			}
22680			if err := v.Validate(); err != nil {
22681				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MetricDefinitions", i), err.(request.ErrInvalidParams))
22682			}
22683		}
22684	}
22685
22686	if invalidParams.Len() > 0 {
22687		return invalidParams
22688	}
22689	return nil
22690}
22691
22692// SetAlgorithmName sets the AlgorithmName field's value.
22693func (s *AlgorithmSpecification) SetAlgorithmName(v string) *AlgorithmSpecification {
22694	s.AlgorithmName = &v
22695	return s
22696}
22697
22698// SetEnableSageMakerMetricsTimeSeries sets the EnableSageMakerMetricsTimeSeries field's value.
22699func (s *AlgorithmSpecification) SetEnableSageMakerMetricsTimeSeries(v bool) *AlgorithmSpecification {
22700	s.EnableSageMakerMetricsTimeSeries = &v
22701	return s
22702}
22703
22704// SetMetricDefinitions sets the MetricDefinitions field's value.
22705func (s *AlgorithmSpecification) SetMetricDefinitions(v []*MetricDefinition) *AlgorithmSpecification {
22706	s.MetricDefinitions = v
22707	return s
22708}
22709
22710// SetTrainingImage sets the TrainingImage field's value.
22711func (s *AlgorithmSpecification) SetTrainingImage(v string) *AlgorithmSpecification {
22712	s.TrainingImage = &v
22713	return s
22714}
22715
22716// SetTrainingInputMode sets the TrainingInputMode field's value.
22717func (s *AlgorithmSpecification) SetTrainingInputMode(v string) *AlgorithmSpecification {
22718	s.TrainingInputMode = &v
22719	return s
22720}
22721
22722// Specifies the validation and image scan statuses of the algorithm.
22723type AlgorithmStatusDetails struct {
22724	_ struct{} `type:"structure"`
22725
22726	// The status of the scan of the algorithm's Docker image container.
22727	ImageScanStatuses []*AlgorithmStatusItem `type:"list"`
22728
22729	// The status of algorithm validation.
22730	ValidationStatuses []*AlgorithmStatusItem `type:"list"`
22731}
22732
22733// String returns the string representation
22734func (s AlgorithmStatusDetails) String() string {
22735	return awsutil.Prettify(s)
22736}
22737
22738// GoString returns the string representation
22739func (s AlgorithmStatusDetails) GoString() string {
22740	return s.String()
22741}
22742
22743// SetImageScanStatuses sets the ImageScanStatuses field's value.
22744func (s *AlgorithmStatusDetails) SetImageScanStatuses(v []*AlgorithmStatusItem) *AlgorithmStatusDetails {
22745	s.ImageScanStatuses = v
22746	return s
22747}
22748
22749// SetValidationStatuses sets the ValidationStatuses field's value.
22750func (s *AlgorithmStatusDetails) SetValidationStatuses(v []*AlgorithmStatusItem) *AlgorithmStatusDetails {
22751	s.ValidationStatuses = v
22752	return s
22753}
22754
22755// Represents the overall status of an algorithm.
22756type AlgorithmStatusItem struct {
22757	_ struct{} `type:"structure"`
22758
22759	// if the overall status is Failed, the reason for the failure.
22760	FailureReason *string `type:"string"`
22761
22762	// The name of the algorithm for which the overall status is being reported.
22763	//
22764	// Name is a required field
22765	Name *string `min:"1" type:"string" required:"true"`
22766
22767	// The current status.
22768	//
22769	// Status is a required field
22770	Status *string `type:"string" required:"true" enum:"DetailedAlgorithmStatus"`
22771}
22772
22773// String returns the string representation
22774func (s AlgorithmStatusItem) String() string {
22775	return awsutil.Prettify(s)
22776}
22777
22778// GoString returns the string representation
22779func (s AlgorithmStatusItem) GoString() string {
22780	return s.String()
22781}
22782
22783// SetFailureReason sets the FailureReason field's value.
22784func (s *AlgorithmStatusItem) SetFailureReason(v string) *AlgorithmStatusItem {
22785	s.FailureReason = &v
22786	return s
22787}
22788
22789// SetName sets the Name field's value.
22790func (s *AlgorithmStatusItem) SetName(v string) *AlgorithmStatusItem {
22791	s.Name = &v
22792	return s
22793}
22794
22795// SetStatus sets the Status field's value.
22796func (s *AlgorithmStatusItem) SetStatus(v string) *AlgorithmStatusItem {
22797	s.Status = &v
22798	return s
22799}
22800
22801// Provides summary information about an algorithm.
22802type AlgorithmSummary struct {
22803	_ struct{} `type:"structure"`
22804
22805	// The Amazon Resource Name (ARN) of the algorithm.
22806	//
22807	// AlgorithmArn is a required field
22808	AlgorithmArn *string `min:"1" type:"string" required:"true"`
22809
22810	// A brief description of the algorithm.
22811	AlgorithmDescription *string `type:"string"`
22812
22813	// The name of the algorithm that is described by the summary.
22814	//
22815	// AlgorithmName is a required field
22816	AlgorithmName *string `min:"1" type:"string" required:"true"`
22817
22818	// The overall status of the algorithm.
22819	//
22820	// AlgorithmStatus is a required field
22821	AlgorithmStatus *string `type:"string" required:"true" enum:"AlgorithmStatus"`
22822
22823	// A timestamp that shows when the algorithm was created.
22824	//
22825	// CreationTime is a required field
22826	CreationTime *time.Time `type:"timestamp" required:"true"`
22827}
22828
22829// String returns the string representation
22830func (s AlgorithmSummary) String() string {
22831	return awsutil.Prettify(s)
22832}
22833
22834// GoString returns the string representation
22835func (s AlgorithmSummary) GoString() string {
22836	return s.String()
22837}
22838
22839// SetAlgorithmArn sets the AlgorithmArn field's value.
22840func (s *AlgorithmSummary) SetAlgorithmArn(v string) *AlgorithmSummary {
22841	s.AlgorithmArn = &v
22842	return s
22843}
22844
22845// SetAlgorithmDescription sets the AlgorithmDescription field's value.
22846func (s *AlgorithmSummary) SetAlgorithmDescription(v string) *AlgorithmSummary {
22847	s.AlgorithmDescription = &v
22848	return s
22849}
22850
22851// SetAlgorithmName sets the AlgorithmName field's value.
22852func (s *AlgorithmSummary) SetAlgorithmName(v string) *AlgorithmSummary {
22853	s.AlgorithmName = &v
22854	return s
22855}
22856
22857// SetAlgorithmStatus sets the AlgorithmStatus field's value.
22858func (s *AlgorithmSummary) SetAlgorithmStatus(v string) *AlgorithmSummary {
22859	s.AlgorithmStatus = &v
22860	return s
22861}
22862
22863// SetCreationTime sets the CreationTime field's value.
22864func (s *AlgorithmSummary) SetCreationTime(v time.Time) *AlgorithmSummary {
22865	s.CreationTime = &v
22866	return s
22867}
22868
22869// Defines a training job and a batch transform job that Amazon SageMaker runs
22870// to validate your algorithm.
22871//
22872// The data provided in the validation profile is made available to your buyers
22873// on AWS Marketplace.
22874type AlgorithmValidationProfile struct {
22875	_ struct{} `type:"structure"`
22876
22877	// The name of the profile for the algorithm. The name must have 1 to 63 characters.
22878	// Valid characters are a-z, A-Z, 0-9, and - (hyphen).
22879	//
22880	// ProfileName is a required field
22881	ProfileName *string `min:"1" type:"string" required:"true"`
22882
22883	// The TrainingJobDefinition object that describes the training job that Amazon
22884	// SageMaker runs to validate your algorithm.
22885	//
22886	// TrainingJobDefinition is a required field
22887	TrainingJobDefinition *TrainingJobDefinition `type:"structure" required:"true"`
22888
22889	// The TransformJobDefinition object that describes the transform job that Amazon
22890	// SageMaker runs to validate your algorithm.
22891	TransformJobDefinition *TransformJobDefinition `type:"structure"`
22892}
22893
22894// String returns the string representation
22895func (s AlgorithmValidationProfile) String() string {
22896	return awsutil.Prettify(s)
22897}
22898
22899// GoString returns the string representation
22900func (s AlgorithmValidationProfile) GoString() string {
22901	return s.String()
22902}
22903
22904// Validate inspects the fields of the type to determine if they are valid.
22905func (s *AlgorithmValidationProfile) Validate() error {
22906	invalidParams := request.ErrInvalidParams{Context: "AlgorithmValidationProfile"}
22907	if s.ProfileName == nil {
22908		invalidParams.Add(request.NewErrParamRequired("ProfileName"))
22909	}
22910	if s.ProfileName != nil && len(*s.ProfileName) < 1 {
22911		invalidParams.Add(request.NewErrParamMinLen("ProfileName", 1))
22912	}
22913	if s.TrainingJobDefinition == nil {
22914		invalidParams.Add(request.NewErrParamRequired("TrainingJobDefinition"))
22915	}
22916	if s.TrainingJobDefinition != nil {
22917		if err := s.TrainingJobDefinition.Validate(); err != nil {
22918			invalidParams.AddNested("TrainingJobDefinition", err.(request.ErrInvalidParams))
22919		}
22920	}
22921	if s.TransformJobDefinition != nil {
22922		if err := s.TransformJobDefinition.Validate(); err != nil {
22923			invalidParams.AddNested("TransformJobDefinition", err.(request.ErrInvalidParams))
22924		}
22925	}
22926
22927	if invalidParams.Len() > 0 {
22928		return invalidParams
22929	}
22930	return nil
22931}
22932
22933// SetProfileName sets the ProfileName field's value.
22934func (s *AlgorithmValidationProfile) SetProfileName(v string) *AlgorithmValidationProfile {
22935	s.ProfileName = &v
22936	return s
22937}
22938
22939// SetTrainingJobDefinition sets the TrainingJobDefinition field's value.
22940func (s *AlgorithmValidationProfile) SetTrainingJobDefinition(v *TrainingJobDefinition) *AlgorithmValidationProfile {
22941	s.TrainingJobDefinition = v
22942	return s
22943}
22944
22945// SetTransformJobDefinition sets the TransformJobDefinition field's value.
22946func (s *AlgorithmValidationProfile) SetTransformJobDefinition(v *TransformJobDefinition) *AlgorithmValidationProfile {
22947	s.TransformJobDefinition = v
22948	return s
22949}
22950
22951// Specifies configurations for one or more training jobs that Amazon SageMaker
22952// runs to test the algorithm.
22953type AlgorithmValidationSpecification struct {
22954	_ struct{} `type:"structure"`
22955
22956	// An array of AlgorithmValidationProfile objects, each of which specifies a
22957	// training job and batch transform job that Amazon SageMaker runs to validate
22958	// your algorithm.
22959	//
22960	// ValidationProfiles is a required field
22961	ValidationProfiles []*AlgorithmValidationProfile `min:"1" type:"list" required:"true"`
22962
22963	// The IAM roles that Amazon SageMaker uses to run the training jobs.
22964	//
22965	// ValidationRole is a required field
22966	ValidationRole *string `min:"20" type:"string" required:"true"`
22967}
22968
22969// String returns the string representation
22970func (s AlgorithmValidationSpecification) String() string {
22971	return awsutil.Prettify(s)
22972}
22973
22974// GoString returns the string representation
22975func (s AlgorithmValidationSpecification) GoString() string {
22976	return s.String()
22977}
22978
22979// Validate inspects the fields of the type to determine if they are valid.
22980func (s *AlgorithmValidationSpecification) Validate() error {
22981	invalidParams := request.ErrInvalidParams{Context: "AlgorithmValidationSpecification"}
22982	if s.ValidationProfiles == nil {
22983		invalidParams.Add(request.NewErrParamRequired("ValidationProfiles"))
22984	}
22985	if s.ValidationProfiles != nil && len(s.ValidationProfiles) < 1 {
22986		invalidParams.Add(request.NewErrParamMinLen("ValidationProfiles", 1))
22987	}
22988	if s.ValidationRole == nil {
22989		invalidParams.Add(request.NewErrParamRequired("ValidationRole"))
22990	}
22991	if s.ValidationRole != nil && len(*s.ValidationRole) < 20 {
22992		invalidParams.Add(request.NewErrParamMinLen("ValidationRole", 20))
22993	}
22994	if s.ValidationProfiles != nil {
22995		for i, v := range s.ValidationProfiles {
22996			if v == nil {
22997				continue
22998			}
22999			if err := v.Validate(); err != nil {
23000				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ValidationProfiles", i), err.(request.ErrInvalidParams))
23001			}
23002		}
23003	}
23004
23005	if invalidParams.Len() > 0 {
23006		return invalidParams
23007	}
23008	return nil
23009}
23010
23011// SetValidationProfiles sets the ValidationProfiles field's value.
23012func (s *AlgorithmValidationSpecification) SetValidationProfiles(v []*AlgorithmValidationProfile) *AlgorithmValidationSpecification {
23013	s.ValidationProfiles = v
23014	return s
23015}
23016
23017// SetValidationRole sets the ValidationRole field's value.
23018func (s *AlgorithmValidationSpecification) SetValidationRole(v string) *AlgorithmValidationSpecification {
23019	s.ValidationRole = &v
23020	return s
23021}
23022
23023// Configures how labels are consolidated across human workers and processes
23024// output data.
23025type AnnotationConsolidationConfig struct {
23026	_ struct{} `type:"structure"`
23027
23028	// The Amazon Resource Name (ARN) of a Lambda function implements the logic
23029	// for annotation consolidation (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-annotation-consolidation.html)
23030	// and to process output data.
23031	//
23032	// This parameter is required for all labeling jobs. For built-in task types
23033	// (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-task-types.html), use
23034	// one of the following Amazon SageMaker Ground Truth Lambda function ARNs for
23035	// AnnotationConsolidationLambdaArn. For custom labeling workflows, see Post-annotation
23036	// Lambda (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-custom-templates-step3.html#sms-custom-templates-step3-postlambda).
23037	//
23038	// Bounding box - Finds the most similar boxes from different workers based
23039	// on the Jaccard index of the boxes.
23040	//
23041	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-BoundingBox
23042	//
23043	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-BoundingBox
23044	//
23045	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-BoundingBox
23046	//
23047	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-BoundingBox
23048	//
23049	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-BoundingBox
23050	//
23051	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-BoundingBox
23052	//
23053	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-BoundingBox
23054	//
23055	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-BoundingBox
23056	//
23057	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-BoundingBox
23058	//
23059	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-BoundingBox
23060	//
23061	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-BoundingBox
23062	//
23063	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-BoundingBox
23064	//
23065	// Image classification - Uses a variant of the Expectation Maximization approach
23066	// to estimate the true class of an image based on annotations from individual
23067	// workers.
23068	//
23069	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-ImageMultiClass
23070	//
23071	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-ImageMultiClass
23072	//
23073	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-ImageMultiClass
23074	//
23075	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-ImageMultiClass
23076	//
23077	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-ImageMultiClass
23078	//
23079	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-ImageMultiClass
23080	//
23081	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-ImageMultiClass
23082	//
23083	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-ImageMultiClass
23084	//
23085	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-ImageMultiClass
23086	//
23087	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-ImageMultiClass
23088	//
23089	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-ImageMultiClass
23090	//
23091	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-ImageMultiClass
23092	//
23093	// Multi-label image classification - Uses a variant of the Expectation Maximization
23094	// approach to estimate the true classes of an image based on annotations from
23095	// individual workers.
23096	//
23097	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-ImageMultiClassMultiLabel
23098	//
23099	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-ImageMultiClassMultiLabel
23100	//
23101	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-ImageMultiClassMultiLabel
23102	//
23103	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-ImageMultiClassMultiLabel
23104	//
23105	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-ImageMultiClassMultiLabel
23106	//
23107	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-ImageMultiClassMultiLabel
23108	//
23109	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-ImageMultiClassMultiLabel
23110	//
23111	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-ImageMultiClassMultiLabel
23112	//
23113	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-ImageMultiClassMultiLabel
23114	//
23115	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-ImageMultiClassMultiLabel
23116	//
23117	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-ImageMultiClassMultiLabel
23118	//
23119	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-ImageMultiClassMultiLabel
23120	//
23121	// Semantic segmentation - Treats each pixel in an image as a multi-class classification
23122	// and treats pixel annotations from workers as "votes" for the correct label.
23123	//
23124	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-SemanticSegmentation
23125	//
23126	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-SemanticSegmentation
23127	//
23128	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-SemanticSegmentation
23129	//
23130	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-SemanticSegmentation
23131	//
23132	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-SemanticSegmentation
23133	//
23134	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-SemanticSegmentation
23135	//
23136	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-SemanticSegmentation
23137	//
23138	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-SemanticSegmentation
23139	//
23140	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-SemanticSegmentation
23141	//
23142	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-SemanticSegmentation
23143	//
23144	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-SemanticSegmentation
23145	//
23146	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-SemanticSegmentation
23147	//
23148	// Text classification - Uses a variant of the Expectation Maximization approach
23149	// to estimate the true class of text based on annotations from individual workers.
23150	//
23151	//    * rn:aws:lambda:us-east-1:432418664414:function:ACS-TextMultiClass
23152	//
23153	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-TextMultiClass
23154	//
23155	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-TextMultiClass
23156	//
23157	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-TextMultiClass
23158	//
23159	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-TextMultiClass
23160	//
23161	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-TextMultiClass
23162	//
23163	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-TextMultiClass
23164	//
23165	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-TextMultiClass
23166	//
23167	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-TextMultiClass
23168	//
23169	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-TextMultiClass
23170	//
23171	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-TextMultiClass
23172	//
23173	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-TextMultiClass
23174	//
23175	// Multi-label text classification - Uses a variant of the Expectation Maximization
23176	// approach to estimate the true classes of text based on annotations from individual
23177	// workers.
23178	//
23179	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-TextMultiClassMultiLabel
23180	//
23181	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-TextMultiClassMultiLabel
23182	//
23183	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-TextMultiClassMultiLabel
23184	//
23185	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-TextMultiClassMultiLabel
23186	//
23187	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-TextMultiClassMultiLabel
23188	//
23189	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-TextMultiClassMultiLabel
23190	//
23191	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-TextMultiClassMultiLabel
23192	//
23193	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-TextMultiClassMultiLabel
23194	//
23195	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-TextMultiClassMultiLabel
23196	//
23197	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-TextMultiClassMultiLabel
23198	//
23199	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-TextMultiClassMultiLabel
23200	//
23201	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-TextMultiClassMultiLabel
23202	//
23203	// Named entity recognition - Groups similar selections and calculates aggregate
23204	// boundaries, resolving to most-assigned label.
23205	//
23206	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-NamedEntityRecognition
23207	//
23208	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-NamedEntityRecognition
23209	//
23210	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-NamedEntityRecognition
23211	//
23212	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-NamedEntityRecognition
23213	//
23214	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-NamedEntityRecognition
23215	//
23216	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-NamedEntityRecognition
23217	//
23218	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-NamedEntityRecognition
23219	//
23220	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-NamedEntityRecognition
23221	//
23222	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-NamedEntityRecognition
23223	//
23224	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-NamedEntityRecognition
23225	//
23226	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-NamedEntityRecognition
23227	//
23228	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-NamedEntityRecognition
23229	//
23230	// Video Classification - Use this task type when you need workers to classify
23231	// videos using predefined labels that you specify. Workers are shown videos
23232	// and are asked to choose one label for each video.
23233	//
23234	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-VideoMultiClass
23235	//
23236	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-VideoMultiClass
23237	//
23238	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-VideoMultiClass
23239	//
23240	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-VideoMultiClass
23241	//
23242	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-VideoMultiClass
23243	//
23244	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-VideoMultiClass
23245	//
23246	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-VideoMultiClass
23247	//
23248	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-VideoMultiClass
23249	//
23250	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-VideoMultiClass
23251	//
23252	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-VideoMultiClass
23253	//
23254	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-VideoMultiClass
23255	//
23256	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-VideoMultiClass
23257	//
23258	// Video Frame Object Detection - Use this task type to have workers identify
23259	// and locate objects in a sequence of video frames (images extracted from a
23260	// video) using bounding boxes. For example, you can use this task to ask workers
23261	// to identify and localize various objects in a series of video frames, such
23262	// as cars, bikes, and pedestrians.
23263	//
23264	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-VideoObjectDetection
23265	//
23266	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-VideoObjectDetection
23267	//
23268	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-VideoObjectDetection
23269	//
23270	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-VideoObjectDetection
23271	//
23272	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-VideoObjectDetection
23273	//
23274	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-VideoObjectDetection
23275	//
23276	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-VideoObjectDetection
23277	//
23278	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-VideoObjectDetection
23279	//
23280	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-VideoObjectDetection
23281	//
23282	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-VideoObjectDetection
23283	//
23284	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-VideoObjectDetection
23285	//
23286	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-VideoObjectDetection
23287	//
23288	// Video Frame Object Tracking - Use this task type to have workers track the
23289	// movement of objects in a sequence of video frames (images extracted from
23290	// a video) using bounding boxes. For example, you can use this task to ask
23291	// workers to track the movement of objects, such as cars, bikes, and pedestrians.
23292	//
23293	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-VideoObjectTracking
23294	//
23295	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-VideoObjectTracking
23296	//
23297	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-VideoObjectTracking
23298	//
23299	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-VideoObjectTracking
23300	//
23301	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-VideoObjectTracking
23302	//
23303	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-VideoObjectTracking
23304	//
23305	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-VideoObjectTracking
23306	//
23307	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-VideoObjectTracking
23308	//
23309	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-VideoObjectTracking
23310	//
23311	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-VideoObjectTracking
23312	//
23313	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-VideoObjectTracking
23314	//
23315	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-VideoObjectTracking
23316	//
23317	// 3D Point Cloud Object Detection - Use this task type when you want workers
23318	// to classify objects in a 3D point cloud by drawing 3D cuboids around objects.
23319	// For example, you can use this task type to ask workers to identify different
23320	// types of objects in a point cloud, such as cars, bikes, and pedestrians.
23321	//
23322	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-3DPointCloudObjectDetection
23323	//
23324	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-3DPointCloudObjectDetection
23325	//
23326	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-3DPointCloudObjectDetection
23327	//
23328	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-3DPointCloudObjectDetection
23329	//
23330	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-3DPointCloudObjectDetection
23331	//
23332	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-3DPointCloudObjectDetection
23333	//
23334	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-3DPointCloudObjectDetection
23335	//
23336	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-3DPointCloudObjectDetection
23337	//
23338	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-3DPointCloudObjectDetection
23339	//
23340	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-3DPointCloudObjectDetection
23341	//
23342	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-3DPointCloudObjectDetection
23343	//
23344	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-3DPointCloudObjectDetection
23345	//
23346	// 3D Point Cloud Object Tracking - Use this task type when you want workers
23347	// to draw 3D cuboids around objects that appear in a sequence of 3D point cloud
23348	// frames. For example, you can use this task type to ask workers to track the
23349	// movement of vehicles across multiple point cloud frames.
23350	//
23351	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-3DPointCloudObjectTracking
23352	//
23353	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-3DPointCloudObjectTracking
23354	//
23355	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-3DPointCloudObjectTracking
23356	//
23357	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-3DPointCloudObjectTracking
23358	//
23359	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-3DPointCloudObjectTracking
23360	//
23361	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-3DPointCloudObjectTracking
23362	//
23363	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-3DPointCloudObjectTracking
23364	//
23365	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-3DPointCloudObjectTracking
23366	//
23367	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-3DPointCloudObjectTracking
23368	//
23369	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-3DPointCloudObjectTracking
23370	//
23371	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-3DPointCloudObjectTracking
23372	//
23373	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-3DPointCloudObjectTracking
23374	//
23375	// 3D Point Cloud Semantic Segmentation - Use this task type when you want workers
23376	// to create a point-level semantic segmentation masks by painting objects in
23377	// a 3D point cloud using different colors where each color is assigned to one
23378	// of the classes you specify.
23379	//
23380	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-3DPointCloudSemanticSegmentation
23381	//
23382	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-3DPointCloudSemanticSegmentation
23383	//
23384	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-3DPointCloudSemanticSegmentation
23385	//
23386	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-3DPointCloudSemanticSegmentation
23387	//
23388	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-3DPointCloudSemanticSegmentation
23389	//
23390	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-3DPointCloudSemanticSegmentation
23391	//
23392	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-3DPointCloudSemanticSegmentation
23393	//
23394	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-3DPointCloudSemanticSegmentation
23395	//
23396	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-3DPointCloudSemanticSegmentation
23397	//
23398	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-3DPointCloudSemanticSegmentation
23399	//
23400	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-3DPointCloudSemanticSegmentation
23401	//
23402	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-3DPointCloudSemanticSegmentation
23403	//
23404	// Use the following ARNs for Label Verification and Adjustment Jobs
23405	//
23406	// Use label verification and adjustment jobs to review and adjust labels. To
23407	// learn more, see Verify and Adjust Labels (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-verification-data.html).
23408	//
23409	// Semantic Segmentation Adjustment - Treats each pixel in an image as a multi-class
23410	// classification and treats pixel adjusted annotations from workers as "votes"
23411	// for the correct label.
23412	//
23413	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-AdjustmentSemanticSegmentation
23414	//
23415	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-AdjustmentSemanticSegmentation
23416	//
23417	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-AdjustmentSemanticSegmentation
23418	//
23419	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-AdjustmentSemanticSegmentation
23420	//
23421	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-AdjustmentSemanticSegmentation
23422	//
23423	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-AdjustmentSemanticSegmentation
23424	//
23425	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-AdjustmentSemanticSegmentation
23426	//
23427	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-AdjustmentSemanticSegmentation
23428	//
23429	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-AdjustmentSemanticSegmentation
23430	//
23431	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-AdjustmentSemanticSegmentation
23432	//
23433	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-AdjustmentSemanticSegmentation
23434	//
23435	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-AdjustmentSemanticSegmentation
23436	//
23437	// Semantic Segmentation Verification - Uses a variant of the Expectation Maximization
23438	// approach to estimate the true class of verification judgment for semantic
23439	// segmentation labels based on annotations from individual workers.
23440	//
23441	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-VerificationSemanticSegmentation
23442	//
23443	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-VerificationSemanticSegmentation
23444	//
23445	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-VerificationSemanticSegmentation
23446	//
23447	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-VerificationSemanticSegmentation
23448	//
23449	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-VerificationSemanticSegmentation
23450	//
23451	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-VerificationSemanticSegmentation
23452	//
23453	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-VerificationSemanticSegmentation
23454	//
23455	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-VerificationSemanticSegmentation
23456	//
23457	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-VerificationSemanticSegmentation
23458	//
23459	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-VerificationSemanticSegmentation
23460	//
23461	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-VerificationSemanticSegmentation
23462	//
23463	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-VerificationSemanticSegmentation
23464	//
23465	// Bounding Box Adjustment - Finds the most similar boxes from different workers
23466	// based on the Jaccard index of the adjusted annotations.
23467	//
23468	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-AdjustmentBoundingBox
23469	//
23470	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-AdjustmentBoundingBox
23471	//
23472	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-AdjustmentBoundingBox
23473	//
23474	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-AdjustmentBoundingBox
23475	//
23476	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-AdjustmentBoundingBox
23477	//
23478	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-AdjustmentBoundingBox
23479	//
23480	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-AdjustmentBoundingBox
23481	//
23482	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-AdjustmentBoundingBox
23483	//
23484	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-AdjustmentBoundingBox
23485	//
23486	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-AdjustmentBoundingBox
23487	//
23488	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-AdjustmentBoundingBox
23489	//
23490	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-AdjustmentBoundingBox
23491	//
23492	// Bounding Box Verification - Uses a variant of the Expectation Maximization
23493	// approach to estimate the true class of verification judgement for bounding
23494	// box labels based on annotations from individual workers.
23495	//
23496	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-VerificationBoundingBox
23497	//
23498	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-VerificationBoundingBox
23499	//
23500	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-VerificationBoundingBox
23501	//
23502	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-VerificationBoundingBox
23503	//
23504	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-VerificationBoundingBox
23505	//
23506	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-VerificationBoundingBox
23507	//
23508	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-VerificationBoundingBox
23509	//
23510	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-VerificationBoundingBox
23511	//
23512	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-VerificationBoundingBox
23513	//
23514	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-VerificationBoundingBox
23515	//
23516	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-VerificationBoundingBox
23517	//
23518	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-VerificationBoundingBox
23519	//
23520	// Video Frame Object Detection Adjustment - Use this task type when you want
23521	// workers to adjust bounding boxes that workers have added to video frames
23522	// to classify and localize objects in a sequence of video frames.
23523	//
23524	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-AdjustmentVideoObjectDetection
23525	//
23526	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-AdjustmentVideoObjectDetection
23527	//
23528	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-AdjustmentVideoObjectDetection
23529	//
23530	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-AdjustmentVideoObjectDetection
23531	//
23532	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-AdjustmentVideoObjectDetection
23533	//
23534	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-AdjustmentVideoObjectDetection
23535	//
23536	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-AdjustmentVideoObjectDetection
23537	//
23538	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-AdjustmentVideoObjectDetection
23539	//
23540	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-AdjustmentVideoObjectDetection
23541	//
23542	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-AdjustmentVideoObjectDetection
23543	//
23544	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-AdjustmentVideoObjectDetection
23545	//
23546	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-AdjustmentVideoObjectDetection
23547	//
23548	// Video Frame Object Tracking Adjustment - Use this task type when you want
23549	// workers to adjust bounding boxes that workers have added to video frames
23550	// to track object movement across a sequence of video frames.
23551	//
23552	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-AdjustmentVideoObjectTracking
23553	//
23554	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-AdjustmentVideoObjectTracking
23555	//
23556	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-AdjustmentVideoObjectTracking
23557	//
23558	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-AdjustmentVideoObjectTracking
23559	//
23560	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-AdjustmentVideoObjectTracking
23561	//
23562	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-AdjustmentVideoObjectTracking
23563	//
23564	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-AdjustmentVideoObjectTracking
23565	//
23566	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-AdjustmentVideoObjectTracking
23567	//
23568	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-AdjustmentVideoObjectTracking
23569	//
23570	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-AdjustmentVideoObjectTracking
23571	//
23572	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-AdjustmentVideoObjectTracking
23573	//
23574	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-AdjustmentVideoObjectTracking
23575	//
23576	// 3D Point Cloud Object Detection Adjustment - Use this task type when you
23577	// want workers to adjust 3D cuboids around objects in a 3D point cloud.
23578	//
23579	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-Adjustment3DPointCloudObjectDetection
23580	//
23581	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-Adjustment3DPointCloudObjectDetection
23582	//
23583	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-Adjustment3DPointCloudObjectDetection
23584	//
23585	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-Adjustment3DPointCloudObjectDetection
23586	//
23587	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-Adjustment3DPointCloudObjectDetection
23588	//
23589	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-Adjustment3DPointCloudObjectDetection
23590	//
23591	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-Adjustment3DPointCloudObjectDetection
23592	//
23593	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-Adjustment3DPointCloudObjectDetection
23594	//
23595	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-Adjustment3DPointCloudObjectDetection
23596	//
23597	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-Adjustment3DPointCloudObjectDetection
23598	//
23599	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-Adjustment3DPointCloudObjectDetection
23600	//
23601	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-Adjustment3DPointCloudObjectDetection
23602	//
23603	// 3D Point Cloud Object Tracking Adjustment - Use this task type when you want
23604	// workers to adjust 3D cuboids around objects that appear in a sequence of
23605	// 3D point cloud frames.
23606	//
23607	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-Adjustment3DPointCloudObjectTracking
23608	//
23609	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-Adjustment3DPointCloudObjectTracking
23610	//
23611	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-Adjustment3DPointCloudObjectTracking
23612	//
23613	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-Adjustment3DPointCloudObjectTracking
23614	//
23615	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-Adjustment3DPointCloudObjectTracking
23616	//
23617	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-Adjustment3DPointCloudObjectTracking
23618	//
23619	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-Adjustment3DPointCloudObjectTracking
23620	//
23621	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-Adjustment3DPointCloudObjectTracking
23622	//
23623	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-Adjustment3DPointCloudObjectTracking
23624	//
23625	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-Adjustment3DPointCloudObjectTracking
23626	//
23627	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-Adjustment3DPointCloudObjectTracking
23628	//
23629	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-Adjustment3DPointCloudObjectTracking
23630	//
23631	// 3D Point Cloud Semantic Segmentation Adjustment - Use this task type when
23632	// you want workers to adjust a point-level semantic segmentation masks using
23633	// a paint tool.
23634	//
23635	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-3DPointCloudSemanticSegmentation
23636	//
23637	//    * arn:aws:lambda:us-east-1:432418664414:function:ACS-Adjustment3DPointCloudSemanticSegmentation
23638	//
23639	//    * arn:aws:lambda:us-east-2:266458841044:function:ACS-Adjustment3DPointCloudSemanticSegmentation
23640	//
23641	//    * arn:aws:lambda:us-west-2:081040173940:function:ACS-Adjustment3DPointCloudSemanticSegmentation
23642	//
23643	//    * arn:aws:lambda:eu-west-1:568282634449:function:ACS-Adjustment3DPointCloudSemanticSegmentation
23644	//
23645	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-Adjustment3DPointCloudSemanticSegmentation
23646	//
23647	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-Adjustment3DPointCloudSemanticSegmentation
23648	//
23649	//    * arn:aws:lambda:ap-south-1:565803892007:function:ACS-Adjustment3DPointCloudSemanticSegmentation
23650	//
23651	//    * arn:aws:lambda:eu-central-1:203001061592:function:ACS-Adjustment3DPointCloudSemanticSegmentation
23652	//
23653	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:ACS-Adjustment3DPointCloudSemanticSegmentation
23654	//
23655	//    * arn:aws:lambda:eu-west-2:487402164563:function:ACS-Adjustment3DPointCloudSemanticSegmentation
23656	//
23657	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:ACS-Adjustment3DPointCloudSemanticSegmentation
23658	//
23659	//    * arn:aws:lambda:ca-central-1:918755190332:function:ACS-Adjustment3DPointCloudSemanticSegmentation
23660	//
23661	// AnnotationConsolidationLambdaArn is a required field
23662	AnnotationConsolidationLambdaArn *string `type:"string" required:"true"`
23663}
23664
23665// String returns the string representation
23666func (s AnnotationConsolidationConfig) String() string {
23667	return awsutil.Prettify(s)
23668}
23669
23670// GoString returns the string representation
23671func (s AnnotationConsolidationConfig) GoString() string {
23672	return s.String()
23673}
23674
23675// Validate inspects the fields of the type to determine if they are valid.
23676func (s *AnnotationConsolidationConfig) Validate() error {
23677	invalidParams := request.ErrInvalidParams{Context: "AnnotationConsolidationConfig"}
23678	if s.AnnotationConsolidationLambdaArn == nil {
23679		invalidParams.Add(request.NewErrParamRequired("AnnotationConsolidationLambdaArn"))
23680	}
23681
23682	if invalidParams.Len() > 0 {
23683		return invalidParams
23684	}
23685	return nil
23686}
23687
23688// SetAnnotationConsolidationLambdaArn sets the AnnotationConsolidationLambdaArn field's value.
23689func (s *AnnotationConsolidationConfig) SetAnnotationConsolidationLambdaArn(v string) *AnnotationConsolidationConfig {
23690	s.AnnotationConsolidationLambdaArn = &v
23691	return s
23692}
23693
23694// Details about an Amazon SageMaker app.
23695type AppDetails struct {
23696	_ struct{} `type:"structure"`
23697
23698	// The name of the app.
23699	AppName *string `type:"string"`
23700
23701	// The type of app.
23702	AppType *string `type:"string" enum:"AppType"`
23703
23704	// The creation time.
23705	CreationTime *time.Time `type:"timestamp"`
23706
23707	// The domain ID.
23708	DomainId *string `type:"string"`
23709
23710	// The status.
23711	Status *string `type:"string" enum:"AppStatus"`
23712
23713	// The user profile name.
23714	UserProfileName *string `type:"string"`
23715}
23716
23717// String returns the string representation
23718func (s AppDetails) String() string {
23719	return awsutil.Prettify(s)
23720}
23721
23722// GoString returns the string representation
23723func (s AppDetails) GoString() string {
23724	return s.String()
23725}
23726
23727// SetAppName sets the AppName field's value.
23728func (s *AppDetails) SetAppName(v string) *AppDetails {
23729	s.AppName = &v
23730	return s
23731}
23732
23733// SetAppType sets the AppType field's value.
23734func (s *AppDetails) SetAppType(v string) *AppDetails {
23735	s.AppType = &v
23736	return s
23737}
23738
23739// SetCreationTime sets the CreationTime field's value.
23740func (s *AppDetails) SetCreationTime(v time.Time) *AppDetails {
23741	s.CreationTime = &v
23742	return s
23743}
23744
23745// SetDomainId sets the DomainId field's value.
23746func (s *AppDetails) SetDomainId(v string) *AppDetails {
23747	s.DomainId = &v
23748	return s
23749}
23750
23751// SetStatus sets the Status field's value.
23752func (s *AppDetails) SetStatus(v string) *AppDetails {
23753	s.Status = &v
23754	return s
23755}
23756
23757// SetUserProfileName sets the UserProfileName field's value.
23758func (s *AppDetails) SetUserProfileName(v string) *AppDetails {
23759	s.UserProfileName = &v
23760	return s
23761}
23762
23763// The configuration for running a SageMaker image as a KernelGateway app.
23764type AppImageConfigDetails struct {
23765	_ struct{} `type:"structure"`
23766
23767	// The Amazon Resource Name (ARN) of the AppImageConfig.
23768	AppImageConfigArn *string `type:"string"`
23769
23770	// The name of the AppImageConfig. Must be unique to your account.
23771	AppImageConfigName *string `type:"string"`
23772
23773	// When the AppImageConfig was created.
23774	CreationTime *time.Time `type:"timestamp"`
23775
23776	// The configuration for the file system and kernels in the SageMaker image.
23777	KernelGatewayImageConfig *KernelGatewayImageConfig `type:"structure"`
23778
23779	// When the AppImageConfig was last modified.
23780	LastModifiedTime *time.Time `type:"timestamp"`
23781}
23782
23783// String returns the string representation
23784func (s AppImageConfigDetails) String() string {
23785	return awsutil.Prettify(s)
23786}
23787
23788// GoString returns the string representation
23789func (s AppImageConfigDetails) GoString() string {
23790	return s.String()
23791}
23792
23793// SetAppImageConfigArn sets the AppImageConfigArn field's value.
23794func (s *AppImageConfigDetails) SetAppImageConfigArn(v string) *AppImageConfigDetails {
23795	s.AppImageConfigArn = &v
23796	return s
23797}
23798
23799// SetAppImageConfigName sets the AppImageConfigName field's value.
23800func (s *AppImageConfigDetails) SetAppImageConfigName(v string) *AppImageConfigDetails {
23801	s.AppImageConfigName = &v
23802	return s
23803}
23804
23805// SetCreationTime sets the CreationTime field's value.
23806func (s *AppImageConfigDetails) SetCreationTime(v time.Time) *AppImageConfigDetails {
23807	s.CreationTime = &v
23808	return s
23809}
23810
23811// SetKernelGatewayImageConfig sets the KernelGatewayImageConfig field's value.
23812func (s *AppImageConfigDetails) SetKernelGatewayImageConfig(v *KernelGatewayImageConfig) *AppImageConfigDetails {
23813	s.KernelGatewayImageConfig = v
23814	return s
23815}
23816
23817// SetLastModifiedTime sets the LastModifiedTime field's value.
23818func (s *AppImageConfigDetails) SetLastModifiedTime(v time.Time) *AppImageConfigDetails {
23819	s.LastModifiedTime = &v
23820	return s
23821}
23822
23823// Configuration to run a processing job in a specified container image.
23824type AppSpecification struct {
23825	_ struct{} `type:"structure"`
23826
23827	// The arguments for a container used to run a processing job.
23828	ContainerArguments []*string `min:"1" type:"list"`
23829
23830	// The entrypoint for a container used to run a processing job.
23831	ContainerEntrypoint []*string `min:"1" type:"list"`
23832
23833	// The container image to be run by the processing job.
23834	//
23835	// ImageUri is a required field
23836	ImageUri *string `type:"string" required:"true"`
23837}
23838
23839// String returns the string representation
23840func (s AppSpecification) String() string {
23841	return awsutil.Prettify(s)
23842}
23843
23844// GoString returns the string representation
23845func (s AppSpecification) GoString() string {
23846	return s.String()
23847}
23848
23849// Validate inspects the fields of the type to determine if they are valid.
23850func (s *AppSpecification) Validate() error {
23851	invalidParams := request.ErrInvalidParams{Context: "AppSpecification"}
23852	if s.ContainerArguments != nil && len(s.ContainerArguments) < 1 {
23853		invalidParams.Add(request.NewErrParamMinLen("ContainerArguments", 1))
23854	}
23855	if s.ContainerEntrypoint != nil && len(s.ContainerEntrypoint) < 1 {
23856		invalidParams.Add(request.NewErrParamMinLen("ContainerEntrypoint", 1))
23857	}
23858	if s.ImageUri == nil {
23859		invalidParams.Add(request.NewErrParamRequired("ImageUri"))
23860	}
23861
23862	if invalidParams.Len() > 0 {
23863		return invalidParams
23864	}
23865	return nil
23866}
23867
23868// SetContainerArguments sets the ContainerArguments field's value.
23869func (s *AppSpecification) SetContainerArguments(v []*string) *AppSpecification {
23870	s.ContainerArguments = v
23871	return s
23872}
23873
23874// SetContainerEntrypoint sets the ContainerEntrypoint field's value.
23875func (s *AppSpecification) SetContainerEntrypoint(v []*string) *AppSpecification {
23876	s.ContainerEntrypoint = v
23877	return s
23878}
23879
23880// SetImageUri sets the ImageUri field's value.
23881func (s *AppSpecification) SetImageUri(v string) *AppSpecification {
23882	s.ImageUri = &v
23883	return s
23884}
23885
23886// A structure describing the source of an artifact.
23887type ArtifactSource struct {
23888	_ struct{} `type:"structure"`
23889
23890	// A list of source types.
23891	SourceTypes []*ArtifactSourceType `type:"list"`
23892
23893	// The URI of the source.
23894	//
23895	// SourceUri is a required field
23896	SourceUri *string `type:"string" required:"true"`
23897}
23898
23899// String returns the string representation
23900func (s ArtifactSource) String() string {
23901	return awsutil.Prettify(s)
23902}
23903
23904// GoString returns the string representation
23905func (s ArtifactSource) GoString() string {
23906	return s.String()
23907}
23908
23909// Validate inspects the fields of the type to determine if they are valid.
23910func (s *ArtifactSource) Validate() error {
23911	invalidParams := request.ErrInvalidParams{Context: "ArtifactSource"}
23912	if s.SourceUri == nil {
23913		invalidParams.Add(request.NewErrParamRequired("SourceUri"))
23914	}
23915	if s.SourceTypes != nil {
23916		for i, v := range s.SourceTypes {
23917			if v == nil {
23918				continue
23919			}
23920			if err := v.Validate(); err != nil {
23921				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SourceTypes", i), err.(request.ErrInvalidParams))
23922			}
23923		}
23924	}
23925
23926	if invalidParams.Len() > 0 {
23927		return invalidParams
23928	}
23929	return nil
23930}
23931
23932// SetSourceTypes sets the SourceTypes field's value.
23933func (s *ArtifactSource) SetSourceTypes(v []*ArtifactSourceType) *ArtifactSource {
23934	s.SourceTypes = v
23935	return s
23936}
23937
23938// SetSourceUri sets the SourceUri field's value.
23939func (s *ArtifactSource) SetSourceUri(v string) *ArtifactSource {
23940	s.SourceUri = &v
23941	return s
23942}
23943
23944// The ID and ID type of an artifact source.
23945type ArtifactSourceType struct {
23946	_ struct{} `type:"structure"`
23947
23948	// The type of ID.
23949	//
23950	// SourceIdType is a required field
23951	SourceIdType *string `type:"string" required:"true" enum:"ArtifactSourceIdType"`
23952
23953	// The ID.
23954	//
23955	// Value is a required field
23956	Value *string `type:"string" required:"true"`
23957}
23958
23959// String returns the string representation
23960func (s ArtifactSourceType) String() string {
23961	return awsutil.Prettify(s)
23962}
23963
23964// GoString returns the string representation
23965func (s ArtifactSourceType) GoString() string {
23966	return s.String()
23967}
23968
23969// Validate inspects the fields of the type to determine if they are valid.
23970func (s *ArtifactSourceType) Validate() error {
23971	invalidParams := request.ErrInvalidParams{Context: "ArtifactSourceType"}
23972	if s.SourceIdType == nil {
23973		invalidParams.Add(request.NewErrParamRequired("SourceIdType"))
23974	}
23975	if s.Value == nil {
23976		invalidParams.Add(request.NewErrParamRequired("Value"))
23977	}
23978
23979	if invalidParams.Len() > 0 {
23980		return invalidParams
23981	}
23982	return nil
23983}
23984
23985// SetSourceIdType sets the SourceIdType field's value.
23986func (s *ArtifactSourceType) SetSourceIdType(v string) *ArtifactSourceType {
23987	s.SourceIdType = &v
23988	return s
23989}
23990
23991// SetValue sets the Value field's value.
23992func (s *ArtifactSourceType) SetValue(v string) *ArtifactSourceType {
23993	s.Value = &v
23994	return s
23995}
23996
23997// Lists a summary of the properties of an artifact. An artifact represents
23998// a URI addressable object or data. Some examples are a dataset and a model.
23999type ArtifactSummary struct {
24000	_ struct{} `type:"structure"`
24001
24002	// The Amazon Resource Name (ARN) of the artifact.
24003	ArtifactArn *string `type:"string"`
24004
24005	// The name of the artifact.
24006	ArtifactName *string `min:"1" type:"string"`
24007
24008	// The type of the artifact.
24009	ArtifactType *string `type:"string"`
24010
24011	// When the artifact was created.
24012	CreationTime *time.Time `type:"timestamp"`
24013
24014	// When the artifact was last modified.
24015	LastModifiedTime *time.Time `type:"timestamp"`
24016
24017	// The source of the artifact.
24018	Source *ArtifactSource `type:"structure"`
24019}
24020
24021// String returns the string representation
24022func (s ArtifactSummary) String() string {
24023	return awsutil.Prettify(s)
24024}
24025
24026// GoString returns the string representation
24027func (s ArtifactSummary) GoString() string {
24028	return s.String()
24029}
24030
24031// SetArtifactArn sets the ArtifactArn field's value.
24032func (s *ArtifactSummary) SetArtifactArn(v string) *ArtifactSummary {
24033	s.ArtifactArn = &v
24034	return s
24035}
24036
24037// SetArtifactName sets the ArtifactName field's value.
24038func (s *ArtifactSummary) SetArtifactName(v string) *ArtifactSummary {
24039	s.ArtifactName = &v
24040	return s
24041}
24042
24043// SetArtifactType sets the ArtifactType field's value.
24044func (s *ArtifactSummary) SetArtifactType(v string) *ArtifactSummary {
24045	s.ArtifactType = &v
24046	return s
24047}
24048
24049// SetCreationTime sets the CreationTime field's value.
24050func (s *ArtifactSummary) SetCreationTime(v time.Time) *ArtifactSummary {
24051	s.CreationTime = &v
24052	return s
24053}
24054
24055// SetLastModifiedTime sets the LastModifiedTime field's value.
24056func (s *ArtifactSummary) SetLastModifiedTime(v time.Time) *ArtifactSummary {
24057	s.LastModifiedTime = &v
24058	return s
24059}
24060
24061// SetSource sets the Source field's value.
24062func (s *ArtifactSummary) SetSource(v *ArtifactSource) *ArtifactSummary {
24063	s.Source = v
24064	return s
24065}
24066
24067type AssociateTrialComponentInput struct {
24068	_ struct{} `type:"structure"`
24069
24070	// The name of the component to associated with the trial.
24071	//
24072	// TrialComponentName is a required field
24073	TrialComponentName *string `min:"1" type:"string" required:"true"`
24074
24075	// The name of the trial to associate with.
24076	//
24077	// TrialName is a required field
24078	TrialName *string `min:"1" type:"string" required:"true"`
24079}
24080
24081// String returns the string representation
24082func (s AssociateTrialComponentInput) String() string {
24083	return awsutil.Prettify(s)
24084}
24085
24086// GoString returns the string representation
24087func (s AssociateTrialComponentInput) GoString() string {
24088	return s.String()
24089}
24090
24091// Validate inspects the fields of the type to determine if they are valid.
24092func (s *AssociateTrialComponentInput) Validate() error {
24093	invalidParams := request.ErrInvalidParams{Context: "AssociateTrialComponentInput"}
24094	if s.TrialComponentName == nil {
24095		invalidParams.Add(request.NewErrParamRequired("TrialComponentName"))
24096	}
24097	if s.TrialComponentName != nil && len(*s.TrialComponentName) < 1 {
24098		invalidParams.Add(request.NewErrParamMinLen("TrialComponentName", 1))
24099	}
24100	if s.TrialName == nil {
24101		invalidParams.Add(request.NewErrParamRequired("TrialName"))
24102	}
24103	if s.TrialName != nil && len(*s.TrialName) < 1 {
24104		invalidParams.Add(request.NewErrParamMinLen("TrialName", 1))
24105	}
24106
24107	if invalidParams.Len() > 0 {
24108		return invalidParams
24109	}
24110	return nil
24111}
24112
24113// SetTrialComponentName sets the TrialComponentName field's value.
24114func (s *AssociateTrialComponentInput) SetTrialComponentName(v string) *AssociateTrialComponentInput {
24115	s.TrialComponentName = &v
24116	return s
24117}
24118
24119// SetTrialName sets the TrialName field's value.
24120func (s *AssociateTrialComponentInput) SetTrialName(v string) *AssociateTrialComponentInput {
24121	s.TrialName = &v
24122	return s
24123}
24124
24125type AssociateTrialComponentOutput struct {
24126	_ struct{} `type:"structure"`
24127
24128	// The Amazon Resource Name (ARN) of the trial.
24129	TrialArn *string `type:"string"`
24130
24131	// The ARN of the trial component.
24132	TrialComponentArn *string `type:"string"`
24133}
24134
24135// String returns the string representation
24136func (s AssociateTrialComponentOutput) String() string {
24137	return awsutil.Prettify(s)
24138}
24139
24140// GoString returns the string representation
24141func (s AssociateTrialComponentOutput) GoString() string {
24142	return s.String()
24143}
24144
24145// SetTrialArn sets the TrialArn field's value.
24146func (s *AssociateTrialComponentOutput) SetTrialArn(v string) *AssociateTrialComponentOutput {
24147	s.TrialArn = &v
24148	return s
24149}
24150
24151// SetTrialComponentArn sets the TrialComponentArn field's value.
24152func (s *AssociateTrialComponentOutput) SetTrialComponentArn(v string) *AssociateTrialComponentOutput {
24153	s.TrialComponentArn = &v
24154	return s
24155}
24156
24157// Lists a summary of the properties of an association. An association is an
24158// entity that links other lineage or experiment entities. An example would
24159// be an association between a training job and a model.
24160type AssociationSummary struct {
24161	_ struct{} `type:"structure"`
24162
24163	// The type of the association.
24164	AssociationType *string `type:"string" enum:"AssociationEdgeType"`
24165
24166	// Information about the user who created or modified an experiment, trial,
24167	// or trial component.
24168	CreatedBy *UserContext `type:"structure"`
24169
24170	// When the association was created.
24171	CreationTime *time.Time `type:"timestamp"`
24172
24173	// The Amazon Resource Name (ARN) of the destination.
24174	DestinationArn *string `type:"string"`
24175
24176	// The name of the destination.
24177	DestinationName *string `min:"1" type:"string"`
24178
24179	// The destination type.
24180	DestinationType *string `type:"string"`
24181
24182	// The ARN of the source.
24183	SourceArn *string `type:"string"`
24184
24185	// The name of the source.
24186	SourceName *string `min:"1" type:"string"`
24187
24188	// The source type.
24189	SourceType *string `type:"string"`
24190}
24191
24192// String returns the string representation
24193func (s AssociationSummary) String() string {
24194	return awsutil.Prettify(s)
24195}
24196
24197// GoString returns the string representation
24198func (s AssociationSummary) GoString() string {
24199	return s.String()
24200}
24201
24202// SetAssociationType sets the AssociationType field's value.
24203func (s *AssociationSummary) SetAssociationType(v string) *AssociationSummary {
24204	s.AssociationType = &v
24205	return s
24206}
24207
24208// SetCreatedBy sets the CreatedBy field's value.
24209func (s *AssociationSummary) SetCreatedBy(v *UserContext) *AssociationSummary {
24210	s.CreatedBy = v
24211	return s
24212}
24213
24214// SetCreationTime sets the CreationTime field's value.
24215func (s *AssociationSummary) SetCreationTime(v time.Time) *AssociationSummary {
24216	s.CreationTime = &v
24217	return s
24218}
24219
24220// SetDestinationArn sets the DestinationArn field's value.
24221func (s *AssociationSummary) SetDestinationArn(v string) *AssociationSummary {
24222	s.DestinationArn = &v
24223	return s
24224}
24225
24226// SetDestinationName sets the DestinationName field's value.
24227func (s *AssociationSummary) SetDestinationName(v string) *AssociationSummary {
24228	s.DestinationName = &v
24229	return s
24230}
24231
24232// SetDestinationType sets the DestinationType field's value.
24233func (s *AssociationSummary) SetDestinationType(v string) *AssociationSummary {
24234	s.DestinationType = &v
24235	return s
24236}
24237
24238// SetSourceArn sets the SourceArn field's value.
24239func (s *AssociationSummary) SetSourceArn(v string) *AssociationSummary {
24240	s.SourceArn = &v
24241	return s
24242}
24243
24244// SetSourceName sets the SourceName field's value.
24245func (s *AssociationSummary) SetSourceName(v string) *AssociationSummary {
24246	s.SourceName = &v
24247	return s
24248}
24249
24250// SetSourceType sets the SourceType field's value.
24251func (s *AssociationSummary) SetSourceType(v string) *AssociationSummary {
24252	s.SourceType = &v
24253	return s
24254}
24255
24256// Configuration for Athena Dataset Definition input.
24257type AthenaDatasetDefinition struct {
24258	_ struct{} `type:"structure"`
24259
24260	// The name of the data catalog used in Athena query execution.
24261	//
24262	// Catalog is a required field
24263	Catalog *string `min:"1" type:"string" required:"true"`
24264
24265	// The name of the database used in the Athena query execution.
24266	//
24267	// Database is a required field
24268	Database *string `min:"1" type:"string" required:"true"`
24269
24270	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
24271	// encrypt data generated from an Athena query execution.
24272	KmsKeyId *string `type:"string"`
24273
24274	// The compression used for Athena query results.
24275	OutputCompression *string `type:"string" enum:"AthenaResultCompressionType"`
24276
24277	// The data storage format for Athena query results.
24278	//
24279	// OutputFormat is a required field
24280	OutputFormat *string `type:"string" required:"true" enum:"AthenaResultFormat"`
24281
24282	// The location in Amazon S3 where Athena query results are stored.
24283	//
24284	// OutputS3Uri is a required field
24285	OutputS3Uri *string `type:"string" required:"true"`
24286
24287	// The SQL query statements, to be executed.
24288	//
24289	// QueryString is a required field
24290	QueryString *string `min:"1" type:"string" required:"true"`
24291
24292	// The name of the workgroup in which the Athena query is being started.
24293	WorkGroup *string `min:"1" type:"string"`
24294}
24295
24296// String returns the string representation
24297func (s AthenaDatasetDefinition) String() string {
24298	return awsutil.Prettify(s)
24299}
24300
24301// GoString returns the string representation
24302func (s AthenaDatasetDefinition) GoString() string {
24303	return s.String()
24304}
24305
24306// Validate inspects the fields of the type to determine if they are valid.
24307func (s *AthenaDatasetDefinition) Validate() error {
24308	invalidParams := request.ErrInvalidParams{Context: "AthenaDatasetDefinition"}
24309	if s.Catalog == nil {
24310		invalidParams.Add(request.NewErrParamRequired("Catalog"))
24311	}
24312	if s.Catalog != nil && len(*s.Catalog) < 1 {
24313		invalidParams.Add(request.NewErrParamMinLen("Catalog", 1))
24314	}
24315	if s.Database == nil {
24316		invalidParams.Add(request.NewErrParamRequired("Database"))
24317	}
24318	if s.Database != nil && len(*s.Database) < 1 {
24319		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
24320	}
24321	if s.OutputFormat == nil {
24322		invalidParams.Add(request.NewErrParamRequired("OutputFormat"))
24323	}
24324	if s.OutputS3Uri == nil {
24325		invalidParams.Add(request.NewErrParamRequired("OutputS3Uri"))
24326	}
24327	if s.QueryString == nil {
24328		invalidParams.Add(request.NewErrParamRequired("QueryString"))
24329	}
24330	if s.QueryString != nil && len(*s.QueryString) < 1 {
24331		invalidParams.Add(request.NewErrParamMinLen("QueryString", 1))
24332	}
24333	if s.WorkGroup != nil && len(*s.WorkGroup) < 1 {
24334		invalidParams.Add(request.NewErrParamMinLen("WorkGroup", 1))
24335	}
24336
24337	if invalidParams.Len() > 0 {
24338		return invalidParams
24339	}
24340	return nil
24341}
24342
24343// SetCatalog sets the Catalog field's value.
24344func (s *AthenaDatasetDefinition) SetCatalog(v string) *AthenaDatasetDefinition {
24345	s.Catalog = &v
24346	return s
24347}
24348
24349// SetDatabase sets the Database field's value.
24350func (s *AthenaDatasetDefinition) SetDatabase(v string) *AthenaDatasetDefinition {
24351	s.Database = &v
24352	return s
24353}
24354
24355// SetKmsKeyId sets the KmsKeyId field's value.
24356func (s *AthenaDatasetDefinition) SetKmsKeyId(v string) *AthenaDatasetDefinition {
24357	s.KmsKeyId = &v
24358	return s
24359}
24360
24361// SetOutputCompression sets the OutputCompression field's value.
24362func (s *AthenaDatasetDefinition) SetOutputCompression(v string) *AthenaDatasetDefinition {
24363	s.OutputCompression = &v
24364	return s
24365}
24366
24367// SetOutputFormat sets the OutputFormat field's value.
24368func (s *AthenaDatasetDefinition) SetOutputFormat(v string) *AthenaDatasetDefinition {
24369	s.OutputFormat = &v
24370	return s
24371}
24372
24373// SetOutputS3Uri sets the OutputS3Uri field's value.
24374func (s *AthenaDatasetDefinition) SetOutputS3Uri(v string) *AthenaDatasetDefinition {
24375	s.OutputS3Uri = &v
24376	return s
24377}
24378
24379// SetQueryString sets the QueryString field's value.
24380func (s *AthenaDatasetDefinition) SetQueryString(v string) *AthenaDatasetDefinition {
24381	s.QueryString = &v
24382	return s
24383}
24384
24385// SetWorkGroup sets the WorkGroup field's value.
24386func (s *AthenaDatasetDefinition) SetWorkGroup(v string) *AthenaDatasetDefinition {
24387	s.WorkGroup = &v
24388	return s
24389}
24390
24391// An Autopilot job returns recommendations, or candidates. Each candidate has
24392// futher details about the steps involed, and the status.
24393type AutoMLCandidate struct {
24394	_ struct{} `type:"structure"`
24395
24396	// The candidate name.
24397	//
24398	// CandidateName is a required field
24399	CandidateName *string `min:"1" type:"string" required:"true"`
24400
24401	// The candidate's status.
24402	//
24403	// CandidateStatus is a required field
24404	CandidateStatus *string `type:"string" required:"true" enum:"CandidateStatus"`
24405
24406	// The candidate's steps.
24407	//
24408	// CandidateSteps is a required field
24409	CandidateSteps []*AutoMLCandidateStep `type:"list" required:"true"`
24410
24411	// The creation time.
24412	//
24413	// CreationTime is a required field
24414	CreationTime *time.Time `type:"timestamp" required:"true"`
24415
24416	// The end time.
24417	EndTime *time.Time `type:"timestamp"`
24418
24419	// The failure reason.
24420	FailureReason *string `type:"string"`
24421
24422	// The best candidate result from an AutoML training job.
24423	FinalAutoMLJobObjectiveMetric *FinalAutoMLJobObjectiveMetric `type:"structure"`
24424
24425	// The inference containers.
24426	InferenceContainers []*AutoMLContainerDefinition `type:"list"`
24427
24428	// The last modified time.
24429	//
24430	// LastModifiedTime is a required field
24431	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
24432
24433	// The objective status.
24434	//
24435	// ObjectiveStatus is a required field
24436	ObjectiveStatus *string `type:"string" required:"true" enum:"ObjectiveStatus"`
24437}
24438
24439// String returns the string representation
24440func (s AutoMLCandidate) String() string {
24441	return awsutil.Prettify(s)
24442}
24443
24444// GoString returns the string representation
24445func (s AutoMLCandidate) GoString() string {
24446	return s.String()
24447}
24448
24449// SetCandidateName sets the CandidateName field's value.
24450func (s *AutoMLCandidate) SetCandidateName(v string) *AutoMLCandidate {
24451	s.CandidateName = &v
24452	return s
24453}
24454
24455// SetCandidateStatus sets the CandidateStatus field's value.
24456func (s *AutoMLCandidate) SetCandidateStatus(v string) *AutoMLCandidate {
24457	s.CandidateStatus = &v
24458	return s
24459}
24460
24461// SetCandidateSteps sets the CandidateSteps field's value.
24462func (s *AutoMLCandidate) SetCandidateSteps(v []*AutoMLCandidateStep) *AutoMLCandidate {
24463	s.CandidateSteps = v
24464	return s
24465}
24466
24467// SetCreationTime sets the CreationTime field's value.
24468func (s *AutoMLCandidate) SetCreationTime(v time.Time) *AutoMLCandidate {
24469	s.CreationTime = &v
24470	return s
24471}
24472
24473// SetEndTime sets the EndTime field's value.
24474func (s *AutoMLCandidate) SetEndTime(v time.Time) *AutoMLCandidate {
24475	s.EndTime = &v
24476	return s
24477}
24478
24479// SetFailureReason sets the FailureReason field's value.
24480func (s *AutoMLCandidate) SetFailureReason(v string) *AutoMLCandidate {
24481	s.FailureReason = &v
24482	return s
24483}
24484
24485// SetFinalAutoMLJobObjectiveMetric sets the FinalAutoMLJobObjectiveMetric field's value.
24486func (s *AutoMLCandidate) SetFinalAutoMLJobObjectiveMetric(v *FinalAutoMLJobObjectiveMetric) *AutoMLCandidate {
24487	s.FinalAutoMLJobObjectiveMetric = v
24488	return s
24489}
24490
24491// SetInferenceContainers sets the InferenceContainers field's value.
24492func (s *AutoMLCandidate) SetInferenceContainers(v []*AutoMLContainerDefinition) *AutoMLCandidate {
24493	s.InferenceContainers = v
24494	return s
24495}
24496
24497// SetLastModifiedTime sets the LastModifiedTime field's value.
24498func (s *AutoMLCandidate) SetLastModifiedTime(v time.Time) *AutoMLCandidate {
24499	s.LastModifiedTime = &v
24500	return s
24501}
24502
24503// SetObjectiveStatus sets the ObjectiveStatus field's value.
24504func (s *AutoMLCandidate) SetObjectiveStatus(v string) *AutoMLCandidate {
24505	s.ObjectiveStatus = &v
24506	return s
24507}
24508
24509// Information about the steps for a Candidate, and what step it is working
24510// on.
24511type AutoMLCandidateStep struct {
24512	_ struct{} `type:"structure"`
24513
24514	// The ARN for the Candidate's step.
24515	//
24516	// CandidateStepArn is a required field
24517	CandidateStepArn *string `min:"1" type:"string" required:"true"`
24518
24519	// The name for the Candidate's step.
24520	//
24521	// CandidateStepName is a required field
24522	CandidateStepName *string `min:"1" type:"string" required:"true"`
24523
24524	// Whether the Candidate is at the transform, training, or processing step.
24525	//
24526	// CandidateStepType is a required field
24527	CandidateStepType *string `type:"string" required:"true" enum:"CandidateStepType"`
24528}
24529
24530// String returns the string representation
24531func (s AutoMLCandidateStep) String() string {
24532	return awsutil.Prettify(s)
24533}
24534
24535// GoString returns the string representation
24536func (s AutoMLCandidateStep) GoString() string {
24537	return s.String()
24538}
24539
24540// SetCandidateStepArn sets the CandidateStepArn field's value.
24541func (s *AutoMLCandidateStep) SetCandidateStepArn(v string) *AutoMLCandidateStep {
24542	s.CandidateStepArn = &v
24543	return s
24544}
24545
24546// SetCandidateStepName sets the CandidateStepName field's value.
24547func (s *AutoMLCandidateStep) SetCandidateStepName(v string) *AutoMLCandidateStep {
24548	s.CandidateStepName = &v
24549	return s
24550}
24551
24552// SetCandidateStepType sets the CandidateStepType field's value.
24553func (s *AutoMLCandidateStep) SetCandidateStepType(v string) *AutoMLCandidateStep {
24554	s.CandidateStepType = &v
24555	return s
24556}
24557
24558// Similar to Channel. A channel is a named input source that training algorithms
24559// can consume. Refer to Channel for detailed descriptions.
24560type AutoMLChannel struct {
24561	_ struct{} `type:"structure"`
24562
24563	// You can use Gzip or None. The default value is None.
24564	CompressionType *string `type:"string" enum:"CompressionType"`
24565
24566	// The data source.
24567	//
24568	// DataSource is a required field
24569	DataSource *AutoMLDataSource `type:"structure" required:"true"`
24570
24571	// The name of the target variable in supervised learning, a.k.a. 'y'.
24572	//
24573	// TargetAttributeName is a required field
24574	TargetAttributeName *string `min:"1" type:"string" required:"true"`
24575}
24576
24577// String returns the string representation
24578func (s AutoMLChannel) String() string {
24579	return awsutil.Prettify(s)
24580}
24581
24582// GoString returns the string representation
24583func (s AutoMLChannel) GoString() string {
24584	return s.String()
24585}
24586
24587// Validate inspects the fields of the type to determine if they are valid.
24588func (s *AutoMLChannel) Validate() error {
24589	invalidParams := request.ErrInvalidParams{Context: "AutoMLChannel"}
24590	if s.DataSource == nil {
24591		invalidParams.Add(request.NewErrParamRequired("DataSource"))
24592	}
24593	if s.TargetAttributeName == nil {
24594		invalidParams.Add(request.NewErrParamRequired("TargetAttributeName"))
24595	}
24596	if s.TargetAttributeName != nil && len(*s.TargetAttributeName) < 1 {
24597		invalidParams.Add(request.NewErrParamMinLen("TargetAttributeName", 1))
24598	}
24599	if s.DataSource != nil {
24600		if err := s.DataSource.Validate(); err != nil {
24601			invalidParams.AddNested("DataSource", err.(request.ErrInvalidParams))
24602		}
24603	}
24604
24605	if invalidParams.Len() > 0 {
24606		return invalidParams
24607	}
24608	return nil
24609}
24610
24611// SetCompressionType sets the CompressionType field's value.
24612func (s *AutoMLChannel) SetCompressionType(v string) *AutoMLChannel {
24613	s.CompressionType = &v
24614	return s
24615}
24616
24617// SetDataSource sets the DataSource field's value.
24618func (s *AutoMLChannel) SetDataSource(v *AutoMLDataSource) *AutoMLChannel {
24619	s.DataSource = v
24620	return s
24621}
24622
24623// SetTargetAttributeName sets the TargetAttributeName field's value.
24624func (s *AutoMLChannel) SetTargetAttributeName(v string) *AutoMLChannel {
24625	s.TargetAttributeName = &v
24626	return s
24627}
24628
24629// A list of container definitions that describe the different containers that
24630// make up one AutoML candidate. Refer to ContainerDefinition for more details.
24631type AutoMLContainerDefinition struct {
24632	_ struct{} `type:"structure"`
24633
24634	// Environment variables to set in the container. Refer to ContainerDefinition
24635	// for more details.
24636	Environment map[string]*string `type:"map"`
24637
24638	// The ECR path of the container. Refer to ContainerDefinition for more details.
24639	//
24640	// Image is a required field
24641	Image *string `type:"string" required:"true"`
24642
24643	// The location of the model artifacts. Refer to ContainerDefinition for more
24644	// details.
24645	//
24646	// ModelDataUrl is a required field
24647	ModelDataUrl *string `type:"string" required:"true"`
24648}
24649
24650// String returns the string representation
24651func (s AutoMLContainerDefinition) String() string {
24652	return awsutil.Prettify(s)
24653}
24654
24655// GoString returns the string representation
24656func (s AutoMLContainerDefinition) GoString() string {
24657	return s.String()
24658}
24659
24660// SetEnvironment sets the Environment field's value.
24661func (s *AutoMLContainerDefinition) SetEnvironment(v map[string]*string) *AutoMLContainerDefinition {
24662	s.Environment = v
24663	return s
24664}
24665
24666// SetImage sets the Image field's value.
24667func (s *AutoMLContainerDefinition) SetImage(v string) *AutoMLContainerDefinition {
24668	s.Image = &v
24669	return s
24670}
24671
24672// SetModelDataUrl sets the ModelDataUrl field's value.
24673func (s *AutoMLContainerDefinition) SetModelDataUrl(v string) *AutoMLContainerDefinition {
24674	s.ModelDataUrl = &v
24675	return s
24676}
24677
24678// The data source for the Autopilot job.
24679type AutoMLDataSource struct {
24680	_ struct{} `type:"structure"`
24681
24682	// The Amazon S3 location of the input data.
24683	//
24684	// The input data must be in CSV format and contain at least 500 rows.
24685	//
24686	// S3DataSource is a required field
24687	S3DataSource *AutoMLS3DataSource `type:"structure" required:"true"`
24688}
24689
24690// String returns the string representation
24691func (s AutoMLDataSource) String() string {
24692	return awsutil.Prettify(s)
24693}
24694
24695// GoString returns the string representation
24696func (s AutoMLDataSource) GoString() string {
24697	return s.String()
24698}
24699
24700// Validate inspects the fields of the type to determine if they are valid.
24701func (s *AutoMLDataSource) Validate() error {
24702	invalidParams := request.ErrInvalidParams{Context: "AutoMLDataSource"}
24703	if s.S3DataSource == nil {
24704		invalidParams.Add(request.NewErrParamRequired("S3DataSource"))
24705	}
24706	if s.S3DataSource != nil {
24707		if err := s.S3DataSource.Validate(); err != nil {
24708			invalidParams.AddNested("S3DataSource", err.(request.ErrInvalidParams))
24709		}
24710	}
24711
24712	if invalidParams.Len() > 0 {
24713		return invalidParams
24714	}
24715	return nil
24716}
24717
24718// SetS3DataSource sets the S3DataSource field's value.
24719func (s *AutoMLDataSource) SetS3DataSource(v *AutoMLS3DataSource) *AutoMLDataSource {
24720	s.S3DataSource = v
24721	return s
24722}
24723
24724// Artifacts that are generation during a job.
24725type AutoMLJobArtifacts struct {
24726	_ struct{} `type:"structure"`
24727
24728	// The URL to the notebook location.
24729	CandidateDefinitionNotebookLocation *string `min:"1" type:"string"`
24730
24731	// The URL to the notebook location.
24732	DataExplorationNotebookLocation *string `min:"1" type:"string"`
24733}
24734
24735// String returns the string representation
24736func (s AutoMLJobArtifacts) String() string {
24737	return awsutil.Prettify(s)
24738}
24739
24740// GoString returns the string representation
24741func (s AutoMLJobArtifacts) GoString() string {
24742	return s.String()
24743}
24744
24745// SetCandidateDefinitionNotebookLocation sets the CandidateDefinitionNotebookLocation field's value.
24746func (s *AutoMLJobArtifacts) SetCandidateDefinitionNotebookLocation(v string) *AutoMLJobArtifacts {
24747	s.CandidateDefinitionNotebookLocation = &v
24748	return s
24749}
24750
24751// SetDataExplorationNotebookLocation sets the DataExplorationNotebookLocation field's value.
24752func (s *AutoMLJobArtifacts) SetDataExplorationNotebookLocation(v string) *AutoMLJobArtifacts {
24753	s.DataExplorationNotebookLocation = &v
24754	return s
24755}
24756
24757// How long a job is allowed to run, or how many candidates a job is allowed
24758// to generate.
24759type AutoMLJobCompletionCriteria struct {
24760	_ struct{} `type:"structure"`
24761
24762	// The maximum time, in seconds, an AutoML job is allowed to wait for a trial
24763	// to complete. It must be equal to or greater than MaxRuntimePerTrainingJobInSeconds.
24764	MaxAutoMLJobRuntimeInSeconds *int64 `min:"1" type:"integer"`
24765
24766	// The maximum number of times a training job is allowed to run.
24767	MaxCandidates *int64 `min:"1" type:"integer"`
24768
24769	// The maximum time, in seconds, a job is allowed to run.
24770	MaxRuntimePerTrainingJobInSeconds *int64 `min:"1" type:"integer"`
24771}
24772
24773// String returns the string representation
24774func (s AutoMLJobCompletionCriteria) String() string {
24775	return awsutil.Prettify(s)
24776}
24777
24778// GoString returns the string representation
24779func (s AutoMLJobCompletionCriteria) GoString() string {
24780	return s.String()
24781}
24782
24783// Validate inspects the fields of the type to determine if they are valid.
24784func (s *AutoMLJobCompletionCriteria) Validate() error {
24785	invalidParams := request.ErrInvalidParams{Context: "AutoMLJobCompletionCriteria"}
24786	if s.MaxAutoMLJobRuntimeInSeconds != nil && *s.MaxAutoMLJobRuntimeInSeconds < 1 {
24787		invalidParams.Add(request.NewErrParamMinValue("MaxAutoMLJobRuntimeInSeconds", 1))
24788	}
24789	if s.MaxCandidates != nil && *s.MaxCandidates < 1 {
24790		invalidParams.Add(request.NewErrParamMinValue("MaxCandidates", 1))
24791	}
24792	if s.MaxRuntimePerTrainingJobInSeconds != nil && *s.MaxRuntimePerTrainingJobInSeconds < 1 {
24793		invalidParams.Add(request.NewErrParamMinValue("MaxRuntimePerTrainingJobInSeconds", 1))
24794	}
24795
24796	if invalidParams.Len() > 0 {
24797		return invalidParams
24798	}
24799	return nil
24800}
24801
24802// SetMaxAutoMLJobRuntimeInSeconds sets the MaxAutoMLJobRuntimeInSeconds field's value.
24803func (s *AutoMLJobCompletionCriteria) SetMaxAutoMLJobRuntimeInSeconds(v int64) *AutoMLJobCompletionCriteria {
24804	s.MaxAutoMLJobRuntimeInSeconds = &v
24805	return s
24806}
24807
24808// SetMaxCandidates sets the MaxCandidates field's value.
24809func (s *AutoMLJobCompletionCriteria) SetMaxCandidates(v int64) *AutoMLJobCompletionCriteria {
24810	s.MaxCandidates = &v
24811	return s
24812}
24813
24814// SetMaxRuntimePerTrainingJobInSeconds sets the MaxRuntimePerTrainingJobInSeconds field's value.
24815func (s *AutoMLJobCompletionCriteria) SetMaxRuntimePerTrainingJobInSeconds(v int64) *AutoMLJobCompletionCriteria {
24816	s.MaxRuntimePerTrainingJobInSeconds = &v
24817	return s
24818}
24819
24820// A collection of settings used for a job.
24821type AutoMLJobConfig struct {
24822	_ struct{} `type:"structure"`
24823
24824	// How long a job is allowed to run, or how many candidates a job is allowed
24825	// to generate.
24826	CompletionCriteria *AutoMLJobCompletionCriteria `type:"structure"`
24827
24828	// Security configuration for traffic encryption or Amazon VPC settings.
24829	SecurityConfig *AutoMLSecurityConfig `type:"structure"`
24830}
24831
24832// String returns the string representation
24833func (s AutoMLJobConfig) String() string {
24834	return awsutil.Prettify(s)
24835}
24836
24837// GoString returns the string representation
24838func (s AutoMLJobConfig) GoString() string {
24839	return s.String()
24840}
24841
24842// Validate inspects the fields of the type to determine if they are valid.
24843func (s *AutoMLJobConfig) Validate() error {
24844	invalidParams := request.ErrInvalidParams{Context: "AutoMLJobConfig"}
24845	if s.CompletionCriteria != nil {
24846		if err := s.CompletionCriteria.Validate(); err != nil {
24847			invalidParams.AddNested("CompletionCriteria", err.(request.ErrInvalidParams))
24848		}
24849	}
24850	if s.SecurityConfig != nil {
24851		if err := s.SecurityConfig.Validate(); err != nil {
24852			invalidParams.AddNested("SecurityConfig", err.(request.ErrInvalidParams))
24853		}
24854	}
24855
24856	if invalidParams.Len() > 0 {
24857		return invalidParams
24858	}
24859	return nil
24860}
24861
24862// SetCompletionCriteria sets the CompletionCriteria field's value.
24863func (s *AutoMLJobConfig) SetCompletionCriteria(v *AutoMLJobCompletionCriteria) *AutoMLJobConfig {
24864	s.CompletionCriteria = v
24865	return s
24866}
24867
24868// SetSecurityConfig sets the SecurityConfig field's value.
24869func (s *AutoMLJobConfig) SetSecurityConfig(v *AutoMLSecurityConfig) *AutoMLJobConfig {
24870	s.SecurityConfig = v
24871	return s
24872}
24873
24874// Specifies a metric to minimize or maximize as the objective of a job.
24875type AutoMLJobObjective struct {
24876	_ struct{} `type:"structure"`
24877
24878	// The name of the objective metric used to measure the predictive quality of
24879	// a machine learning system. This metric is optimized during training to provide
24880	// the best estimate for model parameter values from data.
24881	//
24882	// Here are the options:
24883	//
24884	//    * MSE: The mean squared error (MSE) is the average of the squared differences
24885	//    between the predicted and actual values. It is used for regression. MSE
24886	//    values are always positive, the better a model is at predicting the actual
24887	//    values the smaller the MSE value. When the data contains outliers, they
24888	//    tend to dominate the MSE which might cause subpar prediction performance.
24889	//
24890	//    * Accuracy: The ratio of the number correctly classified items to the
24891	//    total number (correctly and incorrectly) classified. It is used for binary
24892	//    and multiclass classification. Measures how close the predicted class
24893	//    values are to the actual values. Accuracy values vary between zero and
24894	//    one, one being perfect accuracy and zero perfect inaccuracy.
24895	//
24896	//    * F1: The F1 score is the harmonic mean of the precision and recall. It
24897	//    is used for binary classification into classes traditionally referred
24898	//    to as positive and negative. Predictions are said to be true when they
24899	//    match their actual (correct) class; false when they do not. Precision
24900	//    is the ratio of the true positive predictions to all positive predictions
24901	//    (including the false positives) in a data set and measures the quality
24902	//    of the prediction when it predicts the positive class. Recall (or sensitivity)
24903	//    is the ratio of the true positive predictions to all actual positive instances
24904	//    and measures how completely a model predicts the actual class members
24905	//    in a data set. The standard F1 score weighs precision and recall equally.
24906	//    But which metric is paramount typically depends on specific aspects of
24907	//    a problem. F1 scores vary between zero and one, one being the best possible
24908	//    performance and zero the worst.
24909	//
24910	//    * AUC: The area under the curve (AUC) metric is used to compare and evaluate
24911	//    binary classification by algorithms such as logistic regression that return
24912	//    probabilities. A threshold is needed to map the probabilities into classifications.
24913	//    The relevant curve is the receiver operating characteristic curve that
24914	//    plots the true positive rate (TPR) of predictions (or recall) against
24915	//    the false positive rate (FPR) as a function of the threshold value, above
24916	//    which a prediction is considered positive. Increasing the threshold results
24917	//    in fewer false positives but more false negatives. AUC is the area under
24918	//    this receiver operating characteristic curve and so provides an aggregated
24919	//    measure of the model performance across all possible classification thresholds.
24920	//    The AUC score can also be interpreted as the probability that a randomly
24921	//    selected positive data point is more likely to be predicted positive than
24922	//    a randomly selected negative example. AUC scores vary between zero and
24923	//    one, one being perfect accuracy and one half not better than a random
24924	//    classifier. Values less that one half predict worse than a random predictor
24925	//    and such consistently bad predictors can be inverted to obtain better
24926	//    than random predictors.
24927	//
24928	//    * F1macro: The F1macro score applies F1 scoring to multiclass classification.
24929	//    In this context, you have multiple classes to predict. You just calculate
24930	//    the precision and recall for each class as you did for the positive class
24931	//    in binary classification. Then used these values to calculate the F1 score
24932	//    for each class and average them to obtain the F1macro score. F1macro scores
24933	//    vary between zero and one, one being the best possible performance and
24934	//    zero the worst.
24935	//
24936	// If you do not specify a metric explicitly, the default behavior is to automatically
24937	// use:
24938	//
24939	//    * MSE: for regression.
24940	//
24941	//    * F1: for binary classification
24942	//
24943	//    * Accuracy: for multiclass classification.
24944	//
24945	// MetricName is a required field
24946	MetricName *string `type:"string" required:"true" enum:"AutoMLMetricEnum"`
24947}
24948
24949// String returns the string representation
24950func (s AutoMLJobObjective) String() string {
24951	return awsutil.Prettify(s)
24952}
24953
24954// GoString returns the string representation
24955func (s AutoMLJobObjective) GoString() string {
24956	return s.String()
24957}
24958
24959// Validate inspects the fields of the type to determine if they are valid.
24960func (s *AutoMLJobObjective) Validate() error {
24961	invalidParams := request.ErrInvalidParams{Context: "AutoMLJobObjective"}
24962	if s.MetricName == nil {
24963		invalidParams.Add(request.NewErrParamRequired("MetricName"))
24964	}
24965
24966	if invalidParams.Len() > 0 {
24967		return invalidParams
24968	}
24969	return nil
24970}
24971
24972// SetMetricName sets the MetricName field's value.
24973func (s *AutoMLJobObjective) SetMetricName(v string) *AutoMLJobObjective {
24974	s.MetricName = &v
24975	return s
24976}
24977
24978// Provides a summary about a job.
24979type AutoMLJobSummary struct {
24980	_ struct{} `type:"structure"`
24981
24982	// The ARN of the job.
24983	//
24984	// AutoMLJobArn is a required field
24985	AutoMLJobArn *string `min:"1" type:"string" required:"true"`
24986
24987	// The name of the object you are requesting.
24988	//
24989	// AutoMLJobName is a required field
24990	AutoMLJobName *string `min:"1" type:"string" required:"true"`
24991
24992	// The job's secondary status.
24993	//
24994	// AutoMLJobSecondaryStatus is a required field
24995	AutoMLJobSecondaryStatus *string `type:"string" required:"true" enum:"AutoMLJobSecondaryStatus"`
24996
24997	// The job's status.
24998	//
24999	// AutoMLJobStatus is a required field
25000	AutoMLJobStatus *string `type:"string" required:"true" enum:"AutoMLJobStatus"`
25001
25002	// When the job was created.
25003	//
25004	// CreationTime is a required field
25005	CreationTime *time.Time `type:"timestamp" required:"true"`
25006
25007	// The end time of an AutoML job.
25008	EndTime *time.Time `type:"timestamp"`
25009
25010	// The failure reason of a job.
25011	FailureReason *string `type:"string"`
25012
25013	// When the job was last modified.
25014	//
25015	// LastModifiedTime is a required field
25016	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
25017}
25018
25019// String returns the string representation
25020func (s AutoMLJobSummary) String() string {
25021	return awsutil.Prettify(s)
25022}
25023
25024// GoString returns the string representation
25025func (s AutoMLJobSummary) GoString() string {
25026	return s.String()
25027}
25028
25029// SetAutoMLJobArn sets the AutoMLJobArn field's value.
25030func (s *AutoMLJobSummary) SetAutoMLJobArn(v string) *AutoMLJobSummary {
25031	s.AutoMLJobArn = &v
25032	return s
25033}
25034
25035// SetAutoMLJobName sets the AutoMLJobName field's value.
25036func (s *AutoMLJobSummary) SetAutoMLJobName(v string) *AutoMLJobSummary {
25037	s.AutoMLJobName = &v
25038	return s
25039}
25040
25041// SetAutoMLJobSecondaryStatus sets the AutoMLJobSecondaryStatus field's value.
25042func (s *AutoMLJobSummary) SetAutoMLJobSecondaryStatus(v string) *AutoMLJobSummary {
25043	s.AutoMLJobSecondaryStatus = &v
25044	return s
25045}
25046
25047// SetAutoMLJobStatus sets the AutoMLJobStatus field's value.
25048func (s *AutoMLJobSummary) SetAutoMLJobStatus(v string) *AutoMLJobSummary {
25049	s.AutoMLJobStatus = &v
25050	return s
25051}
25052
25053// SetCreationTime sets the CreationTime field's value.
25054func (s *AutoMLJobSummary) SetCreationTime(v time.Time) *AutoMLJobSummary {
25055	s.CreationTime = &v
25056	return s
25057}
25058
25059// SetEndTime sets the EndTime field's value.
25060func (s *AutoMLJobSummary) SetEndTime(v time.Time) *AutoMLJobSummary {
25061	s.EndTime = &v
25062	return s
25063}
25064
25065// SetFailureReason sets the FailureReason field's value.
25066func (s *AutoMLJobSummary) SetFailureReason(v string) *AutoMLJobSummary {
25067	s.FailureReason = &v
25068	return s
25069}
25070
25071// SetLastModifiedTime sets the LastModifiedTime field's value.
25072func (s *AutoMLJobSummary) SetLastModifiedTime(v time.Time) *AutoMLJobSummary {
25073	s.LastModifiedTime = &v
25074	return s
25075}
25076
25077// The output data configuration.
25078type AutoMLOutputDataConfig struct {
25079	_ struct{} `type:"structure"`
25080
25081	// The AWS KMS encryption key ID.
25082	KmsKeyId *string `type:"string"`
25083
25084	// The Amazon S3 output path. Must be 128 characters or less.
25085	//
25086	// S3OutputPath is a required field
25087	S3OutputPath *string `type:"string" required:"true"`
25088}
25089
25090// String returns the string representation
25091func (s AutoMLOutputDataConfig) String() string {
25092	return awsutil.Prettify(s)
25093}
25094
25095// GoString returns the string representation
25096func (s AutoMLOutputDataConfig) GoString() string {
25097	return s.String()
25098}
25099
25100// Validate inspects the fields of the type to determine if they are valid.
25101func (s *AutoMLOutputDataConfig) Validate() error {
25102	invalidParams := request.ErrInvalidParams{Context: "AutoMLOutputDataConfig"}
25103	if s.S3OutputPath == nil {
25104		invalidParams.Add(request.NewErrParamRequired("S3OutputPath"))
25105	}
25106
25107	if invalidParams.Len() > 0 {
25108		return invalidParams
25109	}
25110	return nil
25111}
25112
25113// SetKmsKeyId sets the KmsKeyId field's value.
25114func (s *AutoMLOutputDataConfig) SetKmsKeyId(v string) *AutoMLOutputDataConfig {
25115	s.KmsKeyId = &v
25116	return s
25117}
25118
25119// SetS3OutputPath sets the S3OutputPath field's value.
25120func (s *AutoMLOutputDataConfig) SetS3OutputPath(v string) *AutoMLOutputDataConfig {
25121	s.S3OutputPath = &v
25122	return s
25123}
25124
25125// The Amazon S3 data source.
25126type AutoMLS3DataSource struct {
25127	_ struct{} `type:"structure"`
25128
25129	// The data type.
25130	//
25131	// S3DataType is a required field
25132	S3DataType *string `type:"string" required:"true" enum:"AutoMLS3DataType"`
25133
25134	// The URL to the Amazon S3 data source.
25135	//
25136	// S3Uri is a required field
25137	S3Uri *string `type:"string" required:"true"`
25138}
25139
25140// String returns the string representation
25141func (s AutoMLS3DataSource) String() string {
25142	return awsutil.Prettify(s)
25143}
25144
25145// GoString returns the string representation
25146func (s AutoMLS3DataSource) GoString() string {
25147	return s.String()
25148}
25149
25150// Validate inspects the fields of the type to determine if they are valid.
25151func (s *AutoMLS3DataSource) Validate() error {
25152	invalidParams := request.ErrInvalidParams{Context: "AutoMLS3DataSource"}
25153	if s.S3DataType == nil {
25154		invalidParams.Add(request.NewErrParamRequired("S3DataType"))
25155	}
25156	if s.S3Uri == nil {
25157		invalidParams.Add(request.NewErrParamRequired("S3Uri"))
25158	}
25159
25160	if invalidParams.Len() > 0 {
25161		return invalidParams
25162	}
25163	return nil
25164}
25165
25166// SetS3DataType sets the S3DataType field's value.
25167func (s *AutoMLS3DataSource) SetS3DataType(v string) *AutoMLS3DataSource {
25168	s.S3DataType = &v
25169	return s
25170}
25171
25172// SetS3Uri sets the S3Uri field's value.
25173func (s *AutoMLS3DataSource) SetS3Uri(v string) *AutoMLS3DataSource {
25174	s.S3Uri = &v
25175	return s
25176}
25177
25178// Security options.
25179type AutoMLSecurityConfig struct {
25180	_ struct{} `type:"structure"`
25181
25182	// Whether to use traffic encryption between the container layers.
25183	EnableInterContainerTrafficEncryption *bool `type:"boolean"`
25184
25185	// The key used to encrypt stored data.
25186	VolumeKmsKeyId *string `type:"string"`
25187
25188	// VPC configuration.
25189	VpcConfig *VpcConfig `type:"structure"`
25190}
25191
25192// String returns the string representation
25193func (s AutoMLSecurityConfig) String() string {
25194	return awsutil.Prettify(s)
25195}
25196
25197// GoString returns the string representation
25198func (s AutoMLSecurityConfig) GoString() string {
25199	return s.String()
25200}
25201
25202// Validate inspects the fields of the type to determine if they are valid.
25203func (s *AutoMLSecurityConfig) Validate() error {
25204	invalidParams := request.ErrInvalidParams{Context: "AutoMLSecurityConfig"}
25205	if s.VpcConfig != nil {
25206		if err := s.VpcConfig.Validate(); err != nil {
25207			invalidParams.AddNested("VpcConfig", err.(request.ErrInvalidParams))
25208		}
25209	}
25210
25211	if invalidParams.Len() > 0 {
25212		return invalidParams
25213	}
25214	return nil
25215}
25216
25217// SetEnableInterContainerTrafficEncryption sets the EnableInterContainerTrafficEncryption field's value.
25218func (s *AutoMLSecurityConfig) SetEnableInterContainerTrafficEncryption(v bool) *AutoMLSecurityConfig {
25219	s.EnableInterContainerTrafficEncryption = &v
25220	return s
25221}
25222
25223// SetVolumeKmsKeyId sets the VolumeKmsKeyId field's value.
25224func (s *AutoMLSecurityConfig) SetVolumeKmsKeyId(v string) *AutoMLSecurityConfig {
25225	s.VolumeKmsKeyId = &v
25226	return s
25227}
25228
25229// SetVpcConfig sets the VpcConfig field's value.
25230func (s *AutoMLSecurityConfig) SetVpcConfig(v *VpcConfig) *AutoMLSecurityConfig {
25231	s.VpcConfig = v
25232	return s
25233}
25234
25235// Currently, the AutoRollbackConfig API is not supported.
25236type AutoRollbackConfig struct {
25237	_ struct{} `type:"structure"`
25238
25239	Alarms []*Alarm `min:"1" type:"list"`
25240}
25241
25242// String returns the string representation
25243func (s AutoRollbackConfig) String() string {
25244	return awsutil.Prettify(s)
25245}
25246
25247// GoString returns the string representation
25248func (s AutoRollbackConfig) GoString() string {
25249	return s.String()
25250}
25251
25252// Validate inspects the fields of the type to determine if they are valid.
25253func (s *AutoRollbackConfig) Validate() error {
25254	invalidParams := request.ErrInvalidParams{Context: "AutoRollbackConfig"}
25255	if s.Alarms != nil && len(s.Alarms) < 1 {
25256		invalidParams.Add(request.NewErrParamMinLen("Alarms", 1))
25257	}
25258	if s.Alarms != nil {
25259		for i, v := range s.Alarms {
25260			if v == nil {
25261				continue
25262			}
25263			if err := v.Validate(); err != nil {
25264				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Alarms", i), err.(request.ErrInvalidParams))
25265			}
25266		}
25267	}
25268
25269	if invalidParams.Len() > 0 {
25270		return invalidParams
25271	}
25272	return nil
25273}
25274
25275// SetAlarms sets the Alarms field's value.
25276func (s *AutoRollbackConfig) SetAlarms(v []*Alarm) *AutoRollbackConfig {
25277	s.Alarms = v
25278	return s
25279}
25280
25281// Contains bias metrics for a model.
25282type Bias struct {
25283	_ struct{} `type:"structure"`
25284
25285	// The bias report for a model
25286	Report *MetricsSource `type:"structure"`
25287}
25288
25289// String returns the string representation
25290func (s Bias) String() string {
25291	return awsutil.Prettify(s)
25292}
25293
25294// GoString returns the string representation
25295func (s Bias) GoString() string {
25296	return s.String()
25297}
25298
25299// Validate inspects the fields of the type to determine if they are valid.
25300func (s *Bias) Validate() error {
25301	invalidParams := request.ErrInvalidParams{Context: "Bias"}
25302	if s.Report != nil {
25303		if err := s.Report.Validate(); err != nil {
25304			invalidParams.AddNested("Report", err.(request.ErrInvalidParams))
25305		}
25306	}
25307
25308	if invalidParams.Len() > 0 {
25309		return invalidParams
25310	}
25311	return nil
25312}
25313
25314// SetReport sets the Report field's value.
25315func (s *Bias) SetReport(v *MetricsSource) *Bias {
25316	s.Report = v
25317	return s
25318}
25319
25320// Currently, the BlueGreenUpdatePolicy API is not supported.
25321type BlueGreenUpdatePolicy struct {
25322	_ struct{} `type:"structure"`
25323
25324	MaximumExecutionTimeoutInSeconds *int64 `min:"600" type:"integer"`
25325
25326	TerminationWaitInSeconds *int64 `type:"integer"`
25327
25328	// Currently, the TrafficRoutingConfig API is not supported.
25329	//
25330	// TrafficRoutingConfiguration is a required field
25331	TrafficRoutingConfiguration *TrafficRoutingConfig `type:"structure" required:"true"`
25332}
25333
25334// String returns the string representation
25335func (s BlueGreenUpdatePolicy) String() string {
25336	return awsutil.Prettify(s)
25337}
25338
25339// GoString returns the string representation
25340func (s BlueGreenUpdatePolicy) GoString() string {
25341	return s.String()
25342}
25343
25344// Validate inspects the fields of the type to determine if they are valid.
25345func (s *BlueGreenUpdatePolicy) Validate() error {
25346	invalidParams := request.ErrInvalidParams{Context: "BlueGreenUpdatePolicy"}
25347	if s.MaximumExecutionTimeoutInSeconds != nil && *s.MaximumExecutionTimeoutInSeconds < 600 {
25348		invalidParams.Add(request.NewErrParamMinValue("MaximumExecutionTimeoutInSeconds", 600))
25349	}
25350	if s.TrafficRoutingConfiguration == nil {
25351		invalidParams.Add(request.NewErrParamRequired("TrafficRoutingConfiguration"))
25352	}
25353	if s.TrafficRoutingConfiguration != nil {
25354		if err := s.TrafficRoutingConfiguration.Validate(); err != nil {
25355			invalidParams.AddNested("TrafficRoutingConfiguration", err.(request.ErrInvalidParams))
25356		}
25357	}
25358
25359	if invalidParams.Len() > 0 {
25360		return invalidParams
25361	}
25362	return nil
25363}
25364
25365// SetMaximumExecutionTimeoutInSeconds sets the MaximumExecutionTimeoutInSeconds field's value.
25366func (s *BlueGreenUpdatePolicy) SetMaximumExecutionTimeoutInSeconds(v int64) *BlueGreenUpdatePolicy {
25367	s.MaximumExecutionTimeoutInSeconds = &v
25368	return s
25369}
25370
25371// SetTerminationWaitInSeconds sets the TerminationWaitInSeconds field's value.
25372func (s *BlueGreenUpdatePolicy) SetTerminationWaitInSeconds(v int64) *BlueGreenUpdatePolicy {
25373	s.TerminationWaitInSeconds = &v
25374	return s
25375}
25376
25377// SetTrafficRoutingConfiguration sets the TrafficRoutingConfiguration field's value.
25378func (s *BlueGreenUpdatePolicy) SetTrafficRoutingConfiguration(v *TrafficRoutingConfig) *BlueGreenUpdatePolicy {
25379	s.TrafficRoutingConfiguration = v
25380	return s
25381}
25382
25383// Details on the cache hit of a pipeline execution step.
25384type CacheHitResult struct {
25385	_ struct{} `type:"structure"`
25386
25387	// The Amazon Resource Name (ARN) of the pipeline execution.
25388	SourcePipelineExecutionArn *string `type:"string"`
25389}
25390
25391// String returns the string representation
25392func (s CacheHitResult) String() string {
25393	return awsutil.Prettify(s)
25394}
25395
25396// GoString returns the string representation
25397func (s CacheHitResult) GoString() string {
25398	return s.String()
25399}
25400
25401// SetSourcePipelineExecutionArn sets the SourcePipelineExecutionArn field's value.
25402func (s *CacheHitResult) SetSourcePipelineExecutionArn(v string) *CacheHitResult {
25403	s.SourcePipelineExecutionArn = &v
25404	return s
25405}
25406
25407// Currently, the CapacitySize API is not supported.
25408type CapacitySize struct {
25409	_ struct{} `type:"structure"`
25410
25411	// This API is not supported.
25412	//
25413	// Type is a required field
25414	Type *string `type:"string" required:"true" enum:"CapacitySizeType"`
25415
25416	// Value is a required field
25417	Value *int64 `min:"1" type:"integer" required:"true"`
25418}
25419
25420// String returns the string representation
25421func (s CapacitySize) String() string {
25422	return awsutil.Prettify(s)
25423}
25424
25425// GoString returns the string representation
25426func (s CapacitySize) GoString() string {
25427	return s.String()
25428}
25429
25430// Validate inspects the fields of the type to determine if they are valid.
25431func (s *CapacitySize) Validate() error {
25432	invalidParams := request.ErrInvalidParams{Context: "CapacitySize"}
25433	if s.Type == nil {
25434		invalidParams.Add(request.NewErrParamRequired("Type"))
25435	}
25436	if s.Value == nil {
25437		invalidParams.Add(request.NewErrParamRequired("Value"))
25438	}
25439	if s.Value != nil && *s.Value < 1 {
25440		invalidParams.Add(request.NewErrParamMinValue("Value", 1))
25441	}
25442
25443	if invalidParams.Len() > 0 {
25444		return invalidParams
25445	}
25446	return nil
25447}
25448
25449// SetType sets the Type field's value.
25450func (s *CapacitySize) SetType(v string) *CapacitySize {
25451	s.Type = &v
25452	return s
25453}
25454
25455// SetValue sets the Value field's value.
25456func (s *CapacitySize) SetValue(v int64) *CapacitySize {
25457	s.Value = &v
25458	return s
25459}
25460
25461type CaptureContentTypeHeader struct {
25462	_ struct{} `type:"structure"`
25463
25464	CsvContentTypes []*string `min:"1" type:"list"`
25465
25466	JsonContentTypes []*string `min:"1" type:"list"`
25467}
25468
25469// String returns the string representation
25470func (s CaptureContentTypeHeader) String() string {
25471	return awsutil.Prettify(s)
25472}
25473
25474// GoString returns the string representation
25475func (s CaptureContentTypeHeader) GoString() string {
25476	return s.String()
25477}
25478
25479// Validate inspects the fields of the type to determine if they are valid.
25480func (s *CaptureContentTypeHeader) Validate() error {
25481	invalidParams := request.ErrInvalidParams{Context: "CaptureContentTypeHeader"}
25482	if s.CsvContentTypes != nil && len(s.CsvContentTypes) < 1 {
25483		invalidParams.Add(request.NewErrParamMinLen("CsvContentTypes", 1))
25484	}
25485	if s.JsonContentTypes != nil && len(s.JsonContentTypes) < 1 {
25486		invalidParams.Add(request.NewErrParamMinLen("JsonContentTypes", 1))
25487	}
25488
25489	if invalidParams.Len() > 0 {
25490		return invalidParams
25491	}
25492	return nil
25493}
25494
25495// SetCsvContentTypes sets the CsvContentTypes field's value.
25496func (s *CaptureContentTypeHeader) SetCsvContentTypes(v []*string) *CaptureContentTypeHeader {
25497	s.CsvContentTypes = v
25498	return s
25499}
25500
25501// SetJsonContentTypes sets the JsonContentTypes field's value.
25502func (s *CaptureContentTypeHeader) SetJsonContentTypes(v []*string) *CaptureContentTypeHeader {
25503	s.JsonContentTypes = v
25504	return s
25505}
25506
25507type CaptureOption struct {
25508	_ struct{} `type:"structure"`
25509
25510	// CaptureMode is a required field
25511	CaptureMode *string `type:"string" required:"true" enum:"CaptureMode"`
25512}
25513
25514// String returns the string representation
25515func (s CaptureOption) String() string {
25516	return awsutil.Prettify(s)
25517}
25518
25519// GoString returns the string representation
25520func (s CaptureOption) GoString() string {
25521	return s.String()
25522}
25523
25524// Validate inspects the fields of the type to determine if they are valid.
25525func (s *CaptureOption) Validate() error {
25526	invalidParams := request.ErrInvalidParams{Context: "CaptureOption"}
25527	if s.CaptureMode == nil {
25528		invalidParams.Add(request.NewErrParamRequired("CaptureMode"))
25529	}
25530
25531	if invalidParams.Len() > 0 {
25532		return invalidParams
25533	}
25534	return nil
25535}
25536
25537// SetCaptureMode sets the CaptureMode field's value.
25538func (s *CaptureOption) SetCaptureMode(v string) *CaptureOption {
25539	s.CaptureMode = &v
25540	return s
25541}
25542
25543// A list of categorical hyperparameters to tune.
25544type CategoricalParameterRange struct {
25545	_ struct{} `type:"structure"`
25546
25547	// The name of the categorical hyperparameter to tune.
25548	//
25549	// Name is a required field
25550	Name *string `type:"string" required:"true"`
25551
25552	// A list of the categories for the hyperparameter.
25553	//
25554	// Values is a required field
25555	Values []*string `min:"1" type:"list" required:"true"`
25556}
25557
25558// String returns the string representation
25559func (s CategoricalParameterRange) String() string {
25560	return awsutil.Prettify(s)
25561}
25562
25563// GoString returns the string representation
25564func (s CategoricalParameterRange) GoString() string {
25565	return s.String()
25566}
25567
25568// Validate inspects the fields of the type to determine if they are valid.
25569func (s *CategoricalParameterRange) Validate() error {
25570	invalidParams := request.ErrInvalidParams{Context: "CategoricalParameterRange"}
25571	if s.Name == nil {
25572		invalidParams.Add(request.NewErrParamRequired("Name"))
25573	}
25574	if s.Values == nil {
25575		invalidParams.Add(request.NewErrParamRequired("Values"))
25576	}
25577	if s.Values != nil && len(s.Values) < 1 {
25578		invalidParams.Add(request.NewErrParamMinLen("Values", 1))
25579	}
25580
25581	if invalidParams.Len() > 0 {
25582		return invalidParams
25583	}
25584	return nil
25585}
25586
25587// SetName sets the Name field's value.
25588func (s *CategoricalParameterRange) SetName(v string) *CategoricalParameterRange {
25589	s.Name = &v
25590	return s
25591}
25592
25593// SetValues sets the Values field's value.
25594func (s *CategoricalParameterRange) SetValues(v []*string) *CategoricalParameterRange {
25595	s.Values = v
25596	return s
25597}
25598
25599// Defines the possible values for a categorical hyperparameter.
25600type CategoricalParameterRangeSpecification struct {
25601	_ struct{} `type:"structure"`
25602
25603	// The allowed categories for the hyperparameter.
25604	//
25605	// Values is a required field
25606	Values []*string `min:"1" type:"list" required:"true"`
25607}
25608
25609// String returns the string representation
25610func (s CategoricalParameterRangeSpecification) String() string {
25611	return awsutil.Prettify(s)
25612}
25613
25614// GoString returns the string representation
25615func (s CategoricalParameterRangeSpecification) GoString() string {
25616	return s.String()
25617}
25618
25619// Validate inspects the fields of the type to determine if they are valid.
25620func (s *CategoricalParameterRangeSpecification) Validate() error {
25621	invalidParams := request.ErrInvalidParams{Context: "CategoricalParameterRangeSpecification"}
25622	if s.Values == nil {
25623		invalidParams.Add(request.NewErrParamRequired("Values"))
25624	}
25625	if s.Values != nil && len(s.Values) < 1 {
25626		invalidParams.Add(request.NewErrParamMinLen("Values", 1))
25627	}
25628
25629	if invalidParams.Len() > 0 {
25630		return invalidParams
25631	}
25632	return nil
25633}
25634
25635// SetValues sets the Values field's value.
25636func (s *CategoricalParameterRangeSpecification) SetValues(v []*string) *CategoricalParameterRangeSpecification {
25637	s.Values = v
25638	return s
25639}
25640
25641// A channel is a named input source that training algorithms can consume.
25642type Channel struct {
25643	_ struct{} `type:"structure"`
25644
25645	// The name of the channel.
25646	//
25647	// ChannelName is a required field
25648	ChannelName *string `min:"1" type:"string" required:"true"`
25649
25650	// If training data is compressed, the compression type. The default value is
25651	// None. CompressionType is used only in Pipe input mode. In File mode, leave
25652	// this field unset or set it to None.
25653	CompressionType *string `type:"string" enum:"CompressionType"`
25654
25655	// The MIME type of the data.
25656	ContentType *string `type:"string"`
25657
25658	// The location of the channel data.
25659	//
25660	// DataSource is a required field
25661	DataSource *DataSource `type:"structure" required:"true"`
25662
25663	// (Optional) The input mode to use for the data channel in a training job.
25664	// If you don't set a value for InputMode, Amazon SageMaker uses the value set
25665	// for TrainingInputMode. Use this parameter to override the TrainingInputMode
25666	// setting in a AlgorithmSpecification request when you have a channel that
25667	// needs a different input mode from the training job's general setting. To
25668	// download the data from Amazon Simple Storage Service (Amazon S3) to the provisioned
25669	// ML storage volume, and mount the directory to a Docker volume, use File input
25670	// mode. To stream data directly from Amazon S3 to the container, choose Pipe
25671	// input mode.
25672	//
25673	// To use a model for incremental training, choose File input model.
25674	InputMode *string `type:"string" enum:"TrainingInputMode"`
25675
25676	// Specify RecordIO as the value when input data is in raw format but the training
25677	// algorithm requires the RecordIO format. In this case, Amazon SageMaker wraps
25678	// each individual S3 object in a RecordIO record. If the input data is already
25679	// in RecordIO format, you don't need to set this attribute. For more information,
25680	// see Create a Dataset Using RecordIO (https://mxnet.apache.org/api/architecture/note_data_loading#data-format).
25681	//
25682	// In File mode, leave this field unset or set it to None.
25683	RecordWrapperType *string `type:"string" enum:"RecordWrapper"`
25684
25685	// A configuration for a shuffle option for input data in a channel. If you
25686	// use S3Prefix for S3DataType, this shuffles the results of the S3 key prefix
25687	// matches. If you use ManifestFile, the order of the S3 object references in
25688	// the ManifestFile is shuffled. If you use AugmentedManifestFile, the order
25689	// of the JSON lines in the AugmentedManifestFile is shuffled. The shuffling
25690	// order is determined using the Seed value.
25691	//
25692	// For Pipe input mode, shuffling is done at the start of every epoch. With
25693	// large datasets this ensures that the order of the training data is different
25694	// for each epoch, it helps reduce bias and possible overfitting. In a multi-node
25695	// training job when ShuffleConfig is combined with S3DataDistributionType of
25696	// ShardedByS3Key, the data is shuffled across nodes so that the content sent
25697	// to a particular node on the first epoch might be sent to a different node
25698	// on the second epoch.
25699	ShuffleConfig *ShuffleConfig `type:"structure"`
25700}
25701
25702// String returns the string representation
25703func (s Channel) String() string {
25704	return awsutil.Prettify(s)
25705}
25706
25707// GoString returns the string representation
25708func (s Channel) GoString() string {
25709	return s.String()
25710}
25711
25712// Validate inspects the fields of the type to determine if they are valid.
25713func (s *Channel) Validate() error {
25714	invalidParams := request.ErrInvalidParams{Context: "Channel"}
25715	if s.ChannelName == nil {
25716		invalidParams.Add(request.NewErrParamRequired("ChannelName"))
25717	}
25718	if s.ChannelName != nil && len(*s.ChannelName) < 1 {
25719		invalidParams.Add(request.NewErrParamMinLen("ChannelName", 1))
25720	}
25721	if s.DataSource == nil {
25722		invalidParams.Add(request.NewErrParamRequired("DataSource"))
25723	}
25724	if s.DataSource != nil {
25725		if err := s.DataSource.Validate(); err != nil {
25726			invalidParams.AddNested("DataSource", err.(request.ErrInvalidParams))
25727		}
25728	}
25729	if s.ShuffleConfig != nil {
25730		if err := s.ShuffleConfig.Validate(); err != nil {
25731			invalidParams.AddNested("ShuffleConfig", err.(request.ErrInvalidParams))
25732		}
25733	}
25734
25735	if invalidParams.Len() > 0 {
25736		return invalidParams
25737	}
25738	return nil
25739}
25740
25741// SetChannelName sets the ChannelName field's value.
25742func (s *Channel) SetChannelName(v string) *Channel {
25743	s.ChannelName = &v
25744	return s
25745}
25746
25747// SetCompressionType sets the CompressionType field's value.
25748func (s *Channel) SetCompressionType(v string) *Channel {
25749	s.CompressionType = &v
25750	return s
25751}
25752
25753// SetContentType sets the ContentType field's value.
25754func (s *Channel) SetContentType(v string) *Channel {
25755	s.ContentType = &v
25756	return s
25757}
25758
25759// SetDataSource sets the DataSource field's value.
25760func (s *Channel) SetDataSource(v *DataSource) *Channel {
25761	s.DataSource = v
25762	return s
25763}
25764
25765// SetInputMode sets the InputMode field's value.
25766func (s *Channel) SetInputMode(v string) *Channel {
25767	s.InputMode = &v
25768	return s
25769}
25770
25771// SetRecordWrapperType sets the RecordWrapperType field's value.
25772func (s *Channel) SetRecordWrapperType(v string) *Channel {
25773	s.RecordWrapperType = &v
25774	return s
25775}
25776
25777// SetShuffleConfig sets the ShuffleConfig field's value.
25778func (s *Channel) SetShuffleConfig(v *ShuffleConfig) *Channel {
25779	s.ShuffleConfig = v
25780	return s
25781}
25782
25783// Defines a named input source, called a channel, to be used by an algorithm.
25784type ChannelSpecification struct {
25785	_ struct{} `type:"structure"`
25786
25787	// A brief description of the channel.
25788	Description *string `type:"string"`
25789
25790	// Indicates whether the channel is required by the algorithm.
25791	IsRequired *bool `type:"boolean"`
25792
25793	// The name of the channel.
25794	//
25795	// Name is a required field
25796	Name *string `min:"1" type:"string" required:"true"`
25797
25798	// The allowed compression types, if data compression is used.
25799	SupportedCompressionTypes []*string `type:"list"`
25800
25801	// The supported MIME types for the data.
25802	//
25803	// SupportedContentTypes is a required field
25804	SupportedContentTypes []*string `type:"list" required:"true"`
25805
25806	// The allowed input mode, either FILE or PIPE.
25807	//
25808	// In FILE mode, Amazon SageMaker copies the data from the input source onto
25809	// the local Amazon Elastic Block Store (Amazon EBS) volumes before starting
25810	// your training algorithm. This is the most commonly used input mode.
25811	//
25812	// In PIPE mode, Amazon SageMaker streams input data from the source directly
25813	// to your algorithm without using the EBS volume.
25814	//
25815	// SupportedInputModes is a required field
25816	SupportedInputModes []*string `min:"1" type:"list" required:"true"`
25817}
25818
25819// String returns the string representation
25820func (s ChannelSpecification) String() string {
25821	return awsutil.Prettify(s)
25822}
25823
25824// GoString returns the string representation
25825func (s ChannelSpecification) GoString() string {
25826	return s.String()
25827}
25828
25829// Validate inspects the fields of the type to determine if they are valid.
25830func (s *ChannelSpecification) Validate() error {
25831	invalidParams := request.ErrInvalidParams{Context: "ChannelSpecification"}
25832	if s.Name == nil {
25833		invalidParams.Add(request.NewErrParamRequired("Name"))
25834	}
25835	if s.Name != nil && len(*s.Name) < 1 {
25836		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
25837	}
25838	if s.SupportedContentTypes == nil {
25839		invalidParams.Add(request.NewErrParamRequired("SupportedContentTypes"))
25840	}
25841	if s.SupportedInputModes == nil {
25842		invalidParams.Add(request.NewErrParamRequired("SupportedInputModes"))
25843	}
25844	if s.SupportedInputModes != nil && len(s.SupportedInputModes) < 1 {
25845		invalidParams.Add(request.NewErrParamMinLen("SupportedInputModes", 1))
25846	}
25847
25848	if invalidParams.Len() > 0 {
25849		return invalidParams
25850	}
25851	return nil
25852}
25853
25854// SetDescription sets the Description field's value.
25855func (s *ChannelSpecification) SetDescription(v string) *ChannelSpecification {
25856	s.Description = &v
25857	return s
25858}
25859
25860// SetIsRequired sets the IsRequired field's value.
25861func (s *ChannelSpecification) SetIsRequired(v bool) *ChannelSpecification {
25862	s.IsRequired = &v
25863	return s
25864}
25865
25866// SetName sets the Name field's value.
25867func (s *ChannelSpecification) SetName(v string) *ChannelSpecification {
25868	s.Name = &v
25869	return s
25870}
25871
25872// SetSupportedCompressionTypes sets the SupportedCompressionTypes field's value.
25873func (s *ChannelSpecification) SetSupportedCompressionTypes(v []*string) *ChannelSpecification {
25874	s.SupportedCompressionTypes = v
25875	return s
25876}
25877
25878// SetSupportedContentTypes sets the SupportedContentTypes field's value.
25879func (s *ChannelSpecification) SetSupportedContentTypes(v []*string) *ChannelSpecification {
25880	s.SupportedContentTypes = v
25881	return s
25882}
25883
25884// SetSupportedInputModes sets the SupportedInputModes field's value.
25885func (s *ChannelSpecification) SetSupportedInputModes(v []*string) *ChannelSpecification {
25886	s.SupportedInputModes = v
25887	return s
25888}
25889
25890// Contains information about the output location for managed spot training
25891// checkpoint data.
25892type CheckpointConfig struct {
25893	_ struct{} `type:"structure"`
25894
25895	// (Optional) The local directory where checkpoints are written. The default
25896	// directory is /opt/ml/checkpoints/.
25897	LocalPath *string `type:"string"`
25898
25899	// Identifies the S3 path where you want Amazon SageMaker to store checkpoints.
25900	// For example, s3://bucket-name/key-name-prefix.
25901	//
25902	// S3Uri is a required field
25903	S3Uri *string `type:"string" required:"true"`
25904}
25905
25906// String returns the string representation
25907func (s CheckpointConfig) String() string {
25908	return awsutil.Prettify(s)
25909}
25910
25911// GoString returns the string representation
25912func (s CheckpointConfig) GoString() string {
25913	return s.String()
25914}
25915
25916// Validate inspects the fields of the type to determine if they are valid.
25917func (s *CheckpointConfig) Validate() error {
25918	invalidParams := request.ErrInvalidParams{Context: "CheckpointConfig"}
25919	if s.S3Uri == nil {
25920		invalidParams.Add(request.NewErrParamRequired("S3Uri"))
25921	}
25922
25923	if invalidParams.Len() > 0 {
25924		return invalidParams
25925	}
25926	return nil
25927}
25928
25929// SetLocalPath sets the LocalPath field's value.
25930func (s *CheckpointConfig) SetLocalPath(v string) *CheckpointConfig {
25931	s.LocalPath = &v
25932	return s
25933}
25934
25935// SetS3Uri sets the S3Uri field's value.
25936func (s *CheckpointConfig) SetS3Uri(v string) *CheckpointConfig {
25937	s.S3Uri = &v
25938	return s
25939}
25940
25941// Specifies summary information about a Git repository.
25942type CodeRepositorySummary struct {
25943	_ struct{} `type:"structure"`
25944
25945	// The Amazon Resource Name (ARN) of the Git repository.
25946	//
25947	// CodeRepositoryArn is a required field
25948	CodeRepositoryArn *string `min:"1" type:"string" required:"true"`
25949
25950	// The name of the Git repository.
25951	//
25952	// CodeRepositoryName is a required field
25953	CodeRepositoryName *string `min:"1" type:"string" required:"true"`
25954
25955	// The date and time that the Git repository was created.
25956	//
25957	// CreationTime is a required field
25958	CreationTime *time.Time `type:"timestamp" required:"true"`
25959
25960	// Configuration details for the Git repository, including the URL where it
25961	// is located and the ARN of the AWS Secrets Manager secret that contains the
25962	// credentials used to access the repository.
25963	GitConfig *GitConfig `type:"structure"`
25964
25965	// The date and time that the Git repository was last modified.
25966	//
25967	// LastModifiedTime is a required field
25968	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
25969}
25970
25971// String returns the string representation
25972func (s CodeRepositorySummary) String() string {
25973	return awsutil.Prettify(s)
25974}
25975
25976// GoString returns the string representation
25977func (s CodeRepositorySummary) GoString() string {
25978	return s.String()
25979}
25980
25981// SetCodeRepositoryArn sets the CodeRepositoryArn field's value.
25982func (s *CodeRepositorySummary) SetCodeRepositoryArn(v string) *CodeRepositorySummary {
25983	s.CodeRepositoryArn = &v
25984	return s
25985}
25986
25987// SetCodeRepositoryName sets the CodeRepositoryName field's value.
25988func (s *CodeRepositorySummary) SetCodeRepositoryName(v string) *CodeRepositorySummary {
25989	s.CodeRepositoryName = &v
25990	return s
25991}
25992
25993// SetCreationTime sets the CreationTime field's value.
25994func (s *CodeRepositorySummary) SetCreationTime(v time.Time) *CodeRepositorySummary {
25995	s.CreationTime = &v
25996	return s
25997}
25998
25999// SetGitConfig sets the GitConfig field's value.
26000func (s *CodeRepositorySummary) SetGitConfig(v *GitConfig) *CodeRepositorySummary {
26001	s.GitConfig = v
26002	return s
26003}
26004
26005// SetLastModifiedTime sets the LastModifiedTime field's value.
26006func (s *CodeRepositorySummary) SetLastModifiedTime(v time.Time) *CodeRepositorySummary {
26007	s.LastModifiedTime = &v
26008	return s
26009}
26010
26011// Use this parameter to configure your Amazon Cognito workforce. A single Cognito
26012// workforce is created using and corresponds to a single Amazon Cognito user
26013// pool (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html).
26014type CognitoConfig struct {
26015	_ struct{} `type:"structure"`
26016
26017	// The client ID for your Amazon Cognito user pool.
26018	//
26019	// ClientId is a required field
26020	ClientId *string `min:"1" type:"string" required:"true"`
26021
26022	// A user pool (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html)
26023	// is a user directory in Amazon Cognito. With a user pool, your users can sign
26024	// in to your web or mobile app through Amazon Cognito. Your users can also
26025	// sign in through social identity providers like Google, Facebook, Amazon,
26026	// or Apple, and through SAML identity providers.
26027	//
26028	// UserPool is a required field
26029	UserPool *string `min:"1" type:"string" required:"true"`
26030}
26031
26032// String returns the string representation
26033func (s CognitoConfig) String() string {
26034	return awsutil.Prettify(s)
26035}
26036
26037// GoString returns the string representation
26038func (s CognitoConfig) GoString() string {
26039	return s.String()
26040}
26041
26042// Validate inspects the fields of the type to determine if they are valid.
26043func (s *CognitoConfig) Validate() error {
26044	invalidParams := request.ErrInvalidParams{Context: "CognitoConfig"}
26045	if s.ClientId == nil {
26046		invalidParams.Add(request.NewErrParamRequired("ClientId"))
26047	}
26048	if s.ClientId != nil && len(*s.ClientId) < 1 {
26049		invalidParams.Add(request.NewErrParamMinLen("ClientId", 1))
26050	}
26051	if s.UserPool == nil {
26052		invalidParams.Add(request.NewErrParamRequired("UserPool"))
26053	}
26054	if s.UserPool != nil && len(*s.UserPool) < 1 {
26055		invalidParams.Add(request.NewErrParamMinLen("UserPool", 1))
26056	}
26057
26058	if invalidParams.Len() > 0 {
26059		return invalidParams
26060	}
26061	return nil
26062}
26063
26064// SetClientId sets the ClientId field's value.
26065func (s *CognitoConfig) SetClientId(v string) *CognitoConfig {
26066	s.ClientId = &v
26067	return s
26068}
26069
26070// SetUserPool sets the UserPool field's value.
26071func (s *CognitoConfig) SetUserPool(v string) *CognitoConfig {
26072	s.UserPool = &v
26073	return s
26074}
26075
26076// Identifies a Amazon Cognito user group. A user group can be used in on or
26077// more work teams.
26078type CognitoMemberDefinition struct {
26079	_ struct{} `type:"structure"`
26080
26081	// An identifier for an application client. You must create the app client ID
26082	// using Amazon Cognito.
26083	//
26084	// ClientId is a required field
26085	ClientId *string `min:"1" type:"string" required:"true"`
26086
26087	// An identifier for a user group.
26088	//
26089	// UserGroup is a required field
26090	UserGroup *string `min:"1" type:"string" required:"true"`
26091
26092	// An identifier for a user pool. The user pool must be in the same region as
26093	// the service that you are calling.
26094	//
26095	// UserPool is a required field
26096	UserPool *string `min:"1" type:"string" required:"true"`
26097}
26098
26099// String returns the string representation
26100func (s CognitoMemberDefinition) String() string {
26101	return awsutil.Prettify(s)
26102}
26103
26104// GoString returns the string representation
26105func (s CognitoMemberDefinition) GoString() string {
26106	return s.String()
26107}
26108
26109// Validate inspects the fields of the type to determine if they are valid.
26110func (s *CognitoMemberDefinition) Validate() error {
26111	invalidParams := request.ErrInvalidParams{Context: "CognitoMemberDefinition"}
26112	if s.ClientId == nil {
26113		invalidParams.Add(request.NewErrParamRequired("ClientId"))
26114	}
26115	if s.ClientId != nil && len(*s.ClientId) < 1 {
26116		invalidParams.Add(request.NewErrParamMinLen("ClientId", 1))
26117	}
26118	if s.UserGroup == nil {
26119		invalidParams.Add(request.NewErrParamRequired("UserGroup"))
26120	}
26121	if s.UserGroup != nil && len(*s.UserGroup) < 1 {
26122		invalidParams.Add(request.NewErrParamMinLen("UserGroup", 1))
26123	}
26124	if s.UserPool == nil {
26125		invalidParams.Add(request.NewErrParamRequired("UserPool"))
26126	}
26127	if s.UserPool != nil && len(*s.UserPool) < 1 {
26128		invalidParams.Add(request.NewErrParamMinLen("UserPool", 1))
26129	}
26130
26131	if invalidParams.Len() > 0 {
26132		return invalidParams
26133	}
26134	return nil
26135}
26136
26137// SetClientId sets the ClientId field's value.
26138func (s *CognitoMemberDefinition) SetClientId(v string) *CognitoMemberDefinition {
26139	s.ClientId = &v
26140	return s
26141}
26142
26143// SetUserGroup sets the UserGroup field's value.
26144func (s *CognitoMemberDefinition) SetUserGroup(v string) *CognitoMemberDefinition {
26145	s.UserGroup = &v
26146	return s
26147}
26148
26149// SetUserPool sets the UserPool field's value.
26150func (s *CognitoMemberDefinition) SetUserPool(v string) *CognitoMemberDefinition {
26151	s.UserPool = &v
26152	return s
26153}
26154
26155// Configuration information for the Debugger output tensor collections.
26156type CollectionConfiguration struct {
26157	_ struct{} `type:"structure"`
26158
26159	// The name of the tensor collection. The name must be unique relative to other
26160	// rule configuration names.
26161	CollectionName *string `min:"1" type:"string"`
26162
26163	// Parameter values for the tensor collection. The allowed parameters are "name",
26164	// "include_regex", "reduction_config", "save_config", "tensor_names", and "save_histogram".
26165	CollectionParameters map[string]*string `type:"map"`
26166}
26167
26168// String returns the string representation
26169func (s CollectionConfiguration) String() string {
26170	return awsutil.Prettify(s)
26171}
26172
26173// GoString returns the string representation
26174func (s CollectionConfiguration) GoString() string {
26175	return s.String()
26176}
26177
26178// Validate inspects the fields of the type to determine if they are valid.
26179func (s *CollectionConfiguration) Validate() error {
26180	invalidParams := request.ErrInvalidParams{Context: "CollectionConfiguration"}
26181	if s.CollectionName != nil && len(*s.CollectionName) < 1 {
26182		invalidParams.Add(request.NewErrParamMinLen("CollectionName", 1))
26183	}
26184
26185	if invalidParams.Len() > 0 {
26186		return invalidParams
26187	}
26188	return nil
26189}
26190
26191// SetCollectionName sets the CollectionName field's value.
26192func (s *CollectionConfiguration) SetCollectionName(v string) *CollectionConfiguration {
26193	s.CollectionName = &v
26194	return s
26195}
26196
26197// SetCollectionParameters sets the CollectionParameters field's value.
26198func (s *CollectionConfiguration) SetCollectionParameters(v map[string]*string) *CollectionConfiguration {
26199	s.CollectionParameters = v
26200	return s
26201}
26202
26203// A summary of a model compilation job.
26204type CompilationJobSummary struct {
26205	_ struct{} `type:"structure"`
26206
26207	// The time when the model compilation job completed.
26208	CompilationEndTime *time.Time `type:"timestamp"`
26209
26210	// The Amazon Resource Name (ARN) of the model compilation job.
26211	//
26212	// CompilationJobArn is a required field
26213	CompilationJobArn *string `type:"string" required:"true"`
26214
26215	// The name of the model compilation job that you want a summary for.
26216	//
26217	// CompilationJobName is a required field
26218	CompilationJobName *string `min:"1" type:"string" required:"true"`
26219
26220	// The status of the model compilation job.
26221	//
26222	// CompilationJobStatus is a required field
26223	CompilationJobStatus *string `type:"string" required:"true" enum:"CompilationJobStatus"`
26224
26225	// The time when the model compilation job started.
26226	CompilationStartTime *time.Time `type:"timestamp"`
26227
26228	// The type of device that the model will run on after the compilation job has
26229	// completed.
26230	CompilationTargetDevice *string `type:"string" enum:"TargetDevice"`
26231
26232	// The type of accelerator that the model will run on after the compilation
26233	// job has completed.
26234	CompilationTargetPlatformAccelerator *string `type:"string" enum:"TargetPlatformAccelerator"`
26235
26236	// The type of architecture that the model will run on after the compilation
26237	// job has completed.
26238	CompilationTargetPlatformArch *string `type:"string" enum:"TargetPlatformArch"`
26239
26240	// The type of OS that the model will run on after the compilation job has completed.
26241	CompilationTargetPlatformOs *string `type:"string" enum:"TargetPlatformOs"`
26242
26243	// The time when the model compilation job was created.
26244	//
26245	// CreationTime is a required field
26246	CreationTime *time.Time `type:"timestamp" required:"true"`
26247
26248	// The time when the model compilation job was last modified.
26249	LastModifiedTime *time.Time `type:"timestamp"`
26250}
26251
26252// String returns the string representation
26253func (s CompilationJobSummary) String() string {
26254	return awsutil.Prettify(s)
26255}
26256
26257// GoString returns the string representation
26258func (s CompilationJobSummary) GoString() string {
26259	return s.String()
26260}
26261
26262// SetCompilationEndTime sets the CompilationEndTime field's value.
26263func (s *CompilationJobSummary) SetCompilationEndTime(v time.Time) *CompilationJobSummary {
26264	s.CompilationEndTime = &v
26265	return s
26266}
26267
26268// SetCompilationJobArn sets the CompilationJobArn field's value.
26269func (s *CompilationJobSummary) SetCompilationJobArn(v string) *CompilationJobSummary {
26270	s.CompilationJobArn = &v
26271	return s
26272}
26273
26274// SetCompilationJobName sets the CompilationJobName field's value.
26275func (s *CompilationJobSummary) SetCompilationJobName(v string) *CompilationJobSummary {
26276	s.CompilationJobName = &v
26277	return s
26278}
26279
26280// SetCompilationJobStatus sets the CompilationJobStatus field's value.
26281func (s *CompilationJobSummary) SetCompilationJobStatus(v string) *CompilationJobSummary {
26282	s.CompilationJobStatus = &v
26283	return s
26284}
26285
26286// SetCompilationStartTime sets the CompilationStartTime field's value.
26287func (s *CompilationJobSummary) SetCompilationStartTime(v time.Time) *CompilationJobSummary {
26288	s.CompilationStartTime = &v
26289	return s
26290}
26291
26292// SetCompilationTargetDevice sets the CompilationTargetDevice field's value.
26293func (s *CompilationJobSummary) SetCompilationTargetDevice(v string) *CompilationJobSummary {
26294	s.CompilationTargetDevice = &v
26295	return s
26296}
26297
26298// SetCompilationTargetPlatformAccelerator sets the CompilationTargetPlatformAccelerator field's value.
26299func (s *CompilationJobSummary) SetCompilationTargetPlatformAccelerator(v string) *CompilationJobSummary {
26300	s.CompilationTargetPlatformAccelerator = &v
26301	return s
26302}
26303
26304// SetCompilationTargetPlatformArch sets the CompilationTargetPlatformArch field's value.
26305func (s *CompilationJobSummary) SetCompilationTargetPlatformArch(v string) *CompilationJobSummary {
26306	s.CompilationTargetPlatformArch = &v
26307	return s
26308}
26309
26310// SetCompilationTargetPlatformOs sets the CompilationTargetPlatformOs field's value.
26311func (s *CompilationJobSummary) SetCompilationTargetPlatformOs(v string) *CompilationJobSummary {
26312	s.CompilationTargetPlatformOs = &v
26313	return s
26314}
26315
26316// SetCreationTime sets the CreationTime field's value.
26317func (s *CompilationJobSummary) SetCreationTime(v time.Time) *CompilationJobSummary {
26318	s.CreationTime = &v
26319	return s
26320}
26321
26322// SetLastModifiedTime sets the LastModifiedTime field's value.
26323func (s *CompilationJobSummary) SetLastModifiedTime(v time.Time) *CompilationJobSummary {
26324	s.LastModifiedTime = &v
26325	return s
26326}
26327
26328// Metadata for a Condition step.
26329type ConditionStepMetadata struct {
26330	_ struct{} `type:"structure"`
26331
26332	// The outcome of the Condition step evaluation.
26333	Outcome *string `type:"string" enum:"ConditionOutcome"`
26334}
26335
26336// String returns the string representation
26337func (s ConditionStepMetadata) String() string {
26338	return awsutil.Prettify(s)
26339}
26340
26341// GoString returns the string representation
26342func (s ConditionStepMetadata) GoString() string {
26343	return s.String()
26344}
26345
26346// SetOutcome sets the Outcome field's value.
26347func (s *ConditionStepMetadata) SetOutcome(v string) *ConditionStepMetadata {
26348	s.Outcome = &v
26349	return s
26350}
26351
26352// There was a conflict when you attempted to modify an experiment, trial, or
26353// trial component.
26354type ConflictException struct {
26355	_            struct{}                  `type:"structure"`
26356	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
26357
26358	Message_ *string `locationName:"Message" type:"string"`
26359}
26360
26361// String returns the string representation
26362func (s ConflictException) String() string {
26363	return awsutil.Prettify(s)
26364}
26365
26366// GoString returns the string representation
26367func (s ConflictException) GoString() string {
26368	return s.String()
26369}
26370
26371func newErrorConflictException(v protocol.ResponseMetadata) error {
26372	return &ConflictException{
26373		RespMetadata: v,
26374	}
26375}
26376
26377// Code returns the exception type name.
26378func (s *ConflictException) Code() string {
26379	return "ConflictException"
26380}
26381
26382// Message returns the exception's message.
26383func (s *ConflictException) Message() string {
26384	if s.Message_ != nil {
26385		return *s.Message_
26386	}
26387	return ""
26388}
26389
26390// OrigErr always returns nil, satisfies awserr.Error interface.
26391func (s *ConflictException) OrigErr() error {
26392	return nil
26393}
26394
26395func (s *ConflictException) Error() string {
26396	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
26397}
26398
26399// Status code returns the HTTP status code for the request's response error.
26400func (s *ConflictException) StatusCode() int {
26401	return s.RespMetadata.StatusCode
26402}
26403
26404// RequestID returns the service's response RequestID for request.
26405func (s *ConflictException) RequestID() string {
26406	return s.RespMetadata.RequestID
26407}
26408
26409// Describes the container, as part of model definition.
26410type ContainerDefinition struct {
26411	_ struct{} `type:"structure"`
26412
26413	// This parameter is ignored for models that contain only a PrimaryContainer.
26414	//
26415	// When a ContainerDefinition is part of an inference pipeline, the value of
26416	// the parameter uniquely identifies the container for the purposes of logging
26417	// and metrics. For information, see Use Logs and Metrics to Monitor an Inference
26418	// Pipeline (https://docs.aws.amazon.com/sagemaker/latest/dg/inference-pipeline-logs-metrics.html).
26419	// If you don't specify a value for this parameter for a ContainerDefinition
26420	// that is part of an inference pipeline, a unique name is automatically assigned
26421	// based on the position of the ContainerDefinition in the pipeline. If you
26422	// specify a value for the ContainerHostName for any ContainerDefinition that
26423	// is part of an inference pipeline, you must specify a value for the ContainerHostName
26424	// parameter of every ContainerDefinition in that pipeline.
26425	ContainerHostname *string `type:"string"`
26426
26427	// The environment variables to set in the Docker container. Each key and value
26428	// in the Environment string to string map can have length of up to 1024. We
26429	// support up to 16 entries in the map.
26430	Environment map[string]*string `type:"map"`
26431
26432	// The path where inference code is stored. This can be either in Amazon EC2
26433	// Container Registry or in a Docker registry that is accessible from the same
26434	// VPC that you configure for your endpoint. If you are using your own custom
26435	// algorithm instead of an algorithm provided by Amazon SageMaker, the inference
26436	// code must meet Amazon SageMaker requirements. Amazon SageMaker supports both
26437	// registry/repository[:tag] and registry/repository[@digest] image path formats.
26438	// For more information, see Using Your Own Algorithms with Amazon SageMaker
26439	// (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html)
26440	Image *string `type:"string"`
26441
26442	// Specifies whether the model container is in Amazon ECR or a private Docker
26443	// registry accessible from your Amazon Virtual Private Cloud (VPC). For information
26444	// about storing containers in a private Docker registry, see Use a Private
26445	// Docker Registry for Real-Time Inference Containers (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-containers-inference-private.html)
26446	ImageConfig *ImageConfig `type:"structure"`
26447
26448	// Whether the container hosts a single model or multiple models.
26449	Mode *string `type:"string" enum:"ContainerMode"`
26450
26451	// The S3 path where the model artifacts, which result from model training,
26452	// are stored. This path must point to a single gzip compressed tar archive
26453	// (.tar.gz suffix). The S3 path is required for Amazon SageMaker built-in algorithms,
26454	// but not if you use your own algorithms. For more information on built-in
26455	// algorithms, see Common Parameters (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-algo-docker-registry-paths.html).
26456	//
26457	// The model artifacts must be in an S3 bucket that is in the same region as
26458	// the model or endpoint you are creating.
26459	//
26460	// If you provide a value for this parameter, Amazon SageMaker uses AWS Security
26461	// Token Service to download model artifacts from the S3 path you provide. AWS
26462	// STS is activated in your IAM user account by default. If you previously deactivated
26463	// AWS STS for a region, you need to reactivate AWS STS for that region. For
26464	// more information, see Activating and Deactivating AWS STS in an AWS Region
26465	// (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html)
26466	// in the AWS Identity and Access Management User Guide.
26467	//
26468	// If you use a built-in algorithm to create a model, Amazon SageMaker requires
26469	// that you provide a S3 path to the model artifacts in ModelDataUrl.
26470	ModelDataUrl *string `type:"string"`
26471
26472	// The name or Amazon Resource Name (ARN) of the model package to use to create
26473	// the model.
26474	ModelPackageName *string `min:"1" type:"string"`
26475
26476	// Specifies additional configuration for multi-model endpoints.
26477	MultiModelConfig *MultiModelConfig `type:"structure"`
26478}
26479
26480// String returns the string representation
26481func (s ContainerDefinition) String() string {
26482	return awsutil.Prettify(s)
26483}
26484
26485// GoString returns the string representation
26486func (s ContainerDefinition) GoString() string {
26487	return s.String()
26488}
26489
26490// Validate inspects the fields of the type to determine if they are valid.
26491func (s *ContainerDefinition) Validate() error {
26492	invalidParams := request.ErrInvalidParams{Context: "ContainerDefinition"}
26493	if s.ModelPackageName != nil && len(*s.ModelPackageName) < 1 {
26494		invalidParams.Add(request.NewErrParamMinLen("ModelPackageName", 1))
26495	}
26496	if s.ImageConfig != nil {
26497		if err := s.ImageConfig.Validate(); err != nil {
26498			invalidParams.AddNested("ImageConfig", err.(request.ErrInvalidParams))
26499		}
26500	}
26501
26502	if invalidParams.Len() > 0 {
26503		return invalidParams
26504	}
26505	return nil
26506}
26507
26508// SetContainerHostname sets the ContainerHostname field's value.
26509func (s *ContainerDefinition) SetContainerHostname(v string) *ContainerDefinition {
26510	s.ContainerHostname = &v
26511	return s
26512}
26513
26514// SetEnvironment sets the Environment field's value.
26515func (s *ContainerDefinition) SetEnvironment(v map[string]*string) *ContainerDefinition {
26516	s.Environment = v
26517	return s
26518}
26519
26520// SetImage sets the Image field's value.
26521func (s *ContainerDefinition) SetImage(v string) *ContainerDefinition {
26522	s.Image = &v
26523	return s
26524}
26525
26526// SetImageConfig sets the ImageConfig field's value.
26527func (s *ContainerDefinition) SetImageConfig(v *ImageConfig) *ContainerDefinition {
26528	s.ImageConfig = v
26529	return s
26530}
26531
26532// SetMode sets the Mode field's value.
26533func (s *ContainerDefinition) SetMode(v string) *ContainerDefinition {
26534	s.Mode = &v
26535	return s
26536}
26537
26538// SetModelDataUrl sets the ModelDataUrl field's value.
26539func (s *ContainerDefinition) SetModelDataUrl(v string) *ContainerDefinition {
26540	s.ModelDataUrl = &v
26541	return s
26542}
26543
26544// SetModelPackageName sets the ModelPackageName field's value.
26545func (s *ContainerDefinition) SetModelPackageName(v string) *ContainerDefinition {
26546	s.ModelPackageName = &v
26547	return s
26548}
26549
26550// SetMultiModelConfig sets the MultiModelConfig field's value.
26551func (s *ContainerDefinition) SetMultiModelConfig(v *MultiModelConfig) *ContainerDefinition {
26552	s.MultiModelConfig = v
26553	return s
26554}
26555
26556// A structure describing the source of a context.
26557type ContextSource struct {
26558	_ struct{} `type:"structure"`
26559
26560	// The ID of the source.
26561	SourceId *string `type:"string"`
26562
26563	// The type of the source.
26564	SourceType *string `type:"string"`
26565
26566	// The URI of the source.
26567	//
26568	// SourceUri is a required field
26569	SourceUri *string `type:"string" required:"true"`
26570}
26571
26572// String returns the string representation
26573func (s ContextSource) String() string {
26574	return awsutil.Prettify(s)
26575}
26576
26577// GoString returns the string representation
26578func (s ContextSource) GoString() string {
26579	return s.String()
26580}
26581
26582// Validate inspects the fields of the type to determine if they are valid.
26583func (s *ContextSource) Validate() error {
26584	invalidParams := request.ErrInvalidParams{Context: "ContextSource"}
26585	if s.SourceUri == nil {
26586		invalidParams.Add(request.NewErrParamRequired("SourceUri"))
26587	}
26588
26589	if invalidParams.Len() > 0 {
26590		return invalidParams
26591	}
26592	return nil
26593}
26594
26595// SetSourceId sets the SourceId field's value.
26596func (s *ContextSource) SetSourceId(v string) *ContextSource {
26597	s.SourceId = &v
26598	return s
26599}
26600
26601// SetSourceType sets the SourceType field's value.
26602func (s *ContextSource) SetSourceType(v string) *ContextSource {
26603	s.SourceType = &v
26604	return s
26605}
26606
26607// SetSourceUri sets the SourceUri field's value.
26608func (s *ContextSource) SetSourceUri(v string) *ContextSource {
26609	s.SourceUri = &v
26610	return s
26611}
26612
26613// Lists a summary of the properties of a context. A context provides a logical
26614// grouping of other entities.
26615type ContextSummary struct {
26616	_ struct{} `type:"structure"`
26617
26618	// The Amazon Resource Name (ARN) of the context.
26619	ContextArn *string `type:"string"`
26620
26621	// The name of the context.
26622	ContextName *string `min:"1" type:"string"`
26623
26624	// The type of the context.
26625	ContextType *string `type:"string"`
26626
26627	// When the context was created.
26628	CreationTime *time.Time `type:"timestamp"`
26629
26630	// When the context was last modified.
26631	LastModifiedTime *time.Time `type:"timestamp"`
26632
26633	// The source of the context.
26634	Source *ContextSource `type:"structure"`
26635}
26636
26637// String returns the string representation
26638func (s ContextSummary) String() string {
26639	return awsutil.Prettify(s)
26640}
26641
26642// GoString returns the string representation
26643func (s ContextSummary) GoString() string {
26644	return s.String()
26645}
26646
26647// SetContextArn sets the ContextArn field's value.
26648func (s *ContextSummary) SetContextArn(v string) *ContextSummary {
26649	s.ContextArn = &v
26650	return s
26651}
26652
26653// SetContextName sets the ContextName field's value.
26654func (s *ContextSummary) SetContextName(v string) *ContextSummary {
26655	s.ContextName = &v
26656	return s
26657}
26658
26659// SetContextType sets the ContextType field's value.
26660func (s *ContextSummary) SetContextType(v string) *ContextSummary {
26661	s.ContextType = &v
26662	return s
26663}
26664
26665// SetCreationTime sets the CreationTime field's value.
26666func (s *ContextSummary) SetCreationTime(v time.Time) *ContextSummary {
26667	s.CreationTime = &v
26668	return s
26669}
26670
26671// SetLastModifiedTime sets the LastModifiedTime field's value.
26672func (s *ContextSummary) SetLastModifiedTime(v time.Time) *ContextSummary {
26673	s.LastModifiedTime = &v
26674	return s
26675}
26676
26677// SetSource sets the Source field's value.
26678func (s *ContextSummary) SetSource(v *ContextSource) *ContextSummary {
26679	s.Source = v
26680	return s
26681}
26682
26683// A list of continuous hyperparameters to tune.
26684type ContinuousParameterRange struct {
26685	_ struct{} `type:"structure"`
26686
26687	// The maximum value for the hyperparameter. The tuning job uses floating-point
26688	// values between MinValue value and this value for tuning.
26689	//
26690	// MaxValue is a required field
26691	MaxValue *string `type:"string" required:"true"`
26692
26693	// The minimum value for the hyperparameter. The tuning job uses floating-point
26694	// values between this value and MaxValuefor tuning.
26695	//
26696	// MinValue is a required field
26697	MinValue *string `type:"string" required:"true"`
26698
26699	// The name of the continuous hyperparameter to tune.
26700	//
26701	// Name is a required field
26702	Name *string `type:"string" required:"true"`
26703
26704	// The scale that hyperparameter tuning uses to search the hyperparameter range.
26705	// For information about choosing a hyperparameter scale, see Hyperparameter
26706	// Scaling (https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-define-ranges.html#scaling-type).
26707	// One of the following values:
26708	//
26709	// Auto
26710	//
26711	// Amazon SageMaker hyperparameter tuning chooses the best scale for the hyperparameter.
26712	//
26713	// Linear
26714	//
26715	// Hyperparameter tuning searches the values in the hyperparameter range by
26716	// using a linear scale.
26717	//
26718	// Logarithmic
26719	//
26720	// Hyperparameter tuning searches the values in the hyperparameter range by
26721	// using a logarithmic scale.
26722	//
26723	// Logarithmic scaling works only for ranges that have only values greater than
26724	// 0.
26725	//
26726	// ReverseLogarithmic
26727	//
26728	// Hyperparameter tuning searches the values in the hyperparameter range by
26729	// using a reverse logarithmic scale.
26730	//
26731	// Reverse logarithmic scaling works only for ranges that are entirely within
26732	// the range 0<=x<1.0.
26733	ScalingType *string `type:"string" enum:"HyperParameterScalingType"`
26734}
26735
26736// String returns the string representation
26737func (s ContinuousParameterRange) String() string {
26738	return awsutil.Prettify(s)
26739}
26740
26741// GoString returns the string representation
26742func (s ContinuousParameterRange) GoString() string {
26743	return s.String()
26744}
26745
26746// Validate inspects the fields of the type to determine if they are valid.
26747func (s *ContinuousParameterRange) Validate() error {
26748	invalidParams := request.ErrInvalidParams{Context: "ContinuousParameterRange"}
26749	if s.MaxValue == nil {
26750		invalidParams.Add(request.NewErrParamRequired("MaxValue"))
26751	}
26752	if s.MinValue == nil {
26753		invalidParams.Add(request.NewErrParamRequired("MinValue"))
26754	}
26755	if s.Name == nil {
26756		invalidParams.Add(request.NewErrParamRequired("Name"))
26757	}
26758
26759	if invalidParams.Len() > 0 {
26760		return invalidParams
26761	}
26762	return nil
26763}
26764
26765// SetMaxValue sets the MaxValue field's value.
26766func (s *ContinuousParameterRange) SetMaxValue(v string) *ContinuousParameterRange {
26767	s.MaxValue = &v
26768	return s
26769}
26770
26771// SetMinValue sets the MinValue field's value.
26772func (s *ContinuousParameterRange) SetMinValue(v string) *ContinuousParameterRange {
26773	s.MinValue = &v
26774	return s
26775}
26776
26777// SetName sets the Name field's value.
26778func (s *ContinuousParameterRange) SetName(v string) *ContinuousParameterRange {
26779	s.Name = &v
26780	return s
26781}
26782
26783// SetScalingType sets the ScalingType field's value.
26784func (s *ContinuousParameterRange) SetScalingType(v string) *ContinuousParameterRange {
26785	s.ScalingType = &v
26786	return s
26787}
26788
26789// Defines the possible values for a continuous hyperparameter.
26790type ContinuousParameterRangeSpecification struct {
26791	_ struct{} `type:"structure"`
26792
26793	// The maximum floating-point value allowed.
26794	//
26795	// MaxValue is a required field
26796	MaxValue *string `type:"string" required:"true"`
26797
26798	// The minimum floating-point value allowed.
26799	//
26800	// MinValue is a required field
26801	MinValue *string `type:"string" required:"true"`
26802}
26803
26804// String returns the string representation
26805func (s ContinuousParameterRangeSpecification) String() string {
26806	return awsutil.Prettify(s)
26807}
26808
26809// GoString returns the string representation
26810func (s ContinuousParameterRangeSpecification) GoString() string {
26811	return s.String()
26812}
26813
26814// Validate inspects the fields of the type to determine if they are valid.
26815func (s *ContinuousParameterRangeSpecification) Validate() error {
26816	invalidParams := request.ErrInvalidParams{Context: "ContinuousParameterRangeSpecification"}
26817	if s.MaxValue == nil {
26818		invalidParams.Add(request.NewErrParamRequired("MaxValue"))
26819	}
26820	if s.MinValue == nil {
26821		invalidParams.Add(request.NewErrParamRequired("MinValue"))
26822	}
26823
26824	if invalidParams.Len() > 0 {
26825		return invalidParams
26826	}
26827	return nil
26828}
26829
26830// SetMaxValue sets the MaxValue field's value.
26831func (s *ContinuousParameterRangeSpecification) SetMaxValue(v string) *ContinuousParameterRangeSpecification {
26832	s.MaxValue = &v
26833	return s
26834}
26835
26836// SetMinValue sets the MinValue field's value.
26837func (s *ContinuousParameterRangeSpecification) SetMinValue(v string) *ContinuousParameterRangeSpecification {
26838	s.MinValue = &v
26839	return s
26840}
26841
26842type CreateActionInput struct {
26843	_ struct{} `type:"structure"`
26844
26845	// The name of the action. Must be unique to your account in an AWS Region.
26846	//
26847	// ActionName is a required field
26848	ActionName *string `min:"1" type:"string" required:"true"`
26849
26850	// The action type.
26851	//
26852	// ActionType is a required field
26853	ActionType *string `type:"string" required:"true"`
26854
26855	// The description of the action.
26856	Description *string `type:"string"`
26857
26858	// Metadata properties of the tracking entity, trial, or trial component.
26859	MetadataProperties *MetadataProperties `type:"structure"`
26860
26861	// A list of properties to add to the action.
26862	Properties map[string]*string `type:"map"`
26863
26864	// The source type, ID, and URI.
26865	//
26866	// Source is a required field
26867	Source *ActionSource `type:"structure" required:"true"`
26868
26869	// The status of the action.
26870	Status *string `type:"string" enum:"ActionStatus"`
26871
26872	// A list of tags to apply to the action.
26873	Tags []*Tag `type:"list"`
26874}
26875
26876// String returns the string representation
26877func (s CreateActionInput) String() string {
26878	return awsutil.Prettify(s)
26879}
26880
26881// GoString returns the string representation
26882func (s CreateActionInput) GoString() string {
26883	return s.String()
26884}
26885
26886// Validate inspects the fields of the type to determine if they are valid.
26887func (s *CreateActionInput) Validate() error {
26888	invalidParams := request.ErrInvalidParams{Context: "CreateActionInput"}
26889	if s.ActionName == nil {
26890		invalidParams.Add(request.NewErrParamRequired("ActionName"))
26891	}
26892	if s.ActionName != nil && len(*s.ActionName) < 1 {
26893		invalidParams.Add(request.NewErrParamMinLen("ActionName", 1))
26894	}
26895	if s.ActionType == nil {
26896		invalidParams.Add(request.NewErrParamRequired("ActionType"))
26897	}
26898	if s.Source == nil {
26899		invalidParams.Add(request.NewErrParamRequired("Source"))
26900	}
26901	if s.Source != nil {
26902		if err := s.Source.Validate(); err != nil {
26903			invalidParams.AddNested("Source", err.(request.ErrInvalidParams))
26904		}
26905	}
26906	if s.Tags != nil {
26907		for i, v := range s.Tags {
26908			if v == nil {
26909				continue
26910			}
26911			if err := v.Validate(); err != nil {
26912				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
26913			}
26914		}
26915	}
26916
26917	if invalidParams.Len() > 0 {
26918		return invalidParams
26919	}
26920	return nil
26921}
26922
26923// SetActionName sets the ActionName field's value.
26924func (s *CreateActionInput) SetActionName(v string) *CreateActionInput {
26925	s.ActionName = &v
26926	return s
26927}
26928
26929// SetActionType sets the ActionType field's value.
26930func (s *CreateActionInput) SetActionType(v string) *CreateActionInput {
26931	s.ActionType = &v
26932	return s
26933}
26934
26935// SetDescription sets the Description field's value.
26936func (s *CreateActionInput) SetDescription(v string) *CreateActionInput {
26937	s.Description = &v
26938	return s
26939}
26940
26941// SetMetadataProperties sets the MetadataProperties field's value.
26942func (s *CreateActionInput) SetMetadataProperties(v *MetadataProperties) *CreateActionInput {
26943	s.MetadataProperties = v
26944	return s
26945}
26946
26947// SetProperties sets the Properties field's value.
26948func (s *CreateActionInput) SetProperties(v map[string]*string) *CreateActionInput {
26949	s.Properties = v
26950	return s
26951}
26952
26953// SetSource sets the Source field's value.
26954func (s *CreateActionInput) SetSource(v *ActionSource) *CreateActionInput {
26955	s.Source = v
26956	return s
26957}
26958
26959// SetStatus sets the Status field's value.
26960func (s *CreateActionInput) SetStatus(v string) *CreateActionInput {
26961	s.Status = &v
26962	return s
26963}
26964
26965// SetTags sets the Tags field's value.
26966func (s *CreateActionInput) SetTags(v []*Tag) *CreateActionInput {
26967	s.Tags = v
26968	return s
26969}
26970
26971type CreateActionOutput struct {
26972	_ struct{} `type:"structure"`
26973
26974	// The Amazon Resource Name (ARN) of the action.
26975	ActionArn *string `type:"string"`
26976}
26977
26978// String returns the string representation
26979func (s CreateActionOutput) String() string {
26980	return awsutil.Prettify(s)
26981}
26982
26983// GoString returns the string representation
26984func (s CreateActionOutput) GoString() string {
26985	return s.String()
26986}
26987
26988// SetActionArn sets the ActionArn field's value.
26989func (s *CreateActionOutput) SetActionArn(v string) *CreateActionOutput {
26990	s.ActionArn = &v
26991	return s
26992}
26993
26994type CreateAlgorithmInput struct {
26995	_ struct{} `type:"structure"`
26996
26997	// A description of the algorithm.
26998	AlgorithmDescription *string `type:"string"`
26999
27000	// The name of the algorithm.
27001	//
27002	// AlgorithmName is a required field
27003	AlgorithmName *string `min:"1" type:"string" required:"true"`
27004
27005	// Whether to certify the algorithm so that it can be listed in AWS Marketplace.
27006	CertifyForMarketplace *bool `type:"boolean"`
27007
27008	// Specifies details about inference jobs that the algorithm runs, including
27009	// the following:
27010	//
27011	//    * The Amazon ECR paths of containers that contain the inference code and
27012	//    model artifacts.
27013	//
27014	//    * The instance types that the algorithm supports for transform jobs and
27015	//    real-time endpoints used for inference.
27016	//
27017	//    * The input and output content formats that the algorithm supports for
27018	//    inference.
27019	InferenceSpecification *InferenceSpecification `type:"structure"`
27020
27021	// An array of key-value pairs. You can use tags to categorize your AWS resources
27022	// in different ways, for example, by purpose, owner, or environment. For more
27023	// information, see Tagging AWS Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html).
27024	Tags []*Tag `type:"list"`
27025
27026	// Specifies details about training jobs run by this algorithm, including the
27027	// following:
27028	//
27029	//    * The Amazon ECR path of the container and the version digest of the algorithm.
27030	//
27031	//    * The hyperparameters that the algorithm supports.
27032	//
27033	//    * The instance types that the algorithm supports for training.
27034	//
27035	//    * Whether the algorithm supports distributed training.
27036	//
27037	//    * The metrics that the algorithm emits to Amazon CloudWatch.
27038	//
27039	//    * Which metrics that the algorithm emits can be used as the objective
27040	//    metric for hyperparameter tuning jobs.
27041	//
27042	//    * The input channels that the algorithm supports for training data. For
27043	//    example, an algorithm might support train, validation, and test channels.
27044	//
27045	// TrainingSpecification is a required field
27046	TrainingSpecification *TrainingSpecification `type:"structure" required:"true"`
27047
27048	// Specifies configurations for one or more training jobs and that Amazon SageMaker
27049	// runs to test the algorithm's training code and, optionally, one or more batch
27050	// transform jobs that Amazon SageMaker runs to test the algorithm's inference
27051	// code.
27052	ValidationSpecification *AlgorithmValidationSpecification `type:"structure"`
27053}
27054
27055// String returns the string representation
27056func (s CreateAlgorithmInput) String() string {
27057	return awsutil.Prettify(s)
27058}
27059
27060// GoString returns the string representation
27061func (s CreateAlgorithmInput) GoString() string {
27062	return s.String()
27063}
27064
27065// Validate inspects the fields of the type to determine if they are valid.
27066func (s *CreateAlgorithmInput) Validate() error {
27067	invalidParams := request.ErrInvalidParams{Context: "CreateAlgorithmInput"}
27068	if s.AlgorithmName == nil {
27069		invalidParams.Add(request.NewErrParamRequired("AlgorithmName"))
27070	}
27071	if s.AlgorithmName != nil && len(*s.AlgorithmName) < 1 {
27072		invalidParams.Add(request.NewErrParamMinLen("AlgorithmName", 1))
27073	}
27074	if s.TrainingSpecification == nil {
27075		invalidParams.Add(request.NewErrParamRequired("TrainingSpecification"))
27076	}
27077	if s.InferenceSpecification != nil {
27078		if err := s.InferenceSpecification.Validate(); err != nil {
27079			invalidParams.AddNested("InferenceSpecification", err.(request.ErrInvalidParams))
27080		}
27081	}
27082	if s.Tags != nil {
27083		for i, v := range s.Tags {
27084			if v == nil {
27085				continue
27086			}
27087			if err := v.Validate(); err != nil {
27088				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
27089			}
27090		}
27091	}
27092	if s.TrainingSpecification != nil {
27093		if err := s.TrainingSpecification.Validate(); err != nil {
27094			invalidParams.AddNested("TrainingSpecification", err.(request.ErrInvalidParams))
27095		}
27096	}
27097	if s.ValidationSpecification != nil {
27098		if err := s.ValidationSpecification.Validate(); err != nil {
27099			invalidParams.AddNested("ValidationSpecification", err.(request.ErrInvalidParams))
27100		}
27101	}
27102
27103	if invalidParams.Len() > 0 {
27104		return invalidParams
27105	}
27106	return nil
27107}
27108
27109// SetAlgorithmDescription sets the AlgorithmDescription field's value.
27110func (s *CreateAlgorithmInput) SetAlgorithmDescription(v string) *CreateAlgorithmInput {
27111	s.AlgorithmDescription = &v
27112	return s
27113}
27114
27115// SetAlgorithmName sets the AlgorithmName field's value.
27116func (s *CreateAlgorithmInput) SetAlgorithmName(v string) *CreateAlgorithmInput {
27117	s.AlgorithmName = &v
27118	return s
27119}
27120
27121// SetCertifyForMarketplace sets the CertifyForMarketplace field's value.
27122func (s *CreateAlgorithmInput) SetCertifyForMarketplace(v bool) *CreateAlgorithmInput {
27123	s.CertifyForMarketplace = &v
27124	return s
27125}
27126
27127// SetInferenceSpecification sets the InferenceSpecification field's value.
27128func (s *CreateAlgorithmInput) SetInferenceSpecification(v *InferenceSpecification) *CreateAlgorithmInput {
27129	s.InferenceSpecification = v
27130	return s
27131}
27132
27133// SetTags sets the Tags field's value.
27134func (s *CreateAlgorithmInput) SetTags(v []*Tag) *CreateAlgorithmInput {
27135	s.Tags = v
27136	return s
27137}
27138
27139// SetTrainingSpecification sets the TrainingSpecification field's value.
27140func (s *CreateAlgorithmInput) SetTrainingSpecification(v *TrainingSpecification) *CreateAlgorithmInput {
27141	s.TrainingSpecification = v
27142	return s
27143}
27144
27145// SetValidationSpecification sets the ValidationSpecification field's value.
27146func (s *CreateAlgorithmInput) SetValidationSpecification(v *AlgorithmValidationSpecification) *CreateAlgorithmInput {
27147	s.ValidationSpecification = v
27148	return s
27149}
27150
27151type CreateAlgorithmOutput struct {
27152	_ struct{} `type:"structure"`
27153
27154	// The Amazon Resource Name (ARN) of the new algorithm.
27155	//
27156	// AlgorithmArn is a required field
27157	AlgorithmArn *string `min:"1" type:"string" required:"true"`
27158}
27159
27160// String returns the string representation
27161func (s CreateAlgorithmOutput) String() string {
27162	return awsutil.Prettify(s)
27163}
27164
27165// GoString returns the string representation
27166func (s CreateAlgorithmOutput) GoString() string {
27167	return s.String()
27168}
27169
27170// SetAlgorithmArn sets the AlgorithmArn field's value.
27171func (s *CreateAlgorithmOutput) SetAlgorithmArn(v string) *CreateAlgorithmOutput {
27172	s.AlgorithmArn = &v
27173	return s
27174}
27175
27176type CreateAppImageConfigInput struct {
27177	_ struct{} `type:"structure"`
27178
27179	// The name of the AppImageConfig. Must be unique to your account.
27180	//
27181	// AppImageConfigName is a required field
27182	AppImageConfigName *string `type:"string" required:"true"`
27183
27184	// The KernelGatewayImageConfig.
27185	KernelGatewayImageConfig *KernelGatewayImageConfig `type:"structure"`
27186
27187	// A list of tags to apply to the AppImageConfig.
27188	Tags []*Tag `type:"list"`
27189}
27190
27191// String returns the string representation
27192func (s CreateAppImageConfigInput) String() string {
27193	return awsutil.Prettify(s)
27194}
27195
27196// GoString returns the string representation
27197func (s CreateAppImageConfigInput) GoString() string {
27198	return s.String()
27199}
27200
27201// Validate inspects the fields of the type to determine if they are valid.
27202func (s *CreateAppImageConfigInput) Validate() error {
27203	invalidParams := request.ErrInvalidParams{Context: "CreateAppImageConfigInput"}
27204	if s.AppImageConfigName == nil {
27205		invalidParams.Add(request.NewErrParamRequired("AppImageConfigName"))
27206	}
27207	if s.KernelGatewayImageConfig != nil {
27208		if err := s.KernelGatewayImageConfig.Validate(); err != nil {
27209			invalidParams.AddNested("KernelGatewayImageConfig", err.(request.ErrInvalidParams))
27210		}
27211	}
27212	if s.Tags != nil {
27213		for i, v := range s.Tags {
27214			if v == nil {
27215				continue
27216			}
27217			if err := v.Validate(); err != nil {
27218				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
27219			}
27220		}
27221	}
27222
27223	if invalidParams.Len() > 0 {
27224		return invalidParams
27225	}
27226	return nil
27227}
27228
27229// SetAppImageConfigName sets the AppImageConfigName field's value.
27230func (s *CreateAppImageConfigInput) SetAppImageConfigName(v string) *CreateAppImageConfigInput {
27231	s.AppImageConfigName = &v
27232	return s
27233}
27234
27235// SetKernelGatewayImageConfig sets the KernelGatewayImageConfig field's value.
27236func (s *CreateAppImageConfigInput) SetKernelGatewayImageConfig(v *KernelGatewayImageConfig) *CreateAppImageConfigInput {
27237	s.KernelGatewayImageConfig = v
27238	return s
27239}
27240
27241// SetTags sets the Tags field's value.
27242func (s *CreateAppImageConfigInput) SetTags(v []*Tag) *CreateAppImageConfigInput {
27243	s.Tags = v
27244	return s
27245}
27246
27247type CreateAppImageConfigOutput struct {
27248	_ struct{} `type:"structure"`
27249
27250	// The Amazon Resource Name (ARN) of the AppImageConfig.
27251	AppImageConfigArn *string `type:"string"`
27252}
27253
27254// String returns the string representation
27255func (s CreateAppImageConfigOutput) String() string {
27256	return awsutil.Prettify(s)
27257}
27258
27259// GoString returns the string representation
27260func (s CreateAppImageConfigOutput) GoString() string {
27261	return s.String()
27262}
27263
27264// SetAppImageConfigArn sets the AppImageConfigArn field's value.
27265func (s *CreateAppImageConfigOutput) SetAppImageConfigArn(v string) *CreateAppImageConfigOutput {
27266	s.AppImageConfigArn = &v
27267	return s
27268}
27269
27270type CreateAppInput struct {
27271	_ struct{} `type:"structure"`
27272
27273	// The name of the app.
27274	//
27275	// AppName is a required field
27276	AppName *string `type:"string" required:"true"`
27277
27278	// The type of app.
27279	//
27280	// AppType is a required field
27281	AppType *string `type:"string" required:"true" enum:"AppType"`
27282
27283	// The domain ID.
27284	//
27285	// DomainId is a required field
27286	DomainId *string `type:"string" required:"true"`
27287
27288	// The instance type and the Amazon Resource Name (ARN) of the SageMaker image
27289	// created on the instance.
27290	ResourceSpec *ResourceSpec `type:"structure"`
27291
27292	// Each tag consists of a key and an optional value. Tag keys must be unique
27293	// per resource.
27294	Tags []*Tag `type:"list"`
27295
27296	// The user profile name.
27297	//
27298	// UserProfileName is a required field
27299	UserProfileName *string `type:"string" required:"true"`
27300}
27301
27302// String returns the string representation
27303func (s CreateAppInput) String() string {
27304	return awsutil.Prettify(s)
27305}
27306
27307// GoString returns the string representation
27308func (s CreateAppInput) GoString() string {
27309	return s.String()
27310}
27311
27312// Validate inspects the fields of the type to determine if they are valid.
27313func (s *CreateAppInput) Validate() error {
27314	invalidParams := request.ErrInvalidParams{Context: "CreateAppInput"}
27315	if s.AppName == nil {
27316		invalidParams.Add(request.NewErrParamRequired("AppName"))
27317	}
27318	if s.AppType == nil {
27319		invalidParams.Add(request.NewErrParamRequired("AppType"))
27320	}
27321	if s.DomainId == nil {
27322		invalidParams.Add(request.NewErrParamRequired("DomainId"))
27323	}
27324	if s.UserProfileName == nil {
27325		invalidParams.Add(request.NewErrParamRequired("UserProfileName"))
27326	}
27327	if s.Tags != nil {
27328		for i, v := range s.Tags {
27329			if v == nil {
27330				continue
27331			}
27332			if err := v.Validate(); err != nil {
27333				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
27334			}
27335		}
27336	}
27337
27338	if invalidParams.Len() > 0 {
27339		return invalidParams
27340	}
27341	return nil
27342}
27343
27344// SetAppName sets the AppName field's value.
27345func (s *CreateAppInput) SetAppName(v string) *CreateAppInput {
27346	s.AppName = &v
27347	return s
27348}
27349
27350// SetAppType sets the AppType field's value.
27351func (s *CreateAppInput) SetAppType(v string) *CreateAppInput {
27352	s.AppType = &v
27353	return s
27354}
27355
27356// SetDomainId sets the DomainId field's value.
27357func (s *CreateAppInput) SetDomainId(v string) *CreateAppInput {
27358	s.DomainId = &v
27359	return s
27360}
27361
27362// SetResourceSpec sets the ResourceSpec field's value.
27363func (s *CreateAppInput) SetResourceSpec(v *ResourceSpec) *CreateAppInput {
27364	s.ResourceSpec = v
27365	return s
27366}
27367
27368// SetTags sets the Tags field's value.
27369func (s *CreateAppInput) SetTags(v []*Tag) *CreateAppInput {
27370	s.Tags = v
27371	return s
27372}
27373
27374// SetUserProfileName sets the UserProfileName field's value.
27375func (s *CreateAppInput) SetUserProfileName(v string) *CreateAppInput {
27376	s.UserProfileName = &v
27377	return s
27378}
27379
27380type CreateAppOutput struct {
27381	_ struct{} `type:"structure"`
27382
27383	// The Amazon Resource Name (ARN) of the app.
27384	AppArn *string `type:"string"`
27385}
27386
27387// String returns the string representation
27388func (s CreateAppOutput) String() string {
27389	return awsutil.Prettify(s)
27390}
27391
27392// GoString returns the string representation
27393func (s CreateAppOutput) GoString() string {
27394	return s.String()
27395}
27396
27397// SetAppArn sets the AppArn field's value.
27398func (s *CreateAppOutput) SetAppArn(v string) *CreateAppOutput {
27399	s.AppArn = &v
27400	return s
27401}
27402
27403type CreateArtifactInput struct {
27404	_ struct{} `type:"structure"`
27405
27406	// The name of the artifact. Must be unique to your account in an AWS Region.
27407	ArtifactName *string `min:"1" type:"string"`
27408
27409	// The artifact type.
27410	//
27411	// ArtifactType is a required field
27412	ArtifactType *string `type:"string" required:"true"`
27413
27414	// Metadata properties of the tracking entity, trial, or trial component.
27415	MetadataProperties *MetadataProperties `type:"structure"`
27416
27417	// A list of properties to add to the artifact.
27418	Properties map[string]*string `type:"map"`
27419
27420	// The ID, ID type, and URI of the source.
27421	//
27422	// Source is a required field
27423	Source *ArtifactSource `type:"structure" required:"true"`
27424
27425	// A list of tags to apply to the artifact.
27426	Tags []*Tag `type:"list"`
27427}
27428
27429// String returns the string representation
27430func (s CreateArtifactInput) String() string {
27431	return awsutil.Prettify(s)
27432}
27433
27434// GoString returns the string representation
27435func (s CreateArtifactInput) GoString() string {
27436	return s.String()
27437}
27438
27439// Validate inspects the fields of the type to determine if they are valid.
27440func (s *CreateArtifactInput) Validate() error {
27441	invalidParams := request.ErrInvalidParams{Context: "CreateArtifactInput"}
27442	if s.ArtifactName != nil && len(*s.ArtifactName) < 1 {
27443		invalidParams.Add(request.NewErrParamMinLen("ArtifactName", 1))
27444	}
27445	if s.ArtifactType == nil {
27446		invalidParams.Add(request.NewErrParamRequired("ArtifactType"))
27447	}
27448	if s.Source == nil {
27449		invalidParams.Add(request.NewErrParamRequired("Source"))
27450	}
27451	if s.Source != nil {
27452		if err := s.Source.Validate(); err != nil {
27453			invalidParams.AddNested("Source", err.(request.ErrInvalidParams))
27454		}
27455	}
27456	if s.Tags != nil {
27457		for i, v := range s.Tags {
27458			if v == nil {
27459				continue
27460			}
27461			if err := v.Validate(); err != nil {
27462				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
27463			}
27464		}
27465	}
27466
27467	if invalidParams.Len() > 0 {
27468		return invalidParams
27469	}
27470	return nil
27471}
27472
27473// SetArtifactName sets the ArtifactName field's value.
27474func (s *CreateArtifactInput) SetArtifactName(v string) *CreateArtifactInput {
27475	s.ArtifactName = &v
27476	return s
27477}
27478
27479// SetArtifactType sets the ArtifactType field's value.
27480func (s *CreateArtifactInput) SetArtifactType(v string) *CreateArtifactInput {
27481	s.ArtifactType = &v
27482	return s
27483}
27484
27485// SetMetadataProperties sets the MetadataProperties field's value.
27486func (s *CreateArtifactInput) SetMetadataProperties(v *MetadataProperties) *CreateArtifactInput {
27487	s.MetadataProperties = v
27488	return s
27489}
27490
27491// SetProperties sets the Properties field's value.
27492func (s *CreateArtifactInput) SetProperties(v map[string]*string) *CreateArtifactInput {
27493	s.Properties = v
27494	return s
27495}
27496
27497// SetSource sets the Source field's value.
27498func (s *CreateArtifactInput) SetSource(v *ArtifactSource) *CreateArtifactInput {
27499	s.Source = v
27500	return s
27501}
27502
27503// SetTags sets the Tags field's value.
27504func (s *CreateArtifactInput) SetTags(v []*Tag) *CreateArtifactInput {
27505	s.Tags = v
27506	return s
27507}
27508
27509type CreateArtifactOutput struct {
27510	_ struct{} `type:"structure"`
27511
27512	// The Amazon Resource Name (ARN) of the artifact.
27513	ArtifactArn *string `type:"string"`
27514}
27515
27516// String returns the string representation
27517func (s CreateArtifactOutput) String() string {
27518	return awsutil.Prettify(s)
27519}
27520
27521// GoString returns the string representation
27522func (s CreateArtifactOutput) GoString() string {
27523	return s.String()
27524}
27525
27526// SetArtifactArn sets the ArtifactArn field's value.
27527func (s *CreateArtifactOutput) SetArtifactArn(v string) *CreateArtifactOutput {
27528	s.ArtifactArn = &v
27529	return s
27530}
27531
27532type CreateAutoMLJobInput struct {
27533	_ struct{} `type:"structure"`
27534
27535	// Contains CompletionCriteria and SecurityConfig.
27536	AutoMLJobConfig *AutoMLJobConfig `type:"structure"`
27537
27538	// Identifies an Autopilot job. Must be unique to your account and is case-insensitive.
27539	//
27540	// AutoMLJobName is a required field
27541	AutoMLJobName *string `min:"1" type:"string" required:"true"`
27542
27543	// Defines the objective of a an AutoML job. You provide a AutoMLJobObjective$MetricName
27544	// and Autopilot infers whether to minimize or maximize it. If a metric is not
27545	// specified, the most commonly used ObjectiveMetric for problem type is automaically
27546	// selected.
27547	AutoMLJobObjective *AutoMLJobObjective `type:"structure"`
27548
27549	// Generates possible candidates without training a model. A candidate is a
27550	// combination of data preprocessors, algorithms, and algorithm parameter settings.
27551	GenerateCandidateDefinitionsOnly *bool `type:"boolean"`
27552
27553	// Similar to InputDataConfig supported by Tuning. Format(s) supported: CSV.
27554	// Minimum of 500 rows.
27555	//
27556	// InputDataConfig is a required field
27557	InputDataConfig []*AutoMLChannel `min:"1" type:"list" required:"true"`
27558
27559	// Similar to OutputDataConfig supported by Tuning. Format(s) supported: CSV.
27560	//
27561	// OutputDataConfig is a required field
27562	OutputDataConfig *AutoMLOutputDataConfig `type:"structure" required:"true"`
27563
27564	// Defines the kind of preprocessing and algorithms intended for the candidates.
27565	// Options include: BinaryClassification, MulticlassClassification, and Regression.
27566	ProblemType *string `type:"string" enum:"ProblemType"`
27567
27568	// The ARN of the role that is used to access the data.
27569	//
27570	// RoleArn is a required field
27571	RoleArn *string `min:"20" type:"string" required:"true"`
27572
27573	// Each tag consists of a key and an optional value. Tag keys must be unique
27574	// per resource.
27575	Tags []*Tag `type:"list"`
27576}
27577
27578// String returns the string representation
27579func (s CreateAutoMLJobInput) String() string {
27580	return awsutil.Prettify(s)
27581}
27582
27583// GoString returns the string representation
27584func (s CreateAutoMLJobInput) GoString() string {
27585	return s.String()
27586}
27587
27588// Validate inspects the fields of the type to determine if they are valid.
27589func (s *CreateAutoMLJobInput) Validate() error {
27590	invalidParams := request.ErrInvalidParams{Context: "CreateAutoMLJobInput"}
27591	if s.AutoMLJobName == nil {
27592		invalidParams.Add(request.NewErrParamRequired("AutoMLJobName"))
27593	}
27594	if s.AutoMLJobName != nil && len(*s.AutoMLJobName) < 1 {
27595		invalidParams.Add(request.NewErrParamMinLen("AutoMLJobName", 1))
27596	}
27597	if s.InputDataConfig == nil {
27598		invalidParams.Add(request.NewErrParamRequired("InputDataConfig"))
27599	}
27600	if s.InputDataConfig != nil && len(s.InputDataConfig) < 1 {
27601		invalidParams.Add(request.NewErrParamMinLen("InputDataConfig", 1))
27602	}
27603	if s.OutputDataConfig == nil {
27604		invalidParams.Add(request.NewErrParamRequired("OutputDataConfig"))
27605	}
27606	if s.RoleArn == nil {
27607		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
27608	}
27609	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
27610		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
27611	}
27612	if s.AutoMLJobConfig != nil {
27613		if err := s.AutoMLJobConfig.Validate(); err != nil {
27614			invalidParams.AddNested("AutoMLJobConfig", err.(request.ErrInvalidParams))
27615		}
27616	}
27617	if s.AutoMLJobObjective != nil {
27618		if err := s.AutoMLJobObjective.Validate(); err != nil {
27619			invalidParams.AddNested("AutoMLJobObjective", err.(request.ErrInvalidParams))
27620		}
27621	}
27622	if s.InputDataConfig != nil {
27623		for i, v := range s.InputDataConfig {
27624			if v == nil {
27625				continue
27626			}
27627			if err := v.Validate(); err != nil {
27628				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputDataConfig", i), err.(request.ErrInvalidParams))
27629			}
27630		}
27631	}
27632	if s.OutputDataConfig != nil {
27633		if err := s.OutputDataConfig.Validate(); err != nil {
27634			invalidParams.AddNested("OutputDataConfig", err.(request.ErrInvalidParams))
27635		}
27636	}
27637	if s.Tags != nil {
27638		for i, v := range s.Tags {
27639			if v == nil {
27640				continue
27641			}
27642			if err := v.Validate(); err != nil {
27643				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
27644			}
27645		}
27646	}
27647
27648	if invalidParams.Len() > 0 {
27649		return invalidParams
27650	}
27651	return nil
27652}
27653
27654// SetAutoMLJobConfig sets the AutoMLJobConfig field's value.
27655func (s *CreateAutoMLJobInput) SetAutoMLJobConfig(v *AutoMLJobConfig) *CreateAutoMLJobInput {
27656	s.AutoMLJobConfig = v
27657	return s
27658}
27659
27660// SetAutoMLJobName sets the AutoMLJobName field's value.
27661func (s *CreateAutoMLJobInput) SetAutoMLJobName(v string) *CreateAutoMLJobInput {
27662	s.AutoMLJobName = &v
27663	return s
27664}
27665
27666// SetAutoMLJobObjective sets the AutoMLJobObjective field's value.
27667func (s *CreateAutoMLJobInput) SetAutoMLJobObjective(v *AutoMLJobObjective) *CreateAutoMLJobInput {
27668	s.AutoMLJobObjective = v
27669	return s
27670}
27671
27672// SetGenerateCandidateDefinitionsOnly sets the GenerateCandidateDefinitionsOnly field's value.
27673func (s *CreateAutoMLJobInput) SetGenerateCandidateDefinitionsOnly(v bool) *CreateAutoMLJobInput {
27674	s.GenerateCandidateDefinitionsOnly = &v
27675	return s
27676}
27677
27678// SetInputDataConfig sets the InputDataConfig field's value.
27679func (s *CreateAutoMLJobInput) SetInputDataConfig(v []*AutoMLChannel) *CreateAutoMLJobInput {
27680	s.InputDataConfig = v
27681	return s
27682}
27683
27684// SetOutputDataConfig sets the OutputDataConfig field's value.
27685func (s *CreateAutoMLJobInput) SetOutputDataConfig(v *AutoMLOutputDataConfig) *CreateAutoMLJobInput {
27686	s.OutputDataConfig = v
27687	return s
27688}
27689
27690// SetProblemType sets the ProblemType field's value.
27691func (s *CreateAutoMLJobInput) SetProblemType(v string) *CreateAutoMLJobInput {
27692	s.ProblemType = &v
27693	return s
27694}
27695
27696// SetRoleArn sets the RoleArn field's value.
27697func (s *CreateAutoMLJobInput) SetRoleArn(v string) *CreateAutoMLJobInput {
27698	s.RoleArn = &v
27699	return s
27700}
27701
27702// SetTags sets the Tags field's value.
27703func (s *CreateAutoMLJobInput) SetTags(v []*Tag) *CreateAutoMLJobInput {
27704	s.Tags = v
27705	return s
27706}
27707
27708type CreateAutoMLJobOutput struct {
27709	_ struct{} `type:"structure"`
27710
27711	// When a job is created, it is assigned a unique ARN.
27712	//
27713	// AutoMLJobArn is a required field
27714	AutoMLJobArn *string `min:"1" type:"string" required:"true"`
27715}
27716
27717// String returns the string representation
27718func (s CreateAutoMLJobOutput) String() string {
27719	return awsutil.Prettify(s)
27720}
27721
27722// GoString returns the string representation
27723func (s CreateAutoMLJobOutput) GoString() string {
27724	return s.String()
27725}
27726
27727// SetAutoMLJobArn sets the AutoMLJobArn field's value.
27728func (s *CreateAutoMLJobOutput) SetAutoMLJobArn(v string) *CreateAutoMLJobOutput {
27729	s.AutoMLJobArn = &v
27730	return s
27731}
27732
27733type CreateCodeRepositoryInput struct {
27734	_ struct{} `type:"structure"`
27735
27736	// The name of the Git repository. The name must have 1 to 63 characters. Valid
27737	// characters are a-z, A-Z, 0-9, and - (hyphen).
27738	//
27739	// CodeRepositoryName is a required field
27740	CodeRepositoryName *string `min:"1" type:"string" required:"true"`
27741
27742	// Specifies details about the repository, including the URL where the repository
27743	// is located, the default branch, and credentials to use to access the repository.
27744	//
27745	// GitConfig is a required field
27746	GitConfig *GitConfig `type:"structure" required:"true"`
27747
27748	// An array of key-value pairs. You can use tags to categorize your AWS resources
27749	// in different ways, for example, by purpose, owner, or environment. For more
27750	// information, see Tagging AWS Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html).
27751	Tags []*Tag `type:"list"`
27752}
27753
27754// String returns the string representation
27755func (s CreateCodeRepositoryInput) String() string {
27756	return awsutil.Prettify(s)
27757}
27758
27759// GoString returns the string representation
27760func (s CreateCodeRepositoryInput) GoString() string {
27761	return s.String()
27762}
27763
27764// Validate inspects the fields of the type to determine if they are valid.
27765func (s *CreateCodeRepositoryInput) Validate() error {
27766	invalidParams := request.ErrInvalidParams{Context: "CreateCodeRepositoryInput"}
27767	if s.CodeRepositoryName == nil {
27768		invalidParams.Add(request.NewErrParamRequired("CodeRepositoryName"))
27769	}
27770	if s.CodeRepositoryName != nil && len(*s.CodeRepositoryName) < 1 {
27771		invalidParams.Add(request.NewErrParamMinLen("CodeRepositoryName", 1))
27772	}
27773	if s.GitConfig == nil {
27774		invalidParams.Add(request.NewErrParamRequired("GitConfig"))
27775	}
27776	if s.GitConfig != nil {
27777		if err := s.GitConfig.Validate(); err != nil {
27778			invalidParams.AddNested("GitConfig", err.(request.ErrInvalidParams))
27779		}
27780	}
27781	if s.Tags != nil {
27782		for i, v := range s.Tags {
27783			if v == nil {
27784				continue
27785			}
27786			if err := v.Validate(); err != nil {
27787				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
27788			}
27789		}
27790	}
27791
27792	if invalidParams.Len() > 0 {
27793		return invalidParams
27794	}
27795	return nil
27796}
27797
27798// SetCodeRepositoryName sets the CodeRepositoryName field's value.
27799func (s *CreateCodeRepositoryInput) SetCodeRepositoryName(v string) *CreateCodeRepositoryInput {
27800	s.CodeRepositoryName = &v
27801	return s
27802}
27803
27804// SetGitConfig sets the GitConfig field's value.
27805func (s *CreateCodeRepositoryInput) SetGitConfig(v *GitConfig) *CreateCodeRepositoryInput {
27806	s.GitConfig = v
27807	return s
27808}
27809
27810// SetTags sets the Tags field's value.
27811func (s *CreateCodeRepositoryInput) SetTags(v []*Tag) *CreateCodeRepositoryInput {
27812	s.Tags = v
27813	return s
27814}
27815
27816type CreateCodeRepositoryOutput struct {
27817	_ struct{} `type:"structure"`
27818
27819	// The Amazon Resource Name (ARN) of the new repository.
27820	//
27821	// CodeRepositoryArn is a required field
27822	CodeRepositoryArn *string `min:"1" type:"string" required:"true"`
27823}
27824
27825// String returns the string representation
27826func (s CreateCodeRepositoryOutput) String() string {
27827	return awsutil.Prettify(s)
27828}
27829
27830// GoString returns the string representation
27831func (s CreateCodeRepositoryOutput) GoString() string {
27832	return s.String()
27833}
27834
27835// SetCodeRepositoryArn sets the CodeRepositoryArn field's value.
27836func (s *CreateCodeRepositoryOutput) SetCodeRepositoryArn(v string) *CreateCodeRepositoryOutput {
27837	s.CodeRepositoryArn = &v
27838	return s
27839}
27840
27841type CreateCompilationJobInput struct {
27842	_ struct{} `type:"structure"`
27843
27844	// A name for the model compilation job. The name must be unique within the
27845	// AWS Region and within your AWS account.
27846	//
27847	// CompilationJobName is a required field
27848	CompilationJobName *string `min:"1" type:"string" required:"true"`
27849
27850	// Provides information about the location of input model artifacts, the name
27851	// and shape of the expected data inputs, and the framework in which the model
27852	// was trained.
27853	//
27854	// InputConfig is a required field
27855	InputConfig *InputConfig `type:"structure" required:"true"`
27856
27857	// Provides information about the output location for the compiled model and
27858	// the target device the model runs on.
27859	//
27860	// OutputConfig is a required field
27861	OutputConfig *OutputConfig `type:"structure" required:"true"`
27862
27863	// The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker
27864	// to perform tasks on your behalf.
27865	//
27866	// During model compilation, Amazon SageMaker needs your permission to:
27867	//
27868	//    * Read input data from an S3 bucket
27869	//
27870	//    * Write model artifacts to an S3 bucket
27871	//
27872	//    * Write logs to Amazon CloudWatch Logs
27873	//
27874	//    * Publish metrics to Amazon CloudWatch
27875	//
27876	// You grant permissions for all of these tasks to an IAM role. To pass this
27877	// role to Amazon SageMaker, the caller of this API must have the iam:PassRole
27878	// permission. For more information, see Amazon SageMaker Roles. (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html)
27879	//
27880	// RoleArn is a required field
27881	RoleArn *string `min:"20" type:"string" required:"true"`
27882
27883	// Specifies a limit to how long a model compilation job can run. When the job
27884	// reaches the time limit, Amazon SageMaker ends the compilation job. Use this
27885	// API to cap model training costs.
27886	//
27887	// StoppingCondition is a required field
27888	StoppingCondition *StoppingCondition `type:"structure" required:"true"`
27889
27890	// An array of key-value pairs. You can use tags to categorize your AWS resources
27891	// in different ways, for example, by purpose, owner, or environment. For more
27892	// information, see Tagging AWS Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html).
27893	Tags []*Tag `type:"list"`
27894}
27895
27896// String returns the string representation
27897func (s CreateCompilationJobInput) String() string {
27898	return awsutil.Prettify(s)
27899}
27900
27901// GoString returns the string representation
27902func (s CreateCompilationJobInput) GoString() string {
27903	return s.String()
27904}
27905
27906// Validate inspects the fields of the type to determine if they are valid.
27907func (s *CreateCompilationJobInput) Validate() error {
27908	invalidParams := request.ErrInvalidParams{Context: "CreateCompilationJobInput"}
27909	if s.CompilationJobName == nil {
27910		invalidParams.Add(request.NewErrParamRequired("CompilationJobName"))
27911	}
27912	if s.CompilationJobName != nil && len(*s.CompilationJobName) < 1 {
27913		invalidParams.Add(request.NewErrParamMinLen("CompilationJobName", 1))
27914	}
27915	if s.InputConfig == nil {
27916		invalidParams.Add(request.NewErrParamRequired("InputConfig"))
27917	}
27918	if s.OutputConfig == nil {
27919		invalidParams.Add(request.NewErrParamRequired("OutputConfig"))
27920	}
27921	if s.RoleArn == nil {
27922		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
27923	}
27924	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
27925		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
27926	}
27927	if s.StoppingCondition == nil {
27928		invalidParams.Add(request.NewErrParamRequired("StoppingCondition"))
27929	}
27930	if s.InputConfig != nil {
27931		if err := s.InputConfig.Validate(); err != nil {
27932			invalidParams.AddNested("InputConfig", err.(request.ErrInvalidParams))
27933		}
27934	}
27935	if s.OutputConfig != nil {
27936		if err := s.OutputConfig.Validate(); err != nil {
27937			invalidParams.AddNested("OutputConfig", err.(request.ErrInvalidParams))
27938		}
27939	}
27940	if s.StoppingCondition != nil {
27941		if err := s.StoppingCondition.Validate(); err != nil {
27942			invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams))
27943		}
27944	}
27945	if s.Tags != nil {
27946		for i, v := range s.Tags {
27947			if v == nil {
27948				continue
27949			}
27950			if err := v.Validate(); err != nil {
27951				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
27952			}
27953		}
27954	}
27955
27956	if invalidParams.Len() > 0 {
27957		return invalidParams
27958	}
27959	return nil
27960}
27961
27962// SetCompilationJobName sets the CompilationJobName field's value.
27963func (s *CreateCompilationJobInput) SetCompilationJobName(v string) *CreateCompilationJobInput {
27964	s.CompilationJobName = &v
27965	return s
27966}
27967
27968// SetInputConfig sets the InputConfig field's value.
27969func (s *CreateCompilationJobInput) SetInputConfig(v *InputConfig) *CreateCompilationJobInput {
27970	s.InputConfig = v
27971	return s
27972}
27973
27974// SetOutputConfig sets the OutputConfig field's value.
27975func (s *CreateCompilationJobInput) SetOutputConfig(v *OutputConfig) *CreateCompilationJobInput {
27976	s.OutputConfig = v
27977	return s
27978}
27979
27980// SetRoleArn sets the RoleArn field's value.
27981func (s *CreateCompilationJobInput) SetRoleArn(v string) *CreateCompilationJobInput {
27982	s.RoleArn = &v
27983	return s
27984}
27985
27986// SetStoppingCondition sets the StoppingCondition field's value.
27987func (s *CreateCompilationJobInput) SetStoppingCondition(v *StoppingCondition) *CreateCompilationJobInput {
27988	s.StoppingCondition = v
27989	return s
27990}
27991
27992// SetTags sets the Tags field's value.
27993func (s *CreateCompilationJobInput) SetTags(v []*Tag) *CreateCompilationJobInput {
27994	s.Tags = v
27995	return s
27996}
27997
27998type CreateCompilationJobOutput struct {
27999	_ struct{} `type:"structure"`
28000
28001	// If the action is successful, the service sends back an HTTP 200 response.
28002	// Amazon SageMaker returns the following data in JSON format:
28003	//
28004	//    * CompilationJobArn: The Amazon Resource Name (ARN) of the compiled job.
28005	//
28006	// CompilationJobArn is a required field
28007	CompilationJobArn *string `type:"string" required:"true"`
28008}
28009
28010// String returns the string representation
28011func (s CreateCompilationJobOutput) String() string {
28012	return awsutil.Prettify(s)
28013}
28014
28015// GoString returns the string representation
28016func (s CreateCompilationJobOutput) GoString() string {
28017	return s.String()
28018}
28019
28020// SetCompilationJobArn sets the CompilationJobArn field's value.
28021func (s *CreateCompilationJobOutput) SetCompilationJobArn(v string) *CreateCompilationJobOutput {
28022	s.CompilationJobArn = &v
28023	return s
28024}
28025
28026type CreateContextInput struct {
28027	_ struct{} `type:"structure"`
28028
28029	// The name of the context. Must be unique to your account in an AWS Region.
28030	//
28031	// ContextName is a required field
28032	ContextName *string `min:"1" type:"string" required:"true"`
28033
28034	// The context type.
28035	//
28036	// ContextType is a required field
28037	ContextType *string `type:"string" required:"true"`
28038
28039	// The description of the context.
28040	Description *string `type:"string"`
28041
28042	// A list of properties to add to the context.
28043	Properties map[string]*string `type:"map"`
28044
28045	// The source type, ID, and URI.
28046	//
28047	// Source is a required field
28048	Source *ContextSource `type:"structure" required:"true"`
28049
28050	// A list of tags to apply to the context.
28051	Tags []*Tag `type:"list"`
28052}
28053
28054// String returns the string representation
28055func (s CreateContextInput) String() string {
28056	return awsutil.Prettify(s)
28057}
28058
28059// GoString returns the string representation
28060func (s CreateContextInput) GoString() string {
28061	return s.String()
28062}
28063
28064// Validate inspects the fields of the type to determine if they are valid.
28065func (s *CreateContextInput) Validate() error {
28066	invalidParams := request.ErrInvalidParams{Context: "CreateContextInput"}
28067	if s.ContextName == nil {
28068		invalidParams.Add(request.NewErrParamRequired("ContextName"))
28069	}
28070	if s.ContextName != nil && len(*s.ContextName) < 1 {
28071		invalidParams.Add(request.NewErrParamMinLen("ContextName", 1))
28072	}
28073	if s.ContextType == nil {
28074		invalidParams.Add(request.NewErrParamRequired("ContextType"))
28075	}
28076	if s.Source == nil {
28077		invalidParams.Add(request.NewErrParamRequired("Source"))
28078	}
28079	if s.Source != nil {
28080		if err := s.Source.Validate(); err != nil {
28081			invalidParams.AddNested("Source", err.(request.ErrInvalidParams))
28082		}
28083	}
28084	if s.Tags != nil {
28085		for i, v := range s.Tags {
28086			if v == nil {
28087				continue
28088			}
28089			if err := v.Validate(); err != nil {
28090				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
28091			}
28092		}
28093	}
28094
28095	if invalidParams.Len() > 0 {
28096		return invalidParams
28097	}
28098	return nil
28099}
28100
28101// SetContextName sets the ContextName field's value.
28102func (s *CreateContextInput) SetContextName(v string) *CreateContextInput {
28103	s.ContextName = &v
28104	return s
28105}
28106
28107// SetContextType sets the ContextType field's value.
28108func (s *CreateContextInput) SetContextType(v string) *CreateContextInput {
28109	s.ContextType = &v
28110	return s
28111}
28112
28113// SetDescription sets the Description field's value.
28114func (s *CreateContextInput) SetDescription(v string) *CreateContextInput {
28115	s.Description = &v
28116	return s
28117}
28118
28119// SetProperties sets the Properties field's value.
28120func (s *CreateContextInput) SetProperties(v map[string]*string) *CreateContextInput {
28121	s.Properties = v
28122	return s
28123}
28124
28125// SetSource sets the Source field's value.
28126func (s *CreateContextInput) SetSource(v *ContextSource) *CreateContextInput {
28127	s.Source = v
28128	return s
28129}
28130
28131// SetTags sets the Tags field's value.
28132func (s *CreateContextInput) SetTags(v []*Tag) *CreateContextInput {
28133	s.Tags = v
28134	return s
28135}
28136
28137type CreateContextOutput struct {
28138	_ struct{} `type:"structure"`
28139
28140	// The Amazon Resource Name (ARN) of the context.
28141	ContextArn *string `type:"string"`
28142}
28143
28144// String returns the string representation
28145func (s CreateContextOutput) String() string {
28146	return awsutil.Prettify(s)
28147}
28148
28149// GoString returns the string representation
28150func (s CreateContextOutput) GoString() string {
28151	return s.String()
28152}
28153
28154// SetContextArn sets the ContextArn field's value.
28155func (s *CreateContextOutput) SetContextArn(v string) *CreateContextOutput {
28156	s.ContextArn = &v
28157	return s
28158}
28159
28160type CreateDataQualityJobDefinitionInput struct {
28161	_ struct{} `type:"structure"`
28162
28163	// Specifies the container that runs the monitoring job.
28164	//
28165	// DataQualityAppSpecification is a required field
28166	DataQualityAppSpecification *DataQualityAppSpecification `type:"structure" required:"true"`
28167
28168	// Configures the constraints and baselines for the monitoring job.
28169	DataQualityBaselineConfig *DataQualityBaselineConfig `type:"structure"`
28170
28171	// A list of inputs for the monitoring job. Currently endpoints are supported
28172	// as monitoring inputs.
28173	//
28174	// DataQualityJobInput is a required field
28175	DataQualityJobInput *DataQualityJobInput `type:"structure" required:"true"`
28176
28177	// The output configuration for monitoring jobs.
28178	//
28179	// DataQualityJobOutputConfig is a required field
28180	DataQualityJobOutputConfig *MonitoringOutputConfig `type:"structure" required:"true"`
28181
28182	// The name for the monitoring job definition.
28183	//
28184	// JobDefinitionName is a required field
28185	JobDefinitionName *string `min:"1" type:"string" required:"true"`
28186
28187	// Identifies the resources to deploy for a monitoring job.
28188	//
28189	// JobResources is a required field
28190	JobResources *MonitoringResources `type:"structure" required:"true"`
28191
28192	// Specifies networking configuration for the monitoring job.
28193	NetworkConfig *MonitoringNetworkConfig `type:"structure"`
28194
28195	// The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume
28196	// to perform tasks on your behalf.
28197	//
28198	// RoleArn is a required field
28199	RoleArn *string `min:"20" type:"string" required:"true"`
28200
28201	// A time limit for how long the monitoring job is allowed to run before stopping.
28202	StoppingCondition *MonitoringStoppingCondition `type:"structure"`
28203
28204	// (Optional) An array of key-value pairs. For more information, see Using Cost
28205	// Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL)
28206	// in the AWS Billing and Cost Management User Guide.
28207	Tags []*Tag `type:"list"`
28208}
28209
28210// String returns the string representation
28211func (s CreateDataQualityJobDefinitionInput) String() string {
28212	return awsutil.Prettify(s)
28213}
28214
28215// GoString returns the string representation
28216func (s CreateDataQualityJobDefinitionInput) GoString() string {
28217	return s.String()
28218}
28219
28220// Validate inspects the fields of the type to determine if they are valid.
28221func (s *CreateDataQualityJobDefinitionInput) Validate() error {
28222	invalidParams := request.ErrInvalidParams{Context: "CreateDataQualityJobDefinitionInput"}
28223	if s.DataQualityAppSpecification == nil {
28224		invalidParams.Add(request.NewErrParamRequired("DataQualityAppSpecification"))
28225	}
28226	if s.DataQualityJobInput == nil {
28227		invalidParams.Add(request.NewErrParamRequired("DataQualityJobInput"))
28228	}
28229	if s.DataQualityJobOutputConfig == nil {
28230		invalidParams.Add(request.NewErrParamRequired("DataQualityJobOutputConfig"))
28231	}
28232	if s.JobDefinitionName == nil {
28233		invalidParams.Add(request.NewErrParamRequired("JobDefinitionName"))
28234	}
28235	if s.JobDefinitionName != nil && len(*s.JobDefinitionName) < 1 {
28236		invalidParams.Add(request.NewErrParamMinLen("JobDefinitionName", 1))
28237	}
28238	if s.JobResources == nil {
28239		invalidParams.Add(request.NewErrParamRequired("JobResources"))
28240	}
28241	if s.RoleArn == nil {
28242		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
28243	}
28244	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
28245		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
28246	}
28247	if s.DataQualityAppSpecification != nil {
28248		if err := s.DataQualityAppSpecification.Validate(); err != nil {
28249			invalidParams.AddNested("DataQualityAppSpecification", err.(request.ErrInvalidParams))
28250		}
28251	}
28252	if s.DataQualityBaselineConfig != nil {
28253		if err := s.DataQualityBaselineConfig.Validate(); err != nil {
28254			invalidParams.AddNested("DataQualityBaselineConfig", err.(request.ErrInvalidParams))
28255		}
28256	}
28257	if s.DataQualityJobInput != nil {
28258		if err := s.DataQualityJobInput.Validate(); err != nil {
28259			invalidParams.AddNested("DataQualityJobInput", err.(request.ErrInvalidParams))
28260		}
28261	}
28262	if s.DataQualityJobOutputConfig != nil {
28263		if err := s.DataQualityJobOutputConfig.Validate(); err != nil {
28264			invalidParams.AddNested("DataQualityJobOutputConfig", err.(request.ErrInvalidParams))
28265		}
28266	}
28267	if s.JobResources != nil {
28268		if err := s.JobResources.Validate(); err != nil {
28269			invalidParams.AddNested("JobResources", err.(request.ErrInvalidParams))
28270		}
28271	}
28272	if s.NetworkConfig != nil {
28273		if err := s.NetworkConfig.Validate(); err != nil {
28274			invalidParams.AddNested("NetworkConfig", err.(request.ErrInvalidParams))
28275		}
28276	}
28277	if s.StoppingCondition != nil {
28278		if err := s.StoppingCondition.Validate(); err != nil {
28279			invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams))
28280		}
28281	}
28282	if s.Tags != nil {
28283		for i, v := range s.Tags {
28284			if v == nil {
28285				continue
28286			}
28287			if err := v.Validate(); err != nil {
28288				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
28289			}
28290		}
28291	}
28292
28293	if invalidParams.Len() > 0 {
28294		return invalidParams
28295	}
28296	return nil
28297}
28298
28299// SetDataQualityAppSpecification sets the DataQualityAppSpecification field's value.
28300func (s *CreateDataQualityJobDefinitionInput) SetDataQualityAppSpecification(v *DataQualityAppSpecification) *CreateDataQualityJobDefinitionInput {
28301	s.DataQualityAppSpecification = v
28302	return s
28303}
28304
28305// SetDataQualityBaselineConfig sets the DataQualityBaselineConfig field's value.
28306func (s *CreateDataQualityJobDefinitionInput) SetDataQualityBaselineConfig(v *DataQualityBaselineConfig) *CreateDataQualityJobDefinitionInput {
28307	s.DataQualityBaselineConfig = v
28308	return s
28309}
28310
28311// SetDataQualityJobInput sets the DataQualityJobInput field's value.
28312func (s *CreateDataQualityJobDefinitionInput) SetDataQualityJobInput(v *DataQualityJobInput) *CreateDataQualityJobDefinitionInput {
28313	s.DataQualityJobInput = v
28314	return s
28315}
28316
28317// SetDataQualityJobOutputConfig sets the DataQualityJobOutputConfig field's value.
28318func (s *CreateDataQualityJobDefinitionInput) SetDataQualityJobOutputConfig(v *MonitoringOutputConfig) *CreateDataQualityJobDefinitionInput {
28319	s.DataQualityJobOutputConfig = v
28320	return s
28321}
28322
28323// SetJobDefinitionName sets the JobDefinitionName field's value.
28324func (s *CreateDataQualityJobDefinitionInput) SetJobDefinitionName(v string) *CreateDataQualityJobDefinitionInput {
28325	s.JobDefinitionName = &v
28326	return s
28327}
28328
28329// SetJobResources sets the JobResources field's value.
28330func (s *CreateDataQualityJobDefinitionInput) SetJobResources(v *MonitoringResources) *CreateDataQualityJobDefinitionInput {
28331	s.JobResources = v
28332	return s
28333}
28334
28335// SetNetworkConfig sets the NetworkConfig field's value.
28336func (s *CreateDataQualityJobDefinitionInput) SetNetworkConfig(v *MonitoringNetworkConfig) *CreateDataQualityJobDefinitionInput {
28337	s.NetworkConfig = v
28338	return s
28339}
28340
28341// SetRoleArn sets the RoleArn field's value.
28342func (s *CreateDataQualityJobDefinitionInput) SetRoleArn(v string) *CreateDataQualityJobDefinitionInput {
28343	s.RoleArn = &v
28344	return s
28345}
28346
28347// SetStoppingCondition sets the StoppingCondition field's value.
28348func (s *CreateDataQualityJobDefinitionInput) SetStoppingCondition(v *MonitoringStoppingCondition) *CreateDataQualityJobDefinitionInput {
28349	s.StoppingCondition = v
28350	return s
28351}
28352
28353// SetTags sets the Tags field's value.
28354func (s *CreateDataQualityJobDefinitionInput) SetTags(v []*Tag) *CreateDataQualityJobDefinitionInput {
28355	s.Tags = v
28356	return s
28357}
28358
28359type CreateDataQualityJobDefinitionOutput struct {
28360	_ struct{} `type:"structure"`
28361
28362	// The Amazon Resource Name (ARN) of the job definition.
28363	//
28364	// JobDefinitionArn is a required field
28365	JobDefinitionArn *string `type:"string" required:"true"`
28366}
28367
28368// String returns the string representation
28369func (s CreateDataQualityJobDefinitionOutput) String() string {
28370	return awsutil.Prettify(s)
28371}
28372
28373// GoString returns the string representation
28374func (s CreateDataQualityJobDefinitionOutput) GoString() string {
28375	return s.String()
28376}
28377
28378// SetJobDefinitionArn sets the JobDefinitionArn field's value.
28379func (s *CreateDataQualityJobDefinitionOutput) SetJobDefinitionArn(v string) *CreateDataQualityJobDefinitionOutput {
28380	s.JobDefinitionArn = &v
28381	return s
28382}
28383
28384type CreateDeviceFleetInput struct {
28385	_ struct{} `type:"structure"`
28386
28387	// A description of the fleet.
28388	Description *string `min:"1" type:"string"`
28389
28390	// The name of the fleet that the device belongs to.
28391	//
28392	// DeviceFleetName is a required field
28393	DeviceFleetName *string `min:"1" type:"string" required:"true"`
28394
28395	// The output configuration for storing sample data collected by the fleet.
28396	//
28397	// OutputConfig is a required field
28398	OutputConfig *EdgeOutputConfig `type:"structure" required:"true"`
28399
28400	// The Amazon Resource Name (ARN) that has access to AWS Internet of Things
28401	// (IoT).
28402	RoleArn *string `min:"20" type:"string"`
28403
28404	// Creates tags for the specified fleet.
28405	Tags []*Tag `type:"list"`
28406}
28407
28408// String returns the string representation
28409func (s CreateDeviceFleetInput) String() string {
28410	return awsutil.Prettify(s)
28411}
28412
28413// GoString returns the string representation
28414func (s CreateDeviceFleetInput) GoString() string {
28415	return s.String()
28416}
28417
28418// Validate inspects the fields of the type to determine if they are valid.
28419func (s *CreateDeviceFleetInput) Validate() error {
28420	invalidParams := request.ErrInvalidParams{Context: "CreateDeviceFleetInput"}
28421	if s.Description != nil && len(*s.Description) < 1 {
28422		invalidParams.Add(request.NewErrParamMinLen("Description", 1))
28423	}
28424	if s.DeviceFleetName == nil {
28425		invalidParams.Add(request.NewErrParamRequired("DeviceFleetName"))
28426	}
28427	if s.DeviceFleetName != nil && len(*s.DeviceFleetName) < 1 {
28428		invalidParams.Add(request.NewErrParamMinLen("DeviceFleetName", 1))
28429	}
28430	if s.OutputConfig == nil {
28431		invalidParams.Add(request.NewErrParamRequired("OutputConfig"))
28432	}
28433	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
28434		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
28435	}
28436	if s.OutputConfig != nil {
28437		if err := s.OutputConfig.Validate(); err != nil {
28438			invalidParams.AddNested("OutputConfig", err.(request.ErrInvalidParams))
28439		}
28440	}
28441	if s.Tags != nil {
28442		for i, v := range s.Tags {
28443			if v == nil {
28444				continue
28445			}
28446			if err := v.Validate(); err != nil {
28447				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
28448			}
28449		}
28450	}
28451
28452	if invalidParams.Len() > 0 {
28453		return invalidParams
28454	}
28455	return nil
28456}
28457
28458// SetDescription sets the Description field's value.
28459func (s *CreateDeviceFleetInput) SetDescription(v string) *CreateDeviceFleetInput {
28460	s.Description = &v
28461	return s
28462}
28463
28464// SetDeviceFleetName sets the DeviceFleetName field's value.
28465func (s *CreateDeviceFleetInput) SetDeviceFleetName(v string) *CreateDeviceFleetInput {
28466	s.DeviceFleetName = &v
28467	return s
28468}
28469
28470// SetOutputConfig sets the OutputConfig field's value.
28471func (s *CreateDeviceFleetInput) SetOutputConfig(v *EdgeOutputConfig) *CreateDeviceFleetInput {
28472	s.OutputConfig = v
28473	return s
28474}
28475
28476// SetRoleArn sets the RoleArn field's value.
28477func (s *CreateDeviceFleetInput) SetRoleArn(v string) *CreateDeviceFleetInput {
28478	s.RoleArn = &v
28479	return s
28480}
28481
28482// SetTags sets the Tags field's value.
28483func (s *CreateDeviceFleetInput) SetTags(v []*Tag) *CreateDeviceFleetInput {
28484	s.Tags = v
28485	return s
28486}
28487
28488type CreateDeviceFleetOutput struct {
28489	_ struct{} `type:"structure"`
28490}
28491
28492// String returns the string representation
28493func (s CreateDeviceFleetOutput) String() string {
28494	return awsutil.Prettify(s)
28495}
28496
28497// GoString returns the string representation
28498func (s CreateDeviceFleetOutput) GoString() string {
28499	return s.String()
28500}
28501
28502type CreateDomainInput struct {
28503	_ struct{} `type:"structure"`
28504
28505	// Specifies the VPC used for non-EFS traffic. The default value is PublicInternetOnly.
28506	//
28507	//    * PublicInternetOnly - Non-EFS traffic is through a VPC managed by Amazon
28508	//    SageMaker, which allows direct internet access
28509	//
28510	//    * VpcOnly - All Studio traffic is through the specified VPC and subnets
28511	AppNetworkAccessType *string `type:"string" enum:"AppNetworkAccessType"`
28512
28513	// The mode of authentication that members use to access the domain.
28514	//
28515	// AuthMode is a required field
28516	AuthMode *string `type:"string" required:"true" enum:"AuthMode"`
28517
28518	// The default user settings.
28519	//
28520	// DefaultUserSettings is a required field
28521	DefaultUserSettings *UserSettings `type:"structure" required:"true"`
28522
28523	// A name for the domain.
28524	//
28525	// DomainName is a required field
28526	DomainName *string `type:"string" required:"true"`
28527
28528	// This member is deprecated and replaced with KmsKeyId.
28529	//
28530	// Deprecated: This property is deprecated, use KmsKeyId instead.
28531	HomeEfsFileSystemKmsKeyId *string `deprecated:"true" type:"string"`
28532
28533	// SageMaker uses AWS KMS to encrypt the EFS volume attached to the domain with
28534	// an AWS managed customer master key (CMK) by default. For more control, specify
28535	// a customer managed CMK.
28536	KmsKeyId *string `type:"string"`
28537
28538	// The VPC subnets that Studio uses for communication.
28539	//
28540	// SubnetIds is a required field
28541	SubnetIds []*string `min:"1" type:"list" required:"true"`
28542
28543	// Tags to associated with the Domain. Each tag consists of a key and an optional
28544	// value. Tag keys must be unique per resource. Tags are searchable using the
28545	// Search API.
28546	Tags []*Tag `type:"list"`
28547
28548	// The ID of the Amazon Virtual Private Cloud (VPC) that Studio uses for communication.
28549	//
28550	// VpcId is a required field
28551	VpcId *string `type:"string" required:"true"`
28552}
28553
28554// String returns the string representation
28555func (s CreateDomainInput) String() string {
28556	return awsutil.Prettify(s)
28557}
28558
28559// GoString returns the string representation
28560func (s CreateDomainInput) GoString() string {
28561	return s.String()
28562}
28563
28564// Validate inspects the fields of the type to determine if they are valid.
28565func (s *CreateDomainInput) Validate() error {
28566	invalidParams := request.ErrInvalidParams{Context: "CreateDomainInput"}
28567	if s.AuthMode == nil {
28568		invalidParams.Add(request.NewErrParamRequired("AuthMode"))
28569	}
28570	if s.DefaultUserSettings == nil {
28571		invalidParams.Add(request.NewErrParamRequired("DefaultUserSettings"))
28572	}
28573	if s.DomainName == nil {
28574		invalidParams.Add(request.NewErrParamRequired("DomainName"))
28575	}
28576	if s.SubnetIds == nil {
28577		invalidParams.Add(request.NewErrParamRequired("SubnetIds"))
28578	}
28579	if s.SubnetIds != nil && len(s.SubnetIds) < 1 {
28580		invalidParams.Add(request.NewErrParamMinLen("SubnetIds", 1))
28581	}
28582	if s.VpcId == nil {
28583		invalidParams.Add(request.NewErrParamRequired("VpcId"))
28584	}
28585	if s.DefaultUserSettings != nil {
28586		if err := s.DefaultUserSettings.Validate(); err != nil {
28587			invalidParams.AddNested("DefaultUserSettings", err.(request.ErrInvalidParams))
28588		}
28589	}
28590	if s.Tags != nil {
28591		for i, v := range s.Tags {
28592			if v == nil {
28593				continue
28594			}
28595			if err := v.Validate(); err != nil {
28596				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
28597			}
28598		}
28599	}
28600
28601	if invalidParams.Len() > 0 {
28602		return invalidParams
28603	}
28604	return nil
28605}
28606
28607// SetAppNetworkAccessType sets the AppNetworkAccessType field's value.
28608func (s *CreateDomainInput) SetAppNetworkAccessType(v string) *CreateDomainInput {
28609	s.AppNetworkAccessType = &v
28610	return s
28611}
28612
28613// SetAuthMode sets the AuthMode field's value.
28614func (s *CreateDomainInput) SetAuthMode(v string) *CreateDomainInput {
28615	s.AuthMode = &v
28616	return s
28617}
28618
28619// SetDefaultUserSettings sets the DefaultUserSettings field's value.
28620func (s *CreateDomainInput) SetDefaultUserSettings(v *UserSettings) *CreateDomainInput {
28621	s.DefaultUserSettings = v
28622	return s
28623}
28624
28625// SetDomainName sets the DomainName field's value.
28626func (s *CreateDomainInput) SetDomainName(v string) *CreateDomainInput {
28627	s.DomainName = &v
28628	return s
28629}
28630
28631// SetHomeEfsFileSystemKmsKeyId sets the HomeEfsFileSystemKmsKeyId field's value.
28632func (s *CreateDomainInput) SetHomeEfsFileSystemKmsKeyId(v string) *CreateDomainInput {
28633	s.HomeEfsFileSystemKmsKeyId = &v
28634	return s
28635}
28636
28637// SetKmsKeyId sets the KmsKeyId field's value.
28638func (s *CreateDomainInput) SetKmsKeyId(v string) *CreateDomainInput {
28639	s.KmsKeyId = &v
28640	return s
28641}
28642
28643// SetSubnetIds sets the SubnetIds field's value.
28644func (s *CreateDomainInput) SetSubnetIds(v []*string) *CreateDomainInput {
28645	s.SubnetIds = v
28646	return s
28647}
28648
28649// SetTags sets the Tags field's value.
28650func (s *CreateDomainInput) SetTags(v []*Tag) *CreateDomainInput {
28651	s.Tags = v
28652	return s
28653}
28654
28655// SetVpcId sets the VpcId field's value.
28656func (s *CreateDomainInput) SetVpcId(v string) *CreateDomainInput {
28657	s.VpcId = &v
28658	return s
28659}
28660
28661type CreateDomainOutput struct {
28662	_ struct{} `type:"structure"`
28663
28664	// The Amazon Resource Name (ARN) of the created domain.
28665	DomainArn *string `type:"string"`
28666
28667	// The URL to the created domain.
28668	Url *string `type:"string"`
28669}
28670
28671// String returns the string representation
28672func (s CreateDomainOutput) String() string {
28673	return awsutil.Prettify(s)
28674}
28675
28676// GoString returns the string representation
28677func (s CreateDomainOutput) GoString() string {
28678	return s.String()
28679}
28680
28681// SetDomainArn sets the DomainArn field's value.
28682func (s *CreateDomainOutput) SetDomainArn(v string) *CreateDomainOutput {
28683	s.DomainArn = &v
28684	return s
28685}
28686
28687// SetUrl sets the Url field's value.
28688func (s *CreateDomainOutput) SetUrl(v string) *CreateDomainOutput {
28689	s.Url = &v
28690	return s
28691}
28692
28693type CreateEdgePackagingJobInput struct {
28694	_ struct{} `type:"structure"`
28695
28696	// The name of the SageMaker Neo compilation job that will be used to locate
28697	// model artifacts for packaging.
28698	//
28699	// CompilationJobName is a required field
28700	CompilationJobName *string `min:"1" type:"string" required:"true"`
28701
28702	// The name of the edge packaging job.
28703	//
28704	// EdgePackagingJobName is a required field
28705	EdgePackagingJobName *string `min:"1" type:"string" required:"true"`
28706
28707	// The name of the model.
28708	//
28709	// ModelName is a required field
28710	ModelName *string `min:"1" type:"string" required:"true"`
28711
28712	// The version of the model.
28713	//
28714	// ModelVersion is a required field
28715	ModelVersion *string `min:"1" type:"string" required:"true"`
28716
28717	// Provides information about the output location for the packaged model.
28718	//
28719	// OutputConfig is a required field
28720	OutputConfig *EdgeOutputConfig `type:"structure" required:"true"`
28721
28722	// The CMK to use when encrypting the EBS volume the edge packaging job runs
28723	// on.
28724	ResourceKey *string `type:"string"`
28725
28726	// The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker
28727	// to download and upload the model, and to contact SageMaker Neo.
28728	//
28729	// RoleArn is a required field
28730	RoleArn *string `min:"20" type:"string" required:"true"`
28731
28732	// Creates tags for the packaging job.
28733	Tags []*Tag `type:"list"`
28734}
28735
28736// String returns the string representation
28737func (s CreateEdgePackagingJobInput) String() string {
28738	return awsutil.Prettify(s)
28739}
28740
28741// GoString returns the string representation
28742func (s CreateEdgePackagingJobInput) GoString() string {
28743	return s.String()
28744}
28745
28746// Validate inspects the fields of the type to determine if they are valid.
28747func (s *CreateEdgePackagingJobInput) Validate() error {
28748	invalidParams := request.ErrInvalidParams{Context: "CreateEdgePackagingJobInput"}
28749	if s.CompilationJobName == nil {
28750		invalidParams.Add(request.NewErrParamRequired("CompilationJobName"))
28751	}
28752	if s.CompilationJobName != nil && len(*s.CompilationJobName) < 1 {
28753		invalidParams.Add(request.NewErrParamMinLen("CompilationJobName", 1))
28754	}
28755	if s.EdgePackagingJobName == nil {
28756		invalidParams.Add(request.NewErrParamRequired("EdgePackagingJobName"))
28757	}
28758	if s.EdgePackagingJobName != nil && len(*s.EdgePackagingJobName) < 1 {
28759		invalidParams.Add(request.NewErrParamMinLen("EdgePackagingJobName", 1))
28760	}
28761	if s.ModelName == nil {
28762		invalidParams.Add(request.NewErrParamRequired("ModelName"))
28763	}
28764	if s.ModelName != nil && len(*s.ModelName) < 1 {
28765		invalidParams.Add(request.NewErrParamMinLen("ModelName", 1))
28766	}
28767	if s.ModelVersion == nil {
28768		invalidParams.Add(request.NewErrParamRequired("ModelVersion"))
28769	}
28770	if s.ModelVersion != nil && len(*s.ModelVersion) < 1 {
28771		invalidParams.Add(request.NewErrParamMinLen("ModelVersion", 1))
28772	}
28773	if s.OutputConfig == nil {
28774		invalidParams.Add(request.NewErrParamRequired("OutputConfig"))
28775	}
28776	if s.RoleArn == nil {
28777		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
28778	}
28779	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
28780		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
28781	}
28782	if s.OutputConfig != nil {
28783		if err := s.OutputConfig.Validate(); err != nil {
28784			invalidParams.AddNested("OutputConfig", err.(request.ErrInvalidParams))
28785		}
28786	}
28787	if s.Tags != nil {
28788		for i, v := range s.Tags {
28789			if v == nil {
28790				continue
28791			}
28792			if err := v.Validate(); err != nil {
28793				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
28794			}
28795		}
28796	}
28797
28798	if invalidParams.Len() > 0 {
28799		return invalidParams
28800	}
28801	return nil
28802}
28803
28804// SetCompilationJobName sets the CompilationJobName field's value.
28805func (s *CreateEdgePackagingJobInput) SetCompilationJobName(v string) *CreateEdgePackagingJobInput {
28806	s.CompilationJobName = &v
28807	return s
28808}
28809
28810// SetEdgePackagingJobName sets the EdgePackagingJobName field's value.
28811func (s *CreateEdgePackagingJobInput) SetEdgePackagingJobName(v string) *CreateEdgePackagingJobInput {
28812	s.EdgePackagingJobName = &v
28813	return s
28814}
28815
28816// SetModelName sets the ModelName field's value.
28817func (s *CreateEdgePackagingJobInput) SetModelName(v string) *CreateEdgePackagingJobInput {
28818	s.ModelName = &v
28819	return s
28820}
28821
28822// SetModelVersion sets the ModelVersion field's value.
28823func (s *CreateEdgePackagingJobInput) SetModelVersion(v string) *CreateEdgePackagingJobInput {
28824	s.ModelVersion = &v
28825	return s
28826}
28827
28828// SetOutputConfig sets the OutputConfig field's value.
28829func (s *CreateEdgePackagingJobInput) SetOutputConfig(v *EdgeOutputConfig) *CreateEdgePackagingJobInput {
28830	s.OutputConfig = v
28831	return s
28832}
28833
28834// SetResourceKey sets the ResourceKey field's value.
28835func (s *CreateEdgePackagingJobInput) SetResourceKey(v string) *CreateEdgePackagingJobInput {
28836	s.ResourceKey = &v
28837	return s
28838}
28839
28840// SetRoleArn sets the RoleArn field's value.
28841func (s *CreateEdgePackagingJobInput) SetRoleArn(v string) *CreateEdgePackagingJobInput {
28842	s.RoleArn = &v
28843	return s
28844}
28845
28846// SetTags sets the Tags field's value.
28847func (s *CreateEdgePackagingJobInput) SetTags(v []*Tag) *CreateEdgePackagingJobInput {
28848	s.Tags = v
28849	return s
28850}
28851
28852type CreateEdgePackagingJobOutput struct {
28853	_ struct{} `type:"structure"`
28854}
28855
28856// String returns the string representation
28857func (s CreateEdgePackagingJobOutput) String() string {
28858	return awsutil.Prettify(s)
28859}
28860
28861// GoString returns the string representation
28862func (s CreateEdgePackagingJobOutput) GoString() string {
28863	return s.String()
28864}
28865
28866type CreateEndpointConfigInput struct {
28867	_ struct{} `type:"structure"`
28868
28869	DataCaptureConfig *DataCaptureConfig `type:"structure"`
28870
28871	// The name of the endpoint configuration. You specify this name in a CreateEndpoint
28872	// request.
28873	//
28874	// EndpointConfigName is a required field
28875	EndpointConfigName *string `type:"string" required:"true"`
28876
28877	// The Amazon Resource Name (ARN) of a AWS Key Management Service key that Amazon
28878	// SageMaker uses to encrypt data on the storage volume attached to the ML compute
28879	// instance that hosts the endpoint.
28880	//
28881	// The KmsKeyId can be any of the following formats:
28882	//
28883	//    * Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
28884	//
28885	//    * Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
28886	//
28887	//    * Alias name: alias/ExampleAlias
28888	//
28889	//    * Alias name ARN: arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias
28890	//
28891	// The KMS key policy must grant permission to the IAM role that you specify
28892	// in your CreateEndpoint, UpdateEndpoint requests. For more information, refer
28893	// to the AWS Key Management Service section Using Key Policies in AWS KMS (https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html)
28894	//
28895	// Certain Nitro-based instances include local storage, dependent on the instance
28896	// type. Local storage volumes are encrypted using a hardware module on the
28897	// instance. You can't request a KmsKeyId when using an instance type with local
28898	// storage. If any of the models that you specify in the ProductionVariants
28899	// parameter use nitro-based instances with local storage, do not specify a
28900	// value for the KmsKeyId parameter. If you specify a value for KmsKeyId when
28901	// using any nitro-based instances with local storage, the call to CreateEndpointConfig
28902	// fails.
28903	//
28904	// For a list of instance types that support local instance storage, see Instance
28905	// Store Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#instance-store-volumes).
28906	//
28907	// For more information about local instance storage encryption, see SSD Instance
28908	// Store Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ssd-instance-store.html).
28909	KmsKeyId *string `type:"string"`
28910
28911	// An list of ProductionVariant objects, one for each model that you want to
28912	// host at this endpoint.
28913	//
28914	// ProductionVariants is a required field
28915	ProductionVariants []*ProductionVariant `min:"1" type:"list" required:"true"`
28916
28917	// An array of key-value pairs. You can use tags to categorize your AWS resources
28918	// in different ways, for example, by purpose, owner, or environment. For more
28919	// information, see Tagging AWS Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html).
28920	Tags []*Tag `type:"list"`
28921}
28922
28923// String returns the string representation
28924func (s CreateEndpointConfigInput) String() string {
28925	return awsutil.Prettify(s)
28926}
28927
28928// GoString returns the string representation
28929func (s CreateEndpointConfigInput) GoString() string {
28930	return s.String()
28931}
28932
28933// Validate inspects the fields of the type to determine if they are valid.
28934func (s *CreateEndpointConfigInput) Validate() error {
28935	invalidParams := request.ErrInvalidParams{Context: "CreateEndpointConfigInput"}
28936	if s.EndpointConfigName == nil {
28937		invalidParams.Add(request.NewErrParamRequired("EndpointConfigName"))
28938	}
28939	if s.ProductionVariants == nil {
28940		invalidParams.Add(request.NewErrParamRequired("ProductionVariants"))
28941	}
28942	if s.ProductionVariants != nil && len(s.ProductionVariants) < 1 {
28943		invalidParams.Add(request.NewErrParamMinLen("ProductionVariants", 1))
28944	}
28945	if s.DataCaptureConfig != nil {
28946		if err := s.DataCaptureConfig.Validate(); err != nil {
28947			invalidParams.AddNested("DataCaptureConfig", err.(request.ErrInvalidParams))
28948		}
28949	}
28950	if s.ProductionVariants != nil {
28951		for i, v := range s.ProductionVariants {
28952			if v == nil {
28953				continue
28954			}
28955			if err := v.Validate(); err != nil {
28956				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ProductionVariants", i), err.(request.ErrInvalidParams))
28957			}
28958		}
28959	}
28960	if s.Tags != nil {
28961		for i, v := range s.Tags {
28962			if v == nil {
28963				continue
28964			}
28965			if err := v.Validate(); err != nil {
28966				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
28967			}
28968		}
28969	}
28970
28971	if invalidParams.Len() > 0 {
28972		return invalidParams
28973	}
28974	return nil
28975}
28976
28977// SetDataCaptureConfig sets the DataCaptureConfig field's value.
28978func (s *CreateEndpointConfigInput) SetDataCaptureConfig(v *DataCaptureConfig) *CreateEndpointConfigInput {
28979	s.DataCaptureConfig = v
28980	return s
28981}
28982
28983// SetEndpointConfigName sets the EndpointConfigName field's value.
28984func (s *CreateEndpointConfigInput) SetEndpointConfigName(v string) *CreateEndpointConfigInput {
28985	s.EndpointConfigName = &v
28986	return s
28987}
28988
28989// SetKmsKeyId sets the KmsKeyId field's value.
28990func (s *CreateEndpointConfigInput) SetKmsKeyId(v string) *CreateEndpointConfigInput {
28991	s.KmsKeyId = &v
28992	return s
28993}
28994
28995// SetProductionVariants sets the ProductionVariants field's value.
28996func (s *CreateEndpointConfigInput) SetProductionVariants(v []*ProductionVariant) *CreateEndpointConfigInput {
28997	s.ProductionVariants = v
28998	return s
28999}
29000
29001// SetTags sets the Tags field's value.
29002func (s *CreateEndpointConfigInput) SetTags(v []*Tag) *CreateEndpointConfigInput {
29003	s.Tags = v
29004	return s
29005}
29006
29007type CreateEndpointConfigOutput struct {
29008	_ struct{} `type:"structure"`
29009
29010	// The Amazon Resource Name (ARN) of the endpoint configuration.
29011	//
29012	// EndpointConfigArn is a required field
29013	EndpointConfigArn *string `min:"20" type:"string" required:"true"`
29014}
29015
29016// String returns the string representation
29017func (s CreateEndpointConfigOutput) String() string {
29018	return awsutil.Prettify(s)
29019}
29020
29021// GoString returns the string representation
29022func (s CreateEndpointConfigOutput) GoString() string {
29023	return s.String()
29024}
29025
29026// SetEndpointConfigArn sets the EndpointConfigArn field's value.
29027func (s *CreateEndpointConfigOutput) SetEndpointConfigArn(v string) *CreateEndpointConfigOutput {
29028	s.EndpointConfigArn = &v
29029	return s
29030}
29031
29032type CreateEndpointInput struct {
29033	_ struct{} `type:"structure"`
29034
29035	// The name of an endpoint configuration. For more information, see CreateEndpointConfig.
29036	//
29037	// EndpointConfigName is a required field
29038	EndpointConfigName *string `type:"string" required:"true"`
29039
29040	// The name of the endpoint.The name must be unique within an AWS Region in
29041	// your AWS account. The name is case-insensitive in CreateEndpoint, but the
29042	// case is preserved and must be matched in .
29043	//
29044	// EndpointName is a required field
29045	EndpointName *string `type:"string" required:"true"`
29046
29047	// An array of key-value pairs. You can use tags to categorize your AWS resources
29048	// in different ways, for example, by purpose, owner, or environment. For more
29049	// information, see Tagging AWS Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html).
29050	Tags []*Tag `type:"list"`
29051}
29052
29053// String returns the string representation
29054func (s CreateEndpointInput) String() string {
29055	return awsutil.Prettify(s)
29056}
29057
29058// GoString returns the string representation
29059func (s CreateEndpointInput) GoString() string {
29060	return s.String()
29061}
29062
29063// Validate inspects the fields of the type to determine if they are valid.
29064func (s *CreateEndpointInput) Validate() error {
29065	invalidParams := request.ErrInvalidParams{Context: "CreateEndpointInput"}
29066	if s.EndpointConfigName == nil {
29067		invalidParams.Add(request.NewErrParamRequired("EndpointConfigName"))
29068	}
29069	if s.EndpointName == nil {
29070		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
29071	}
29072	if s.Tags != nil {
29073		for i, v := range s.Tags {
29074			if v == nil {
29075				continue
29076			}
29077			if err := v.Validate(); err != nil {
29078				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
29079			}
29080		}
29081	}
29082
29083	if invalidParams.Len() > 0 {
29084		return invalidParams
29085	}
29086	return nil
29087}
29088
29089// SetEndpointConfigName sets the EndpointConfigName field's value.
29090func (s *CreateEndpointInput) SetEndpointConfigName(v string) *CreateEndpointInput {
29091	s.EndpointConfigName = &v
29092	return s
29093}
29094
29095// SetEndpointName sets the EndpointName field's value.
29096func (s *CreateEndpointInput) SetEndpointName(v string) *CreateEndpointInput {
29097	s.EndpointName = &v
29098	return s
29099}
29100
29101// SetTags sets the Tags field's value.
29102func (s *CreateEndpointInput) SetTags(v []*Tag) *CreateEndpointInput {
29103	s.Tags = v
29104	return s
29105}
29106
29107type CreateEndpointOutput struct {
29108	_ struct{} `type:"structure"`
29109
29110	// The Amazon Resource Name (ARN) of the endpoint.
29111	//
29112	// EndpointArn is a required field
29113	EndpointArn *string `min:"20" type:"string" required:"true"`
29114}
29115
29116// String returns the string representation
29117func (s CreateEndpointOutput) String() string {
29118	return awsutil.Prettify(s)
29119}
29120
29121// GoString returns the string representation
29122func (s CreateEndpointOutput) GoString() string {
29123	return s.String()
29124}
29125
29126// SetEndpointArn sets the EndpointArn field's value.
29127func (s *CreateEndpointOutput) SetEndpointArn(v string) *CreateEndpointOutput {
29128	s.EndpointArn = &v
29129	return s
29130}
29131
29132type CreateExperimentInput struct {
29133	_ struct{} `type:"structure"`
29134
29135	// The description of the experiment.
29136	Description *string `type:"string"`
29137
29138	// The name of the experiment as displayed. The name doesn't need to be unique.
29139	// If you don't specify DisplayName, the value in ExperimentName is displayed.
29140	DisplayName *string `min:"1" type:"string"`
29141
29142	// The name of the experiment. The name must be unique in your AWS account and
29143	// is not case-sensitive.
29144	//
29145	// ExperimentName is a required field
29146	ExperimentName *string `min:"1" type:"string" required:"true"`
29147
29148	// A list of tags to associate with the experiment. You can use Search API to
29149	// search on the tags.
29150	Tags []*Tag `type:"list"`
29151}
29152
29153// String returns the string representation
29154func (s CreateExperimentInput) String() string {
29155	return awsutil.Prettify(s)
29156}
29157
29158// GoString returns the string representation
29159func (s CreateExperimentInput) GoString() string {
29160	return s.String()
29161}
29162
29163// Validate inspects the fields of the type to determine if they are valid.
29164func (s *CreateExperimentInput) Validate() error {
29165	invalidParams := request.ErrInvalidParams{Context: "CreateExperimentInput"}
29166	if s.DisplayName != nil && len(*s.DisplayName) < 1 {
29167		invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1))
29168	}
29169	if s.ExperimentName == nil {
29170		invalidParams.Add(request.NewErrParamRequired("ExperimentName"))
29171	}
29172	if s.ExperimentName != nil && len(*s.ExperimentName) < 1 {
29173		invalidParams.Add(request.NewErrParamMinLen("ExperimentName", 1))
29174	}
29175	if s.Tags != nil {
29176		for i, v := range s.Tags {
29177			if v == nil {
29178				continue
29179			}
29180			if err := v.Validate(); err != nil {
29181				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
29182			}
29183		}
29184	}
29185
29186	if invalidParams.Len() > 0 {
29187		return invalidParams
29188	}
29189	return nil
29190}
29191
29192// SetDescription sets the Description field's value.
29193func (s *CreateExperimentInput) SetDescription(v string) *CreateExperimentInput {
29194	s.Description = &v
29195	return s
29196}
29197
29198// SetDisplayName sets the DisplayName field's value.
29199func (s *CreateExperimentInput) SetDisplayName(v string) *CreateExperimentInput {
29200	s.DisplayName = &v
29201	return s
29202}
29203
29204// SetExperimentName sets the ExperimentName field's value.
29205func (s *CreateExperimentInput) SetExperimentName(v string) *CreateExperimentInput {
29206	s.ExperimentName = &v
29207	return s
29208}
29209
29210// SetTags sets the Tags field's value.
29211func (s *CreateExperimentInput) SetTags(v []*Tag) *CreateExperimentInput {
29212	s.Tags = v
29213	return s
29214}
29215
29216type CreateExperimentOutput struct {
29217	_ struct{} `type:"structure"`
29218
29219	// The Amazon Resource Name (ARN) of the experiment.
29220	ExperimentArn *string `type:"string"`
29221}
29222
29223// String returns the string representation
29224func (s CreateExperimentOutput) String() string {
29225	return awsutil.Prettify(s)
29226}
29227
29228// GoString returns the string representation
29229func (s CreateExperimentOutput) GoString() string {
29230	return s.String()
29231}
29232
29233// SetExperimentArn sets the ExperimentArn field's value.
29234func (s *CreateExperimentOutput) SetExperimentArn(v string) *CreateExperimentOutput {
29235	s.ExperimentArn = &v
29236	return s
29237}
29238
29239type CreateFeatureGroupInput struct {
29240	_ struct{} `type:"structure"`
29241
29242	// A free-form description of a FeatureGroup.
29243	Description *string `type:"string"`
29244
29245	// The name of the feature that stores the EventTime of a Record in a FeatureGroup.
29246	//
29247	// An EventTime is a point in time when a new event occurs that corresponds
29248	// to the creation or update of a Record in a FeatureGroup. All Records in the
29249	// FeatureGroup must have a corresponding EventTime.
29250	//
29251	// An EventTime can be a String or Fractional.
29252	//
29253	//    * Fractional: EventTime feature values must be a Unix timestamp in seconds.
29254	//
29255	//    * String: EventTime feature values must be an ISO-8601 string in the format.
29256	//    The following formats are supported yyyy-MM-dd'T'HH:mm:ssZ and yyyy-MM-dd'T'HH:mm:ss.SSSZ
29257	//    where yyyy, MM, and dd represent the year, month, and day respectively
29258	//    and HH, mm, ss, and if applicable, SSS represent the hour, month, second
29259	//    and milliseconds respsectively. 'T' and Z are constants.
29260	//
29261	// EventTimeFeatureName is a required field
29262	EventTimeFeatureName *string `min:"1" type:"string" required:"true"`
29263
29264	// A list of Feature names and types. Name and Type is compulsory per Feature.
29265	//
29266	// Valid feature FeatureTypes are Integral, Fractional and String.
29267	//
29268	// FeatureNames cannot be any of the following: is_deleted, write_time, api_invocation_time
29269	//
29270	// You can create up to 2,500 FeatureDefinitions per FeatureGroup.
29271	//
29272	// FeatureDefinitions is a required field
29273	FeatureDefinitions []*FeatureDefinition `min:"1" type:"list" required:"true"`
29274
29275	// The name of the FeatureGroup. The name must be unique within an AWS Region
29276	// in an AWS account. The name:
29277	//
29278	//    * Must start and end with an alphanumeric character.
29279	//
29280	//    * Can only contain alphanumeric character and hyphens. Spaces are not
29281	//    allowed.
29282	//
29283	// FeatureGroupName is a required field
29284	FeatureGroupName *string `min:"1" type:"string" required:"true"`
29285
29286	// Use this to configure an OfflineFeatureStore. This parameter allows you to
29287	// specify:
29288	//
29289	//    * The Amazon Simple Storage Service (Amazon S3) location of an OfflineStore.
29290	//
29291	//    * A configuration for an AWS Glue or AWS Hive data cataolgue.
29292	//
29293	//    * An KMS encryption key to encrypt the Amazon S3 location used for OfflineStore.
29294	//
29295	// To learn more about this parameter, see OfflineStoreConfig.
29296	OfflineStoreConfig *OfflineStoreConfig `type:"structure"`
29297
29298	// You can turn the OnlineStore on or off by specifying True for the EnableOnlineStore
29299	// flag in OnlineStoreConfig; the default value is False.
29300	//
29301	// You can also include an AWS KMS key ID (KMSKeyId) for at-rest encryption
29302	// of the OnlineStore.
29303	OnlineStoreConfig *OnlineStoreConfig `type:"structure"`
29304
29305	// The name of the Feature whose value uniquely identifies a Record defined
29306	// in the FeatureStore. Only the latest record per identifier value will be
29307	// stored in the OnlineStore. RecordIdentifierFeatureName must be one of feature
29308	// definitions' names.
29309	//
29310	// You use the RecordIdentifierFeatureName to access data in a FeatureStore.
29311	//
29312	// This name:
29313	//
29314	//    * Must start and end with an alphanumeric character.
29315	//
29316	//    * Can only contains alphanumeric characters, hyphens, underscores. Spaces
29317	//    are not allowed.
29318	//
29319	// RecordIdentifierFeatureName is a required field
29320	RecordIdentifierFeatureName *string `min:"1" type:"string" required:"true"`
29321
29322	// The Amazon Resource Name (ARN) of the IAM execution role used to persist
29323	// data into the OfflineStore if an OfflineStoreConfig is provided.
29324	RoleArn *string `min:"20" type:"string"`
29325
29326	// Tags used to identify Features in each FeatureGroup.
29327	Tags []*Tag `type:"list"`
29328}
29329
29330// String returns the string representation
29331func (s CreateFeatureGroupInput) String() string {
29332	return awsutil.Prettify(s)
29333}
29334
29335// GoString returns the string representation
29336func (s CreateFeatureGroupInput) GoString() string {
29337	return s.String()
29338}
29339
29340// Validate inspects the fields of the type to determine if they are valid.
29341func (s *CreateFeatureGroupInput) Validate() error {
29342	invalidParams := request.ErrInvalidParams{Context: "CreateFeatureGroupInput"}
29343	if s.EventTimeFeatureName == nil {
29344		invalidParams.Add(request.NewErrParamRequired("EventTimeFeatureName"))
29345	}
29346	if s.EventTimeFeatureName != nil && len(*s.EventTimeFeatureName) < 1 {
29347		invalidParams.Add(request.NewErrParamMinLen("EventTimeFeatureName", 1))
29348	}
29349	if s.FeatureDefinitions == nil {
29350		invalidParams.Add(request.NewErrParamRequired("FeatureDefinitions"))
29351	}
29352	if s.FeatureDefinitions != nil && len(s.FeatureDefinitions) < 1 {
29353		invalidParams.Add(request.NewErrParamMinLen("FeatureDefinitions", 1))
29354	}
29355	if s.FeatureGroupName == nil {
29356		invalidParams.Add(request.NewErrParamRequired("FeatureGroupName"))
29357	}
29358	if s.FeatureGroupName != nil && len(*s.FeatureGroupName) < 1 {
29359		invalidParams.Add(request.NewErrParamMinLen("FeatureGroupName", 1))
29360	}
29361	if s.RecordIdentifierFeatureName == nil {
29362		invalidParams.Add(request.NewErrParamRequired("RecordIdentifierFeatureName"))
29363	}
29364	if s.RecordIdentifierFeatureName != nil && len(*s.RecordIdentifierFeatureName) < 1 {
29365		invalidParams.Add(request.NewErrParamMinLen("RecordIdentifierFeatureName", 1))
29366	}
29367	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
29368		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
29369	}
29370	if s.FeatureDefinitions != nil {
29371		for i, v := range s.FeatureDefinitions {
29372			if v == nil {
29373				continue
29374			}
29375			if err := v.Validate(); err != nil {
29376				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "FeatureDefinitions", i), err.(request.ErrInvalidParams))
29377			}
29378		}
29379	}
29380	if s.OfflineStoreConfig != nil {
29381		if err := s.OfflineStoreConfig.Validate(); err != nil {
29382			invalidParams.AddNested("OfflineStoreConfig", err.(request.ErrInvalidParams))
29383		}
29384	}
29385	if s.Tags != nil {
29386		for i, v := range s.Tags {
29387			if v == nil {
29388				continue
29389			}
29390			if err := v.Validate(); err != nil {
29391				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
29392			}
29393		}
29394	}
29395
29396	if invalidParams.Len() > 0 {
29397		return invalidParams
29398	}
29399	return nil
29400}
29401
29402// SetDescription sets the Description field's value.
29403func (s *CreateFeatureGroupInput) SetDescription(v string) *CreateFeatureGroupInput {
29404	s.Description = &v
29405	return s
29406}
29407
29408// SetEventTimeFeatureName sets the EventTimeFeatureName field's value.
29409func (s *CreateFeatureGroupInput) SetEventTimeFeatureName(v string) *CreateFeatureGroupInput {
29410	s.EventTimeFeatureName = &v
29411	return s
29412}
29413
29414// SetFeatureDefinitions sets the FeatureDefinitions field's value.
29415func (s *CreateFeatureGroupInput) SetFeatureDefinitions(v []*FeatureDefinition) *CreateFeatureGroupInput {
29416	s.FeatureDefinitions = v
29417	return s
29418}
29419
29420// SetFeatureGroupName sets the FeatureGroupName field's value.
29421func (s *CreateFeatureGroupInput) SetFeatureGroupName(v string) *CreateFeatureGroupInput {
29422	s.FeatureGroupName = &v
29423	return s
29424}
29425
29426// SetOfflineStoreConfig sets the OfflineStoreConfig field's value.
29427func (s *CreateFeatureGroupInput) SetOfflineStoreConfig(v *OfflineStoreConfig) *CreateFeatureGroupInput {
29428	s.OfflineStoreConfig = v
29429	return s
29430}
29431
29432// SetOnlineStoreConfig sets the OnlineStoreConfig field's value.
29433func (s *CreateFeatureGroupInput) SetOnlineStoreConfig(v *OnlineStoreConfig) *CreateFeatureGroupInput {
29434	s.OnlineStoreConfig = v
29435	return s
29436}
29437
29438// SetRecordIdentifierFeatureName sets the RecordIdentifierFeatureName field's value.
29439func (s *CreateFeatureGroupInput) SetRecordIdentifierFeatureName(v string) *CreateFeatureGroupInput {
29440	s.RecordIdentifierFeatureName = &v
29441	return s
29442}
29443
29444// SetRoleArn sets the RoleArn field's value.
29445func (s *CreateFeatureGroupInput) SetRoleArn(v string) *CreateFeatureGroupInput {
29446	s.RoleArn = &v
29447	return s
29448}
29449
29450// SetTags sets the Tags field's value.
29451func (s *CreateFeatureGroupInput) SetTags(v []*Tag) *CreateFeatureGroupInput {
29452	s.Tags = v
29453	return s
29454}
29455
29456type CreateFeatureGroupOutput struct {
29457	_ struct{} `type:"structure"`
29458
29459	// The Amazon Resource Name (ARN) of the FeatureGroup. This is a unique identifier
29460	// for the feature group.
29461	//
29462	// FeatureGroupArn is a required field
29463	FeatureGroupArn *string `type:"string" required:"true"`
29464}
29465
29466// String returns the string representation
29467func (s CreateFeatureGroupOutput) String() string {
29468	return awsutil.Prettify(s)
29469}
29470
29471// GoString returns the string representation
29472func (s CreateFeatureGroupOutput) GoString() string {
29473	return s.String()
29474}
29475
29476// SetFeatureGroupArn sets the FeatureGroupArn field's value.
29477func (s *CreateFeatureGroupOutput) SetFeatureGroupArn(v string) *CreateFeatureGroupOutput {
29478	s.FeatureGroupArn = &v
29479	return s
29480}
29481
29482type CreateFlowDefinitionInput struct {
29483	_ struct{} `type:"structure"`
29484
29485	// The name of your flow definition.
29486	//
29487	// FlowDefinitionName is a required field
29488	FlowDefinitionName *string `min:"1" type:"string" required:"true"`
29489
29490	// An object containing information about the events that trigger a human workflow.
29491	HumanLoopActivationConfig *HumanLoopActivationConfig `type:"structure"`
29492
29493	// An object containing information about the tasks the human reviewers will
29494	// perform.
29495	//
29496	// HumanLoopConfig is a required field
29497	HumanLoopConfig *HumanLoopConfig `type:"structure" required:"true"`
29498
29499	// Container for configuring the source of human task requests. Use to specify
29500	// if Amazon Rekognition or Amazon Textract is used as an integration source.
29501	HumanLoopRequestSource *HumanLoopRequestSource `type:"structure"`
29502
29503	// An object containing information about where the human review results will
29504	// be uploaded.
29505	//
29506	// OutputConfig is a required field
29507	OutputConfig *FlowDefinitionOutputConfig `type:"structure" required:"true"`
29508
29509	// The Amazon Resource Name (ARN) of the role needed to call other services
29510	// on your behalf. For example, arn:aws:iam::1234567890:role/service-role/AmazonSageMaker-ExecutionRole-20180111T151298.
29511	//
29512	// RoleArn is a required field
29513	RoleArn *string `min:"20" type:"string" required:"true"`
29514
29515	// An array of key-value pairs that contain metadata to help you categorize
29516	// and organize a flow definition. Each tag consists of a key and a value, both
29517	// of which you define.
29518	Tags []*Tag `type:"list"`
29519}
29520
29521// String returns the string representation
29522func (s CreateFlowDefinitionInput) String() string {
29523	return awsutil.Prettify(s)
29524}
29525
29526// GoString returns the string representation
29527func (s CreateFlowDefinitionInput) GoString() string {
29528	return s.String()
29529}
29530
29531// Validate inspects the fields of the type to determine if they are valid.
29532func (s *CreateFlowDefinitionInput) Validate() error {
29533	invalidParams := request.ErrInvalidParams{Context: "CreateFlowDefinitionInput"}
29534	if s.FlowDefinitionName == nil {
29535		invalidParams.Add(request.NewErrParamRequired("FlowDefinitionName"))
29536	}
29537	if s.FlowDefinitionName != nil && len(*s.FlowDefinitionName) < 1 {
29538		invalidParams.Add(request.NewErrParamMinLen("FlowDefinitionName", 1))
29539	}
29540	if s.HumanLoopConfig == nil {
29541		invalidParams.Add(request.NewErrParamRequired("HumanLoopConfig"))
29542	}
29543	if s.OutputConfig == nil {
29544		invalidParams.Add(request.NewErrParamRequired("OutputConfig"))
29545	}
29546	if s.RoleArn == nil {
29547		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
29548	}
29549	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
29550		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
29551	}
29552	if s.HumanLoopActivationConfig != nil {
29553		if err := s.HumanLoopActivationConfig.Validate(); err != nil {
29554			invalidParams.AddNested("HumanLoopActivationConfig", err.(request.ErrInvalidParams))
29555		}
29556	}
29557	if s.HumanLoopConfig != nil {
29558		if err := s.HumanLoopConfig.Validate(); err != nil {
29559			invalidParams.AddNested("HumanLoopConfig", err.(request.ErrInvalidParams))
29560		}
29561	}
29562	if s.HumanLoopRequestSource != nil {
29563		if err := s.HumanLoopRequestSource.Validate(); err != nil {
29564			invalidParams.AddNested("HumanLoopRequestSource", err.(request.ErrInvalidParams))
29565		}
29566	}
29567	if s.OutputConfig != nil {
29568		if err := s.OutputConfig.Validate(); err != nil {
29569			invalidParams.AddNested("OutputConfig", err.(request.ErrInvalidParams))
29570		}
29571	}
29572	if s.Tags != nil {
29573		for i, v := range s.Tags {
29574			if v == nil {
29575				continue
29576			}
29577			if err := v.Validate(); err != nil {
29578				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
29579			}
29580		}
29581	}
29582
29583	if invalidParams.Len() > 0 {
29584		return invalidParams
29585	}
29586	return nil
29587}
29588
29589// SetFlowDefinitionName sets the FlowDefinitionName field's value.
29590func (s *CreateFlowDefinitionInput) SetFlowDefinitionName(v string) *CreateFlowDefinitionInput {
29591	s.FlowDefinitionName = &v
29592	return s
29593}
29594
29595// SetHumanLoopActivationConfig sets the HumanLoopActivationConfig field's value.
29596func (s *CreateFlowDefinitionInput) SetHumanLoopActivationConfig(v *HumanLoopActivationConfig) *CreateFlowDefinitionInput {
29597	s.HumanLoopActivationConfig = v
29598	return s
29599}
29600
29601// SetHumanLoopConfig sets the HumanLoopConfig field's value.
29602func (s *CreateFlowDefinitionInput) SetHumanLoopConfig(v *HumanLoopConfig) *CreateFlowDefinitionInput {
29603	s.HumanLoopConfig = v
29604	return s
29605}
29606
29607// SetHumanLoopRequestSource sets the HumanLoopRequestSource field's value.
29608func (s *CreateFlowDefinitionInput) SetHumanLoopRequestSource(v *HumanLoopRequestSource) *CreateFlowDefinitionInput {
29609	s.HumanLoopRequestSource = v
29610	return s
29611}
29612
29613// SetOutputConfig sets the OutputConfig field's value.
29614func (s *CreateFlowDefinitionInput) SetOutputConfig(v *FlowDefinitionOutputConfig) *CreateFlowDefinitionInput {
29615	s.OutputConfig = v
29616	return s
29617}
29618
29619// SetRoleArn sets the RoleArn field's value.
29620func (s *CreateFlowDefinitionInput) SetRoleArn(v string) *CreateFlowDefinitionInput {
29621	s.RoleArn = &v
29622	return s
29623}
29624
29625// SetTags sets the Tags field's value.
29626func (s *CreateFlowDefinitionInput) SetTags(v []*Tag) *CreateFlowDefinitionInput {
29627	s.Tags = v
29628	return s
29629}
29630
29631type CreateFlowDefinitionOutput struct {
29632	_ struct{} `type:"structure"`
29633
29634	// The Amazon Resource Name (ARN) of the flow definition you create.
29635	//
29636	// FlowDefinitionArn is a required field
29637	FlowDefinitionArn *string `type:"string" required:"true"`
29638}
29639
29640// String returns the string representation
29641func (s CreateFlowDefinitionOutput) String() string {
29642	return awsutil.Prettify(s)
29643}
29644
29645// GoString returns the string representation
29646func (s CreateFlowDefinitionOutput) GoString() string {
29647	return s.String()
29648}
29649
29650// SetFlowDefinitionArn sets the FlowDefinitionArn field's value.
29651func (s *CreateFlowDefinitionOutput) SetFlowDefinitionArn(v string) *CreateFlowDefinitionOutput {
29652	s.FlowDefinitionArn = &v
29653	return s
29654}
29655
29656type CreateHumanTaskUiInput struct {
29657	_ struct{} `type:"structure"`
29658
29659	// The name of the user interface you are creating.
29660	//
29661	// HumanTaskUiName is a required field
29662	HumanTaskUiName *string `min:"1" type:"string" required:"true"`
29663
29664	// An array of key-value pairs that contain metadata to help you categorize
29665	// and organize a human review workflow user interface. Each tag consists of
29666	// a key and a value, both of which you define.
29667	Tags []*Tag `type:"list"`
29668
29669	// The Liquid template for the worker user interface.
29670	//
29671	// UiTemplate is a required field
29672	UiTemplate *UiTemplate `type:"structure" required:"true"`
29673}
29674
29675// String returns the string representation
29676func (s CreateHumanTaskUiInput) String() string {
29677	return awsutil.Prettify(s)
29678}
29679
29680// GoString returns the string representation
29681func (s CreateHumanTaskUiInput) GoString() string {
29682	return s.String()
29683}
29684
29685// Validate inspects the fields of the type to determine if they are valid.
29686func (s *CreateHumanTaskUiInput) Validate() error {
29687	invalidParams := request.ErrInvalidParams{Context: "CreateHumanTaskUiInput"}
29688	if s.HumanTaskUiName == nil {
29689		invalidParams.Add(request.NewErrParamRequired("HumanTaskUiName"))
29690	}
29691	if s.HumanTaskUiName != nil && len(*s.HumanTaskUiName) < 1 {
29692		invalidParams.Add(request.NewErrParamMinLen("HumanTaskUiName", 1))
29693	}
29694	if s.UiTemplate == nil {
29695		invalidParams.Add(request.NewErrParamRequired("UiTemplate"))
29696	}
29697	if s.Tags != nil {
29698		for i, v := range s.Tags {
29699			if v == nil {
29700				continue
29701			}
29702			if err := v.Validate(); err != nil {
29703				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
29704			}
29705		}
29706	}
29707	if s.UiTemplate != nil {
29708		if err := s.UiTemplate.Validate(); err != nil {
29709			invalidParams.AddNested("UiTemplate", err.(request.ErrInvalidParams))
29710		}
29711	}
29712
29713	if invalidParams.Len() > 0 {
29714		return invalidParams
29715	}
29716	return nil
29717}
29718
29719// SetHumanTaskUiName sets the HumanTaskUiName field's value.
29720func (s *CreateHumanTaskUiInput) SetHumanTaskUiName(v string) *CreateHumanTaskUiInput {
29721	s.HumanTaskUiName = &v
29722	return s
29723}
29724
29725// SetTags sets the Tags field's value.
29726func (s *CreateHumanTaskUiInput) SetTags(v []*Tag) *CreateHumanTaskUiInput {
29727	s.Tags = v
29728	return s
29729}
29730
29731// SetUiTemplate sets the UiTemplate field's value.
29732func (s *CreateHumanTaskUiInput) SetUiTemplate(v *UiTemplate) *CreateHumanTaskUiInput {
29733	s.UiTemplate = v
29734	return s
29735}
29736
29737type CreateHumanTaskUiOutput struct {
29738	_ struct{} `type:"structure"`
29739
29740	// The Amazon Resource Name (ARN) of the human review workflow user interface
29741	// you create.
29742	//
29743	// HumanTaskUiArn is a required field
29744	HumanTaskUiArn *string `type:"string" required:"true"`
29745}
29746
29747// String returns the string representation
29748func (s CreateHumanTaskUiOutput) String() string {
29749	return awsutil.Prettify(s)
29750}
29751
29752// GoString returns the string representation
29753func (s CreateHumanTaskUiOutput) GoString() string {
29754	return s.String()
29755}
29756
29757// SetHumanTaskUiArn sets the HumanTaskUiArn field's value.
29758func (s *CreateHumanTaskUiOutput) SetHumanTaskUiArn(v string) *CreateHumanTaskUiOutput {
29759	s.HumanTaskUiArn = &v
29760	return s
29761}
29762
29763type CreateHyperParameterTuningJobInput struct {
29764	_ struct{} `type:"structure"`
29765
29766	// The HyperParameterTuningJobConfig object that describes the tuning job, including
29767	// the search strategy, the objective metric used to evaluate training jobs,
29768	// ranges of parameters to search, and resource limits for the tuning job. For
29769	// more information, see How Hyperparameter Tuning Works (https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-how-it-works.html).
29770	//
29771	// HyperParameterTuningJobConfig is a required field
29772	HyperParameterTuningJobConfig *HyperParameterTuningJobConfig `type:"structure" required:"true"`
29773
29774	// The name of the tuning job. This name is the prefix for the names of all
29775	// training jobs that this tuning job launches. The name must be unique within
29776	// the same AWS account and AWS Region. The name must have 1 to 32 characters.
29777	// Valid characters are a-z, A-Z, 0-9, and : + = @ _ % - (hyphen). The name
29778	// is not case sensitive.
29779	//
29780	// HyperParameterTuningJobName is a required field
29781	HyperParameterTuningJobName *string `min:"1" type:"string" required:"true"`
29782
29783	// An array of key-value pairs. You can use tags to categorize your AWS resources
29784	// in different ways, for example, by purpose, owner, or environment. For more
29785	// information, see Tagging AWS Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html).
29786	//
29787	// Tags that you specify for the tuning job are also added to all training jobs
29788	// that the tuning job launches.
29789	Tags []*Tag `type:"list"`
29790
29791	// The HyperParameterTrainingJobDefinition object that describes the training
29792	// jobs that this tuning job launches, including static hyperparameters, input
29793	// data configuration, output data configuration, resource configuration, and
29794	// stopping condition.
29795	TrainingJobDefinition *HyperParameterTrainingJobDefinition `type:"structure"`
29796
29797	// A list of the HyperParameterTrainingJobDefinition objects launched for this
29798	// tuning job.
29799	TrainingJobDefinitions []*HyperParameterTrainingJobDefinition `min:"1" type:"list"`
29800
29801	// Specifies the configuration for starting the hyperparameter tuning job using
29802	// one or more previous tuning jobs as a starting point. The results of previous
29803	// tuning jobs are used to inform which combinations of hyperparameters to search
29804	// over in the new tuning job.
29805	//
29806	// All training jobs launched by the new hyperparameter tuning job are evaluated
29807	// by using the objective metric. If you specify IDENTICAL_DATA_AND_ALGORITHM
29808	// as the WarmStartType value for the warm start configuration, the training
29809	// job that performs the best in the new tuning job is compared to the best
29810	// training jobs from the parent tuning jobs. From these, the training job that
29811	// performs the best as measured by the objective metric is returned as the
29812	// overall best training job.
29813	//
29814	// All training jobs launched by parent hyperparameter tuning jobs and the new
29815	// hyperparameter tuning jobs count against the limit of training jobs for the
29816	// tuning job.
29817	WarmStartConfig *HyperParameterTuningJobWarmStartConfig `type:"structure"`
29818}
29819
29820// String returns the string representation
29821func (s CreateHyperParameterTuningJobInput) String() string {
29822	return awsutil.Prettify(s)
29823}
29824
29825// GoString returns the string representation
29826func (s CreateHyperParameterTuningJobInput) GoString() string {
29827	return s.String()
29828}
29829
29830// Validate inspects the fields of the type to determine if they are valid.
29831func (s *CreateHyperParameterTuningJobInput) Validate() error {
29832	invalidParams := request.ErrInvalidParams{Context: "CreateHyperParameterTuningJobInput"}
29833	if s.HyperParameterTuningJobConfig == nil {
29834		invalidParams.Add(request.NewErrParamRequired("HyperParameterTuningJobConfig"))
29835	}
29836	if s.HyperParameterTuningJobName == nil {
29837		invalidParams.Add(request.NewErrParamRequired("HyperParameterTuningJobName"))
29838	}
29839	if s.HyperParameterTuningJobName != nil && len(*s.HyperParameterTuningJobName) < 1 {
29840		invalidParams.Add(request.NewErrParamMinLen("HyperParameterTuningJobName", 1))
29841	}
29842	if s.TrainingJobDefinitions != nil && len(s.TrainingJobDefinitions) < 1 {
29843		invalidParams.Add(request.NewErrParamMinLen("TrainingJobDefinitions", 1))
29844	}
29845	if s.HyperParameterTuningJobConfig != nil {
29846		if err := s.HyperParameterTuningJobConfig.Validate(); err != nil {
29847			invalidParams.AddNested("HyperParameterTuningJobConfig", err.(request.ErrInvalidParams))
29848		}
29849	}
29850	if s.Tags != nil {
29851		for i, v := range s.Tags {
29852			if v == nil {
29853				continue
29854			}
29855			if err := v.Validate(); err != nil {
29856				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
29857			}
29858		}
29859	}
29860	if s.TrainingJobDefinition != nil {
29861		if err := s.TrainingJobDefinition.Validate(); err != nil {
29862			invalidParams.AddNested("TrainingJobDefinition", err.(request.ErrInvalidParams))
29863		}
29864	}
29865	if s.TrainingJobDefinitions != nil {
29866		for i, v := range s.TrainingJobDefinitions {
29867			if v == nil {
29868				continue
29869			}
29870			if err := v.Validate(); err != nil {
29871				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "TrainingJobDefinitions", i), err.(request.ErrInvalidParams))
29872			}
29873		}
29874	}
29875	if s.WarmStartConfig != nil {
29876		if err := s.WarmStartConfig.Validate(); err != nil {
29877			invalidParams.AddNested("WarmStartConfig", err.(request.ErrInvalidParams))
29878		}
29879	}
29880
29881	if invalidParams.Len() > 0 {
29882		return invalidParams
29883	}
29884	return nil
29885}
29886
29887// SetHyperParameterTuningJobConfig sets the HyperParameterTuningJobConfig field's value.
29888func (s *CreateHyperParameterTuningJobInput) SetHyperParameterTuningJobConfig(v *HyperParameterTuningJobConfig) *CreateHyperParameterTuningJobInput {
29889	s.HyperParameterTuningJobConfig = v
29890	return s
29891}
29892
29893// SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value.
29894func (s *CreateHyperParameterTuningJobInput) SetHyperParameterTuningJobName(v string) *CreateHyperParameterTuningJobInput {
29895	s.HyperParameterTuningJobName = &v
29896	return s
29897}
29898
29899// SetTags sets the Tags field's value.
29900func (s *CreateHyperParameterTuningJobInput) SetTags(v []*Tag) *CreateHyperParameterTuningJobInput {
29901	s.Tags = v
29902	return s
29903}
29904
29905// SetTrainingJobDefinition sets the TrainingJobDefinition field's value.
29906func (s *CreateHyperParameterTuningJobInput) SetTrainingJobDefinition(v *HyperParameterTrainingJobDefinition) *CreateHyperParameterTuningJobInput {
29907	s.TrainingJobDefinition = v
29908	return s
29909}
29910
29911// SetTrainingJobDefinitions sets the TrainingJobDefinitions field's value.
29912func (s *CreateHyperParameterTuningJobInput) SetTrainingJobDefinitions(v []*HyperParameterTrainingJobDefinition) *CreateHyperParameterTuningJobInput {
29913	s.TrainingJobDefinitions = v
29914	return s
29915}
29916
29917// SetWarmStartConfig sets the WarmStartConfig field's value.
29918func (s *CreateHyperParameterTuningJobInput) SetWarmStartConfig(v *HyperParameterTuningJobWarmStartConfig) *CreateHyperParameterTuningJobInput {
29919	s.WarmStartConfig = v
29920	return s
29921}
29922
29923type CreateHyperParameterTuningJobOutput struct {
29924	_ struct{} `type:"structure"`
29925
29926	// The Amazon Resource Name (ARN) of the tuning job. Amazon SageMaker assigns
29927	// an ARN to a hyperparameter tuning job when you create it.
29928	//
29929	// HyperParameterTuningJobArn is a required field
29930	HyperParameterTuningJobArn *string `type:"string" required:"true"`
29931}
29932
29933// String returns the string representation
29934func (s CreateHyperParameterTuningJobOutput) String() string {
29935	return awsutil.Prettify(s)
29936}
29937
29938// GoString returns the string representation
29939func (s CreateHyperParameterTuningJobOutput) GoString() string {
29940	return s.String()
29941}
29942
29943// SetHyperParameterTuningJobArn sets the HyperParameterTuningJobArn field's value.
29944func (s *CreateHyperParameterTuningJobOutput) SetHyperParameterTuningJobArn(v string) *CreateHyperParameterTuningJobOutput {
29945	s.HyperParameterTuningJobArn = &v
29946	return s
29947}
29948
29949type CreateImageInput struct {
29950	_ struct{} `type:"structure"`
29951
29952	// The description of the image.
29953	Description *string `min:"1" type:"string"`
29954
29955	// The display name of the image. If not provided, ImageName is displayed.
29956	DisplayName *string `min:"1" type:"string"`
29957
29958	// The name of the image. Must be unique to your account.
29959	//
29960	// ImageName is a required field
29961	ImageName *string `min:"1" type:"string" required:"true"`
29962
29963	// The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker
29964	// to perform tasks on your behalf.
29965	//
29966	// RoleArn is a required field
29967	RoleArn *string `min:"20" type:"string" required:"true"`
29968
29969	// A list of tags to apply to the image.
29970	Tags []*Tag `type:"list"`
29971}
29972
29973// String returns the string representation
29974func (s CreateImageInput) String() string {
29975	return awsutil.Prettify(s)
29976}
29977
29978// GoString returns the string representation
29979func (s CreateImageInput) GoString() string {
29980	return s.String()
29981}
29982
29983// Validate inspects the fields of the type to determine if they are valid.
29984func (s *CreateImageInput) Validate() error {
29985	invalidParams := request.ErrInvalidParams{Context: "CreateImageInput"}
29986	if s.Description != nil && len(*s.Description) < 1 {
29987		invalidParams.Add(request.NewErrParamMinLen("Description", 1))
29988	}
29989	if s.DisplayName != nil && len(*s.DisplayName) < 1 {
29990		invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1))
29991	}
29992	if s.ImageName == nil {
29993		invalidParams.Add(request.NewErrParamRequired("ImageName"))
29994	}
29995	if s.ImageName != nil && len(*s.ImageName) < 1 {
29996		invalidParams.Add(request.NewErrParamMinLen("ImageName", 1))
29997	}
29998	if s.RoleArn == nil {
29999		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
30000	}
30001	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
30002		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
30003	}
30004	if s.Tags != nil {
30005		for i, v := range s.Tags {
30006			if v == nil {
30007				continue
30008			}
30009			if err := v.Validate(); err != nil {
30010				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
30011			}
30012		}
30013	}
30014
30015	if invalidParams.Len() > 0 {
30016		return invalidParams
30017	}
30018	return nil
30019}
30020
30021// SetDescription sets the Description field's value.
30022func (s *CreateImageInput) SetDescription(v string) *CreateImageInput {
30023	s.Description = &v
30024	return s
30025}
30026
30027// SetDisplayName sets the DisplayName field's value.
30028func (s *CreateImageInput) SetDisplayName(v string) *CreateImageInput {
30029	s.DisplayName = &v
30030	return s
30031}
30032
30033// SetImageName sets the ImageName field's value.
30034func (s *CreateImageInput) SetImageName(v string) *CreateImageInput {
30035	s.ImageName = &v
30036	return s
30037}
30038
30039// SetRoleArn sets the RoleArn field's value.
30040func (s *CreateImageInput) SetRoleArn(v string) *CreateImageInput {
30041	s.RoleArn = &v
30042	return s
30043}
30044
30045// SetTags sets the Tags field's value.
30046func (s *CreateImageInput) SetTags(v []*Tag) *CreateImageInput {
30047	s.Tags = v
30048	return s
30049}
30050
30051type CreateImageOutput struct {
30052	_ struct{} `type:"structure"`
30053
30054	// The Amazon Resource Name (ARN) of the image.
30055	ImageArn *string `type:"string"`
30056}
30057
30058// String returns the string representation
30059func (s CreateImageOutput) String() string {
30060	return awsutil.Prettify(s)
30061}
30062
30063// GoString returns the string representation
30064func (s CreateImageOutput) GoString() string {
30065	return s.String()
30066}
30067
30068// SetImageArn sets the ImageArn field's value.
30069func (s *CreateImageOutput) SetImageArn(v string) *CreateImageOutput {
30070	s.ImageArn = &v
30071	return s
30072}
30073
30074type CreateImageVersionInput struct {
30075	_ struct{} `type:"structure"`
30076
30077	// The registry path of the container image to use as the starting point for
30078	// this version. The path is an Amazon Container Registry (ECR) URI in the following
30079	// format:
30080	//
30081	// <acct-id>.dkr.ecr.<region>.amazonaws.com/<repo-name[:tag] or [@digest]>
30082	//
30083	// BaseImage is a required field
30084	BaseImage *string `min:"1" type:"string" required:"true"`
30085
30086	// A unique ID. If not specified, the AWS CLI and AWS SDKs, such as the SDK
30087	// for Python (Boto3), add a unique value to the call.
30088	ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`
30089
30090	// The ImageName of the Image to create a version of.
30091	//
30092	// ImageName is a required field
30093	ImageName *string `min:"1" type:"string" required:"true"`
30094}
30095
30096// String returns the string representation
30097func (s CreateImageVersionInput) String() string {
30098	return awsutil.Prettify(s)
30099}
30100
30101// GoString returns the string representation
30102func (s CreateImageVersionInput) GoString() string {
30103	return s.String()
30104}
30105
30106// Validate inspects the fields of the type to determine if they are valid.
30107func (s *CreateImageVersionInput) Validate() error {
30108	invalidParams := request.ErrInvalidParams{Context: "CreateImageVersionInput"}
30109	if s.BaseImage == nil {
30110		invalidParams.Add(request.NewErrParamRequired("BaseImage"))
30111	}
30112	if s.BaseImage != nil && len(*s.BaseImage) < 1 {
30113		invalidParams.Add(request.NewErrParamMinLen("BaseImage", 1))
30114	}
30115	if s.ClientToken != nil && len(*s.ClientToken) < 1 {
30116		invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
30117	}
30118	if s.ImageName == nil {
30119		invalidParams.Add(request.NewErrParamRequired("ImageName"))
30120	}
30121	if s.ImageName != nil && len(*s.ImageName) < 1 {
30122		invalidParams.Add(request.NewErrParamMinLen("ImageName", 1))
30123	}
30124
30125	if invalidParams.Len() > 0 {
30126		return invalidParams
30127	}
30128	return nil
30129}
30130
30131// SetBaseImage sets the BaseImage field's value.
30132func (s *CreateImageVersionInput) SetBaseImage(v string) *CreateImageVersionInput {
30133	s.BaseImage = &v
30134	return s
30135}
30136
30137// SetClientToken sets the ClientToken field's value.
30138func (s *CreateImageVersionInput) SetClientToken(v string) *CreateImageVersionInput {
30139	s.ClientToken = &v
30140	return s
30141}
30142
30143// SetImageName sets the ImageName field's value.
30144func (s *CreateImageVersionInput) SetImageName(v string) *CreateImageVersionInput {
30145	s.ImageName = &v
30146	return s
30147}
30148
30149type CreateImageVersionOutput struct {
30150	_ struct{} `type:"structure"`
30151
30152	// The Amazon Resource Name (ARN) of the image version.
30153	ImageVersionArn *string `type:"string"`
30154}
30155
30156// String returns the string representation
30157func (s CreateImageVersionOutput) String() string {
30158	return awsutil.Prettify(s)
30159}
30160
30161// GoString returns the string representation
30162func (s CreateImageVersionOutput) GoString() string {
30163	return s.String()
30164}
30165
30166// SetImageVersionArn sets the ImageVersionArn field's value.
30167func (s *CreateImageVersionOutput) SetImageVersionArn(v string) *CreateImageVersionOutput {
30168	s.ImageVersionArn = &v
30169	return s
30170}
30171
30172type CreateLabelingJobInput struct {
30173	_ struct{} `type:"structure"`
30174
30175	// Configures the labeling task and how it is presented to workers; including,
30176	// but not limited to price, keywords, and batch size (task count).
30177	//
30178	// HumanTaskConfig is a required field
30179	HumanTaskConfig *HumanTaskConfig `type:"structure" required:"true"`
30180
30181	// Input data for the labeling job, such as the Amazon S3 location of the data
30182	// objects and the location of the manifest file that describes the data objects.
30183	//
30184	// You must specify at least one of the following: S3DataSource or SnsDataSource.
30185	//
30186	//    * Use SnsDataSource to specify an SNS input topic for a streaming labeling
30187	//    job. If you do not specify and SNS input topic ARN, Ground Truth will
30188	//    create a one-time labeling job that stops after all data objects in the
30189	//    input manifest file have been labeled.
30190	//
30191	//    * Use S3DataSource to specify an input manifest file for both streaming
30192	//    and one-time labeling jobs. Adding an S3DataSource is optional if you
30193	//    use SnsDataSource to create a streaming labeling job.
30194	//
30195	// If you use the Amazon Mechanical Turk workforce, your input data should not
30196	// include confidential information, personal information or protected health
30197	// information. Use ContentClassifiers to specify that your data is free of
30198	// personally identifiable information and adult content.
30199	//
30200	// InputConfig is a required field
30201	InputConfig *LabelingJobInputConfig `type:"structure" required:"true"`
30202
30203	// The attribute name to use for the label in the output manifest file. This
30204	// is the key for the key/value pair formed with the label that a worker assigns
30205	// to the object. The LabelAttributeName must meet the following requirements.
30206	//
30207	//    * The name can't end with "-metadata".
30208	//
30209	//    * If you are using one of the following built-in task types (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-task-types.html),
30210	//    the attribute name must end with "-ref". If the task type you are using
30211	//    is not listed below, the attribute name must not end with "-ref". Image
30212	//    semantic segmentation (SemanticSegmentation), and adjustment (AdjustmentSemanticSegmentation)
30213	//    and verification (VerificationSemanticSegmentation) labeling jobs for
30214	//    this task type. Video frame object detection (VideoObjectDetection), and
30215	//    adjustment and verification (AdjustmentVideoObjectDetection) labeling
30216	//    jobs for this task type. Video frame object tracking (VideoObjectTracking),
30217	//    and adjustment and verification (AdjustmentVideoObjectTracking) labeling
30218	//    jobs for this task type. 3D point cloud semantic segmentation (3DPointCloudSemanticSegmentation),
30219	//    and adjustment and verification (Adjustment3DPointCloudSemanticSegmentation)
30220	//    labeling jobs for this task type. 3D point cloud object tracking (3DPointCloudObjectTracking),
30221	//    and adjustment and verification (Adjustment3DPointCloudObjectTracking)
30222	//    labeling jobs for this task type.
30223	//
30224	// If you are creating an adjustment or verification labeling job, you must
30225	// use a different LabelAttributeName than the one used in the original labeling
30226	// job. The original labeling job is the Ground Truth labeling job that produced
30227	// the labels that you want verified or adjusted. To learn more about adjustment
30228	// and verification labeling jobs, see Verify and Adjust Labels (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-verification-data.html).
30229	//
30230	// LabelAttributeName is a required field
30231	LabelAttributeName *string `min:"1" type:"string" required:"true"`
30232
30233	// The S3 URI of the file, referred to as a label category configuration file,
30234	// that defines the categories used to label the data objects.
30235	//
30236	// For 3D point cloud and video frame task types, you can add label category
30237	// attributes and frame attributes to your label category configuration file.
30238	// To learn how, see Create a Labeling Category Configuration File for 3D Point
30239	// Cloud Labeling Jobs (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-point-cloud-label-category-config.html).
30240	//
30241	// For all other built-in task types (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-task-types.html)
30242	// and custom tasks (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-custom-templates.html),
30243	// your label category configuration file must be a JSON file in the following
30244	// format. Identify the labels you want to use by replacing label_1, label_2,...,label_n
30245	// with your label categories.
30246	//
30247	// {
30248	//
30249	// "document-version": "2018-11-28",
30250	//
30251	// "labels": [{"label": "label_1"},{"label": "label_2"},...{"label": "label_n"}]
30252	//
30253	// }
30254	//
30255	// Note the following about the label category configuration file:
30256	//
30257	//    * For image classification and text classification (single and multi-label)
30258	//    you must specify at least two label categories. For all other task types,
30259	//    the minimum number of label categories required is one.
30260	//
30261	//    * Each label category must be unique, you cannot specify duplicate label
30262	//    categories.
30263	//
30264	//    * If you create a 3D point cloud or video frame adjustment or verification
30265	//    labeling job, you must include auditLabelAttributeName in the label category
30266	//    configuration. Use this parameter to enter the LabelAttributeName (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateLabelingJob.html#sagemaker-CreateLabelingJob-request-LabelAttributeName)
30267	//    of the labeling job you want to adjust or verify annotations of.
30268	LabelCategoryConfigS3Uri *string `type:"string"`
30269
30270	// Configures the information required to perform automated data labeling.
30271	LabelingJobAlgorithmsConfig *LabelingJobAlgorithmsConfig `type:"structure"`
30272
30273	// The name of the labeling job. This name is used to identify the job in a
30274	// list of labeling jobs. Labeling job names must be unique within an AWS account
30275	// and region. LabelingJobName is not case sensitive. For example, Example-job
30276	// and example-job are considered the same labeling job name by Ground Truth.
30277	//
30278	// LabelingJobName is a required field
30279	LabelingJobName *string `min:"1" type:"string" required:"true"`
30280
30281	// The location of the output data and the AWS Key Management Service key ID
30282	// for the key used to encrypt the output data, if any.
30283	//
30284	// OutputConfig is a required field
30285	OutputConfig *LabelingJobOutputConfig `type:"structure" required:"true"`
30286
30287	// The Amazon Resource Number (ARN) that Amazon SageMaker assumes to perform
30288	// tasks on your behalf during data labeling. You must grant this role the necessary
30289	// permissions so that Amazon SageMaker can successfully complete data labeling.
30290	//
30291	// RoleArn is a required field
30292	RoleArn *string `min:"20" type:"string" required:"true"`
30293
30294	// A set of conditions for stopping the labeling job. If any of the conditions
30295	// are met, the job is automatically stopped. You can use these conditions to
30296	// control the cost of data labeling.
30297	StoppingConditions *LabelingJobStoppingConditions `type:"structure"`
30298
30299	// An array of key/value pairs. For more information, see Using Cost Allocation
30300	// Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what)
30301	// in the AWS Billing and Cost Management User Guide.
30302	Tags []*Tag `type:"list"`
30303}
30304
30305// String returns the string representation
30306func (s CreateLabelingJobInput) String() string {
30307	return awsutil.Prettify(s)
30308}
30309
30310// GoString returns the string representation
30311func (s CreateLabelingJobInput) GoString() string {
30312	return s.String()
30313}
30314
30315// Validate inspects the fields of the type to determine if they are valid.
30316func (s *CreateLabelingJobInput) Validate() error {
30317	invalidParams := request.ErrInvalidParams{Context: "CreateLabelingJobInput"}
30318	if s.HumanTaskConfig == nil {
30319		invalidParams.Add(request.NewErrParamRequired("HumanTaskConfig"))
30320	}
30321	if s.InputConfig == nil {
30322		invalidParams.Add(request.NewErrParamRequired("InputConfig"))
30323	}
30324	if s.LabelAttributeName == nil {
30325		invalidParams.Add(request.NewErrParamRequired("LabelAttributeName"))
30326	}
30327	if s.LabelAttributeName != nil && len(*s.LabelAttributeName) < 1 {
30328		invalidParams.Add(request.NewErrParamMinLen("LabelAttributeName", 1))
30329	}
30330	if s.LabelingJobName == nil {
30331		invalidParams.Add(request.NewErrParamRequired("LabelingJobName"))
30332	}
30333	if s.LabelingJobName != nil && len(*s.LabelingJobName) < 1 {
30334		invalidParams.Add(request.NewErrParamMinLen("LabelingJobName", 1))
30335	}
30336	if s.OutputConfig == nil {
30337		invalidParams.Add(request.NewErrParamRequired("OutputConfig"))
30338	}
30339	if s.RoleArn == nil {
30340		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
30341	}
30342	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
30343		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
30344	}
30345	if s.HumanTaskConfig != nil {
30346		if err := s.HumanTaskConfig.Validate(); err != nil {
30347			invalidParams.AddNested("HumanTaskConfig", err.(request.ErrInvalidParams))
30348		}
30349	}
30350	if s.InputConfig != nil {
30351		if err := s.InputConfig.Validate(); err != nil {
30352			invalidParams.AddNested("InputConfig", err.(request.ErrInvalidParams))
30353		}
30354	}
30355	if s.LabelingJobAlgorithmsConfig != nil {
30356		if err := s.LabelingJobAlgorithmsConfig.Validate(); err != nil {
30357			invalidParams.AddNested("LabelingJobAlgorithmsConfig", err.(request.ErrInvalidParams))
30358		}
30359	}
30360	if s.OutputConfig != nil {
30361		if err := s.OutputConfig.Validate(); err != nil {
30362			invalidParams.AddNested("OutputConfig", err.(request.ErrInvalidParams))
30363		}
30364	}
30365	if s.StoppingConditions != nil {
30366		if err := s.StoppingConditions.Validate(); err != nil {
30367			invalidParams.AddNested("StoppingConditions", err.(request.ErrInvalidParams))
30368		}
30369	}
30370	if s.Tags != nil {
30371		for i, v := range s.Tags {
30372			if v == nil {
30373				continue
30374			}
30375			if err := v.Validate(); err != nil {
30376				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
30377			}
30378		}
30379	}
30380
30381	if invalidParams.Len() > 0 {
30382		return invalidParams
30383	}
30384	return nil
30385}
30386
30387// SetHumanTaskConfig sets the HumanTaskConfig field's value.
30388func (s *CreateLabelingJobInput) SetHumanTaskConfig(v *HumanTaskConfig) *CreateLabelingJobInput {
30389	s.HumanTaskConfig = v
30390	return s
30391}
30392
30393// SetInputConfig sets the InputConfig field's value.
30394func (s *CreateLabelingJobInput) SetInputConfig(v *LabelingJobInputConfig) *CreateLabelingJobInput {
30395	s.InputConfig = v
30396	return s
30397}
30398
30399// SetLabelAttributeName sets the LabelAttributeName field's value.
30400func (s *CreateLabelingJobInput) SetLabelAttributeName(v string) *CreateLabelingJobInput {
30401	s.LabelAttributeName = &v
30402	return s
30403}
30404
30405// SetLabelCategoryConfigS3Uri sets the LabelCategoryConfigS3Uri field's value.
30406func (s *CreateLabelingJobInput) SetLabelCategoryConfigS3Uri(v string) *CreateLabelingJobInput {
30407	s.LabelCategoryConfigS3Uri = &v
30408	return s
30409}
30410
30411// SetLabelingJobAlgorithmsConfig sets the LabelingJobAlgorithmsConfig field's value.
30412func (s *CreateLabelingJobInput) SetLabelingJobAlgorithmsConfig(v *LabelingJobAlgorithmsConfig) *CreateLabelingJobInput {
30413	s.LabelingJobAlgorithmsConfig = v
30414	return s
30415}
30416
30417// SetLabelingJobName sets the LabelingJobName field's value.
30418func (s *CreateLabelingJobInput) SetLabelingJobName(v string) *CreateLabelingJobInput {
30419	s.LabelingJobName = &v
30420	return s
30421}
30422
30423// SetOutputConfig sets the OutputConfig field's value.
30424func (s *CreateLabelingJobInput) SetOutputConfig(v *LabelingJobOutputConfig) *CreateLabelingJobInput {
30425	s.OutputConfig = v
30426	return s
30427}
30428
30429// SetRoleArn sets the RoleArn field's value.
30430func (s *CreateLabelingJobInput) SetRoleArn(v string) *CreateLabelingJobInput {
30431	s.RoleArn = &v
30432	return s
30433}
30434
30435// SetStoppingConditions sets the StoppingConditions field's value.
30436func (s *CreateLabelingJobInput) SetStoppingConditions(v *LabelingJobStoppingConditions) *CreateLabelingJobInput {
30437	s.StoppingConditions = v
30438	return s
30439}
30440
30441// SetTags sets the Tags field's value.
30442func (s *CreateLabelingJobInput) SetTags(v []*Tag) *CreateLabelingJobInput {
30443	s.Tags = v
30444	return s
30445}
30446
30447type CreateLabelingJobOutput struct {
30448	_ struct{} `type:"structure"`
30449
30450	// The Amazon Resource Name (ARN) of the labeling job. You use this ARN to identify
30451	// the labeling job.
30452	//
30453	// LabelingJobArn is a required field
30454	LabelingJobArn *string `type:"string" required:"true"`
30455}
30456
30457// String returns the string representation
30458func (s CreateLabelingJobOutput) String() string {
30459	return awsutil.Prettify(s)
30460}
30461
30462// GoString returns the string representation
30463func (s CreateLabelingJobOutput) GoString() string {
30464	return s.String()
30465}
30466
30467// SetLabelingJobArn sets the LabelingJobArn field's value.
30468func (s *CreateLabelingJobOutput) SetLabelingJobArn(v string) *CreateLabelingJobOutput {
30469	s.LabelingJobArn = &v
30470	return s
30471}
30472
30473type CreateModelBiasJobDefinitionInput struct {
30474	_ struct{} `type:"structure"`
30475
30476	// The name of the bias job definition. The name must be unique within an AWS
30477	// Region in the AWS account.
30478	//
30479	// JobDefinitionName is a required field
30480	JobDefinitionName *string `min:"1" type:"string" required:"true"`
30481
30482	// Identifies the resources to deploy for a monitoring job.
30483	//
30484	// JobResources is a required field
30485	JobResources *MonitoringResources `type:"structure" required:"true"`
30486
30487	// Configures the model bias job to run a specified Docker container image.
30488	//
30489	// ModelBiasAppSpecification is a required field
30490	ModelBiasAppSpecification *ModelBiasAppSpecification `type:"structure" required:"true"`
30491
30492	// The baseline configuration for a model bias job.
30493	ModelBiasBaselineConfig *ModelBiasBaselineConfig `type:"structure"`
30494
30495	// Inputs for the model bias job.
30496	//
30497	// ModelBiasJobInput is a required field
30498	ModelBiasJobInput *ModelBiasJobInput `type:"structure" required:"true"`
30499
30500	// The output configuration for monitoring jobs.
30501	//
30502	// ModelBiasJobOutputConfig is a required field
30503	ModelBiasJobOutputConfig *MonitoringOutputConfig `type:"structure" required:"true"`
30504
30505	// Networking options for a model bias job.
30506	NetworkConfig *MonitoringNetworkConfig `type:"structure"`
30507
30508	// The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume
30509	// to perform tasks on your behalf.
30510	//
30511	// RoleArn is a required field
30512	RoleArn *string `min:"20" type:"string" required:"true"`
30513
30514	// A time limit for how long the monitoring job is allowed to run before stopping.
30515	StoppingCondition *MonitoringStoppingCondition `type:"structure"`
30516
30517	// (Optional) An array of key-value pairs. For more information, see Using Cost
30518	// Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL)
30519	// in the AWS Billing and Cost Management User Guide.
30520	Tags []*Tag `type:"list"`
30521}
30522
30523// String returns the string representation
30524func (s CreateModelBiasJobDefinitionInput) String() string {
30525	return awsutil.Prettify(s)
30526}
30527
30528// GoString returns the string representation
30529func (s CreateModelBiasJobDefinitionInput) GoString() string {
30530	return s.String()
30531}
30532
30533// Validate inspects the fields of the type to determine if they are valid.
30534func (s *CreateModelBiasJobDefinitionInput) Validate() error {
30535	invalidParams := request.ErrInvalidParams{Context: "CreateModelBiasJobDefinitionInput"}
30536	if s.JobDefinitionName == nil {
30537		invalidParams.Add(request.NewErrParamRequired("JobDefinitionName"))
30538	}
30539	if s.JobDefinitionName != nil && len(*s.JobDefinitionName) < 1 {
30540		invalidParams.Add(request.NewErrParamMinLen("JobDefinitionName", 1))
30541	}
30542	if s.JobResources == nil {
30543		invalidParams.Add(request.NewErrParamRequired("JobResources"))
30544	}
30545	if s.ModelBiasAppSpecification == nil {
30546		invalidParams.Add(request.NewErrParamRequired("ModelBiasAppSpecification"))
30547	}
30548	if s.ModelBiasJobInput == nil {
30549		invalidParams.Add(request.NewErrParamRequired("ModelBiasJobInput"))
30550	}
30551	if s.ModelBiasJobOutputConfig == nil {
30552		invalidParams.Add(request.NewErrParamRequired("ModelBiasJobOutputConfig"))
30553	}
30554	if s.RoleArn == nil {
30555		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
30556	}
30557	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
30558		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
30559	}
30560	if s.JobResources != nil {
30561		if err := s.JobResources.Validate(); err != nil {
30562			invalidParams.AddNested("JobResources", err.(request.ErrInvalidParams))
30563		}
30564	}
30565	if s.ModelBiasAppSpecification != nil {
30566		if err := s.ModelBiasAppSpecification.Validate(); err != nil {
30567			invalidParams.AddNested("ModelBiasAppSpecification", err.(request.ErrInvalidParams))
30568		}
30569	}
30570	if s.ModelBiasBaselineConfig != nil {
30571		if err := s.ModelBiasBaselineConfig.Validate(); err != nil {
30572			invalidParams.AddNested("ModelBiasBaselineConfig", err.(request.ErrInvalidParams))
30573		}
30574	}
30575	if s.ModelBiasJobInput != nil {
30576		if err := s.ModelBiasJobInput.Validate(); err != nil {
30577			invalidParams.AddNested("ModelBiasJobInput", err.(request.ErrInvalidParams))
30578		}
30579	}
30580	if s.ModelBiasJobOutputConfig != nil {
30581		if err := s.ModelBiasJobOutputConfig.Validate(); err != nil {
30582			invalidParams.AddNested("ModelBiasJobOutputConfig", err.(request.ErrInvalidParams))
30583		}
30584	}
30585	if s.NetworkConfig != nil {
30586		if err := s.NetworkConfig.Validate(); err != nil {
30587			invalidParams.AddNested("NetworkConfig", err.(request.ErrInvalidParams))
30588		}
30589	}
30590	if s.StoppingCondition != nil {
30591		if err := s.StoppingCondition.Validate(); err != nil {
30592			invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams))
30593		}
30594	}
30595	if s.Tags != nil {
30596		for i, v := range s.Tags {
30597			if v == nil {
30598				continue
30599			}
30600			if err := v.Validate(); err != nil {
30601				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
30602			}
30603		}
30604	}
30605
30606	if invalidParams.Len() > 0 {
30607		return invalidParams
30608	}
30609	return nil
30610}
30611
30612// SetJobDefinitionName sets the JobDefinitionName field's value.
30613func (s *CreateModelBiasJobDefinitionInput) SetJobDefinitionName(v string) *CreateModelBiasJobDefinitionInput {
30614	s.JobDefinitionName = &v
30615	return s
30616}
30617
30618// SetJobResources sets the JobResources field's value.
30619func (s *CreateModelBiasJobDefinitionInput) SetJobResources(v *MonitoringResources) *CreateModelBiasJobDefinitionInput {
30620	s.JobResources = v
30621	return s
30622}
30623
30624// SetModelBiasAppSpecification sets the ModelBiasAppSpecification field's value.
30625func (s *CreateModelBiasJobDefinitionInput) SetModelBiasAppSpecification(v *ModelBiasAppSpecification) *CreateModelBiasJobDefinitionInput {
30626	s.ModelBiasAppSpecification = v
30627	return s
30628}
30629
30630// SetModelBiasBaselineConfig sets the ModelBiasBaselineConfig field's value.
30631func (s *CreateModelBiasJobDefinitionInput) SetModelBiasBaselineConfig(v *ModelBiasBaselineConfig) *CreateModelBiasJobDefinitionInput {
30632	s.ModelBiasBaselineConfig = v
30633	return s
30634}
30635
30636// SetModelBiasJobInput sets the ModelBiasJobInput field's value.
30637func (s *CreateModelBiasJobDefinitionInput) SetModelBiasJobInput(v *ModelBiasJobInput) *CreateModelBiasJobDefinitionInput {
30638	s.ModelBiasJobInput = v
30639	return s
30640}
30641
30642// SetModelBiasJobOutputConfig sets the ModelBiasJobOutputConfig field's value.
30643func (s *CreateModelBiasJobDefinitionInput) SetModelBiasJobOutputConfig(v *MonitoringOutputConfig) *CreateModelBiasJobDefinitionInput {
30644	s.ModelBiasJobOutputConfig = v
30645	return s
30646}
30647
30648// SetNetworkConfig sets the NetworkConfig field's value.
30649func (s *CreateModelBiasJobDefinitionInput) SetNetworkConfig(v *MonitoringNetworkConfig) *CreateModelBiasJobDefinitionInput {
30650	s.NetworkConfig = v
30651	return s
30652}
30653
30654// SetRoleArn sets the RoleArn field's value.
30655func (s *CreateModelBiasJobDefinitionInput) SetRoleArn(v string) *CreateModelBiasJobDefinitionInput {
30656	s.RoleArn = &v
30657	return s
30658}
30659
30660// SetStoppingCondition sets the StoppingCondition field's value.
30661func (s *CreateModelBiasJobDefinitionInput) SetStoppingCondition(v *MonitoringStoppingCondition) *CreateModelBiasJobDefinitionInput {
30662	s.StoppingCondition = v
30663	return s
30664}
30665
30666// SetTags sets the Tags field's value.
30667func (s *CreateModelBiasJobDefinitionInput) SetTags(v []*Tag) *CreateModelBiasJobDefinitionInput {
30668	s.Tags = v
30669	return s
30670}
30671
30672type CreateModelBiasJobDefinitionOutput struct {
30673	_ struct{} `type:"structure"`
30674
30675	// The Amazon Resource Name (ARN) of the model bias job.
30676	//
30677	// JobDefinitionArn is a required field
30678	JobDefinitionArn *string `type:"string" required:"true"`
30679}
30680
30681// String returns the string representation
30682func (s CreateModelBiasJobDefinitionOutput) String() string {
30683	return awsutil.Prettify(s)
30684}
30685
30686// GoString returns the string representation
30687func (s CreateModelBiasJobDefinitionOutput) GoString() string {
30688	return s.String()
30689}
30690
30691// SetJobDefinitionArn sets the JobDefinitionArn field's value.
30692func (s *CreateModelBiasJobDefinitionOutput) SetJobDefinitionArn(v string) *CreateModelBiasJobDefinitionOutput {
30693	s.JobDefinitionArn = &v
30694	return s
30695}
30696
30697type CreateModelExplainabilityJobDefinitionInput struct {
30698	_ struct{} `type:"structure"`
30699
30700	// The name of the model explainability job definition. The name must be unique
30701	// within an AWS Region in the AWS account.
30702	//
30703	// JobDefinitionName is a required field
30704	JobDefinitionName *string `min:"1" type:"string" required:"true"`
30705
30706	// Identifies the resources to deploy for a monitoring job.
30707	//
30708	// JobResources is a required field
30709	JobResources *MonitoringResources `type:"structure" required:"true"`
30710
30711	// Configures the model explainability job to run a specified Docker container
30712	// image.
30713	//
30714	// ModelExplainabilityAppSpecification is a required field
30715	ModelExplainabilityAppSpecification *ModelExplainabilityAppSpecification `type:"structure" required:"true"`
30716
30717	// The baseline configuration for a model explainability job.
30718	ModelExplainabilityBaselineConfig *ModelExplainabilityBaselineConfig `type:"structure"`
30719
30720	// Inputs for the model explainability job.
30721	//
30722	// ModelExplainabilityJobInput is a required field
30723	ModelExplainabilityJobInput *ModelExplainabilityJobInput `type:"structure" required:"true"`
30724
30725	// The output configuration for monitoring jobs.
30726	//
30727	// ModelExplainabilityJobOutputConfig is a required field
30728	ModelExplainabilityJobOutputConfig *MonitoringOutputConfig `type:"structure" required:"true"`
30729
30730	// Networking options for a model explainability job.
30731	NetworkConfig *MonitoringNetworkConfig `type:"structure"`
30732
30733	// The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume
30734	// to perform tasks on your behalf.
30735	//
30736	// RoleArn is a required field
30737	RoleArn *string `min:"20" type:"string" required:"true"`
30738
30739	// A time limit for how long the monitoring job is allowed to run before stopping.
30740	StoppingCondition *MonitoringStoppingCondition `type:"structure"`
30741
30742	// (Optional) An array of key-value pairs. For more information, see Using Cost
30743	// Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL)
30744	// in the AWS Billing and Cost Management User Guide.
30745	Tags []*Tag `type:"list"`
30746}
30747
30748// String returns the string representation
30749func (s CreateModelExplainabilityJobDefinitionInput) String() string {
30750	return awsutil.Prettify(s)
30751}
30752
30753// GoString returns the string representation
30754func (s CreateModelExplainabilityJobDefinitionInput) GoString() string {
30755	return s.String()
30756}
30757
30758// Validate inspects the fields of the type to determine if they are valid.
30759func (s *CreateModelExplainabilityJobDefinitionInput) Validate() error {
30760	invalidParams := request.ErrInvalidParams{Context: "CreateModelExplainabilityJobDefinitionInput"}
30761	if s.JobDefinitionName == nil {
30762		invalidParams.Add(request.NewErrParamRequired("JobDefinitionName"))
30763	}
30764	if s.JobDefinitionName != nil && len(*s.JobDefinitionName) < 1 {
30765		invalidParams.Add(request.NewErrParamMinLen("JobDefinitionName", 1))
30766	}
30767	if s.JobResources == nil {
30768		invalidParams.Add(request.NewErrParamRequired("JobResources"))
30769	}
30770	if s.ModelExplainabilityAppSpecification == nil {
30771		invalidParams.Add(request.NewErrParamRequired("ModelExplainabilityAppSpecification"))
30772	}
30773	if s.ModelExplainabilityJobInput == nil {
30774		invalidParams.Add(request.NewErrParamRequired("ModelExplainabilityJobInput"))
30775	}
30776	if s.ModelExplainabilityJobOutputConfig == nil {
30777		invalidParams.Add(request.NewErrParamRequired("ModelExplainabilityJobOutputConfig"))
30778	}
30779	if s.RoleArn == nil {
30780		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
30781	}
30782	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
30783		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
30784	}
30785	if s.JobResources != nil {
30786		if err := s.JobResources.Validate(); err != nil {
30787			invalidParams.AddNested("JobResources", err.(request.ErrInvalidParams))
30788		}
30789	}
30790	if s.ModelExplainabilityAppSpecification != nil {
30791		if err := s.ModelExplainabilityAppSpecification.Validate(); err != nil {
30792			invalidParams.AddNested("ModelExplainabilityAppSpecification", err.(request.ErrInvalidParams))
30793		}
30794	}
30795	if s.ModelExplainabilityBaselineConfig != nil {
30796		if err := s.ModelExplainabilityBaselineConfig.Validate(); err != nil {
30797			invalidParams.AddNested("ModelExplainabilityBaselineConfig", err.(request.ErrInvalidParams))
30798		}
30799	}
30800	if s.ModelExplainabilityJobInput != nil {
30801		if err := s.ModelExplainabilityJobInput.Validate(); err != nil {
30802			invalidParams.AddNested("ModelExplainabilityJobInput", err.(request.ErrInvalidParams))
30803		}
30804	}
30805	if s.ModelExplainabilityJobOutputConfig != nil {
30806		if err := s.ModelExplainabilityJobOutputConfig.Validate(); err != nil {
30807			invalidParams.AddNested("ModelExplainabilityJobOutputConfig", err.(request.ErrInvalidParams))
30808		}
30809	}
30810	if s.NetworkConfig != nil {
30811		if err := s.NetworkConfig.Validate(); err != nil {
30812			invalidParams.AddNested("NetworkConfig", err.(request.ErrInvalidParams))
30813		}
30814	}
30815	if s.StoppingCondition != nil {
30816		if err := s.StoppingCondition.Validate(); err != nil {
30817			invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams))
30818		}
30819	}
30820	if s.Tags != nil {
30821		for i, v := range s.Tags {
30822			if v == nil {
30823				continue
30824			}
30825			if err := v.Validate(); err != nil {
30826				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
30827			}
30828		}
30829	}
30830
30831	if invalidParams.Len() > 0 {
30832		return invalidParams
30833	}
30834	return nil
30835}
30836
30837// SetJobDefinitionName sets the JobDefinitionName field's value.
30838func (s *CreateModelExplainabilityJobDefinitionInput) SetJobDefinitionName(v string) *CreateModelExplainabilityJobDefinitionInput {
30839	s.JobDefinitionName = &v
30840	return s
30841}
30842
30843// SetJobResources sets the JobResources field's value.
30844func (s *CreateModelExplainabilityJobDefinitionInput) SetJobResources(v *MonitoringResources) *CreateModelExplainabilityJobDefinitionInput {
30845	s.JobResources = v
30846	return s
30847}
30848
30849// SetModelExplainabilityAppSpecification sets the ModelExplainabilityAppSpecification field's value.
30850func (s *CreateModelExplainabilityJobDefinitionInput) SetModelExplainabilityAppSpecification(v *ModelExplainabilityAppSpecification) *CreateModelExplainabilityJobDefinitionInput {
30851	s.ModelExplainabilityAppSpecification = v
30852	return s
30853}
30854
30855// SetModelExplainabilityBaselineConfig sets the ModelExplainabilityBaselineConfig field's value.
30856func (s *CreateModelExplainabilityJobDefinitionInput) SetModelExplainabilityBaselineConfig(v *ModelExplainabilityBaselineConfig) *CreateModelExplainabilityJobDefinitionInput {
30857	s.ModelExplainabilityBaselineConfig = v
30858	return s
30859}
30860
30861// SetModelExplainabilityJobInput sets the ModelExplainabilityJobInput field's value.
30862func (s *CreateModelExplainabilityJobDefinitionInput) SetModelExplainabilityJobInput(v *ModelExplainabilityJobInput) *CreateModelExplainabilityJobDefinitionInput {
30863	s.ModelExplainabilityJobInput = v
30864	return s
30865}
30866
30867// SetModelExplainabilityJobOutputConfig sets the ModelExplainabilityJobOutputConfig field's value.
30868func (s *CreateModelExplainabilityJobDefinitionInput) SetModelExplainabilityJobOutputConfig(v *MonitoringOutputConfig) *CreateModelExplainabilityJobDefinitionInput {
30869	s.ModelExplainabilityJobOutputConfig = v
30870	return s
30871}
30872
30873// SetNetworkConfig sets the NetworkConfig field's value.
30874func (s *CreateModelExplainabilityJobDefinitionInput) SetNetworkConfig(v *MonitoringNetworkConfig) *CreateModelExplainabilityJobDefinitionInput {
30875	s.NetworkConfig = v
30876	return s
30877}
30878
30879// SetRoleArn sets the RoleArn field's value.
30880func (s *CreateModelExplainabilityJobDefinitionInput) SetRoleArn(v string) *CreateModelExplainabilityJobDefinitionInput {
30881	s.RoleArn = &v
30882	return s
30883}
30884
30885// SetStoppingCondition sets the StoppingCondition field's value.
30886func (s *CreateModelExplainabilityJobDefinitionInput) SetStoppingCondition(v *MonitoringStoppingCondition) *CreateModelExplainabilityJobDefinitionInput {
30887	s.StoppingCondition = v
30888	return s
30889}
30890
30891// SetTags sets the Tags field's value.
30892func (s *CreateModelExplainabilityJobDefinitionInput) SetTags(v []*Tag) *CreateModelExplainabilityJobDefinitionInput {
30893	s.Tags = v
30894	return s
30895}
30896
30897type CreateModelExplainabilityJobDefinitionOutput struct {
30898	_ struct{} `type:"structure"`
30899
30900	// The Amazon Resource Name (ARN) of the model explainability job.
30901	//
30902	// JobDefinitionArn is a required field
30903	JobDefinitionArn *string `type:"string" required:"true"`
30904}
30905
30906// String returns the string representation
30907func (s CreateModelExplainabilityJobDefinitionOutput) String() string {
30908	return awsutil.Prettify(s)
30909}
30910
30911// GoString returns the string representation
30912func (s CreateModelExplainabilityJobDefinitionOutput) GoString() string {
30913	return s.String()
30914}
30915
30916// SetJobDefinitionArn sets the JobDefinitionArn field's value.
30917func (s *CreateModelExplainabilityJobDefinitionOutput) SetJobDefinitionArn(v string) *CreateModelExplainabilityJobDefinitionOutput {
30918	s.JobDefinitionArn = &v
30919	return s
30920}
30921
30922type CreateModelInput struct {
30923	_ struct{} `type:"structure"`
30924
30925	// Specifies the containers in the inference pipeline.
30926	Containers []*ContainerDefinition `type:"list"`
30927
30928	// Isolates the model container. No inbound or outbound network calls can be
30929	// made to or from the model container.
30930	EnableNetworkIsolation *bool `type:"boolean"`
30931
30932	// The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker can
30933	// assume to access model artifacts and docker image for deployment on ML compute
30934	// instances or for batch transform jobs. Deploying on ML compute instances
30935	// is part of model hosting. For more information, see Amazon SageMaker Roles
30936	// (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html).
30937	//
30938	// To be able to pass this role to Amazon SageMaker, the caller of this API
30939	// must have the iam:PassRole permission.
30940	//
30941	// ExecutionRoleArn is a required field
30942	ExecutionRoleArn *string `min:"20" type:"string" required:"true"`
30943
30944	// Specifies details of how containers in a multi-container endpoint are called.
30945	InferenceExecutionConfig *InferenceExecutionConfig `type:"structure"`
30946
30947	// The name of the new model.
30948	//
30949	// ModelName is a required field
30950	ModelName *string `type:"string" required:"true"`
30951
30952	// The location of the primary docker image containing inference code, associated
30953	// artifacts, and custom environment map that the inference code uses when the
30954	// model is deployed for predictions.
30955	PrimaryContainer *ContainerDefinition `type:"structure"`
30956
30957	// An array of key-value pairs. You can use tags to categorize your AWS resources
30958	// in different ways, for example, by purpose, owner, or environment. For more
30959	// information, see Tagging AWS Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html).
30960	Tags []*Tag `type:"list"`
30961
30962	// A VpcConfig object that specifies the VPC that you want your model to connect
30963	// to. Control access to and from your model container by configuring the VPC.
30964	// VpcConfig is used in hosting services and in batch transform. For more information,
30965	// see Protect Endpoints by Using an Amazon Virtual Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html)
30966	// and Protect Data in Batch Transform Jobs by Using an Amazon Virtual Private
30967	// Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-vpc.html).
30968	VpcConfig *VpcConfig `type:"structure"`
30969}
30970
30971// String returns the string representation
30972func (s CreateModelInput) String() string {
30973	return awsutil.Prettify(s)
30974}
30975
30976// GoString returns the string representation
30977func (s CreateModelInput) GoString() string {
30978	return s.String()
30979}
30980
30981// Validate inspects the fields of the type to determine if they are valid.
30982func (s *CreateModelInput) Validate() error {
30983	invalidParams := request.ErrInvalidParams{Context: "CreateModelInput"}
30984	if s.ExecutionRoleArn == nil {
30985		invalidParams.Add(request.NewErrParamRequired("ExecutionRoleArn"))
30986	}
30987	if s.ExecutionRoleArn != nil && len(*s.ExecutionRoleArn) < 20 {
30988		invalidParams.Add(request.NewErrParamMinLen("ExecutionRoleArn", 20))
30989	}
30990	if s.ModelName == nil {
30991		invalidParams.Add(request.NewErrParamRequired("ModelName"))
30992	}
30993	if s.Containers != nil {
30994		for i, v := range s.Containers {
30995			if v == nil {
30996				continue
30997			}
30998			if err := v.Validate(); err != nil {
30999				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Containers", i), err.(request.ErrInvalidParams))
31000			}
31001		}
31002	}
31003	if s.InferenceExecutionConfig != nil {
31004		if err := s.InferenceExecutionConfig.Validate(); err != nil {
31005			invalidParams.AddNested("InferenceExecutionConfig", err.(request.ErrInvalidParams))
31006		}
31007	}
31008	if s.PrimaryContainer != nil {
31009		if err := s.PrimaryContainer.Validate(); err != nil {
31010			invalidParams.AddNested("PrimaryContainer", err.(request.ErrInvalidParams))
31011		}
31012	}
31013	if s.Tags != nil {
31014		for i, v := range s.Tags {
31015			if v == nil {
31016				continue
31017			}
31018			if err := v.Validate(); err != nil {
31019				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
31020			}
31021		}
31022	}
31023	if s.VpcConfig != nil {
31024		if err := s.VpcConfig.Validate(); err != nil {
31025			invalidParams.AddNested("VpcConfig", err.(request.ErrInvalidParams))
31026		}
31027	}
31028
31029	if invalidParams.Len() > 0 {
31030		return invalidParams
31031	}
31032	return nil
31033}
31034
31035// SetContainers sets the Containers field's value.
31036func (s *CreateModelInput) SetContainers(v []*ContainerDefinition) *CreateModelInput {
31037	s.Containers = v
31038	return s
31039}
31040
31041// SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value.
31042func (s *CreateModelInput) SetEnableNetworkIsolation(v bool) *CreateModelInput {
31043	s.EnableNetworkIsolation = &v
31044	return s
31045}
31046
31047// SetExecutionRoleArn sets the ExecutionRoleArn field's value.
31048func (s *CreateModelInput) SetExecutionRoleArn(v string) *CreateModelInput {
31049	s.ExecutionRoleArn = &v
31050	return s
31051}
31052
31053// SetInferenceExecutionConfig sets the InferenceExecutionConfig field's value.
31054func (s *CreateModelInput) SetInferenceExecutionConfig(v *InferenceExecutionConfig) *CreateModelInput {
31055	s.InferenceExecutionConfig = v
31056	return s
31057}
31058
31059// SetModelName sets the ModelName field's value.
31060func (s *CreateModelInput) SetModelName(v string) *CreateModelInput {
31061	s.ModelName = &v
31062	return s
31063}
31064
31065// SetPrimaryContainer sets the PrimaryContainer field's value.
31066func (s *CreateModelInput) SetPrimaryContainer(v *ContainerDefinition) *CreateModelInput {
31067	s.PrimaryContainer = v
31068	return s
31069}
31070
31071// SetTags sets the Tags field's value.
31072func (s *CreateModelInput) SetTags(v []*Tag) *CreateModelInput {
31073	s.Tags = v
31074	return s
31075}
31076
31077// SetVpcConfig sets the VpcConfig field's value.
31078func (s *CreateModelInput) SetVpcConfig(v *VpcConfig) *CreateModelInput {
31079	s.VpcConfig = v
31080	return s
31081}
31082
31083type CreateModelOutput struct {
31084	_ struct{} `type:"structure"`
31085
31086	// The ARN of the model created in Amazon SageMaker.
31087	//
31088	// ModelArn is a required field
31089	ModelArn *string `min:"20" type:"string" required:"true"`
31090}
31091
31092// String returns the string representation
31093func (s CreateModelOutput) String() string {
31094	return awsutil.Prettify(s)
31095}
31096
31097// GoString returns the string representation
31098func (s CreateModelOutput) GoString() string {
31099	return s.String()
31100}
31101
31102// SetModelArn sets the ModelArn field's value.
31103func (s *CreateModelOutput) SetModelArn(v string) *CreateModelOutput {
31104	s.ModelArn = &v
31105	return s
31106}
31107
31108type CreateModelPackageGroupInput struct {
31109	_ struct{} `type:"structure"`
31110
31111	// A description for the model group.
31112	ModelPackageGroupDescription *string `type:"string"`
31113
31114	// The name of the model group.
31115	//
31116	// ModelPackageGroupName is a required field
31117	ModelPackageGroupName *string `min:"1" type:"string" required:"true"`
31118
31119	// A list of key value pairs associated with the model group. For more information,
31120	// see Tagging AWS resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html)
31121	// in the AWS General Reference Guide.
31122	Tags []*Tag `type:"list"`
31123}
31124
31125// String returns the string representation
31126func (s CreateModelPackageGroupInput) String() string {
31127	return awsutil.Prettify(s)
31128}
31129
31130// GoString returns the string representation
31131func (s CreateModelPackageGroupInput) GoString() string {
31132	return s.String()
31133}
31134
31135// Validate inspects the fields of the type to determine if they are valid.
31136func (s *CreateModelPackageGroupInput) Validate() error {
31137	invalidParams := request.ErrInvalidParams{Context: "CreateModelPackageGroupInput"}
31138	if s.ModelPackageGroupName == nil {
31139		invalidParams.Add(request.NewErrParamRequired("ModelPackageGroupName"))
31140	}
31141	if s.ModelPackageGroupName != nil && len(*s.ModelPackageGroupName) < 1 {
31142		invalidParams.Add(request.NewErrParamMinLen("ModelPackageGroupName", 1))
31143	}
31144	if s.Tags != nil {
31145		for i, v := range s.Tags {
31146			if v == nil {
31147				continue
31148			}
31149			if err := v.Validate(); err != nil {
31150				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
31151			}
31152		}
31153	}
31154
31155	if invalidParams.Len() > 0 {
31156		return invalidParams
31157	}
31158	return nil
31159}
31160
31161// SetModelPackageGroupDescription sets the ModelPackageGroupDescription field's value.
31162func (s *CreateModelPackageGroupInput) SetModelPackageGroupDescription(v string) *CreateModelPackageGroupInput {
31163	s.ModelPackageGroupDescription = &v
31164	return s
31165}
31166
31167// SetModelPackageGroupName sets the ModelPackageGroupName field's value.
31168func (s *CreateModelPackageGroupInput) SetModelPackageGroupName(v string) *CreateModelPackageGroupInput {
31169	s.ModelPackageGroupName = &v
31170	return s
31171}
31172
31173// SetTags sets the Tags field's value.
31174func (s *CreateModelPackageGroupInput) SetTags(v []*Tag) *CreateModelPackageGroupInput {
31175	s.Tags = v
31176	return s
31177}
31178
31179type CreateModelPackageGroupOutput struct {
31180	_ struct{} `type:"structure"`
31181
31182	// The Amazon Resource Name (ARN) of the model group.
31183	//
31184	// ModelPackageGroupArn is a required field
31185	ModelPackageGroupArn *string `min:"1" type:"string" required:"true"`
31186}
31187
31188// String returns the string representation
31189func (s CreateModelPackageGroupOutput) String() string {
31190	return awsutil.Prettify(s)
31191}
31192
31193// GoString returns the string representation
31194func (s CreateModelPackageGroupOutput) GoString() string {
31195	return s.String()
31196}
31197
31198// SetModelPackageGroupArn sets the ModelPackageGroupArn field's value.
31199func (s *CreateModelPackageGroupOutput) SetModelPackageGroupArn(v string) *CreateModelPackageGroupOutput {
31200	s.ModelPackageGroupArn = &v
31201	return s
31202}
31203
31204type CreateModelPackageInput struct {
31205	_ struct{} `type:"structure"`
31206
31207	// Whether to certify the model package for listing on AWS Marketplace.
31208	//
31209	// This parameter is optional for unversioned models, and does not apply to
31210	// versioned models.
31211	CertifyForMarketplace *bool `type:"boolean"`
31212
31213	// A unique token that guarantees that the call to this API is idempotent.
31214	ClientToken *string `min:"1" type:"string" idempotencyToken:"true"`
31215
31216	// Specifies details about inference jobs that can be run with models based
31217	// on this model package, including the following:
31218	//
31219	//    * The Amazon ECR paths of containers that contain the inference code and
31220	//    model artifacts.
31221	//
31222	//    * The instance types that the model package supports for transform jobs
31223	//    and real-time endpoints used for inference.
31224	//
31225	//    * The input and output content formats that the model package supports
31226	//    for inference.
31227	InferenceSpecification *InferenceSpecification `type:"structure"`
31228
31229	// Metadata properties of the tracking entity, trial, or trial component.
31230	MetadataProperties *MetadataProperties `type:"structure"`
31231
31232	// Whether the model is approved for deployment.
31233	//
31234	// This parameter is optional for versioned models, and does not apply to unversioned
31235	// models.
31236	//
31237	// For versioned models, the value of this parameter must be set to Approved
31238	// to deploy the model.
31239	ModelApprovalStatus *string `type:"string" enum:"ModelApprovalStatus"`
31240
31241	// A structure that contains model metrics reports.
31242	ModelMetrics *ModelMetrics `type:"structure"`
31243
31244	// A description of the model package.
31245	ModelPackageDescription *string `type:"string"`
31246
31247	// The name of the model group that this model version belongs to.
31248	//
31249	// This parameter is required for versioned models, and does not apply to unversioned
31250	// models.
31251	ModelPackageGroupName *string `min:"1" type:"string"`
31252
31253	// The name of the model package. The name must have 1 to 63 characters. Valid
31254	// characters are a-z, A-Z, 0-9, and - (hyphen).
31255	//
31256	// This parameter is required for unversioned models. It is not applicable to
31257	// versioned models.
31258	ModelPackageName *string `min:"1" type:"string"`
31259
31260	// Details about the algorithm that was used to create the model package.
31261	SourceAlgorithmSpecification *SourceAlgorithmSpecification `type:"structure"`
31262
31263	// A list of key value pairs associated with the model. For more information,
31264	// see Tagging AWS resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html)
31265	// in the AWS General Reference Guide.
31266	Tags []*Tag `type:"list"`
31267
31268	// Specifies configurations for one or more transform jobs that Amazon SageMaker
31269	// runs to test the model package.
31270	ValidationSpecification *ModelPackageValidationSpecification `type:"structure"`
31271}
31272
31273// String returns the string representation
31274func (s CreateModelPackageInput) String() string {
31275	return awsutil.Prettify(s)
31276}
31277
31278// GoString returns the string representation
31279func (s CreateModelPackageInput) GoString() string {
31280	return s.String()
31281}
31282
31283// Validate inspects the fields of the type to determine if they are valid.
31284func (s *CreateModelPackageInput) Validate() error {
31285	invalidParams := request.ErrInvalidParams{Context: "CreateModelPackageInput"}
31286	if s.ClientToken != nil && len(*s.ClientToken) < 1 {
31287		invalidParams.Add(request.NewErrParamMinLen("ClientToken", 1))
31288	}
31289	if s.ModelPackageGroupName != nil && len(*s.ModelPackageGroupName) < 1 {
31290		invalidParams.Add(request.NewErrParamMinLen("ModelPackageGroupName", 1))
31291	}
31292	if s.ModelPackageName != nil && len(*s.ModelPackageName) < 1 {
31293		invalidParams.Add(request.NewErrParamMinLen("ModelPackageName", 1))
31294	}
31295	if s.InferenceSpecification != nil {
31296		if err := s.InferenceSpecification.Validate(); err != nil {
31297			invalidParams.AddNested("InferenceSpecification", err.(request.ErrInvalidParams))
31298		}
31299	}
31300	if s.ModelMetrics != nil {
31301		if err := s.ModelMetrics.Validate(); err != nil {
31302			invalidParams.AddNested("ModelMetrics", err.(request.ErrInvalidParams))
31303		}
31304	}
31305	if s.SourceAlgorithmSpecification != nil {
31306		if err := s.SourceAlgorithmSpecification.Validate(); err != nil {
31307			invalidParams.AddNested("SourceAlgorithmSpecification", err.(request.ErrInvalidParams))
31308		}
31309	}
31310	if s.Tags != nil {
31311		for i, v := range s.Tags {
31312			if v == nil {
31313				continue
31314			}
31315			if err := v.Validate(); err != nil {
31316				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
31317			}
31318		}
31319	}
31320	if s.ValidationSpecification != nil {
31321		if err := s.ValidationSpecification.Validate(); err != nil {
31322			invalidParams.AddNested("ValidationSpecification", err.(request.ErrInvalidParams))
31323		}
31324	}
31325
31326	if invalidParams.Len() > 0 {
31327		return invalidParams
31328	}
31329	return nil
31330}
31331
31332// SetCertifyForMarketplace sets the CertifyForMarketplace field's value.
31333func (s *CreateModelPackageInput) SetCertifyForMarketplace(v bool) *CreateModelPackageInput {
31334	s.CertifyForMarketplace = &v
31335	return s
31336}
31337
31338// SetClientToken sets the ClientToken field's value.
31339func (s *CreateModelPackageInput) SetClientToken(v string) *CreateModelPackageInput {
31340	s.ClientToken = &v
31341	return s
31342}
31343
31344// SetInferenceSpecification sets the InferenceSpecification field's value.
31345func (s *CreateModelPackageInput) SetInferenceSpecification(v *InferenceSpecification) *CreateModelPackageInput {
31346	s.InferenceSpecification = v
31347	return s
31348}
31349
31350// SetMetadataProperties sets the MetadataProperties field's value.
31351func (s *CreateModelPackageInput) SetMetadataProperties(v *MetadataProperties) *CreateModelPackageInput {
31352	s.MetadataProperties = v
31353	return s
31354}
31355
31356// SetModelApprovalStatus sets the ModelApprovalStatus field's value.
31357func (s *CreateModelPackageInput) SetModelApprovalStatus(v string) *CreateModelPackageInput {
31358	s.ModelApprovalStatus = &v
31359	return s
31360}
31361
31362// SetModelMetrics sets the ModelMetrics field's value.
31363func (s *CreateModelPackageInput) SetModelMetrics(v *ModelMetrics) *CreateModelPackageInput {
31364	s.ModelMetrics = v
31365	return s
31366}
31367
31368// SetModelPackageDescription sets the ModelPackageDescription field's value.
31369func (s *CreateModelPackageInput) SetModelPackageDescription(v string) *CreateModelPackageInput {
31370	s.ModelPackageDescription = &v
31371	return s
31372}
31373
31374// SetModelPackageGroupName sets the ModelPackageGroupName field's value.
31375func (s *CreateModelPackageInput) SetModelPackageGroupName(v string) *CreateModelPackageInput {
31376	s.ModelPackageGroupName = &v
31377	return s
31378}
31379
31380// SetModelPackageName sets the ModelPackageName field's value.
31381func (s *CreateModelPackageInput) SetModelPackageName(v string) *CreateModelPackageInput {
31382	s.ModelPackageName = &v
31383	return s
31384}
31385
31386// SetSourceAlgorithmSpecification sets the SourceAlgorithmSpecification field's value.
31387func (s *CreateModelPackageInput) SetSourceAlgorithmSpecification(v *SourceAlgorithmSpecification) *CreateModelPackageInput {
31388	s.SourceAlgorithmSpecification = v
31389	return s
31390}
31391
31392// SetTags sets the Tags field's value.
31393func (s *CreateModelPackageInput) SetTags(v []*Tag) *CreateModelPackageInput {
31394	s.Tags = v
31395	return s
31396}
31397
31398// SetValidationSpecification sets the ValidationSpecification field's value.
31399func (s *CreateModelPackageInput) SetValidationSpecification(v *ModelPackageValidationSpecification) *CreateModelPackageInput {
31400	s.ValidationSpecification = v
31401	return s
31402}
31403
31404type CreateModelPackageOutput struct {
31405	_ struct{} `type:"structure"`
31406
31407	// The Amazon Resource Name (ARN) of the new model package.
31408	//
31409	// ModelPackageArn is a required field
31410	ModelPackageArn *string `min:"1" type:"string" required:"true"`
31411}
31412
31413// String returns the string representation
31414func (s CreateModelPackageOutput) String() string {
31415	return awsutil.Prettify(s)
31416}
31417
31418// GoString returns the string representation
31419func (s CreateModelPackageOutput) GoString() string {
31420	return s.String()
31421}
31422
31423// SetModelPackageArn sets the ModelPackageArn field's value.
31424func (s *CreateModelPackageOutput) SetModelPackageArn(v string) *CreateModelPackageOutput {
31425	s.ModelPackageArn = &v
31426	return s
31427}
31428
31429type CreateModelQualityJobDefinitionInput struct {
31430	_ struct{} `type:"structure"`
31431
31432	// The name of the monitoring job definition.
31433	//
31434	// JobDefinitionName is a required field
31435	JobDefinitionName *string `min:"1" type:"string" required:"true"`
31436
31437	// Identifies the resources to deploy for a monitoring job.
31438	//
31439	// JobResources is a required field
31440	JobResources *MonitoringResources `type:"structure" required:"true"`
31441
31442	// The container that runs the monitoring job.
31443	//
31444	// ModelQualityAppSpecification is a required field
31445	ModelQualityAppSpecification *ModelQualityAppSpecification `type:"structure" required:"true"`
31446
31447	// Specifies the constraints and baselines for the monitoring job.
31448	ModelQualityBaselineConfig *ModelQualityBaselineConfig `type:"structure"`
31449
31450	// A list of the inputs that are monitored. Currently endpoints are supported.
31451	//
31452	// ModelQualityJobInput is a required field
31453	ModelQualityJobInput *ModelQualityJobInput `type:"structure" required:"true"`
31454
31455	// The output configuration for monitoring jobs.
31456	//
31457	// ModelQualityJobOutputConfig is a required field
31458	ModelQualityJobOutputConfig *MonitoringOutputConfig `type:"structure" required:"true"`
31459
31460	// Specifies the network configuration for the monitoring job.
31461	NetworkConfig *MonitoringNetworkConfig `type:"structure"`
31462
31463	// The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume
31464	// to perform tasks on your behalf.
31465	//
31466	// RoleArn is a required field
31467	RoleArn *string `min:"20" type:"string" required:"true"`
31468
31469	// A time limit for how long the monitoring job is allowed to run before stopping.
31470	StoppingCondition *MonitoringStoppingCondition `type:"structure"`
31471
31472	// (Optional) An array of key-value pairs. For more information, see Using Cost
31473	// Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL)
31474	// in the AWS Billing and Cost Management User Guide.
31475	Tags []*Tag `type:"list"`
31476}
31477
31478// String returns the string representation
31479func (s CreateModelQualityJobDefinitionInput) String() string {
31480	return awsutil.Prettify(s)
31481}
31482
31483// GoString returns the string representation
31484func (s CreateModelQualityJobDefinitionInput) GoString() string {
31485	return s.String()
31486}
31487
31488// Validate inspects the fields of the type to determine if they are valid.
31489func (s *CreateModelQualityJobDefinitionInput) Validate() error {
31490	invalidParams := request.ErrInvalidParams{Context: "CreateModelQualityJobDefinitionInput"}
31491	if s.JobDefinitionName == nil {
31492		invalidParams.Add(request.NewErrParamRequired("JobDefinitionName"))
31493	}
31494	if s.JobDefinitionName != nil && len(*s.JobDefinitionName) < 1 {
31495		invalidParams.Add(request.NewErrParamMinLen("JobDefinitionName", 1))
31496	}
31497	if s.JobResources == nil {
31498		invalidParams.Add(request.NewErrParamRequired("JobResources"))
31499	}
31500	if s.ModelQualityAppSpecification == nil {
31501		invalidParams.Add(request.NewErrParamRequired("ModelQualityAppSpecification"))
31502	}
31503	if s.ModelQualityJobInput == nil {
31504		invalidParams.Add(request.NewErrParamRequired("ModelQualityJobInput"))
31505	}
31506	if s.ModelQualityJobOutputConfig == nil {
31507		invalidParams.Add(request.NewErrParamRequired("ModelQualityJobOutputConfig"))
31508	}
31509	if s.RoleArn == nil {
31510		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
31511	}
31512	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
31513		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
31514	}
31515	if s.JobResources != nil {
31516		if err := s.JobResources.Validate(); err != nil {
31517			invalidParams.AddNested("JobResources", err.(request.ErrInvalidParams))
31518		}
31519	}
31520	if s.ModelQualityAppSpecification != nil {
31521		if err := s.ModelQualityAppSpecification.Validate(); err != nil {
31522			invalidParams.AddNested("ModelQualityAppSpecification", err.(request.ErrInvalidParams))
31523		}
31524	}
31525	if s.ModelQualityBaselineConfig != nil {
31526		if err := s.ModelQualityBaselineConfig.Validate(); err != nil {
31527			invalidParams.AddNested("ModelQualityBaselineConfig", err.(request.ErrInvalidParams))
31528		}
31529	}
31530	if s.ModelQualityJobInput != nil {
31531		if err := s.ModelQualityJobInput.Validate(); err != nil {
31532			invalidParams.AddNested("ModelQualityJobInput", err.(request.ErrInvalidParams))
31533		}
31534	}
31535	if s.ModelQualityJobOutputConfig != nil {
31536		if err := s.ModelQualityJobOutputConfig.Validate(); err != nil {
31537			invalidParams.AddNested("ModelQualityJobOutputConfig", err.(request.ErrInvalidParams))
31538		}
31539	}
31540	if s.NetworkConfig != nil {
31541		if err := s.NetworkConfig.Validate(); err != nil {
31542			invalidParams.AddNested("NetworkConfig", err.(request.ErrInvalidParams))
31543		}
31544	}
31545	if s.StoppingCondition != nil {
31546		if err := s.StoppingCondition.Validate(); err != nil {
31547			invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams))
31548		}
31549	}
31550	if s.Tags != nil {
31551		for i, v := range s.Tags {
31552			if v == nil {
31553				continue
31554			}
31555			if err := v.Validate(); err != nil {
31556				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
31557			}
31558		}
31559	}
31560
31561	if invalidParams.Len() > 0 {
31562		return invalidParams
31563	}
31564	return nil
31565}
31566
31567// SetJobDefinitionName sets the JobDefinitionName field's value.
31568func (s *CreateModelQualityJobDefinitionInput) SetJobDefinitionName(v string) *CreateModelQualityJobDefinitionInput {
31569	s.JobDefinitionName = &v
31570	return s
31571}
31572
31573// SetJobResources sets the JobResources field's value.
31574func (s *CreateModelQualityJobDefinitionInput) SetJobResources(v *MonitoringResources) *CreateModelQualityJobDefinitionInput {
31575	s.JobResources = v
31576	return s
31577}
31578
31579// SetModelQualityAppSpecification sets the ModelQualityAppSpecification field's value.
31580func (s *CreateModelQualityJobDefinitionInput) SetModelQualityAppSpecification(v *ModelQualityAppSpecification) *CreateModelQualityJobDefinitionInput {
31581	s.ModelQualityAppSpecification = v
31582	return s
31583}
31584
31585// SetModelQualityBaselineConfig sets the ModelQualityBaselineConfig field's value.
31586func (s *CreateModelQualityJobDefinitionInput) SetModelQualityBaselineConfig(v *ModelQualityBaselineConfig) *CreateModelQualityJobDefinitionInput {
31587	s.ModelQualityBaselineConfig = v
31588	return s
31589}
31590
31591// SetModelQualityJobInput sets the ModelQualityJobInput field's value.
31592func (s *CreateModelQualityJobDefinitionInput) SetModelQualityJobInput(v *ModelQualityJobInput) *CreateModelQualityJobDefinitionInput {
31593	s.ModelQualityJobInput = v
31594	return s
31595}
31596
31597// SetModelQualityJobOutputConfig sets the ModelQualityJobOutputConfig field's value.
31598func (s *CreateModelQualityJobDefinitionInput) SetModelQualityJobOutputConfig(v *MonitoringOutputConfig) *CreateModelQualityJobDefinitionInput {
31599	s.ModelQualityJobOutputConfig = v
31600	return s
31601}
31602
31603// SetNetworkConfig sets the NetworkConfig field's value.
31604func (s *CreateModelQualityJobDefinitionInput) SetNetworkConfig(v *MonitoringNetworkConfig) *CreateModelQualityJobDefinitionInput {
31605	s.NetworkConfig = v
31606	return s
31607}
31608
31609// SetRoleArn sets the RoleArn field's value.
31610func (s *CreateModelQualityJobDefinitionInput) SetRoleArn(v string) *CreateModelQualityJobDefinitionInput {
31611	s.RoleArn = &v
31612	return s
31613}
31614
31615// SetStoppingCondition sets the StoppingCondition field's value.
31616func (s *CreateModelQualityJobDefinitionInput) SetStoppingCondition(v *MonitoringStoppingCondition) *CreateModelQualityJobDefinitionInput {
31617	s.StoppingCondition = v
31618	return s
31619}
31620
31621// SetTags sets the Tags field's value.
31622func (s *CreateModelQualityJobDefinitionInput) SetTags(v []*Tag) *CreateModelQualityJobDefinitionInput {
31623	s.Tags = v
31624	return s
31625}
31626
31627type CreateModelQualityJobDefinitionOutput struct {
31628	_ struct{} `type:"structure"`
31629
31630	// The Amazon Resource Name (ARN) of the model quality monitoring job.
31631	//
31632	// JobDefinitionArn is a required field
31633	JobDefinitionArn *string `type:"string" required:"true"`
31634}
31635
31636// String returns the string representation
31637func (s CreateModelQualityJobDefinitionOutput) String() string {
31638	return awsutil.Prettify(s)
31639}
31640
31641// GoString returns the string representation
31642func (s CreateModelQualityJobDefinitionOutput) GoString() string {
31643	return s.String()
31644}
31645
31646// SetJobDefinitionArn sets the JobDefinitionArn field's value.
31647func (s *CreateModelQualityJobDefinitionOutput) SetJobDefinitionArn(v string) *CreateModelQualityJobDefinitionOutput {
31648	s.JobDefinitionArn = &v
31649	return s
31650}
31651
31652type CreateMonitoringScheduleInput struct {
31653	_ struct{} `type:"structure"`
31654
31655	// The configuration object that specifies the monitoring schedule and defines
31656	// the monitoring job.
31657	//
31658	// MonitoringScheduleConfig is a required field
31659	MonitoringScheduleConfig *MonitoringScheduleConfig `type:"structure" required:"true"`
31660
31661	// The name of the monitoring schedule. The name must be unique within an AWS
31662	// Region within an AWS account.
31663	//
31664	// MonitoringScheduleName is a required field
31665	MonitoringScheduleName *string `min:"1" type:"string" required:"true"`
31666
31667	// (Optional) An array of key-value pairs. For more information, see Using Cost
31668	// Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL)
31669	// in the AWS Billing and Cost Management User Guide.
31670	Tags []*Tag `type:"list"`
31671}
31672
31673// String returns the string representation
31674func (s CreateMonitoringScheduleInput) String() string {
31675	return awsutil.Prettify(s)
31676}
31677
31678// GoString returns the string representation
31679func (s CreateMonitoringScheduleInput) GoString() string {
31680	return s.String()
31681}
31682
31683// Validate inspects the fields of the type to determine if they are valid.
31684func (s *CreateMonitoringScheduleInput) Validate() error {
31685	invalidParams := request.ErrInvalidParams{Context: "CreateMonitoringScheduleInput"}
31686	if s.MonitoringScheduleConfig == nil {
31687		invalidParams.Add(request.NewErrParamRequired("MonitoringScheduleConfig"))
31688	}
31689	if s.MonitoringScheduleName == nil {
31690		invalidParams.Add(request.NewErrParamRequired("MonitoringScheduleName"))
31691	}
31692	if s.MonitoringScheduleName != nil && len(*s.MonitoringScheduleName) < 1 {
31693		invalidParams.Add(request.NewErrParamMinLen("MonitoringScheduleName", 1))
31694	}
31695	if s.MonitoringScheduleConfig != nil {
31696		if err := s.MonitoringScheduleConfig.Validate(); err != nil {
31697			invalidParams.AddNested("MonitoringScheduleConfig", err.(request.ErrInvalidParams))
31698		}
31699	}
31700	if s.Tags != nil {
31701		for i, v := range s.Tags {
31702			if v == nil {
31703				continue
31704			}
31705			if err := v.Validate(); err != nil {
31706				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
31707			}
31708		}
31709	}
31710
31711	if invalidParams.Len() > 0 {
31712		return invalidParams
31713	}
31714	return nil
31715}
31716
31717// SetMonitoringScheduleConfig sets the MonitoringScheduleConfig field's value.
31718func (s *CreateMonitoringScheduleInput) SetMonitoringScheduleConfig(v *MonitoringScheduleConfig) *CreateMonitoringScheduleInput {
31719	s.MonitoringScheduleConfig = v
31720	return s
31721}
31722
31723// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
31724func (s *CreateMonitoringScheduleInput) SetMonitoringScheduleName(v string) *CreateMonitoringScheduleInput {
31725	s.MonitoringScheduleName = &v
31726	return s
31727}
31728
31729// SetTags sets the Tags field's value.
31730func (s *CreateMonitoringScheduleInput) SetTags(v []*Tag) *CreateMonitoringScheduleInput {
31731	s.Tags = v
31732	return s
31733}
31734
31735type CreateMonitoringScheduleOutput struct {
31736	_ struct{} `type:"structure"`
31737
31738	// The Amazon Resource Name (ARN) of the monitoring schedule.
31739	//
31740	// MonitoringScheduleArn is a required field
31741	MonitoringScheduleArn *string `type:"string" required:"true"`
31742}
31743
31744// String returns the string representation
31745func (s CreateMonitoringScheduleOutput) String() string {
31746	return awsutil.Prettify(s)
31747}
31748
31749// GoString returns the string representation
31750func (s CreateMonitoringScheduleOutput) GoString() string {
31751	return s.String()
31752}
31753
31754// SetMonitoringScheduleArn sets the MonitoringScheduleArn field's value.
31755func (s *CreateMonitoringScheduleOutput) SetMonitoringScheduleArn(v string) *CreateMonitoringScheduleOutput {
31756	s.MonitoringScheduleArn = &v
31757	return s
31758}
31759
31760type CreateNotebookInstanceInput struct {
31761	_ struct{} `type:"structure"`
31762
31763	// A list of Elastic Inference (EI) instance types to associate with this notebook
31764	// instance. Currently, only one instance type can be associated with a notebook
31765	// instance. For more information, see Using Elastic Inference in Amazon SageMaker
31766	// (https://docs.aws.amazon.com/sagemaker/latest/dg/ei.html).
31767	AcceleratorTypes []*string `type:"list"`
31768
31769	// An array of up to three Git repositories to associate with the notebook instance.
31770	// These can be either the names of Git repositories stored as resources in
31771	// your account, or the URL of Git repositories in AWS CodeCommit (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html)
31772	// or in any other Git repository. These repositories are cloned at the same
31773	// level as the default repository of your notebook instance. For more information,
31774	// see Associating Git Repositories with Amazon SageMaker Notebook Instances
31775	// (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).
31776	AdditionalCodeRepositories []*string `type:"list"`
31777
31778	// A Git repository to associate with the notebook instance as its default code
31779	// repository. This can be either the name of a Git repository stored as a resource
31780	// in your account, or the URL of a Git repository in AWS CodeCommit (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html)
31781	// or in any other Git repository. When you open a notebook instance, it opens
31782	// in the directory that contains this repository. For more information, see
31783	// Associating Git Repositories with Amazon SageMaker Notebook Instances (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).
31784	DefaultCodeRepository *string `min:"1" type:"string"`
31785
31786	// Sets whether Amazon SageMaker provides internet access to the notebook instance.
31787	// If you set this to Disabled this notebook instance will be able to access
31788	// resources only in your VPC, and will not be able to connect to Amazon SageMaker
31789	// training and endpoint services unless your configure a NAT Gateway in your
31790	// VPC.
31791	//
31792	// For more information, see Notebook Instances Are Internet-Enabled by Default
31793	// (https://docs.aws.amazon.com/sagemaker/latest/dg/appendix-additional-considerations.html#appendix-notebook-and-internet-access).
31794	// You can set the value of this parameter to Disabled only if you set a value
31795	// for the SubnetId parameter.
31796	DirectInternetAccess *string `type:"string" enum:"DirectInternetAccess"`
31797
31798	// The type of ML compute instance to launch for the notebook instance.
31799	//
31800	// InstanceType is a required field
31801	InstanceType *string `type:"string" required:"true" enum:"InstanceType"`
31802
31803	// The Amazon Resource Name (ARN) of a AWS Key Management Service key that Amazon
31804	// SageMaker uses to encrypt data on the storage volume attached to your notebook
31805	// instance. The KMS key you provide must be enabled. For information, see Enabling
31806	// and Disabling Keys (https://docs.aws.amazon.com/kms/latest/developerguide/enabling-keys.html)
31807	// in the AWS Key Management Service Developer Guide.
31808	KmsKeyId *string `type:"string"`
31809
31810	// The name of a lifecycle configuration to associate with the notebook instance.
31811	// For information about lifestyle configurations, see Step 2.1: (Optional)
31812	// Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html).
31813	LifecycleConfigName *string `type:"string"`
31814
31815	// The name of the new notebook instance.
31816	//
31817	// NotebookInstanceName is a required field
31818	NotebookInstanceName *string `type:"string" required:"true"`
31819
31820	// When you send any requests to AWS resources from the notebook instance, Amazon
31821	// SageMaker assumes this role to perform tasks on your behalf. You must grant
31822	// this role necessary permissions so Amazon SageMaker can perform these tasks.
31823	// The policy must allow the Amazon SageMaker service principal (sagemaker.amazonaws.com)
31824	// permissions to assume this role. For more information, see Amazon SageMaker
31825	// Roles (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html).
31826	//
31827	// To be able to pass this role to Amazon SageMaker, the caller of this API
31828	// must have the iam:PassRole permission.
31829	//
31830	// RoleArn is a required field
31831	RoleArn *string `min:"20" type:"string" required:"true"`
31832
31833	// Whether root access is enabled or disabled for users of the notebook instance.
31834	// The default value is Enabled.
31835	//
31836	// Lifecycle configurations need root access to be able to set up a notebook
31837	// instance. Because of this, lifecycle configurations associated with a notebook
31838	// instance always run with root access even if you disable root access for
31839	// users.
31840	RootAccess *string `type:"string" enum:"RootAccess"`
31841
31842	// The VPC security group IDs, in the form sg-xxxxxxxx. The security groups
31843	// must be for the same VPC as specified in the subnet.
31844	SecurityGroupIds []*string `type:"list"`
31845
31846	// The ID of the subnet in a VPC to which you would like to have a connectivity
31847	// from your ML compute instance.
31848	SubnetId *string `type:"string"`
31849
31850	// An array of key-value pairs. You can use tags to categorize your AWS resources
31851	// in different ways, for example, by purpose, owner, or environment. For more
31852	// information, see Tagging AWS Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html).
31853	Tags []*Tag `type:"list"`
31854
31855	// The size, in GB, of the ML storage volume to attach to the notebook instance.
31856	// The default value is 5 GB.
31857	VolumeSizeInGB *int64 `min:"5" type:"integer"`
31858}
31859
31860// String returns the string representation
31861func (s CreateNotebookInstanceInput) String() string {
31862	return awsutil.Prettify(s)
31863}
31864
31865// GoString returns the string representation
31866func (s CreateNotebookInstanceInput) GoString() string {
31867	return s.String()
31868}
31869
31870// Validate inspects the fields of the type to determine if they are valid.
31871func (s *CreateNotebookInstanceInput) Validate() error {
31872	invalidParams := request.ErrInvalidParams{Context: "CreateNotebookInstanceInput"}
31873	if s.DefaultCodeRepository != nil && len(*s.DefaultCodeRepository) < 1 {
31874		invalidParams.Add(request.NewErrParamMinLen("DefaultCodeRepository", 1))
31875	}
31876	if s.InstanceType == nil {
31877		invalidParams.Add(request.NewErrParamRequired("InstanceType"))
31878	}
31879	if s.NotebookInstanceName == nil {
31880		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName"))
31881	}
31882	if s.RoleArn == nil {
31883		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
31884	}
31885	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
31886		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
31887	}
31888	if s.VolumeSizeInGB != nil && *s.VolumeSizeInGB < 5 {
31889		invalidParams.Add(request.NewErrParamMinValue("VolumeSizeInGB", 5))
31890	}
31891	if s.Tags != nil {
31892		for i, v := range s.Tags {
31893			if v == nil {
31894				continue
31895			}
31896			if err := v.Validate(); err != nil {
31897				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
31898			}
31899		}
31900	}
31901
31902	if invalidParams.Len() > 0 {
31903		return invalidParams
31904	}
31905	return nil
31906}
31907
31908// SetAcceleratorTypes sets the AcceleratorTypes field's value.
31909func (s *CreateNotebookInstanceInput) SetAcceleratorTypes(v []*string) *CreateNotebookInstanceInput {
31910	s.AcceleratorTypes = v
31911	return s
31912}
31913
31914// SetAdditionalCodeRepositories sets the AdditionalCodeRepositories field's value.
31915func (s *CreateNotebookInstanceInput) SetAdditionalCodeRepositories(v []*string) *CreateNotebookInstanceInput {
31916	s.AdditionalCodeRepositories = v
31917	return s
31918}
31919
31920// SetDefaultCodeRepository sets the DefaultCodeRepository field's value.
31921func (s *CreateNotebookInstanceInput) SetDefaultCodeRepository(v string) *CreateNotebookInstanceInput {
31922	s.DefaultCodeRepository = &v
31923	return s
31924}
31925
31926// SetDirectInternetAccess sets the DirectInternetAccess field's value.
31927func (s *CreateNotebookInstanceInput) SetDirectInternetAccess(v string) *CreateNotebookInstanceInput {
31928	s.DirectInternetAccess = &v
31929	return s
31930}
31931
31932// SetInstanceType sets the InstanceType field's value.
31933func (s *CreateNotebookInstanceInput) SetInstanceType(v string) *CreateNotebookInstanceInput {
31934	s.InstanceType = &v
31935	return s
31936}
31937
31938// SetKmsKeyId sets the KmsKeyId field's value.
31939func (s *CreateNotebookInstanceInput) SetKmsKeyId(v string) *CreateNotebookInstanceInput {
31940	s.KmsKeyId = &v
31941	return s
31942}
31943
31944// SetLifecycleConfigName sets the LifecycleConfigName field's value.
31945func (s *CreateNotebookInstanceInput) SetLifecycleConfigName(v string) *CreateNotebookInstanceInput {
31946	s.LifecycleConfigName = &v
31947	return s
31948}
31949
31950// SetNotebookInstanceName sets the NotebookInstanceName field's value.
31951func (s *CreateNotebookInstanceInput) SetNotebookInstanceName(v string) *CreateNotebookInstanceInput {
31952	s.NotebookInstanceName = &v
31953	return s
31954}
31955
31956// SetRoleArn sets the RoleArn field's value.
31957func (s *CreateNotebookInstanceInput) SetRoleArn(v string) *CreateNotebookInstanceInput {
31958	s.RoleArn = &v
31959	return s
31960}
31961
31962// SetRootAccess sets the RootAccess field's value.
31963func (s *CreateNotebookInstanceInput) SetRootAccess(v string) *CreateNotebookInstanceInput {
31964	s.RootAccess = &v
31965	return s
31966}
31967
31968// SetSecurityGroupIds sets the SecurityGroupIds field's value.
31969func (s *CreateNotebookInstanceInput) SetSecurityGroupIds(v []*string) *CreateNotebookInstanceInput {
31970	s.SecurityGroupIds = v
31971	return s
31972}
31973
31974// SetSubnetId sets the SubnetId field's value.
31975func (s *CreateNotebookInstanceInput) SetSubnetId(v string) *CreateNotebookInstanceInput {
31976	s.SubnetId = &v
31977	return s
31978}
31979
31980// SetTags sets the Tags field's value.
31981func (s *CreateNotebookInstanceInput) SetTags(v []*Tag) *CreateNotebookInstanceInput {
31982	s.Tags = v
31983	return s
31984}
31985
31986// SetVolumeSizeInGB sets the VolumeSizeInGB field's value.
31987func (s *CreateNotebookInstanceInput) SetVolumeSizeInGB(v int64) *CreateNotebookInstanceInput {
31988	s.VolumeSizeInGB = &v
31989	return s
31990}
31991
31992type CreateNotebookInstanceLifecycleConfigInput struct {
31993	_ struct{} `type:"structure"`
31994
31995	// The name of the lifecycle configuration.
31996	//
31997	// NotebookInstanceLifecycleConfigName is a required field
31998	NotebookInstanceLifecycleConfigName *string `type:"string" required:"true"`
31999
32000	// A shell script that runs only once, when you create a notebook instance.
32001	// The shell script must be a base64-encoded string.
32002	OnCreate []*NotebookInstanceLifecycleHook `type:"list"`
32003
32004	// A shell script that runs every time you start a notebook instance, including
32005	// when you create the notebook instance. The shell script must be a base64-encoded
32006	// string.
32007	OnStart []*NotebookInstanceLifecycleHook `type:"list"`
32008}
32009
32010// String returns the string representation
32011func (s CreateNotebookInstanceLifecycleConfigInput) String() string {
32012	return awsutil.Prettify(s)
32013}
32014
32015// GoString returns the string representation
32016func (s CreateNotebookInstanceLifecycleConfigInput) GoString() string {
32017	return s.String()
32018}
32019
32020// Validate inspects the fields of the type to determine if they are valid.
32021func (s *CreateNotebookInstanceLifecycleConfigInput) Validate() error {
32022	invalidParams := request.ErrInvalidParams{Context: "CreateNotebookInstanceLifecycleConfigInput"}
32023	if s.NotebookInstanceLifecycleConfigName == nil {
32024		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceLifecycleConfigName"))
32025	}
32026	if s.OnCreate != nil {
32027		for i, v := range s.OnCreate {
32028			if v == nil {
32029				continue
32030			}
32031			if err := v.Validate(); err != nil {
32032				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OnCreate", i), err.(request.ErrInvalidParams))
32033			}
32034		}
32035	}
32036	if s.OnStart != nil {
32037		for i, v := range s.OnStart {
32038			if v == nil {
32039				continue
32040			}
32041			if err := v.Validate(); err != nil {
32042				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OnStart", i), err.(request.ErrInvalidParams))
32043			}
32044		}
32045	}
32046
32047	if invalidParams.Len() > 0 {
32048		return invalidParams
32049	}
32050	return nil
32051}
32052
32053// SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value.
32054func (s *CreateNotebookInstanceLifecycleConfigInput) SetNotebookInstanceLifecycleConfigName(v string) *CreateNotebookInstanceLifecycleConfigInput {
32055	s.NotebookInstanceLifecycleConfigName = &v
32056	return s
32057}
32058
32059// SetOnCreate sets the OnCreate field's value.
32060func (s *CreateNotebookInstanceLifecycleConfigInput) SetOnCreate(v []*NotebookInstanceLifecycleHook) *CreateNotebookInstanceLifecycleConfigInput {
32061	s.OnCreate = v
32062	return s
32063}
32064
32065// SetOnStart sets the OnStart field's value.
32066func (s *CreateNotebookInstanceLifecycleConfigInput) SetOnStart(v []*NotebookInstanceLifecycleHook) *CreateNotebookInstanceLifecycleConfigInput {
32067	s.OnStart = v
32068	return s
32069}
32070
32071type CreateNotebookInstanceLifecycleConfigOutput struct {
32072	_ struct{} `type:"structure"`
32073
32074	// The Amazon Resource Name (ARN) of the lifecycle configuration.
32075	NotebookInstanceLifecycleConfigArn *string `type:"string"`
32076}
32077
32078// String returns the string representation
32079func (s CreateNotebookInstanceLifecycleConfigOutput) String() string {
32080	return awsutil.Prettify(s)
32081}
32082
32083// GoString returns the string representation
32084func (s CreateNotebookInstanceLifecycleConfigOutput) GoString() string {
32085	return s.String()
32086}
32087
32088// SetNotebookInstanceLifecycleConfigArn sets the NotebookInstanceLifecycleConfigArn field's value.
32089func (s *CreateNotebookInstanceLifecycleConfigOutput) SetNotebookInstanceLifecycleConfigArn(v string) *CreateNotebookInstanceLifecycleConfigOutput {
32090	s.NotebookInstanceLifecycleConfigArn = &v
32091	return s
32092}
32093
32094type CreateNotebookInstanceOutput struct {
32095	_ struct{} `type:"structure"`
32096
32097	// The Amazon Resource Name (ARN) of the notebook instance.
32098	NotebookInstanceArn *string `type:"string"`
32099}
32100
32101// String returns the string representation
32102func (s CreateNotebookInstanceOutput) String() string {
32103	return awsutil.Prettify(s)
32104}
32105
32106// GoString returns the string representation
32107func (s CreateNotebookInstanceOutput) GoString() string {
32108	return s.String()
32109}
32110
32111// SetNotebookInstanceArn sets the NotebookInstanceArn field's value.
32112func (s *CreateNotebookInstanceOutput) SetNotebookInstanceArn(v string) *CreateNotebookInstanceOutput {
32113	s.NotebookInstanceArn = &v
32114	return s
32115}
32116
32117type CreatePipelineInput struct {
32118	_ struct{} `type:"structure"`
32119
32120	// A unique, case-sensitive identifier that you provide to ensure the idempotency
32121	// of the operation. An idempotent operation completes no more than one time.
32122	ClientRequestToken *string `min:"32" type:"string" idempotencyToken:"true"`
32123
32124	// The JSON pipeline definition of the pipeline.
32125	//
32126	// PipelineDefinition is a required field
32127	PipelineDefinition *string `min:"1" type:"string" required:"true"`
32128
32129	// A description of the pipeline.
32130	PipelineDescription *string `type:"string"`
32131
32132	// The display name of the pipeline.
32133	PipelineDisplayName *string `min:"1" type:"string"`
32134
32135	// The name of the pipeline.
32136	//
32137	// PipelineName is a required field
32138	PipelineName *string `min:"1" type:"string" required:"true"`
32139
32140	// The Amazon Resource Name (ARN) of the role used by the pipeline to access
32141	// and create resources.
32142	//
32143	// RoleArn is a required field
32144	RoleArn *string `min:"20" type:"string" required:"true"`
32145
32146	// A list of tags to apply to the created pipeline.
32147	Tags []*Tag `type:"list"`
32148}
32149
32150// String returns the string representation
32151func (s CreatePipelineInput) String() string {
32152	return awsutil.Prettify(s)
32153}
32154
32155// GoString returns the string representation
32156func (s CreatePipelineInput) GoString() string {
32157	return s.String()
32158}
32159
32160// Validate inspects the fields of the type to determine if they are valid.
32161func (s *CreatePipelineInput) Validate() error {
32162	invalidParams := request.ErrInvalidParams{Context: "CreatePipelineInput"}
32163	if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 32 {
32164		invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 32))
32165	}
32166	if s.PipelineDefinition == nil {
32167		invalidParams.Add(request.NewErrParamRequired("PipelineDefinition"))
32168	}
32169	if s.PipelineDefinition != nil && len(*s.PipelineDefinition) < 1 {
32170		invalidParams.Add(request.NewErrParamMinLen("PipelineDefinition", 1))
32171	}
32172	if s.PipelineDisplayName != nil && len(*s.PipelineDisplayName) < 1 {
32173		invalidParams.Add(request.NewErrParamMinLen("PipelineDisplayName", 1))
32174	}
32175	if s.PipelineName == nil {
32176		invalidParams.Add(request.NewErrParamRequired("PipelineName"))
32177	}
32178	if s.PipelineName != nil && len(*s.PipelineName) < 1 {
32179		invalidParams.Add(request.NewErrParamMinLen("PipelineName", 1))
32180	}
32181	if s.RoleArn == nil {
32182		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
32183	}
32184	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
32185		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
32186	}
32187	if s.Tags != nil {
32188		for i, v := range s.Tags {
32189			if v == nil {
32190				continue
32191			}
32192			if err := v.Validate(); err != nil {
32193				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
32194			}
32195		}
32196	}
32197
32198	if invalidParams.Len() > 0 {
32199		return invalidParams
32200	}
32201	return nil
32202}
32203
32204// SetClientRequestToken sets the ClientRequestToken field's value.
32205func (s *CreatePipelineInput) SetClientRequestToken(v string) *CreatePipelineInput {
32206	s.ClientRequestToken = &v
32207	return s
32208}
32209
32210// SetPipelineDefinition sets the PipelineDefinition field's value.
32211func (s *CreatePipelineInput) SetPipelineDefinition(v string) *CreatePipelineInput {
32212	s.PipelineDefinition = &v
32213	return s
32214}
32215
32216// SetPipelineDescription sets the PipelineDescription field's value.
32217func (s *CreatePipelineInput) SetPipelineDescription(v string) *CreatePipelineInput {
32218	s.PipelineDescription = &v
32219	return s
32220}
32221
32222// SetPipelineDisplayName sets the PipelineDisplayName field's value.
32223func (s *CreatePipelineInput) SetPipelineDisplayName(v string) *CreatePipelineInput {
32224	s.PipelineDisplayName = &v
32225	return s
32226}
32227
32228// SetPipelineName sets the PipelineName field's value.
32229func (s *CreatePipelineInput) SetPipelineName(v string) *CreatePipelineInput {
32230	s.PipelineName = &v
32231	return s
32232}
32233
32234// SetRoleArn sets the RoleArn field's value.
32235func (s *CreatePipelineInput) SetRoleArn(v string) *CreatePipelineInput {
32236	s.RoleArn = &v
32237	return s
32238}
32239
32240// SetTags sets the Tags field's value.
32241func (s *CreatePipelineInput) SetTags(v []*Tag) *CreatePipelineInput {
32242	s.Tags = v
32243	return s
32244}
32245
32246type CreatePipelineOutput struct {
32247	_ struct{} `type:"structure"`
32248
32249	// The Amazon Resource Name (ARN) of the created pipeline.
32250	PipelineArn *string `type:"string"`
32251}
32252
32253// String returns the string representation
32254func (s CreatePipelineOutput) String() string {
32255	return awsutil.Prettify(s)
32256}
32257
32258// GoString returns the string representation
32259func (s CreatePipelineOutput) GoString() string {
32260	return s.String()
32261}
32262
32263// SetPipelineArn sets the PipelineArn field's value.
32264func (s *CreatePipelineOutput) SetPipelineArn(v string) *CreatePipelineOutput {
32265	s.PipelineArn = &v
32266	return s
32267}
32268
32269type CreatePresignedDomainUrlInput struct {
32270	_ struct{} `type:"structure"`
32271
32272	// The domain ID.
32273	//
32274	// DomainId is a required field
32275	DomainId *string `type:"string" required:"true"`
32276
32277	// The number of seconds until the pre-signed URL expires. This value defaults
32278	// to 300.
32279	ExpiresInSeconds *int64 `min:"5" type:"integer"`
32280
32281	// The session expiration duration in seconds. This value defaults to 43200.
32282	SessionExpirationDurationInSeconds *int64 `min:"1800" type:"integer"`
32283
32284	// The name of the UserProfile to sign-in as.
32285	//
32286	// UserProfileName is a required field
32287	UserProfileName *string `type:"string" required:"true"`
32288}
32289
32290// String returns the string representation
32291func (s CreatePresignedDomainUrlInput) String() string {
32292	return awsutil.Prettify(s)
32293}
32294
32295// GoString returns the string representation
32296func (s CreatePresignedDomainUrlInput) GoString() string {
32297	return s.String()
32298}
32299
32300// Validate inspects the fields of the type to determine if they are valid.
32301func (s *CreatePresignedDomainUrlInput) Validate() error {
32302	invalidParams := request.ErrInvalidParams{Context: "CreatePresignedDomainUrlInput"}
32303	if s.DomainId == nil {
32304		invalidParams.Add(request.NewErrParamRequired("DomainId"))
32305	}
32306	if s.ExpiresInSeconds != nil && *s.ExpiresInSeconds < 5 {
32307		invalidParams.Add(request.NewErrParamMinValue("ExpiresInSeconds", 5))
32308	}
32309	if s.SessionExpirationDurationInSeconds != nil && *s.SessionExpirationDurationInSeconds < 1800 {
32310		invalidParams.Add(request.NewErrParamMinValue("SessionExpirationDurationInSeconds", 1800))
32311	}
32312	if s.UserProfileName == nil {
32313		invalidParams.Add(request.NewErrParamRequired("UserProfileName"))
32314	}
32315
32316	if invalidParams.Len() > 0 {
32317		return invalidParams
32318	}
32319	return nil
32320}
32321
32322// SetDomainId sets the DomainId field's value.
32323func (s *CreatePresignedDomainUrlInput) SetDomainId(v string) *CreatePresignedDomainUrlInput {
32324	s.DomainId = &v
32325	return s
32326}
32327
32328// SetExpiresInSeconds sets the ExpiresInSeconds field's value.
32329func (s *CreatePresignedDomainUrlInput) SetExpiresInSeconds(v int64) *CreatePresignedDomainUrlInput {
32330	s.ExpiresInSeconds = &v
32331	return s
32332}
32333
32334// SetSessionExpirationDurationInSeconds sets the SessionExpirationDurationInSeconds field's value.
32335func (s *CreatePresignedDomainUrlInput) SetSessionExpirationDurationInSeconds(v int64) *CreatePresignedDomainUrlInput {
32336	s.SessionExpirationDurationInSeconds = &v
32337	return s
32338}
32339
32340// SetUserProfileName sets the UserProfileName field's value.
32341func (s *CreatePresignedDomainUrlInput) SetUserProfileName(v string) *CreatePresignedDomainUrlInput {
32342	s.UserProfileName = &v
32343	return s
32344}
32345
32346type CreatePresignedDomainUrlOutput struct {
32347	_ struct{} `type:"structure"`
32348
32349	// The presigned URL.
32350	AuthorizedUrl *string `type:"string"`
32351}
32352
32353// String returns the string representation
32354func (s CreatePresignedDomainUrlOutput) String() string {
32355	return awsutil.Prettify(s)
32356}
32357
32358// GoString returns the string representation
32359func (s CreatePresignedDomainUrlOutput) GoString() string {
32360	return s.String()
32361}
32362
32363// SetAuthorizedUrl sets the AuthorizedUrl field's value.
32364func (s *CreatePresignedDomainUrlOutput) SetAuthorizedUrl(v string) *CreatePresignedDomainUrlOutput {
32365	s.AuthorizedUrl = &v
32366	return s
32367}
32368
32369type CreatePresignedNotebookInstanceUrlInput struct {
32370	_ struct{} `type:"structure"`
32371
32372	// The name of the notebook instance.
32373	//
32374	// NotebookInstanceName is a required field
32375	NotebookInstanceName *string `type:"string" required:"true"`
32376
32377	// The duration of the session, in seconds. The default is 12 hours.
32378	SessionExpirationDurationInSeconds *int64 `min:"1800" type:"integer"`
32379}
32380
32381// String returns the string representation
32382func (s CreatePresignedNotebookInstanceUrlInput) String() string {
32383	return awsutil.Prettify(s)
32384}
32385
32386// GoString returns the string representation
32387func (s CreatePresignedNotebookInstanceUrlInput) GoString() string {
32388	return s.String()
32389}
32390
32391// Validate inspects the fields of the type to determine if they are valid.
32392func (s *CreatePresignedNotebookInstanceUrlInput) Validate() error {
32393	invalidParams := request.ErrInvalidParams{Context: "CreatePresignedNotebookInstanceUrlInput"}
32394	if s.NotebookInstanceName == nil {
32395		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName"))
32396	}
32397	if s.SessionExpirationDurationInSeconds != nil && *s.SessionExpirationDurationInSeconds < 1800 {
32398		invalidParams.Add(request.NewErrParamMinValue("SessionExpirationDurationInSeconds", 1800))
32399	}
32400
32401	if invalidParams.Len() > 0 {
32402		return invalidParams
32403	}
32404	return nil
32405}
32406
32407// SetNotebookInstanceName sets the NotebookInstanceName field's value.
32408func (s *CreatePresignedNotebookInstanceUrlInput) SetNotebookInstanceName(v string) *CreatePresignedNotebookInstanceUrlInput {
32409	s.NotebookInstanceName = &v
32410	return s
32411}
32412
32413// SetSessionExpirationDurationInSeconds sets the SessionExpirationDurationInSeconds field's value.
32414func (s *CreatePresignedNotebookInstanceUrlInput) SetSessionExpirationDurationInSeconds(v int64) *CreatePresignedNotebookInstanceUrlInput {
32415	s.SessionExpirationDurationInSeconds = &v
32416	return s
32417}
32418
32419type CreatePresignedNotebookInstanceUrlOutput struct {
32420	_ struct{} `type:"structure"`
32421
32422	// A JSON object that contains the URL string.
32423	AuthorizedUrl *string `type:"string"`
32424}
32425
32426// String returns the string representation
32427func (s CreatePresignedNotebookInstanceUrlOutput) String() string {
32428	return awsutil.Prettify(s)
32429}
32430
32431// GoString returns the string representation
32432func (s CreatePresignedNotebookInstanceUrlOutput) GoString() string {
32433	return s.String()
32434}
32435
32436// SetAuthorizedUrl sets the AuthorizedUrl field's value.
32437func (s *CreatePresignedNotebookInstanceUrlOutput) SetAuthorizedUrl(v string) *CreatePresignedNotebookInstanceUrlOutput {
32438	s.AuthorizedUrl = &v
32439	return s
32440}
32441
32442type CreateProcessingJobInput struct {
32443	_ struct{} `type:"structure"`
32444
32445	// Configures the processing job to run a specified Docker container image.
32446	//
32447	// AppSpecification is a required field
32448	AppSpecification *AppSpecification `type:"structure" required:"true"`
32449
32450	// The environment variables to set in the Docker container. Up to 100 key and
32451	// values entries in the map are supported.
32452	Environment map[string]*string `type:"map"`
32453
32454	// Associates a SageMaker job as a trial component with an experiment and trial.
32455	// Specified when you call the following APIs:
32456	//
32457	//    * CreateProcessingJob
32458	//
32459	//    * CreateTrainingJob
32460	//
32461	//    * CreateTransformJob
32462	ExperimentConfig *ExperimentConfig `type:"structure"`
32463
32464	// Networking options for a processing job, such as whether to allow inbound
32465	// and outbound network calls to and from processing containers, and the VPC
32466	// subnets and security groups to use for VPC-enabled processing jobs.
32467	NetworkConfig *NetworkConfig `type:"structure"`
32468
32469	// An array of inputs configuring the data to download into the processing container.
32470	ProcessingInputs []*ProcessingInput `type:"list"`
32471
32472	// The name of the processing job. The name must be unique within an AWS Region
32473	// in the AWS account.
32474	//
32475	// ProcessingJobName is a required field
32476	ProcessingJobName *string `min:"1" type:"string" required:"true"`
32477
32478	// Output configuration for the processing job.
32479	ProcessingOutputConfig *ProcessingOutputConfig `type:"structure"`
32480
32481	// Identifies the resources, ML compute instances, and ML storage volumes to
32482	// deploy for a processing job. In distributed training, you specify more than
32483	// one instance.
32484	//
32485	// ProcessingResources is a required field
32486	ProcessingResources *ProcessingResources `type:"structure" required:"true"`
32487
32488	// The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume
32489	// to perform tasks on your behalf.
32490	//
32491	// RoleArn is a required field
32492	RoleArn *string `min:"20" type:"string" required:"true"`
32493
32494	// The time limit for how long the processing job is allowed to run.
32495	StoppingCondition *ProcessingStoppingCondition `type:"structure"`
32496
32497	// (Optional) An array of key-value pairs. For more information, see Using Cost
32498	// Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL)
32499	// in the AWS Billing and Cost Management User Guide.
32500	Tags []*Tag `type:"list"`
32501}
32502
32503// String returns the string representation
32504func (s CreateProcessingJobInput) String() string {
32505	return awsutil.Prettify(s)
32506}
32507
32508// GoString returns the string representation
32509func (s CreateProcessingJobInput) GoString() string {
32510	return s.String()
32511}
32512
32513// Validate inspects the fields of the type to determine if they are valid.
32514func (s *CreateProcessingJobInput) Validate() error {
32515	invalidParams := request.ErrInvalidParams{Context: "CreateProcessingJobInput"}
32516	if s.AppSpecification == nil {
32517		invalidParams.Add(request.NewErrParamRequired("AppSpecification"))
32518	}
32519	if s.ProcessingJobName == nil {
32520		invalidParams.Add(request.NewErrParamRequired("ProcessingJobName"))
32521	}
32522	if s.ProcessingJobName != nil && len(*s.ProcessingJobName) < 1 {
32523		invalidParams.Add(request.NewErrParamMinLen("ProcessingJobName", 1))
32524	}
32525	if s.ProcessingResources == nil {
32526		invalidParams.Add(request.NewErrParamRequired("ProcessingResources"))
32527	}
32528	if s.RoleArn == nil {
32529		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
32530	}
32531	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
32532		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
32533	}
32534	if s.AppSpecification != nil {
32535		if err := s.AppSpecification.Validate(); err != nil {
32536			invalidParams.AddNested("AppSpecification", err.(request.ErrInvalidParams))
32537		}
32538	}
32539	if s.ExperimentConfig != nil {
32540		if err := s.ExperimentConfig.Validate(); err != nil {
32541			invalidParams.AddNested("ExperimentConfig", err.(request.ErrInvalidParams))
32542		}
32543	}
32544	if s.NetworkConfig != nil {
32545		if err := s.NetworkConfig.Validate(); err != nil {
32546			invalidParams.AddNested("NetworkConfig", err.(request.ErrInvalidParams))
32547		}
32548	}
32549	if s.ProcessingInputs != nil {
32550		for i, v := range s.ProcessingInputs {
32551			if v == nil {
32552				continue
32553			}
32554			if err := v.Validate(); err != nil {
32555				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ProcessingInputs", i), err.(request.ErrInvalidParams))
32556			}
32557		}
32558	}
32559	if s.ProcessingOutputConfig != nil {
32560		if err := s.ProcessingOutputConfig.Validate(); err != nil {
32561			invalidParams.AddNested("ProcessingOutputConfig", err.(request.ErrInvalidParams))
32562		}
32563	}
32564	if s.ProcessingResources != nil {
32565		if err := s.ProcessingResources.Validate(); err != nil {
32566			invalidParams.AddNested("ProcessingResources", err.(request.ErrInvalidParams))
32567		}
32568	}
32569	if s.StoppingCondition != nil {
32570		if err := s.StoppingCondition.Validate(); err != nil {
32571			invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams))
32572		}
32573	}
32574	if s.Tags != nil {
32575		for i, v := range s.Tags {
32576			if v == nil {
32577				continue
32578			}
32579			if err := v.Validate(); err != nil {
32580				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
32581			}
32582		}
32583	}
32584
32585	if invalidParams.Len() > 0 {
32586		return invalidParams
32587	}
32588	return nil
32589}
32590
32591// SetAppSpecification sets the AppSpecification field's value.
32592func (s *CreateProcessingJobInput) SetAppSpecification(v *AppSpecification) *CreateProcessingJobInput {
32593	s.AppSpecification = v
32594	return s
32595}
32596
32597// SetEnvironment sets the Environment field's value.
32598func (s *CreateProcessingJobInput) SetEnvironment(v map[string]*string) *CreateProcessingJobInput {
32599	s.Environment = v
32600	return s
32601}
32602
32603// SetExperimentConfig sets the ExperimentConfig field's value.
32604func (s *CreateProcessingJobInput) SetExperimentConfig(v *ExperimentConfig) *CreateProcessingJobInput {
32605	s.ExperimentConfig = v
32606	return s
32607}
32608
32609// SetNetworkConfig sets the NetworkConfig field's value.
32610func (s *CreateProcessingJobInput) SetNetworkConfig(v *NetworkConfig) *CreateProcessingJobInput {
32611	s.NetworkConfig = v
32612	return s
32613}
32614
32615// SetProcessingInputs sets the ProcessingInputs field's value.
32616func (s *CreateProcessingJobInput) SetProcessingInputs(v []*ProcessingInput) *CreateProcessingJobInput {
32617	s.ProcessingInputs = v
32618	return s
32619}
32620
32621// SetProcessingJobName sets the ProcessingJobName field's value.
32622func (s *CreateProcessingJobInput) SetProcessingJobName(v string) *CreateProcessingJobInput {
32623	s.ProcessingJobName = &v
32624	return s
32625}
32626
32627// SetProcessingOutputConfig sets the ProcessingOutputConfig field's value.
32628func (s *CreateProcessingJobInput) SetProcessingOutputConfig(v *ProcessingOutputConfig) *CreateProcessingJobInput {
32629	s.ProcessingOutputConfig = v
32630	return s
32631}
32632
32633// SetProcessingResources sets the ProcessingResources field's value.
32634func (s *CreateProcessingJobInput) SetProcessingResources(v *ProcessingResources) *CreateProcessingJobInput {
32635	s.ProcessingResources = v
32636	return s
32637}
32638
32639// SetRoleArn sets the RoleArn field's value.
32640func (s *CreateProcessingJobInput) SetRoleArn(v string) *CreateProcessingJobInput {
32641	s.RoleArn = &v
32642	return s
32643}
32644
32645// SetStoppingCondition sets the StoppingCondition field's value.
32646func (s *CreateProcessingJobInput) SetStoppingCondition(v *ProcessingStoppingCondition) *CreateProcessingJobInput {
32647	s.StoppingCondition = v
32648	return s
32649}
32650
32651// SetTags sets the Tags field's value.
32652func (s *CreateProcessingJobInput) SetTags(v []*Tag) *CreateProcessingJobInput {
32653	s.Tags = v
32654	return s
32655}
32656
32657type CreateProcessingJobOutput struct {
32658	_ struct{} `type:"structure"`
32659
32660	// The Amazon Resource Name (ARN) of the processing job.
32661	//
32662	// ProcessingJobArn is a required field
32663	ProcessingJobArn *string `type:"string" required:"true"`
32664}
32665
32666// String returns the string representation
32667func (s CreateProcessingJobOutput) String() string {
32668	return awsutil.Prettify(s)
32669}
32670
32671// GoString returns the string representation
32672func (s CreateProcessingJobOutput) GoString() string {
32673	return s.String()
32674}
32675
32676// SetProcessingJobArn sets the ProcessingJobArn field's value.
32677func (s *CreateProcessingJobOutput) SetProcessingJobArn(v string) *CreateProcessingJobOutput {
32678	s.ProcessingJobArn = &v
32679	return s
32680}
32681
32682type CreateProjectInput struct {
32683	_ struct{} `type:"structure"`
32684
32685	// A description for the project.
32686	ProjectDescription *string `type:"string"`
32687
32688	// The name of the project.
32689	//
32690	// ProjectName is a required field
32691	ProjectName *string `min:"1" type:"string" required:"true"`
32692
32693	// The product ID and provisioning artifact ID to provision a service catalog.
32694	// For information, see What is AWS Service Catalog (https://docs.aws.amazon.com/servicecatalog/latest/adminguide/introduction.html).
32695	//
32696	// ServiceCatalogProvisioningDetails is a required field
32697	ServiceCatalogProvisioningDetails *ServiceCatalogProvisioningDetails `type:"structure" required:"true"`
32698
32699	// An array of key-value pairs that you want to use to organize and track your
32700	// AWS resource costs. For more information, see Tagging AWS resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html)
32701	// in the AWS General Reference Guide.
32702	Tags []*Tag `type:"list"`
32703}
32704
32705// String returns the string representation
32706func (s CreateProjectInput) String() string {
32707	return awsutil.Prettify(s)
32708}
32709
32710// GoString returns the string representation
32711func (s CreateProjectInput) GoString() string {
32712	return s.String()
32713}
32714
32715// Validate inspects the fields of the type to determine if they are valid.
32716func (s *CreateProjectInput) Validate() error {
32717	invalidParams := request.ErrInvalidParams{Context: "CreateProjectInput"}
32718	if s.ProjectName == nil {
32719		invalidParams.Add(request.NewErrParamRequired("ProjectName"))
32720	}
32721	if s.ProjectName != nil && len(*s.ProjectName) < 1 {
32722		invalidParams.Add(request.NewErrParamMinLen("ProjectName", 1))
32723	}
32724	if s.ServiceCatalogProvisioningDetails == nil {
32725		invalidParams.Add(request.NewErrParamRequired("ServiceCatalogProvisioningDetails"))
32726	}
32727	if s.ServiceCatalogProvisioningDetails != nil {
32728		if err := s.ServiceCatalogProvisioningDetails.Validate(); err != nil {
32729			invalidParams.AddNested("ServiceCatalogProvisioningDetails", err.(request.ErrInvalidParams))
32730		}
32731	}
32732	if s.Tags != nil {
32733		for i, v := range s.Tags {
32734			if v == nil {
32735				continue
32736			}
32737			if err := v.Validate(); err != nil {
32738				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
32739			}
32740		}
32741	}
32742
32743	if invalidParams.Len() > 0 {
32744		return invalidParams
32745	}
32746	return nil
32747}
32748
32749// SetProjectDescription sets the ProjectDescription field's value.
32750func (s *CreateProjectInput) SetProjectDescription(v string) *CreateProjectInput {
32751	s.ProjectDescription = &v
32752	return s
32753}
32754
32755// SetProjectName sets the ProjectName field's value.
32756func (s *CreateProjectInput) SetProjectName(v string) *CreateProjectInput {
32757	s.ProjectName = &v
32758	return s
32759}
32760
32761// SetServiceCatalogProvisioningDetails sets the ServiceCatalogProvisioningDetails field's value.
32762func (s *CreateProjectInput) SetServiceCatalogProvisioningDetails(v *ServiceCatalogProvisioningDetails) *CreateProjectInput {
32763	s.ServiceCatalogProvisioningDetails = v
32764	return s
32765}
32766
32767// SetTags sets the Tags field's value.
32768func (s *CreateProjectInput) SetTags(v []*Tag) *CreateProjectInput {
32769	s.Tags = v
32770	return s
32771}
32772
32773type CreateProjectOutput struct {
32774	_ struct{} `type:"structure"`
32775
32776	// The Amazon Resource Name (ARN) of the project.
32777	//
32778	// ProjectArn is a required field
32779	ProjectArn *string `min:"1" type:"string" required:"true"`
32780
32781	// The ID of the new project.
32782	//
32783	// ProjectId is a required field
32784	ProjectId *string `min:"1" type:"string" required:"true"`
32785}
32786
32787// String returns the string representation
32788func (s CreateProjectOutput) String() string {
32789	return awsutil.Prettify(s)
32790}
32791
32792// GoString returns the string representation
32793func (s CreateProjectOutput) GoString() string {
32794	return s.String()
32795}
32796
32797// SetProjectArn sets the ProjectArn field's value.
32798func (s *CreateProjectOutput) SetProjectArn(v string) *CreateProjectOutput {
32799	s.ProjectArn = &v
32800	return s
32801}
32802
32803// SetProjectId sets the ProjectId field's value.
32804func (s *CreateProjectOutput) SetProjectId(v string) *CreateProjectOutput {
32805	s.ProjectId = &v
32806	return s
32807}
32808
32809type CreateTrainingJobInput struct {
32810	_ struct{} `type:"structure"`
32811
32812	// The registry path of the Docker image that contains the training algorithm
32813	// and algorithm-specific metadata, including the input mode. For more information
32814	// about algorithms provided by Amazon SageMaker, see Algorithms (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html).
32815	// For information about providing your own algorithms, see Using Your Own Algorithms
32816	// with Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html).
32817	//
32818	// AlgorithmSpecification is a required field
32819	AlgorithmSpecification *AlgorithmSpecification `type:"structure" required:"true"`
32820
32821	// Contains information about the output location for managed spot training
32822	// checkpoint data.
32823	CheckpointConfig *CheckpointConfig `type:"structure"`
32824
32825	// Configuration information for the Debugger hook parameters, metric and tensor
32826	// collections, and storage paths. To learn more about how to configure the
32827	// DebugHookConfig parameter, see Use the SageMaker and Debugger Configuration
32828	// API Operations to Create, Update, and Debug Your Training Job (https://docs.aws.amazon.com/sagemaker/latest/dg/debugger-createtrainingjob-api.html).
32829	DebugHookConfig *DebugHookConfig `type:"structure"`
32830
32831	// Configuration information for Debugger rules for debugging output tensors.
32832	DebugRuleConfigurations []*DebugRuleConfiguration `type:"list"`
32833
32834	// To encrypt all communications between ML compute instances in distributed
32835	// training, choose True. Encryption provides greater security for distributed
32836	// training, but training might take longer. How long it takes depends on the
32837	// amount of communication between compute instances, especially if you use
32838	// a deep learning algorithm in distributed training. For more information,
32839	// see Protect Communications Between ML Compute Instances in a Distributed
32840	// Training Job (https://docs.aws.amazon.com/sagemaker/latest/dg/train-encrypt.html).
32841	EnableInterContainerTrafficEncryption *bool `type:"boolean"`
32842
32843	// To train models using managed spot training, choose True. Managed spot training
32844	// provides a fully managed and scalable infrastructure for training machine
32845	// learning models. this option is useful when training jobs can be interrupted
32846	// and when there is flexibility when the training job is run.
32847	//
32848	// The complete and intermediate results of jobs are stored in an Amazon S3
32849	// bucket, and can be used as a starting point to train models incrementally.
32850	// Amazon SageMaker provides metrics and logs in CloudWatch. They can be used
32851	// to see when managed spot training jobs are running, interrupted, resumed,
32852	// or completed.
32853	EnableManagedSpotTraining *bool `type:"boolean"`
32854
32855	// Isolates the training container. No inbound or outbound network calls can
32856	// be made, except for calls between peers within a training cluster for distributed
32857	// training. If you enable network isolation for training jobs that are configured
32858	// to use a VPC, Amazon SageMaker downloads and uploads customer data and model
32859	// artifacts through the specified VPC, but the training container does not
32860	// have network access.
32861	EnableNetworkIsolation *bool `type:"boolean"`
32862
32863	// Associates a SageMaker job as a trial component with an experiment and trial.
32864	// Specified when you call the following APIs:
32865	//
32866	//    * CreateProcessingJob
32867	//
32868	//    * CreateTrainingJob
32869	//
32870	//    * CreateTransformJob
32871	ExperimentConfig *ExperimentConfig `type:"structure"`
32872
32873	// Algorithm-specific parameters that influence the quality of the model. You
32874	// set hyperparameters before you start the learning process. For a list of
32875	// hyperparameters for each training algorithm provided by Amazon SageMaker,
32876	// see Algorithms (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html).
32877	//
32878	// You can specify a maximum of 100 hyperparameters. Each hyperparameter is
32879	// a key-value pair. Each key and value is limited to 256 characters, as specified
32880	// by the Length Constraint.
32881	HyperParameters map[string]*string `type:"map"`
32882
32883	// An array of Channel objects. Each channel is a named input source. InputDataConfig
32884	// describes the input data and its location.
32885	//
32886	// Algorithms can accept input data from one or more channels. For example,
32887	// an algorithm might have two channels of input data, training_data and validation_data.
32888	// The configuration for each channel provides the S3, EFS, or FSx location
32889	// where the input data is stored. It also provides information about the stored
32890	// data: the MIME type, compression method, and whether the data is wrapped
32891	// in RecordIO format.
32892	//
32893	// Depending on the input mode that the algorithm supports, Amazon SageMaker
32894	// either copies input data files from an S3 bucket to a local directory in
32895	// the Docker container, or makes it available as input streams. For example,
32896	// if you specify an EFS location, input data files will be made available as
32897	// input streams. They do not need to be downloaded.
32898	InputDataConfig []*Channel `min:"1" type:"list"`
32899
32900	// Specifies the path to the S3 location where you want to store model artifacts.
32901	// Amazon SageMaker creates subfolders for the artifacts.
32902	//
32903	// OutputDataConfig is a required field
32904	OutputDataConfig *OutputDataConfig `type:"structure" required:"true"`
32905
32906	// Configuration information for Debugger system monitoring, framework profiling,
32907	// and storage paths.
32908	ProfilerConfig *ProfilerConfig `type:"structure"`
32909
32910	// Configuration information for Debugger rules for profiling system and framework
32911	// metrics.
32912	ProfilerRuleConfigurations []*ProfilerRuleConfiguration `type:"list"`
32913
32914	// The resources, including the ML compute instances and ML storage volumes,
32915	// to use for model training.
32916	//
32917	// ML storage volumes store model artifacts and incremental states. Training
32918	// algorithms might also use ML storage volumes for scratch space. If you want
32919	// Amazon SageMaker to use the ML storage volume to store the training data,
32920	// choose File as the TrainingInputMode in the algorithm specification. For
32921	// distributed training algorithms, specify an instance count greater than 1.
32922	//
32923	// ResourceConfig is a required field
32924	ResourceConfig *ResourceConfig `type:"structure" required:"true"`
32925
32926	// The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume
32927	// to perform tasks on your behalf.
32928	//
32929	// During model training, Amazon SageMaker needs your permission to read input
32930	// data from an S3 bucket, download a Docker image that contains training code,
32931	// write model artifacts to an S3 bucket, write logs to Amazon CloudWatch Logs,
32932	// and publish metrics to Amazon CloudWatch. You grant permissions for all of
32933	// these tasks to an IAM role. For more information, see Amazon SageMaker Roles
32934	// (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html).
32935	//
32936	// To be able to pass this role to Amazon SageMaker, the caller of this API
32937	// must have the iam:PassRole permission.
32938	//
32939	// RoleArn is a required field
32940	RoleArn *string `min:"20" type:"string" required:"true"`
32941
32942	// Specifies a limit to how long a model training job can run. When the job
32943	// reaches the time limit, Amazon SageMaker ends the training job. Use this
32944	// API to cap model training costs.
32945	//
32946	// To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal, which
32947	// delays job termination for 120 seconds. Algorithms can use this 120-second
32948	// window to save the model artifacts, so the results of training are not lost.
32949	//
32950	// StoppingCondition is a required field
32951	StoppingCondition *StoppingCondition `type:"structure" required:"true"`
32952
32953	// An array of key-value pairs. You can use tags to categorize your AWS resources
32954	// in different ways, for example, by purpose, owner, or environment. For more
32955	// information, see Tagging AWS Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html).
32956	Tags []*Tag `type:"list"`
32957
32958	// Configuration of storage locations for the Debugger TensorBoard output data.
32959	TensorBoardOutputConfig *TensorBoardOutputConfig `type:"structure"`
32960
32961	// The name of the training job. The name must be unique within an AWS Region
32962	// in an AWS account.
32963	//
32964	// TrainingJobName is a required field
32965	TrainingJobName *string `min:"1" type:"string" required:"true"`
32966
32967	// A VpcConfig object that specifies the VPC that you want your training job
32968	// to connect to. Control access to and from your training container by configuring
32969	// the VPC. For more information, see Protect Training Jobs by Using an Amazon
32970	// Virtual Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html).
32971	VpcConfig *VpcConfig `type:"structure"`
32972}
32973
32974// String returns the string representation
32975func (s CreateTrainingJobInput) String() string {
32976	return awsutil.Prettify(s)
32977}
32978
32979// GoString returns the string representation
32980func (s CreateTrainingJobInput) GoString() string {
32981	return s.String()
32982}
32983
32984// Validate inspects the fields of the type to determine if they are valid.
32985func (s *CreateTrainingJobInput) Validate() error {
32986	invalidParams := request.ErrInvalidParams{Context: "CreateTrainingJobInput"}
32987	if s.AlgorithmSpecification == nil {
32988		invalidParams.Add(request.NewErrParamRequired("AlgorithmSpecification"))
32989	}
32990	if s.InputDataConfig != nil && len(s.InputDataConfig) < 1 {
32991		invalidParams.Add(request.NewErrParamMinLen("InputDataConfig", 1))
32992	}
32993	if s.OutputDataConfig == nil {
32994		invalidParams.Add(request.NewErrParamRequired("OutputDataConfig"))
32995	}
32996	if s.ResourceConfig == nil {
32997		invalidParams.Add(request.NewErrParamRequired("ResourceConfig"))
32998	}
32999	if s.RoleArn == nil {
33000		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
33001	}
33002	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
33003		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
33004	}
33005	if s.StoppingCondition == nil {
33006		invalidParams.Add(request.NewErrParamRequired("StoppingCondition"))
33007	}
33008	if s.TrainingJobName == nil {
33009		invalidParams.Add(request.NewErrParamRequired("TrainingJobName"))
33010	}
33011	if s.TrainingJobName != nil && len(*s.TrainingJobName) < 1 {
33012		invalidParams.Add(request.NewErrParamMinLen("TrainingJobName", 1))
33013	}
33014	if s.AlgorithmSpecification != nil {
33015		if err := s.AlgorithmSpecification.Validate(); err != nil {
33016			invalidParams.AddNested("AlgorithmSpecification", err.(request.ErrInvalidParams))
33017		}
33018	}
33019	if s.CheckpointConfig != nil {
33020		if err := s.CheckpointConfig.Validate(); err != nil {
33021			invalidParams.AddNested("CheckpointConfig", err.(request.ErrInvalidParams))
33022		}
33023	}
33024	if s.DebugHookConfig != nil {
33025		if err := s.DebugHookConfig.Validate(); err != nil {
33026			invalidParams.AddNested("DebugHookConfig", err.(request.ErrInvalidParams))
33027		}
33028	}
33029	if s.DebugRuleConfigurations != nil {
33030		for i, v := range s.DebugRuleConfigurations {
33031			if v == nil {
33032				continue
33033			}
33034			if err := v.Validate(); err != nil {
33035				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DebugRuleConfigurations", i), err.(request.ErrInvalidParams))
33036			}
33037		}
33038	}
33039	if s.ExperimentConfig != nil {
33040		if err := s.ExperimentConfig.Validate(); err != nil {
33041			invalidParams.AddNested("ExperimentConfig", err.(request.ErrInvalidParams))
33042		}
33043	}
33044	if s.InputDataConfig != nil {
33045		for i, v := range s.InputDataConfig {
33046			if v == nil {
33047				continue
33048			}
33049			if err := v.Validate(); err != nil {
33050				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputDataConfig", i), err.(request.ErrInvalidParams))
33051			}
33052		}
33053	}
33054	if s.OutputDataConfig != nil {
33055		if err := s.OutputDataConfig.Validate(); err != nil {
33056			invalidParams.AddNested("OutputDataConfig", err.(request.ErrInvalidParams))
33057		}
33058	}
33059	if s.ProfilerConfig != nil {
33060		if err := s.ProfilerConfig.Validate(); err != nil {
33061			invalidParams.AddNested("ProfilerConfig", err.(request.ErrInvalidParams))
33062		}
33063	}
33064	if s.ProfilerRuleConfigurations != nil {
33065		for i, v := range s.ProfilerRuleConfigurations {
33066			if v == nil {
33067				continue
33068			}
33069			if err := v.Validate(); err != nil {
33070				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ProfilerRuleConfigurations", i), err.(request.ErrInvalidParams))
33071			}
33072		}
33073	}
33074	if s.ResourceConfig != nil {
33075		if err := s.ResourceConfig.Validate(); err != nil {
33076			invalidParams.AddNested("ResourceConfig", err.(request.ErrInvalidParams))
33077		}
33078	}
33079	if s.StoppingCondition != nil {
33080		if err := s.StoppingCondition.Validate(); err != nil {
33081			invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams))
33082		}
33083	}
33084	if s.Tags != nil {
33085		for i, v := range s.Tags {
33086			if v == nil {
33087				continue
33088			}
33089			if err := v.Validate(); err != nil {
33090				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
33091			}
33092		}
33093	}
33094	if s.TensorBoardOutputConfig != nil {
33095		if err := s.TensorBoardOutputConfig.Validate(); err != nil {
33096			invalidParams.AddNested("TensorBoardOutputConfig", err.(request.ErrInvalidParams))
33097		}
33098	}
33099	if s.VpcConfig != nil {
33100		if err := s.VpcConfig.Validate(); err != nil {
33101			invalidParams.AddNested("VpcConfig", err.(request.ErrInvalidParams))
33102		}
33103	}
33104
33105	if invalidParams.Len() > 0 {
33106		return invalidParams
33107	}
33108	return nil
33109}
33110
33111// SetAlgorithmSpecification sets the AlgorithmSpecification field's value.
33112func (s *CreateTrainingJobInput) SetAlgorithmSpecification(v *AlgorithmSpecification) *CreateTrainingJobInput {
33113	s.AlgorithmSpecification = v
33114	return s
33115}
33116
33117// SetCheckpointConfig sets the CheckpointConfig field's value.
33118func (s *CreateTrainingJobInput) SetCheckpointConfig(v *CheckpointConfig) *CreateTrainingJobInput {
33119	s.CheckpointConfig = v
33120	return s
33121}
33122
33123// SetDebugHookConfig sets the DebugHookConfig field's value.
33124func (s *CreateTrainingJobInput) SetDebugHookConfig(v *DebugHookConfig) *CreateTrainingJobInput {
33125	s.DebugHookConfig = v
33126	return s
33127}
33128
33129// SetDebugRuleConfigurations sets the DebugRuleConfigurations field's value.
33130func (s *CreateTrainingJobInput) SetDebugRuleConfigurations(v []*DebugRuleConfiguration) *CreateTrainingJobInput {
33131	s.DebugRuleConfigurations = v
33132	return s
33133}
33134
33135// SetEnableInterContainerTrafficEncryption sets the EnableInterContainerTrafficEncryption field's value.
33136func (s *CreateTrainingJobInput) SetEnableInterContainerTrafficEncryption(v bool) *CreateTrainingJobInput {
33137	s.EnableInterContainerTrafficEncryption = &v
33138	return s
33139}
33140
33141// SetEnableManagedSpotTraining sets the EnableManagedSpotTraining field's value.
33142func (s *CreateTrainingJobInput) SetEnableManagedSpotTraining(v bool) *CreateTrainingJobInput {
33143	s.EnableManagedSpotTraining = &v
33144	return s
33145}
33146
33147// SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value.
33148func (s *CreateTrainingJobInput) SetEnableNetworkIsolation(v bool) *CreateTrainingJobInput {
33149	s.EnableNetworkIsolation = &v
33150	return s
33151}
33152
33153// SetExperimentConfig sets the ExperimentConfig field's value.
33154func (s *CreateTrainingJobInput) SetExperimentConfig(v *ExperimentConfig) *CreateTrainingJobInput {
33155	s.ExperimentConfig = v
33156	return s
33157}
33158
33159// SetHyperParameters sets the HyperParameters field's value.
33160func (s *CreateTrainingJobInput) SetHyperParameters(v map[string]*string) *CreateTrainingJobInput {
33161	s.HyperParameters = v
33162	return s
33163}
33164
33165// SetInputDataConfig sets the InputDataConfig field's value.
33166func (s *CreateTrainingJobInput) SetInputDataConfig(v []*Channel) *CreateTrainingJobInput {
33167	s.InputDataConfig = v
33168	return s
33169}
33170
33171// SetOutputDataConfig sets the OutputDataConfig field's value.
33172func (s *CreateTrainingJobInput) SetOutputDataConfig(v *OutputDataConfig) *CreateTrainingJobInput {
33173	s.OutputDataConfig = v
33174	return s
33175}
33176
33177// SetProfilerConfig sets the ProfilerConfig field's value.
33178func (s *CreateTrainingJobInput) SetProfilerConfig(v *ProfilerConfig) *CreateTrainingJobInput {
33179	s.ProfilerConfig = v
33180	return s
33181}
33182
33183// SetProfilerRuleConfigurations sets the ProfilerRuleConfigurations field's value.
33184func (s *CreateTrainingJobInput) SetProfilerRuleConfigurations(v []*ProfilerRuleConfiguration) *CreateTrainingJobInput {
33185	s.ProfilerRuleConfigurations = v
33186	return s
33187}
33188
33189// SetResourceConfig sets the ResourceConfig field's value.
33190func (s *CreateTrainingJobInput) SetResourceConfig(v *ResourceConfig) *CreateTrainingJobInput {
33191	s.ResourceConfig = v
33192	return s
33193}
33194
33195// SetRoleArn sets the RoleArn field's value.
33196func (s *CreateTrainingJobInput) SetRoleArn(v string) *CreateTrainingJobInput {
33197	s.RoleArn = &v
33198	return s
33199}
33200
33201// SetStoppingCondition sets the StoppingCondition field's value.
33202func (s *CreateTrainingJobInput) SetStoppingCondition(v *StoppingCondition) *CreateTrainingJobInput {
33203	s.StoppingCondition = v
33204	return s
33205}
33206
33207// SetTags sets the Tags field's value.
33208func (s *CreateTrainingJobInput) SetTags(v []*Tag) *CreateTrainingJobInput {
33209	s.Tags = v
33210	return s
33211}
33212
33213// SetTensorBoardOutputConfig sets the TensorBoardOutputConfig field's value.
33214func (s *CreateTrainingJobInput) SetTensorBoardOutputConfig(v *TensorBoardOutputConfig) *CreateTrainingJobInput {
33215	s.TensorBoardOutputConfig = v
33216	return s
33217}
33218
33219// SetTrainingJobName sets the TrainingJobName field's value.
33220func (s *CreateTrainingJobInput) SetTrainingJobName(v string) *CreateTrainingJobInput {
33221	s.TrainingJobName = &v
33222	return s
33223}
33224
33225// SetVpcConfig sets the VpcConfig field's value.
33226func (s *CreateTrainingJobInput) SetVpcConfig(v *VpcConfig) *CreateTrainingJobInput {
33227	s.VpcConfig = v
33228	return s
33229}
33230
33231type CreateTrainingJobOutput struct {
33232	_ struct{} `type:"structure"`
33233
33234	// The Amazon Resource Name (ARN) of the training job.
33235	//
33236	// TrainingJobArn is a required field
33237	TrainingJobArn *string `type:"string" required:"true"`
33238}
33239
33240// String returns the string representation
33241func (s CreateTrainingJobOutput) String() string {
33242	return awsutil.Prettify(s)
33243}
33244
33245// GoString returns the string representation
33246func (s CreateTrainingJobOutput) GoString() string {
33247	return s.String()
33248}
33249
33250// SetTrainingJobArn sets the TrainingJobArn field's value.
33251func (s *CreateTrainingJobOutput) SetTrainingJobArn(v string) *CreateTrainingJobOutput {
33252	s.TrainingJobArn = &v
33253	return s
33254}
33255
33256type CreateTransformJobInput struct {
33257	_ struct{} `type:"structure"`
33258
33259	// Specifies the number of records to include in a mini-batch for an HTTP inference
33260	// request. A record is a single unit of input data that inference can be made
33261	// on. For example, a single line in a CSV file is a record.
33262	//
33263	// To enable the batch strategy, you must set the SplitType property to Line,
33264	// RecordIO, or TFRecord.
33265	//
33266	// To use only one record when making an HTTP invocation request to a container,
33267	// set BatchStrategy to SingleRecord and SplitType to Line.
33268	//
33269	// To fit as many records in a mini-batch as can fit within the MaxPayloadInMB
33270	// limit, set BatchStrategy to MultiRecord and SplitType to Line.
33271	BatchStrategy *string `type:"string" enum:"BatchStrategy"`
33272
33273	// The data structure used to specify the data to be used for inference in a
33274	// batch transform job and to associate the data that is relevant to the prediction
33275	// results in the output. The input filter provided allows you to exclude input
33276	// data that is not needed for inference in a batch transform job. The output
33277	// filter provided allows you to include input data relevant to interpreting
33278	// the predictions in the output from the job. For more information, see Associate
33279	// Prediction Results with their Corresponding Input Records (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html).
33280	DataProcessing *DataProcessing `type:"structure"`
33281
33282	// The environment variables to set in the Docker container. We support up to
33283	// 16 key and values entries in the map.
33284	Environment map[string]*string `type:"map"`
33285
33286	// Associates a SageMaker job as a trial component with an experiment and trial.
33287	// Specified when you call the following APIs:
33288	//
33289	//    * CreateProcessingJob
33290	//
33291	//    * CreateTrainingJob
33292	//
33293	//    * CreateTransformJob
33294	ExperimentConfig *ExperimentConfig `type:"structure"`
33295
33296	// The maximum number of parallel requests that can be sent to each instance
33297	// in a transform job. If MaxConcurrentTransforms is set to 0 or left unset,
33298	// Amazon SageMaker checks the optional execution-parameters to determine the
33299	// settings for your chosen algorithm. If the execution-parameters endpoint
33300	// is not enabled, the default value is 1. For more information on execution-parameters,
33301	// 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).
33302	// For built-in algorithms, you don't need to set a value for MaxConcurrentTransforms.
33303	MaxConcurrentTransforms *int64 `type:"integer"`
33304
33305	// The maximum allowed size of the payload, in MB. A payload is the data portion
33306	// of a record (without metadata). The value in MaxPayloadInMB must be greater
33307	// than, or equal to, the size of a single record. To estimate the size of a
33308	// record in MB, divide the size of your dataset by the number of records. To
33309	// ensure that the records fit within the maximum payload size, we recommend
33310	// using a slightly larger value. The default value is 6 MB.
33311	//
33312	// For cases where the payload might be arbitrarily large and is transmitted
33313	// using HTTP chunked encoding, set the value to 0. This feature works only
33314	// in supported algorithms. Currently, Amazon SageMaker built-in algorithms
33315	// do not support HTTP chunked encoding.
33316	MaxPayloadInMB *int64 `type:"integer"`
33317
33318	// Configures the timeout and maximum number of retries for processing a transform
33319	// job invocation.
33320	ModelClientConfig *ModelClientConfig `type:"structure"`
33321
33322	// The name of the model that you want to use for the transform job. ModelName
33323	// must be the name of an existing Amazon SageMaker model within an AWS Region
33324	// in an AWS account.
33325	//
33326	// ModelName is a required field
33327	ModelName *string `type:"string" required:"true"`
33328
33329	// (Optional) An array of key-value pairs. For more information, see Using Cost
33330	// Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what)
33331	// in the AWS Billing and Cost Management User Guide.
33332	Tags []*Tag `type:"list"`
33333
33334	// Describes the input source and the way the transform job consumes it.
33335	//
33336	// TransformInput is a required field
33337	TransformInput *TransformInput `type:"structure" required:"true"`
33338
33339	// The name of the transform job. The name must be unique within an AWS Region
33340	// in an AWS account.
33341	//
33342	// TransformJobName is a required field
33343	TransformJobName *string `min:"1" type:"string" required:"true"`
33344
33345	// Describes the results of the transform job.
33346	//
33347	// TransformOutput is a required field
33348	TransformOutput *TransformOutput `type:"structure" required:"true"`
33349
33350	// Describes the resources, including ML instance types and ML instance count,
33351	// to use for the transform job.
33352	//
33353	// TransformResources is a required field
33354	TransformResources *TransformResources `type:"structure" required:"true"`
33355}
33356
33357// String returns the string representation
33358func (s CreateTransformJobInput) String() string {
33359	return awsutil.Prettify(s)
33360}
33361
33362// GoString returns the string representation
33363func (s CreateTransformJobInput) GoString() string {
33364	return s.String()
33365}
33366
33367// Validate inspects the fields of the type to determine if they are valid.
33368func (s *CreateTransformJobInput) Validate() error {
33369	invalidParams := request.ErrInvalidParams{Context: "CreateTransformJobInput"}
33370	if s.ModelName == nil {
33371		invalidParams.Add(request.NewErrParamRequired("ModelName"))
33372	}
33373	if s.TransformInput == nil {
33374		invalidParams.Add(request.NewErrParamRequired("TransformInput"))
33375	}
33376	if s.TransformJobName == nil {
33377		invalidParams.Add(request.NewErrParamRequired("TransformJobName"))
33378	}
33379	if s.TransformJobName != nil && len(*s.TransformJobName) < 1 {
33380		invalidParams.Add(request.NewErrParamMinLen("TransformJobName", 1))
33381	}
33382	if s.TransformOutput == nil {
33383		invalidParams.Add(request.NewErrParamRequired("TransformOutput"))
33384	}
33385	if s.TransformResources == nil {
33386		invalidParams.Add(request.NewErrParamRequired("TransformResources"))
33387	}
33388	if s.ExperimentConfig != nil {
33389		if err := s.ExperimentConfig.Validate(); err != nil {
33390			invalidParams.AddNested("ExperimentConfig", err.(request.ErrInvalidParams))
33391		}
33392	}
33393	if s.ModelClientConfig != nil {
33394		if err := s.ModelClientConfig.Validate(); err != nil {
33395			invalidParams.AddNested("ModelClientConfig", err.(request.ErrInvalidParams))
33396		}
33397	}
33398	if s.Tags != nil {
33399		for i, v := range s.Tags {
33400			if v == nil {
33401				continue
33402			}
33403			if err := v.Validate(); err != nil {
33404				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
33405			}
33406		}
33407	}
33408	if s.TransformInput != nil {
33409		if err := s.TransformInput.Validate(); err != nil {
33410			invalidParams.AddNested("TransformInput", err.(request.ErrInvalidParams))
33411		}
33412	}
33413	if s.TransformOutput != nil {
33414		if err := s.TransformOutput.Validate(); err != nil {
33415			invalidParams.AddNested("TransformOutput", err.(request.ErrInvalidParams))
33416		}
33417	}
33418	if s.TransformResources != nil {
33419		if err := s.TransformResources.Validate(); err != nil {
33420			invalidParams.AddNested("TransformResources", err.(request.ErrInvalidParams))
33421		}
33422	}
33423
33424	if invalidParams.Len() > 0 {
33425		return invalidParams
33426	}
33427	return nil
33428}
33429
33430// SetBatchStrategy sets the BatchStrategy field's value.
33431func (s *CreateTransformJobInput) SetBatchStrategy(v string) *CreateTransformJobInput {
33432	s.BatchStrategy = &v
33433	return s
33434}
33435
33436// SetDataProcessing sets the DataProcessing field's value.
33437func (s *CreateTransformJobInput) SetDataProcessing(v *DataProcessing) *CreateTransformJobInput {
33438	s.DataProcessing = v
33439	return s
33440}
33441
33442// SetEnvironment sets the Environment field's value.
33443func (s *CreateTransformJobInput) SetEnvironment(v map[string]*string) *CreateTransformJobInput {
33444	s.Environment = v
33445	return s
33446}
33447
33448// SetExperimentConfig sets the ExperimentConfig field's value.
33449func (s *CreateTransformJobInput) SetExperimentConfig(v *ExperimentConfig) *CreateTransformJobInput {
33450	s.ExperimentConfig = v
33451	return s
33452}
33453
33454// SetMaxConcurrentTransforms sets the MaxConcurrentTransforms field's value.
33455func (s *CreateTransformJobInput) SetMaxConcurrentTransforms(v int64) *CreateTransformJobInput {
33456	s.MaxConcurrentTransforms = &v
33457	return s
33458}
33459
33460// SetMaxPayloadInMB sets the MaxPayloadInMB field's value.
33461func (s *CreateTransformJobInput) SetMaxPayloadInMB(v int64) *CreateTransformJobInput {
33462	s.MaxPayloadInMB = &v
33463	return s
33464}
33465
33466// SetModelClientConfig sets the ModelClientConfig field's value.
33467func (s *CreateTransformJobInput) SetModelClientConfig(v *ModelClientConfig) *CreateTransformJobInput {
33468	s.ModelClientConfig = v
33469	return s
33470}
33471
33472// SetModelName sets the ModelName field's value.
33473func (s *CreateTransformJobInput) SetModelName(v string) *CreateTransformJobInput {
33474	s.ModelName = &v
33475	return s
33476}
33477
33478// SetTags sets the Tags field's value.
33479func (s *CreateTransformJobInput) SetTags(v []*Tag) *CreateTransformJobInput {
33480	s.Tags = v
33481	return s
33482}
33483
33484// SetTransformInput sets the TransformInput field's value.
33485func (s *CreateTransformJobInput) SetTransformInput(v *TransformInput) *CreateTransformJobInput {
33486	s.TransformInput = v
33487	return s
33488}
33489
33490// SetTransformJobName sets the TransformJobName field's value.
33491func (s *CreateTransformJobInput) SetTransformJobName(v string) *CreateTransformJobInput {
33492	s.TransformJobName = &v
33493	return s
33494}
33495
33496// SetTransformOutput sets the TransformOutput field's value.
33497func (s *CreateTransformJobInput) SetTransformOutput(v *TransformOutput) *CreateTransformJobInput {
33498	s.TransformOutput = v
33499	return s
33500}
33501
33502// SetTransformResources sets the TransformResources field's value.
33503func (s *CreateTransformJobInput) SetTransformResources(v *TransformResources) *CreateTransformJobInput {
33504	s.TransformResources = v
33505	return s
33506}
33507
33508type CreateTransformJobOutput struct {
33509	_ struct{} `type:"structure"`
33510
33511	// The Amazon Resource Name (ARN) of the transform job.
33512	//
33513	// TransformJobArn is a required field
33514	TransformJobArn *string `type:"string" required:"true"`
33515}
33516
33517// String returns the string representation
33518func (s CreateTransformJobOutput) String() string {
33519	return awsutil.Prettify(s)
33520}
33521
33522// GoString returns the string representation
33523func (s CreateTransformJobOutput) GoString() string {
33524	return s.String()
33525}
33526
33527// SetTransformJobArn sets the TransformJobArn field's value.
33528func (s *CreateTransformJobOutput) SetTransformJobArn(v string) *CreateTransformJobOutput {
33529	s.TransformJobArn = &v
33530	return s
33531}
33532
33533type CreateTrialComponentInput struct {
33534	_ struct{} `type:"structure"`
33535
33536	// The name of the component as displayed. The name doesn't need to be unique.
33537	// If DisplayName isn't specified, TrialComponentName is displayed.
33538	DisplayName *string `min:"1" type:"string"`
33539
33540	// When the component ended.
33541	EndTime *time.Time `type:"timestamp"`
33542
33543	// The input artifacts for the component. Examples of input artifacts are datasets,
33544	// algorithms, hyperparameters, source code, and instance types.
33545	InputArtifacts map[string]*TrialComponentArtifact `type:"map"`
33546
33547	// Metadata properties of the tracking entity, trial, or trial component.
33548	MetadataProperties *MetadataProperties `type:"structure"`
33549
33550	// The output artifacts for the component. Examples of output artifacts are
33551	// metrics, snapshots, logs, and images.
33552	OutputArtifacts map[string]*TrialComponentArtifact `type:"map"`
33553
33554	// The hyperparameters for the component.
33555	Parameters map[string]*TrialComponentParameterValue `type:"map"`
33556
33557	// When the component started.
33558	StartTime *time.Time `type:"timestamp"`
33559
33560	// The status of the component. States include:
33561	//
33562	//    * InProgress
33563	//
33564	//    * Completed
33565	//
33566	//    * Failed
33567	Status *TrialComponentStatus `type:"structure"`
33568
33569	// A list of tags to associate with the component. You can use Search API to
33570	// search on the tags.
33571	Tags []*Tag `type:"list"`
33572
33573	// The name of the component. The name must be unique in your AWS account and
33574	// is not case-sensitive.
33575	//
33576	// TrialComponentName is a required field
33577	TrialComponentName *string `min:"1" type:"string" required:"true"`
33578}
33579
33580// String returns the string representation
33581func (s CreateTrialComponentInput) String() string {
33582	return awsutil.Prettify(s)
33583}
33584
33585// GoString returns the string representation
33586func (s CreateTrialComponentInput) GoString() string {
33587	return s.String()
33588}
33589
33590// Validate inspects the fields of the type to determine if they are valid.
33591func (s *CreateTrialComponentInput) Validate() error {
33592	invalidParams := request.ErrInvalidParams{Context: "CreateTrialComponentInput"}
33593	if s.DisplayName != nil && len(*s.DisplayName) < 1 {
33594		invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1))
33595	}
33596	if s.TrialComponentName == nil {
33597		invalidParams.Add(request.NewErrParamRequired("TrialComponentName"))
33598	}
33599	if s.TrialComponentName != nil && len(*s.TrialComponentName) < 1 {
33600		invalidParams.Add(request.NewErrParamMinLen("TrialComponentName", 1))
33601	}
33602	if s.InputArtifacts != nil {
33603		for i, v := range s.InputArtifacts {
33604			if v == nil {
33605				continue
33606			}
33607			if err := v.Validate(); err != nil {
33608				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputArtifacts", i), err.(request.ErrInvalidParams))
33609			}
33610		}
33611	}
33612	if s.OutputArtifacts != nil {
33613		for i, v := range s.OutputArtifacts {
33614			if v == nil {
33615				continue
33616			}
33617			if err := v.Validate(); err != nil {
33618				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OutputArtifacts", i), err.(request.ErrInvalidParams))
33619			}
33620		}
33621	}
33622	if s.Tags != nil {
33623		for i, v := range s.Tags {
33624			if v == nil {
33625				continue
33626			}
33627			if err := v.Validate(); err != nil {
33628				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
33629			}
33630		}
33631	}
33632
33633	if invalidParams.Len() > 0 {
33634		return invalidParams
33635	}
33636	return nil
33637}
33638
33639// SetDisplayName sets the DisplayName field's value.
33640func (s *CreateTrialComponentInput) SetDisplayName(v string) *CreateTrialComponentInput {
33641	s.DisplayName = &v
33642	return s
33643}
33644
33645// SetEndTime sets the EndTime field's value.
33646func (s *CreateTrialComponentInput) SetEndTime(v time.Time) *CreateTrialComponentInput {
33647	s.EndTime = &v
33648	return s
33649}
33650
33651// SetInputArtifacts sets the InputArtifacts field's value.
33652func (s *CreateTrialComponentInput) SetInputArtifacts(v map[string]*TrialComponentArtifact) *CreateTrialComponentInput {
33653	s.InputArtifacts = v
33654	return s
33655}
33656
33657// SetMetadataProperties sets the MetadataProperties field's value.
33658func (s *CreateTrialComponentInput) SetMetadataProperties(v *MetadataProperties) *CreateTrialComponentInput {
33659	s.MetadataProperties = v
33660	return s
33661}
33662
33663// SetOutputArtifacts sets the OutputArtifacts field's value.
33664func (s *CreateTrialComponentInput) SetOutputArtifacts(v map[string]*TrialComponentArtifact) *CreateTrialComponentInput {
33665	s.OutputArtifacts = v
33666	return s
33667}
33668
33669// SetParameters sets the Parameters field's value.
33670func (s *CreateTrialComponentInput) SetParameters(v map[string]*TrialComponentParameterValue) *CreateTrialComponentInput {
33671	s.Parameters = v
33672	return s
33673}
33674
33675// SetStartTime sets the StartTime field's value.
33676func (s *CreateTrialComponentInput) SetStartTime(v time.Time) *CreateTrialComponentInput {
33677	s.StartTime = &v
33678	return s
33679}
33680
33681// SetStatus sets the Status field's value.
33682func (s *CreateTrialComponentInput) SetStatus(v *TrialComponentStatus) *CreateTrialComponentInput {
33683	s.Status = v
33684	return s
33685}
33686
33687// SetTags sets the Tags field's value.
33688func (s *CreateTrialComponentInput) SetTags(v []*Tag) *CreateTrialComponentInput {
33689	s.Tags = v
33690	return s
33691}
33692
33693// SetTrialComponentName sets the TrialComponentName field's value.
33694func (s *CreateTrialComponentInput) SetTrialComponentName(v string) *CreateTrialComponentInput {
33695	s.TrialComponentName = &v
33696	return s
33697}
33698
33699type CreateTrialComponentOutput struct {
33700	_ struct{} `type:"structure"`
33701
33702	// The Amazon Resource Name (ARN) of the trial component.
33703	TrialComponentArn *string `type:"string"`
33704}
33705
33706// String returns the string representation
33707func (s CreateTrialComponentOutput) String() string {
33708	return awsutil.Prettify(s)
33709}
33710
33711// GoString returns the string representation
33712func (s CreateTrialComponentOutput) GoString() string {
33713	return s.String()
33714}
33715
33716// SetTrialComponentArn sets the TrialComponentArn field's value.
33717func (s *CreateTrialComponentOutput) SetTrialComponentArn(v string) *CreateTrialComponentOutput {
33718	s.TrialComponentArn = &v
33719	return s
33720}
33721
33722type CreateTrialInput struct {
33723	_ struct{} `type:"structure"`
33724
33725	// The name of the trial as displayed. The name doesn't need to be unique. If
33726	// DisplayName isn't specified, TrialName is displayed.
33727	DisplayName *string `min:"1" type:"string"`
33728
33729	// The name of the experiment to associate the trial with.
33730	//
33731	// ExperimentName is a required field
33732	ExperimentName *string `min:"1" type:"string" required:"true"`
33733
33734	// Metadata properties of the tracking entity, trial, or trial component.
33735	MetadataProperties *MetadataProperties `type:"structure"`
33736
33737	// A list of tags to associate with the trial. You can use Search API to search
33738	// on the tags.
33739	Tags []*Tag `type:"list"`
33740
33741	// The name of the trial. The name must be unique in your AWS account and is
33742	// not case-sensitive.
33743	//
33744	// TrialName is a required field
33745	TrialName *string `min:"1" type:"string" required:"true"`
33746}
33747
33748// String returns the string representation
33749func (s CreateTrialInput) String() string {
33750	return awsutil.Prettify(s)
33751}
33752
33753// GoString returns the string representation
33754func (s CreateTrialInput) GoString() string {
33755	return s.String()
33756}
33757
33758// Validate inspects the fields of the type to determine if they are valid.
33759func (s *CreateTrialInput) Validate() error {
33760	invalidParams := request.ErrInvalidParams{Context: "CreateTrialInput"}
33761	if s.DisplayName != nil && len(*s.DisplayName) < 1 {
33762		invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1))
33763	}
33764	if s.ExperimentName == nil {
33765		invalidParams.Add(request.NewErrParamRequired("ExperimentName"))
33766	}
33767	if s.ExperimentName != nil && len(*s.ExperimentName) < 1 {
33768		invalidParams.Add(request.NewErrParamMinLen("ExperimentName", 1))
33769	}
33770	if s.TrialName == nil {
33771		invalidParams.Add(request.NewErrParamRequired("TrialName"))
33772	}
33773	if s.TrialName != nil && len(*s.TrialName) < 1 {
33774		invalidParams.Add(request.NewErrParamMinLen("TrialName", 1))
33775	}
33776	if s.Tags != nil {
33777		for i, v := range s.Tags {
33778			if v == nil {
33779				continue
33780			}
33781			if err := v.Validate(); err != nil {
33782				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
33783			}
33784		}
33785	}
33786
33787	if invalidParams.Len() > 0 {
33788		return invalidParams
33789	}
33790	return nil
33791}
33792
33793// SetDisplayName sets the DisplayName field's value.
33794func (s *CreateTrialInput) SetDisplayName(v string) *CreateTrialInput {
33795	s.DisplayName = &v
33796	return s
33797}
33798
33799// SetExperimentName sets the ExperimentName field's value.
33800func (s *CreateTrialInput) SetExperimentName(v string) *CreateTrialInput {
33801	s.ExperimentName = &v
33802	return s
33803}
33804
33805// SetMetadataProperties sets the MetadataProperties field's value.
33806func (s *CreateTrialInput) SetMetadataProperties(v *MetadataProperties) *CreateTrialInput {
33807	s.MetadataProperties = v
33808	return s
33809}
33810
33811// SetTags sets the Tags field's value.
33812func (s *CreateTrialInput) SetTags(v []*Tag) *CreateTrialInput {
33813	s.Tags = v
33814	return s
33815}
33816
33817// SetTrialName sets the TrialName field's value.
33818func (s *CreateTrialInput) SetTrialName(v string) *CreateTrialInput {
33819	s.TrialName = &v
33820	return s
33821}
33822
33823type CreateTrialOutput struct {
33824	_ struct{} `type:"structure"`
33825
33826	// The Amazon Resource Name (ARN) of the trial.
33827	TrialArn *string `type:"string"`
33828}
33829
33830// String returns the string representation
33831func (s CreateTrialOutput) String() string {
33832	return awsutil.Prettify(s)
33833}
33834
33835// GoString returns the string representation
33836func (s CreateTrialOutput) GoString() string {
33837	return s.String()
33838}
33839
33840// SetTrialArn sets the TrialArn field's value.
33841func (s *CreateTrialOutput) SetTrialArn(v string) *CreateTrialOutput {
33842	s.TrialArn = &v
33843	return s
33844}
33845
33846type CreateUserProfileInput struct {
33847	_ struct{} `type:"structure"`
33848
33849	// The ID of the associated Domain.
33850	//
33851	// DomainId is a required field
33852	DomainId *string `type:"string" required:"true"`
33853
33854	// A specifier for the type of value specified in SingleSignOnUserValue. Currently,
33855	// the only supported value is "UserName". If the Domain's AuthMode is SSO,
33856	// this field is required. If the Domain's AuthMode is not SSO, this field cannot
33857	// be specified.
33858	SingleSignOnUserIdentifier *string `type:"string"`
33859
33860	// The username of the associated AWS Single Sign-On User for this UserProfile.
33861	// If the Domain's AuthMode is SSO, this field is required, and must match a
33862	// valid username of a user in your directory. If the Domain's AuthMode is not
33863	// SSO, this field cannot be specified.
33864	SingleSignOnUserValue *string `type:"string"`
33865
33866	// Each tag consists of a key and an optional value. Tag keys must be unique
33867	// per resource.
33868	Tags []*Tag `type:"list"`
33869
33870	// A name for the UserProfile.
33871	//
33872	// UserProfileName is a required field
33873	UserProfileName *string `type:"string" required:"true"`
33874
33875	// A collection of settings.
33876	UserSettings *UserSettings `type:"structure"`
33877}
33878
33879// String returns the string representation
33880func (s CreateUserProfileInput) String() string {
33881	return awsutil.Prettify(s)
33882}
33883
33884// GoString returns the string representation
33885func (s CreateUserProfileInput) GoString() string {
33886	return s.String()
33887}
33888
33889// Validate inspects the fields of the type to determine if they are valid.
33890func (s *CreateUserProfileInput) Validate() error {
33891	invalidParams := request.ErrInvalidParams{Context: "CreateUserProfileInput"}
33892	if s.DomainId == nil {
33893		invalidParams.Add(request.NewErrParamRequired("DomainId"))
33894	}
33895	if s.UserProfileName == nil {
33896		invalidParams.Add(request.NewErrParamRequired("UserProfileName"))
33897	}
33898	if s.Tags != nil {
33899		for i, v := range s.Tags {
33900			if v == nil {
33901				continue
33902			}
33903			if err := v.Validate(); err != nil {
33904				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
33905			}
33906		}
33907	}
33908	if s.UserSettings != nil {
33909		if err := s.UserSettings.Validate(); err != nil {
33910			invalidParams.AddNested("UserSettings", err.(request.ErrInvalidParams))
33911		}
33912	}
33913
33914	if invalidParams.Len() > 0 {
33915		return invalidParams
33916	}
33917	return nil
33918}
33919
33920// SetDomainId sets the DomainId field's value.
33921func (s *CreateUserProfileInput) SetDomainId(v string) *CreateUserProfileInput {
33922	s.DomainId = &v
33923	return s
33924}
33925
33926// SetSingleSignOnUserIdentifier sets the SingleSignOnUserIdentifier field's value.
33927func (s *CreateUserProfileInput) SetSingleSignOnUserIdentifier(v string) *CreateUserProfileInput {
33928	s.SingleSignOnUserIdentifier = &v
33929	return s
33930}
33931
33932// SetSingleSignOnUserValue sets the SingleSignOnUserValue field's value.
33933func (s *CreateUserProfileInput) SetSingleSignOnUserValue(v string) *CreateUserProfileInput {
33934	s.SingleSignOnUserValue = &v
33935	return s
33936}
33937
33938// SetTags sets the Tags field's value.
33939func (s *CreateUserProfileInput) SetTags(v []*Tag) *CreateUserProfileInput {
33940	s.Tags = v
33941	return s
33942}
33943
33944// SetUserProfileName sets the UserProfileName field's value.
33945func (s *CreateUserProfileInput) SetUserProfileName(v string) *CreateUserProfileInput {
33946	s.UserProfileName = &v
33947	return s
33948}
33949
33950// SetUserSettings sets the UserSettings field's value.
33951func (s *CreateUserProfileInput) SetUserSettings(v *UserSettings) *CreateUserProfileInput {
33952	s.UserSettings = v
33953	return s
33954}
33955
33956type CreateUserProfileOutput struct {
33957	_ struct{} `type:"structure"`
33958
33959	// The user profile Amazon Resource Name (ARN).
33960	UserProfileArn *string `type:"string"`
33961}
33962
33963// String returns the string representation
33964func (s CreateUserProfileOutput) String() string {
33965	return awsutil.Prettify(s)
33966}
33967
33968// GoString returns the string representation
33969func (s CreateUserProfileOutput) GoString() string {
33970	return s.String()
33971}
33972
33973// SetUserProfileArn sets the UserProfileArn field's value.
33974func (s *CreateUserProfileOutput) SetUserProfileArn(v string) *CreateUserProfileOutput {
33975	s.UserProfileArn = &v
33976	return s
33977}
33978
33979type CreateWorkforceInput struct {
33980	_ struct{} `type:"structure"`
33981
33982	// Use this parameter to configure an Amazon Cognito private workforce. A single
33983	// Cognito workforce is created using and corresponds to a single Amazon Cognito
33984	// user pool (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html).
33985	//
33986	// Do not use OidcConfig if you specify values for CognitoConfig.
33987	CognitoConfig *CognitoConfig `type:"structure"`
33988
33989	// Use this parameter to configure a private workforce using your own OIDC Identity
33990	// Provider.
33991	//
33992	// Do not use CognitoConfig if you specify values for OidcConfig.
33993	OidcConfig *OidcConfig `type:"structure"`
33994
33995	// A list of IP address ranges (CIDRs (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html)).
33996	// Used to create an allow list of IP addresses for a private workforce. Workers
33997	// will only be able to login to their worker portal from an IP address within
33998	// this range. By default, a workforce isn't restricted to specific IP addresses.
33999	SourceIpConfig *SourceIpConfig `type:"structure"`
34000
34001	// An array of key-value pairs that contain metadata to help you categorize
34002	// and organize our workforce. Each tag consists of a key and a value, both
34003	// of which you define.
34004	Tags []*Tag `type:"list"`
34005
34006	// The name of the private workforce.
34007	//
34008	// WorkforceName is a required field
34009	WorkforceName *string `min:"1" type:"string" required:"true"`
34010}
34011
34012// String returns the string representation
34013func (s CreateWorkforceInput) String() string {
34014	return awsutil.Prettify(s)
34015}
34016
34017// GoString returns the string representation
34018func (s CreateWorkforceInput) GoString() string {
34019	return s.String()
34020}
34021
34022// Validate inspects the fields of the type to determine if they are valid.
34023func (s *CreateWorkforceInput) Validate() error {
34024	invalidParams := request.ErrInvalidParams{Context: "CreateWorkforceInput"}
34025	if s.WorkforceName == nil {
34026		invalidParams.Add(request.NewErrParamRequired("WorkforceName"))
34027	}
34028	if s.WorkforceName != nil && len(*s.WorkforceName) < 1 {
34029		invalidParams.Add(request.NewErrParamMinLen("WorkforceName", 1))
34030	}
34031	if s.CognitoConfig != nil {
34032		if err := s.CognitoConfig.Validate(); err != nil {
34033			invalidParams.AddNested("CognitoConfig", err.(request.ErrInvalidParams))
34034		}
34035	}
34036	if s.OidcConfig != nil {
34037		if err := s.OidcConfig.Validate(); err != nil {
34038			invalidParams.AddNested("OidcConfig", err.(request.ErrInvalidParams))
34039		}
34040	}
34041	if s.SourceIpConfig != nil {
34042		if err := s.SourceIpConfig.Validate(); err != nil {
34043			invalidParams.AddNested("SourceIpConfig", err.(request.ErrInvalidParams))
34044		}
34045	}
34046	if s.Tags != nil {
34047		for i, v := range s.Tags {
34048			if v == nil {
34049				continue
34050			}
34051			if err := v.Validate(); err != nil {
34052				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
34053			}
34054		}
34055	}
34056
34057	if invalidParams.Len() > 0 {
34058		return invalidParams
34059	}
34060	return nil
34061}
34062
34063// SetCognitoConfig sets the CognitoConfig field's value.
34064func (s *CreateWorkforceInput) SetCognitoConfig(v *CognitoConfig) *CreateWorkforceInput {
34065	s.CognitoConfig = v
34066	return s
34067}
34068
34069// SetOidcConfig sets the OidcConfig field's value.
34070func (s *CreateWorkforceInput) SetOidcConfig(v *OidcConfig) *CreateWorkforceInput {
34071	s.OidcConfig = v
34072	return s
34073}
34074
34075// SetSourceIpConfig sets the SourceIpConfig field's value.
34076func (s *CreateWorkforceInput) SetSourceIpConfig(v *SourceIpConfig) *CreateWorkforceInput {
34077	s.SourceIpConfig = v
34078	return s
34079}
34080
34081// SetTags sets the Tags field's value.
34082func (s *CreateWorkforceInput) SetTags(v []*Tag) *CreateWorkforceInput {
34083	s.Tags = v
34084	return s
34085}
34086
34087// SetWorkforceName sets the WorkforceName field's value.
34088func (s *CreateWorkforceInput) SetWorkforceName(v string) *CreateWorkforceInput {
34089	s.WorkforceName = &v
34090	return s
34091}
34092
34093type CreateWorkforceOutput struct {
34094	_ struct{} `type:"structure"`
34095
34096	// The Amazon Resource Name (ARN) of the workforce.
34097	//
34098	// WorkforceArn is a required field
34099	WorkforceArn *string `type:"string" required:"true"`
34100}
34101
34102// String returns the string representation
34103func (s CreateWorkforceOutput) String() string {
34104	return awsutil.Prettify(s)
34105}
34106
34107// GoString returns the string representation
34108func (s CreateWorkforceOutput) GoString() string {
34109	return s.String()
34110}
34111
34112// SetWorkforceArn sets the WorkforceArn field's value.
34113func (s *CreateWorkforceOutput) SetWorkforceArn(v string) *CreateWorkforceOutput {
34114	s.WorkforceArn = &v
34115	return s
34116}
34117
34118type CreateWorkteamInput struct {
34119	_ struct{} `type:"structure"`
34120
34121	// A description of the work team.
34122	//
34123	// Description is a required field
34124	Description *string `min:"1" type:"string" required:"true"`
34125
34126	// A list of MemberDefinition objects that contains objects that identify the
34127	// workers that make up the work team.
34128	//
34129	// Workforces can be created using Amazon Cognito or your own OIDC Identity
34130	// Provider (IdP). For private workforces created using Amazon Cognito use CognitoMemberDefinition.
34131	// For workforces created using your own OIDC identity provider (IdP) use OidcMemberDefinition.
34132	// Do not provide input for both of these parameters in a single request.
34133	//
34134	// For workforces created using Amazon Cognito, private work teams correspond
34135	// to Amazon Cognito user groups within the user pool used to create a workforce.
34136	// All of the CognitoMemberDefinition objects that make up the member definition
34137	// must have the same ClientId and UserPool values. To add a Amazon Cognito
34138	// user group to an existing worker pool, see Adding groups to a User Pool.
34139	// For more information about user pools, see Amazon Cognito User Pools (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html).
34140	//
34141	// For workforces created using your own OIDC IdP, specify the user groups that
34142	// you want to include in your private work team in OidcMemberDefinition by
34143	// listing those groups in Groups.
34144	//
34145	// MemberDefinitions is a required field
34146	MemberDefinitions []*MemberDefinition `min:"1" type:"list" required:"true"`
34147
34148	// Configures notification of workers regarding available or expiring work items.
34149	NotificationConfiguration *NotificationConfiguration `type:"structure"`
34150
34151	// An array of key-value pairs.
34152	//
34153	// For more information, see Resource Tag (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-resource-tags.html)
34154	// and Using Cost Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what)
34155	// in the AWS Billing and Cost Management User Guide.
34156	Tags []*Tag `type:"list"`
34157
34158	// The name of the workforce.
34159	WorkforceName *string `min:"1" type:"string"`
34160
34161	// The name of the work team. Use this name to identify the work team.
34162	//
34163	// WorkteamName is a required field
34164	WorkteamName *string `min:"1" type:"string" required:"true"`
34165}
34166
34167// String returns the string representation
34168func (s CreateWorkteamInput) String() string {
34169	return awsutil.Prettify(s)
34170}
34171
34172// GoString returns the string representation
34173func (s CreateWorkteamInput) GoString() string {
34174	return s.String()
34175}
34176
34177// Validate inspects the fields of the type to determine if they are valid.
34178func (s *CreateWorkteamInput) Validate() error {
34179	invalidParams := request.ErrInvalidParams{Context: "CreateWorkteamInput"}
34180	if s.Description == nil {
34181		invalidParams.Add(request.NewErrParamRequired("Description"))
34182	}
34183	if s.Description != nil && len(*s.Description) < 1 {
34184		invalidParams.Add(request.NewErrParamMinLen("Description", 1))
34185	}
34186	if s.MemberDefinitions == nil {
34187		invalidParams.Add(request.NewErrParamRequired("MemberDefinitions"))
34188	}
34189	if s.MemberDefinitions != nil && len(s.MemberDefinitions) < 1 {
34190		invalidParams.Add(request.NewErrParamMinLen("MemberDefinitions", 1))
34191	}
34192	if s.WorkforceName != nil && len(*s.WorkforceName) < 1 {
34193		invalidParams.Add(request.NewErrParamMinLen("WorkforceName", 1))
34194	}
34195	if s.WorkteamName == nil {
34196		invalidParams.Add(request.NewErrParamRequired("WorkteamName"))
34197	}
34198	if s.WorkteamName != nil && len(*s.WorkteamName) < 1 {
34199		invalidParams.Add(request.NewErrParamMinLen("WorkteamName", 1))
34200	}
34201	if s.MemberDefinitions != nil {
34202		for i, v := range s.MemberDefinitions {
34203			if v == nil {
34204				continue
34205			}
34206			if err := v.Validate(); err != nil {
34207				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MemberDefinitions", i), err.(request.ErrInvalidParams))
34208			}
34209		}
34210	}
34211	if s.Tags != nil {
34212		for i, v := range s.Tags {
34213			if v == nil {
34214				continue
34215			}
34216			if err := v.Validate(); err != nil {
34217				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
34218			}
34219		}
34220	}
34221
34222	if invalidParams.Len() > 0 {
34223		return invalidParams
34224	}
34225	return nil
34226}
34227
34228// SetDescription sets the Description field's value.
34229func (s *CreateWorkteamInput) SetDescription(v string) *CreateWorkteamInput {
34230	s.Description = &v
34231	return s
34232}
34233
34234// SetMemberDefinitions sets the MemberDefinitions field's value.
34235func (s *CreateWorkteamInput) SetMemberDefinitions(v []*MemberDefinition) *CreateWorkteamInput {
34236	s.MemberDefinitions = v
34237	return s
34238}
34239
34240// SetNotificationConfiguration sets the NotificationConfiguration field's value.
34241func (s *CreateWorkteamInput) SetNotificationConfiguration(v *NotificationConfiguration) *CreateWorkteamInput {
34242	s.NotificationConfiguration = v
34243	return s
34244}
34245
34246// SetTags sets the Tags field's value.
34247func (s *CreateWorkteamInput) SetTags(v []*Tag) *CreateWorkteamInput {
34248	s.Tags = v
34249	return s
34250}
34251
34252// SetWorkforceName sets the WorkforceName field's value.
34253func (s *CreateWorkteamInput) SetWorkforceName(v string) *CreateWorkteamInput {
34254	s.WorkforceName = &v
34255	return s
34256}
34257
34258// SetWorkteamName sets the WorkteamName field's value.
34259func (s *CreateWorkteamInput) SetWorkteamName(v string) *CreateWorkteamInput {
34260	s.WorkteamName = &v
34261	return s
34262}
34263
34264type CreateWorkteamOutput struct {
34265	_ struct{} `type:"structure"`
34266
34267	// The Amazon Resource Name (ARN) of the work team. You can use this ARN to
34268	// identify the work team.
34269	WorkteamArn *string `type:"string"`
34270}
34271
34272// String returns the string representation
34273func (s CreateWorkteamOutput) String() string {
34274	return awsutil.Prettify(s)
34275}
34276
34277// GoString returns the string representation
34278func (s CreateWorkteamOutput) GoString() string {
34279	return s.String()
34280}
34281
34282// SetWorkteamArn sets the WorkteamArn field's value.
34283func (s *CreateWorkteamOutput) SetWorkteamArn(v string) *CreateWorkteamOutput {
34284	s.WorkteamArn = &v
34285	return s
34286}
34287
34288// A custom SageMaker image. For more information, see Bring your own SageMaker
34289// image (https://docs.aws.amazon.com/sagemaker/latest/dg/studio-byoi.html).
34290type CustomImage struct {
34291	_ struct{} `type:"structure"`
34292
34293	// The name of the AppImageConfig.
34294	//
34295	// AppImageConfigName is a required field
34296	AppImageConfigName *string `type:"string" required:"true"`
34297
34298	// The name of the CustomImage. Must be unique to your account.
34299	//
34300	// ImageName is a required field
34301	ImageName *string `min:"1" type:"string" required:"true"`
34302
34303	// The version number of the CustomImage.
34304	ImageVersionNumber *int64 `type:"integer"`
34305}
34306
34307// String returns the string representation
34308func (s CustomImage) String() string {
34309	return awsutil.Prettify(s)
34310}
34311
34312// GoString returns the string representation
34313func (s CustomImage) GoString() string {
34314	return s.String()
34315}
34316
34317// Validate inspects the fields of the type to determine if they are valid.
34318func (s *CustomImage) Validate() error {
34319	invalidParams := request.ErrInvalidParams{Context: "CustomImage"}
34320	if s.AppImageConfigName == nil {
34321		invalidParams.Add(request.NewErrParamRequired("AppImageConfigName"))
34322	}
34323	if s.ImageName == nil {
34324		invalidParams.Add(request.NewErrParamRequired("ImageName"))
34325	}
34326	if s.ImageName != nil && len(*s.ImageName) < 1 {
34327		invalidParams.Add(request.NewErrParamMinLen("ImageName", 1))
34328	}
34329
34330	if invalidParams.Len() > 0 {
34331		return invalidParams
34332	}
34333	return nil
34334}
34335
34336// SetAppImageConfigName sets the AppImageConfigName field's value.
34337func (s *CustomImage) SetAppImageConfigName(v string) *CustomImage {
34338	s.AppImageConfigName = &v
34339	return s
34340}
34341
34342// SetImageName sets the ImageName field's value.
34343func (s *CustomImage) SetImageName(v string) *CustomImage {
34344	s.ImageName = &v
34345	return s
34346}
34347
34348// SetImageVersionNumber sets the ImageVersionNumber field's value.
34349func (s *CustomImage) SetImageVersionNumber(v int64) *CustomImage {
34350	s.ImageVersionNumber = &v
34351	return s
34352}
34353
34354type DataCaptureConfig struct {
34355	_ struct{} `type:"structure"`
34356
34357	CaptureContentTypeHeader *CaptureContentTypeHeader `type:"structure"`
34358
34359	// CaptureOptions is a required field
34360	CaptureOptions []*CaptureOption `min:"1" type:"list" required:"true"`
34361
34362	// DestinationS3Uri is a required field
34363	DestinationS3Uri *string `type:"string" required:"true"`
34364
34365	EnableCapture *bool `type:"boolean"`
34366
34367	// InitialSamplingPercentage is a required field
34368	InitialSamplingPercentage *int64 `type:"integer" required:"true"`
34369
34370	KmsKeyId *string `type:"string"`
34371}
34372
34373// String returns the string representation
34374func (s DataCaptureConfig) String() string {
34375	return awsutil.Prettify(s)
34376}
34377
34378// GoString returns the string representation
34379func (s DataCaptureConfig) GoString() string {
34380	return s.String()
34381}
34382
34383// Validate inspects the fields of the type to determine if they are valid.
34384func (s *DataCaptureConfig) Validate() error {
34385	invalidParams := request.ErrInvalidParams{Context: "DataCaptureConfig"}
34386	if s.CaptureOptions == nil {
34387		invalidParams.Add(request.NewErrParamRequired("CaptureOptions"))
34388	}
34389	if s.CaptureOptions != nil && len(s.CaptureOptions) < 1 {
34390		invalidParams.Add(request.NewErrParamMinLen("CaptureOptions", 1))
34391	}
34392	if s.DestinationS3Uri == nil {
34393		invalidParams.Add(request.NewErrParamRequired("DestinationS3Uri"))
34394	}
34395	if s.InitialSamplingPercentage == nil {
34396		invalidParams.Add(request.NewErrParamRequired("InitialSamplingPercentage"))
34397	}
34398	if s.CaptureContentTypeHeader != nil {
34399		if err := s.CaptureContentTypeHeader.Validate(); err != nil {
34400			invalidParams.AddNested("CaptureContentTypeHeader", err.(request.ErrInvalidParams))
34401		}
34402	}
34403	if s.CaptureOptions != nil {
34404		for i, v := range s.CaptureOptions {
34405			if v == nil {
34406				continue
34407			}
34408			if err := v.Validate(); err != nil {
34409				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CaptureOptions", i), err.(request.ErrInvalidParams))
34410			}
34411		}
34412	}
34413
34414	if invalidParams.Len() > 0 {
34415		return invalidParams
34416	}
34417	return nil
34418}
34419
34420// SetCaptureContentTypeHeader sets the CaptureContentTypeHeader field's value.
34421func (s *DataCaptureConfig) SetCaptureContentTypeHeader(v *CaptureContentTypeHeader) *DataCaptureConfig {
34422	s.CaptureContentTypeHeader = v
34423	return s
34424}
34425
34426// SetCaptureOptions sets the CaptureOptions field's value.
34427func (s *DataCaptureConfig) SetCaptureOptions(v []*CaptureOption) *DataCaptureConfig {
34428	s.CaptureOptions = v
34429	return s
34430}
34431
34432// SetDestinationS3Uri sets the DestinationS3Uri field's value.
34433func (s *DataCaptureConfig) SetDestinationS3Uri(v string) *DataCaptureConfig {
34434	s.DestinationS3Uri = &v
34435	return s
34436}
34437
34438// SetEnableCapture sets the EnableCapture field's value.
34439func (s *DataCaptureConfig) SetEnableCapture(v bool) *DataCaptureConfig {
34440	s.EnableCapture = &v
34441	return s
34442}
34443
34444// SetInitialSamplingPercentage sets the InitialSamplingPercentage field's value.
34445func (s *DataCaptureConfig) SetInitialSamplingPercentage(v int64) *DataCaptureConfig {
34446	s.InitialSamplingPercentage = &v
34447	return s
34448}
34449
34450// SetKmsKeyId sets the KmsKeyId field's value.
34451func (s *DataCaptureConfig) SetKmsKeyId(v string) *DataCaptureConfig {
34452	s.KmsKeyId = &v
34453	return s
34454}
34455
34456type DataCaptureConfigSummary struct {
34457	_ struct{} `type:"structure"`
34458
34459	// CaptureStatus is a required field
34460	CaptureStatus *string `type:"string" required:"true" enum:"CaptureStatus"`
34461
34462	// CurrentSamplingPercentage is a required field
34463	CurrentSamplingPercentage *int64 `type:"integer" required:"true"`
34464
34465	// DestinationS3Uri is a required field
34466	DestinationS3Uri *string `type:"string" required:"true"`
34467
34468	// EnableCapture is a required field
34469	EnableCapture *bool `type:"boolean" required:"true"`
34470
34471	// KmsKeyId is a required field
34472	KmsKeyId *string `type:"string" required:"true"`
34473}
34474
34475// String returns the string representation
34476func (s DataCaptureConfigSummary) String() string {
34477	return awsutil.Prettify(s)
34478}
34479
34480// GoString returns the string representation
34481func (s DataCaptureConfigSummary) GoString() string {
34482	return s.String()
34483}
34484
34485// SetCaptureStatus sets the CaptureStatus field's value.
34486func (s *DataCaptureConfigSummary) SetCaptureStatus(v string) *DataCaptureConfigSummary {
34487	s.CaptureStatus = &v
34488	return s
34489}
34490
34491// SetCurrentSamplingPercentage sets the CurrentSamplingPercentage field's value.
34492func (s *DataCaptureConfigSummary) SetCurrentSamplingPercentage(v int64) *DataCaptureConfigSummary {
34493	s.CurrentSamplingPercentage = &v
34494	return s
34495}
34496
34497// SetDestinationS3Uri sets the DestinationS3Uri field's value.
34498func (s *DataCaptureConfigSummary) SetDestinationS3Uri(v string) *DataCaptureConfigSummary {
34499	s.DestinationS3Uri = &v
34500	return s
34501}
34502
34503// SetEnableCapture sets the EnableCapture field's value.
34504func (s *DataCaptureConfigSummary) SetEnableCapture(v bool) *DataCaptureConfigSummary {
34505	s.EnableCapture = &v
34506	return s
34507}
34508
34509// SetKmsKeyId sets the KmsKeyId field's value.
34510func (s *DataCaptureConfigSummary) SetKmsKeyId(v string) *DataCaptureConfigSummary {
34511	s.KmsKeyId = &v
34512	return s
34513}
34514
34515// The meta data of the Glue table which serves as data catalog for the OfflineStore.
34516type DataCatalogConfig struct {
34517	_ struct{} `type:"structure"`
34518
34519	// The name of the Glue table catalog.
34520	//
34521	// Catalog is a required field
34522	Catalog *string `min:"1" type:"string" required:"true"`
34523
34524	// The name of the Glue table database.
34525	//
34526	// Database is a required field
34527	Database *string `min:"1" type:"string" required:"true"`
34528
34529	// The name of the Glue table.
34530	//
34531	// TableName is a required field
34532	TableName *string `min:"1" type:"string" required:"true"`
34533}
34534
34535// String returns the string representation
34536func (s DataCatalogConfig) String() string {
34537	return awsutil.Prettify(s)
34538}
34539
34540// GoString returns the string representation
34541func (s DataCatalogConfig) GoString() string {
34542	return s.String()
34543}
34544
34545// Validate inspects the fields of the type to determine if they are valid.
34546func (s *DataCatalogConfig) Validate() error {
34547	invalidParams := request.ErrInvalidParams{Context: "DataCatalogConfig"}
34548	if s.Catalog == nil {
34549		invalidParams.Add(request.NewErrParamRequired("Catalog"))
34550	}
34551	if s.Catalog != nil && len(*s.Catalog) < 1 {
34552		invalidParams.Add(request.NewErrParamMinLen("Catalog", 1))
34553	}
34554	if s.Database == nil {
34555		invalidParams.Add(request.NewErrParamRequired("Database"))
34556	}
34557	if s.Database != nil && len(*s.Database) < 1 {
34558		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
34559	}
34560	if s.TableName == nil {
34561		invalidParams.Add(request.NewErrParamRequired("TableName"))
34562	}
34563	if s.TableName != nil && len(*s.TableName) < 1 {
34564		invalidParams.Add(request.NewErrParamMinLen("TableName", 1))
34565	}
34566
34567	if invalidParams.Len() > 0 {
34568		return invalidParams
34569	}
34570	return nil
34571}
34572
34573// SetCatalog sets the Catalog field's value.
34574func (s *DataCatalogConfig) SetCatalog(v string) *DataCatalogConfig {
34575	s.Catalog = &v
34576	return s
34577}
34578
34579// SetDatabase sets the Database field's value.
34580func (s *DataCatalogConfig) SetDatabase(v string) *DataCatalogConfig {
34581	s.Database = &v
34582	return s
34583}
34584
34585// SetTableName sets the TableName field's value.
34586func (s *DataCatalogConfig) SetTableName(v string) *DataCatalogConfig {
34587	s.TableName = &v
34588	return s
34589}
34590
34591// The data structure used to specify the data to be used for inference in a
34592// batch transform job and to associate the data that is relevant to the prediction
34593// results in the output. The input filter provided allows you to exclude input
34594// data that is not needed for inference in a batch transform job. The output
34595// filter provided allows you to include input data relevant to interpreting
34596// the predictions in the output from the job. For more information, see Associate
34597// Prediction Results with their Corresponding Input Records (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html).
34598type DataProcessing struct {
34599	_ struct{} `type:"structure"`
34600
34601	// A JSONPath (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html#data-processing-operators)
34602	// expression used to select a portion of the input data to pass to the algorithm.
34603	// Use the InputFilter parameter to exclude fields, such as an ID column, from
34604	// the input. If you want Amazon SageMaker to pass the entire input dataset
34605	// to the algorithm, accept the default value $.
34606	//
34607	// Examples: "$", "$[1:]", "$.features"
34608	InputFilter *string `type:"string"`
34609
34610	// Specifies the source of the data to join with the transformed data. The valid
34611	// values are None and Input. The default value is None, which specifies not
34612	// to join the input with the transformed data. If you want the batch transform
34613	// job to join the original input data with the transformed data, set JoinSource
34614	// to Input.
34615	//
34616	// For JSON or JSONLines objects, such as a JSON array, Amazon SageMaker adds
34617	// the transformed data to the input JSON object in an attribute called SageMakerOutput.
34618	// The joined result for JSON must be a key-value pair object. If the input
34619	// is not a key-value pair object, Amazon SageMaker creates a new JSON file.
34620	// In the new JSON file, and the input data is stored under the SageMakerInput
34621	// key and the results are stored in SageMakerOutput.
34622	//
34623	// For CSV files, Amazon SageMaker combines the transformed data with the input
34624	// data at the end of the input data and stores it in the output file. The joined
34625	// data has the joined input data followed by the transformed data and the output
34626	// is a CSV file.
34627	JoinSource *string `type:"string" enum:"JoinSource"`
34628
34629	// A JSONPath (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html#data-processing-operators)
34630	// expression used to select a portion of the joined dataset to save in the
34631	// output file for a batch transform job. If you want Amazon SageMaker to store
34632	// the entire input dataset in the output file, leave the default value, $.
34633	// If you specify indexes that aren't within the dimension size of the joined
34634	// dataset, you get an error.
34635	//
34636	// Examples: "$", "$[0,5:]", "$['id','SageMakerOutput']"
34637	OutputFilter *string `type:"string"`
34638}
34639
34640// String returns the string representation
34641func (s DataProcessing) String() string {
34642	return awsutil.Prettify(s)
34643}
34644
34645// GoString returns the string representation
34646func (s DataProcessing) GoString() string {
34647	return s.String()
34648}
34649
34650// SetInputFilter sets the InputFilter field's value.
34651func (s *DataProcessing) SetInputFilter(v string) *DataProcessing {
34652	s.InputFilter = &v
34653	return s
34654}
34655
34656// SetJoinSource sets the JoinSource field's value.
34657func (s *DataProcessing) SetJoinSource(v string) *DataProcessing {
34658	s.JoinSource = &v
34659	return s
34660}
34661
34662// SetOutputFilter sets the OutputFilter field's value.
34663func (s *DataProcessing) SetOutputFilter(v string) *DataProcessing {
34664	s.OutputFilter = &v
34665	return s
34666}
34667
34668// Information about the container that a data quality monitoring job runs.
34669type DataQualityAppSpecification struct {
34670	_ struct{} `type:"structure"`
34671
34672	// The arguments to send to the container that the monitoring job runs.
34673	ContainerArguments []*string `min:"1" type:"list"`
34674
34675	// The entrypoint for a container used to run a monitoring job.
34676	ContainerEntrypoint []*string `min:"1" type:"list"`
34677
34678	// Sets the environment variables in the container that the monitoring job runs.
34679	Environment map[string]*string `type:"map"`
34680
34681	// The container image that the data quality monitoring job runs.
34682	//
34683	// ImageUri is a required field
34684	ImageUri *string `type:"string" required:"true"`
34685
34686	// An Amazon S3 URI to a script that is called after analysis has been performed.
34687	// Applicable only for the built-in (first party) containers.
34688	PostAnalyticsProcessorSourceUri *string `type:"string"`
34689
34690	// An Amazon S3 URI to a script that is called per row prior to running analysis.
34691	// It can base64 decode the payload and convert it into a flatted json so that
34692	// the built-in container can use the converted data. Applicable only for the
34693	// built-in (first party) containers.
34694	RecordPreprocessorSourceUri *string `type:"string"`
34695}
34696
34697// String returns the string representation
34698func (s DataQualityAppSpecification) String() string {
34699	return awsutil.Prettify(s)
34700}
34701
34702// GoString returns the string representation
34703func (s DataQualityAppSpecification) GoString() string {
34704	return s.String()
34705}
34706
34707// Validate inspects the fields of the type to determine if they are valid.
34708func (s *DataQualityAppSpecification) Validate() error {
34709	invalidParams := request.ErrInvalidParams{Context: "DataQualityAppSpecification"}
34710	if s.ContainerArguments != nil && len(s.ContainerArguments) < 1 {
34711		invalidParams.Add(request.NewErrParamMinLen("ContainerArguments", 1))
34712	}
34713	if s.ContainerEntrypoint != nil && len(s.ContainerEntrypoint) < 1 {
34714		invalidParams.Add(request.NewErrParamMinLen("ContainerEntrypoint", 1))
34715	}
34716	if s.ImageUri == nil {
34717		invalidParams.Add(request.NewErrParamRequired("ImageUri"))
34718	}
34719
34720	if invalidParams.Len() > 0 {
34721		return invalidParams
34722	}
34723	return nil
34724}
34725
34726// SetContainerArguments sets the ContainerArguments field's value.
34727func (s *DataQualityAppSpecification) SetContainerArguments(v []*string) *DataQualityAppSpecification {
34728	s.ContainerArguments = v
34729	return s
34730}
34731
34732// SetContainerEntrypoint sets the ContainerEntrypoint field's value.
34733func (s *DataQualityAppSpecification) SetContainerEntrypoint(v []*string) *DataQualityAppSpecification {
34734	s.ContainerEntrypoint = v
34735	return s
34736}
34737
34738// SetEnvironment sets the Environment field's value.
34739func (s *DataQualityAppSpecification) SetEnvironment(v map[string]*string) *DataQualityAppSpecification {
34740	s.Environment = v
34741	return s
34742}
34743
34744// SetImageUri sets the ImageUri field's value.
34745func (s *DataQualityAppSpecification) SetImageUri(v string) *DataQualityAppSpecification {
34746	s.ImageUri = &v
34747	return s
34748}
34749
34750// SetPostAnalyticsProcessorSourceUri sets the PostAnalyticsProcessorSourceUri field's value.
34751func (s *DataQualityAppSpecification) SetPostAnalyticsProcessorSourceUri(v string) *DataQualityAppSpecification {
34752	s.PostAnalyticsProcessorSourceUri = &v
34753	return s
34754}
34755
34756// SetRecordPreprocessorSourceUri sets the RecordPreprocessorSourceUri field's value.
34757func (s *DataQualityAppSpecification) SetRecordPreprocessorSourceUri(v string) *DataQualityAppSpecification {
34758	s.RecordPreprocessorSourceUri = &v
34759	return s
34760}
34761
34762// Configuration for monitoring constraints and monitoring statistics. These
34763// baseline resources are compared against the results of the current job from
34764// the series of jobs scheduled to collect data periodically.
34765type DataQualityBaselineConfig struct {
34766	_ struct{} `type:"structure"`
34767
34768	// The name of the job that performs baselining for the data quality monitoring
34769	// job.
34770	BaseliningJobName *string `min:"1" type:"string"`
34771
34772	// The constraints resource for a monitoring job.
34773	ConstraintsResource *MonitoringConstraintsResource `type:"structure"`
34774
34775	// The statistics resource for a monitoring job.
34776	StatisticsResource *MonitoringStatisticsResource `type:"structure"`
34777}
34778
34779// String returns the string representation
34780func (s DataQualityBaselineConfig) String() string {
34781	return awsutil.Prettify(s)
34782}
34783
34784// GoString returns the string representation
34785func (s DataQualityBaselineConfig) GoString() string {
34786	return s.String()
34787}
34788
34789// Validate inspects the fields of the type to determine if they are valid.
34790func (s *DataQualityBaselineConfig) Validate() error {
34791	invalidParams := request.ErrInvalidParams{Context: "DataQualityBaselineConfig"}
34792	if s.BaseliningJobName != nil && len(*s.BaseliningJobName) < 1 {
34793		invalidParams.Add(request.NewErrParamMinLen("BaseliningJobName", 1))
34794	}
34795
34796	if invalidParams.Len() > 0 {
34797		return invalidParams
34798	}
34799	return nil
34800}
34801
34802// SetBaseliningJobName sets the BaseliningJobName field's value.
34803func (s *DataQualityBaselineConfig) SetBaseliningJobName(v string) *DataQualityBaselineConfig {
34804	s.BaseliningJobName = &v
34805	return s
34806}
34807
34808// SetConstraintsResource sets the ConstraintsResource field's value.
34809func (s *DataQualityBaselineConfig) SetConstraintsResource(v *MonitoringConstraintsResource) *DataQualityBaselineConfig {
34810	s.ConstraintsResource = v
34811	return s
34812}
34813
34814// SetStatisticsResource sets the StatisticsResource field's value.
34815func (s *DataQualityBaselineConfig) SetStatisticsResource(v *MonitoringStatisticsResource) *DataQualityBaselineConfig {
34816	s.StatisticsResource = v
34817	return s
34818}
34819
34820// The input for the data quality monitoring job. Currently endpoints are supported
34821// for input.
34822type DataQualityJobInput struct {
34823	_ struct{} `type:"structure"`
34824
34825	// Input object for the endpoint
34826	//
34827	// EndpointInput is a required field
34828	EndpointInput *EndpointInput `type:"structure" required:"true"`
34829}
34830
34831// String returns the string representation
34832func (s DataQualityJobInput) String() string {
34833	return awsutil.Prettify(s)
34834}
34835
34836// GoString returns the string representation
34837func (s DataQualityJobInput) GoString() string {
34838	return s.String()
34839}
34840
34841// Validate inspects the fields of the type to determine if they are valid.
34842func (s *DataQualityJobInput) Validate() error {
34843	invalidParams := request.ErrInvalidParams{Context: "DataQualityJobInput"}
34844	if s.EndpointInput == nil {
34845		invalidParams.Add(request.NewErrParamRequired("EndpointInput"))
34846	}
34847	if s.EndpointInput != nil {
34848		if err := s.EndpointInput.Validate(); err != nil {
34849			invalidParams.AddNested("EndpointInput", err.(request.ErrInvalidParams))
34850		}
34851	}
34852
34853	if invalidParams.Len() > 0 {
34854		return invalidParams
34855	}
34856	return nil
34857}
34858
34859// SetEndpointInput sets the EndpointInput field's value.
34860func (s *DataQualityJobInput) SetEndpointInput(v *EndpointInput) *DataQualityJobInput {
34861	s.EndpointInput = v
34862	return s
34863}
34864
34865// Describes the location of the channel data.
34866type DataSource struct {
34867	_ struct{} `type:"structure"`
34868
34869	// The file system that is associated with a channel.
34870	FileSystemDataSource *FileSystemDataSource `type:"structure"`
34871
34872	// The S3 location of the data source that is associated with a channel.
34873	S3DataSource *S3DataSource `type:"structure"`
34874}
34875
34876// String returns the string representation
34877func (s DataSource) String() string {
34878	return awsutil.Prettify(s)
34879}
34880
34881// GoString returns the string representation
34882func (s DataSource) GoString() string {
34883	return s.String()
34884}
34885
34886// Validate inspects the fields of the type to determine if they are valid.
34887func (s *DataSource) Validate() error {
34888	invalidParams := request.ErrInvalidParams{Context: "DataSource"}
34889	if s.FileSystemDataSource != nil {
34890		if err := s.FileSystemDataSource.Validate(); err != nil {
34891			invalidParams.AddNested("FileSystemDataSource", err.(request.ErrInvalidParams))
34892		}
34893	}
34894	if s.S3DataSource != nil {
34895		if err := s.S3DataSource.Validate(); err != nil {
34896			invalidParams.AddNested("S3DataSource", err.(request.ErrInvalidParams))
34897		}
34898	}
34899
34900	if invalidParams.Len() > 0 {
34901		return invalidParams
34902	}
34903	return nil
34904}
34905
34906// SetFileSystemDataSource sets the FileSystemDataSource field's value.
34907func (s *DataSource) SetFileSystemDataSource(v *FileSystemDataSource) *DataSource {
34908	s.FileSystemDataSource = v
34909	return s
34910}
34911
34912// SetS3DataSource sets the S3DataSource field's value.
34913func (s *DataSource) SetS3DataSource(v *S3DataSource) *DataSource {
34914	s.S3DataSource = v
34915	return s
34916}
34917
34918// Configuration for Dataset Definition inputs. The Dataset Definition input
34919// must specify exactly one of either AthenaDatasetDefinition or RedshiftDatasetDefinition
34920// types.
34921type DatasetDefinition struct {
34922	_ struct{} `type:"structure"`
34923
34924	// Configuration for Athena Dataset Definition input.
34925	AthenaDatasetDefinition *AthenaDatasetDefinition `type:"structure"`
34926
34927	// Whether the generated dataset is FullyReplicated or ShardedByS3Key (default).
34928	DataDistributionType *string `type:"string" enum:"DataDistributionType"`
34929
34930	// Whether to use File or Pipe input mode. In File (default) mode, Amazon SageMaker
34931	// copies the data from the input source onto the local Amazon Elastic Block
34932	// Store (Amazon EBS) volumes before starting your training algorithm. This
34933	// is the most commonly used input mode. In Pipe mode, Amazon SageMaker streams
34934	// input data from the source directly to your algorithm without using the EBS
34935	// volume.
34936	InputMode *string `type:"string" enum:"InputMode"`
34937
34938	// The local path where you want Amazon SageMaker to download the Dataset Definition
34939	// inputs to run a processing job. LocalPath is an absolute path to the input
34940	// data. This is a required parameter when AppManaged is False (default).
34941	LocalPath *string `type:"string"`
34942
34943	// Configuration for Redshift Dataset Definition input.
34944	RedshiftDatasetDefinition *RedshiftDatasetDefinition `type:"structure"`
34945}
34946
34947// String returns the string representation
34948func (s DatasetDefinition) String() string {
34949	return awsutil.Prettify(s)
34950}
34951
34952// GoString returns the string representation
34953func (s DatasetDefinition) GoString() string {
34954	return s.String()
34955}
34956
34957// Validate inspects the fields of the type to determine if they are valid.
34958func (s *DatasetDefinition) Validate() error {
34959	invalidParams := request.ErrInvalidParams{Context: "DatasetDefinition"}
34960	if s.AthenaDatasetDefinition != nil {
34961		if err := s.AthenaDatasetDefinition.Validate(); err != nil {
34962			invalidParams.AddNested("AthenaDatasetDefinition", err.(request.ErrInvalidParams))
34963		}
34964	}
34965	if s.RedshiftDatasetDefinition != nil {
34966		if err := s.RedshiftDatasetDefinition.Validate(); err != nil {
34967			invalidParams.AddNested("RedshiftDatasetDefinition", err.(request.ErrInvalidParams))
34968		}
34969	}
34970
34971	if invalidParams.Len() > 0 {
34972		return invalidParams
34973	}
34974	return nil
34975}
34976
34977// SetAthenaDatasetDefinition sets the AthenaDatasetDefinition field's value.
34978func (s *DatasetDefinition) SetAthenaDatasetDefinition(v *AthenaDatasetDefinition) *DatasetDefinition {
34979	s.AthenaDatasetDefinition = v
34980	return s
34981}
34982
34983// SetDataDistributionType sets the DataDistributionType field's value.
34984func (s *DatasetDefinition) SetDataDistributionType(v string) *DatasetDefinition {
34985	s.DataDistributionType = &v
34986	return s
34987}
34988
34989// SetInputMode sets the InputMode field's value.
34990func (s *DatasetDefinition) SetInputMode(v string) *DatasetDefinition {
34991	s.InputMode = &v
34992	return s
34993}
34994
34995// SetLocalPath sets the LocalPath field's value.
34996func (s *DatasetDefinition) SetLocalPath(v string) *DatasetDefinition {
34997	s.LocalPath = &v
34998	return s
34999}
35000
35001// SetRedshiftDatasetDefinition sets the RedshiftDatasetDefinition field's value.
35002func (s *DatasetDefinition) SetRedshiftDatasetDefinition(v *RedshiftDatasetDefinition) *DatasetDefinition {
35003	s.RedshiftDatasetDefinition = v
35004	return s
35005}
35006
35007// Configuration information for the Debugger hook parameters, metric and tensor
35008// collections, and storage paths. To learn more about how to configure the
35009// DebugHookConfig parameter, see Use the SageMaker and Debugger Configuration
35010// API Operations to Create, Update, and Debug Your Training Job (https://docs.aws.amazon.com/sagemaker/latest/dg/debugger-createtrainingjob-api.html).
35011type DebugHookConfig struct {
35012	_ struct{} `type:"structure"`
35013
35014	// Configuration information for Debugger tensor collections. To learn more
35015	// about how to configure the CollectionConfiguration parameter, see Use the
35016	// SageMaker and Debugger Configuration API Operations to Create, Update, and
35017	// Debug Your Training Job (https://docs.aws.amazon.com/sagemaker/latest/dg/debugger-createtrainingjob-api.html).
35018	CollectionConfigurations []*CollectionConfiguration `type:"list"`
35019
35020	// Configuration information for the Debugger hook parameters.
35021	HookParameters map[string]*string `type:"map"`
35022
35023	// Path to local storage location for metrics and tensors. Defaults to /opt/ml/output/tensors/.
35024	LocalPath *string `type:"string"`
35025
35026	// Path to Amazon S3 storage location for metrics and tensors.
35027	//
35028	// S3OutputPath is a required field
35029	S3OutputPath *string `type:"string" required:"true"`
35030}
35031
35032// String returns the string representation
35033func (s DebugHookConfig) String() string {
35034	return awsutil.Prettify(s)
35035}
35036
35037// GoString returns the string representation
35038func (s DebugHookConfig) GoString() string {
35039	return s.String()
35040}
35041
35042// Validate inspects the fields of the type to determine if they are valid.
35043func (s *DebugHookConfig) Validate() error {
35044	invalidParams := request.ErrInvalidParams{Context: "DebugHookConfig"}
35045	if s.S3OutputPath == nil {
35046		invalidParams.Add(request.NewErrParamRequired("S3OutputPath"))
35047	}
35048	if s.CollectionConfigurations != nil {
35049		for i, v := range s.CollectionConfigurations {
35050			if v == nil {
35051				continue
35052			}
35053			if err := v.Validate(); err != nil {
35054				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CollectionConfigurations", i), err.(request.ErrInvalidParams))
35055			}
35056		}
35057	}
35058
35059	if invalidParams.Len() > 0 {
35060		return invalidParams
35061	}
35062	return nil
35063}
35064
35065// SetCollectionConfigurations sets the CollectionConfigurations field's value.
35066func (s *DebugHookConfig) SetCollectionConfigurations(v []*CollectionConfiguration) *DebugHookConfig {
35067	s.CollectionConfigurations = v
35068	return s
35069}
35070
35071// SetHookParameters sets the HookParameters field's value.
35072func (s *DebugHookConfig) SetHookParameters(v map[string]*string) *DebugHookConfig {
35073	s.HookParameters = v
35074	return s
35075}
35076
35077// SetLocalPath sets the LocalPath field's value.
35078func (s *DebugHookConfig) SetLocalPath(v string) *DebugHookConfig {
35079	s.LocalPath = &v
35080	return s
35081}
35082
35083// SetS3OutputPath sets the S3OutputPath field's value.
35084func (s *DebugHookConfig) SetS3OutputPath(v string) *DebugHookConfig {
35085	s.S3OutputPath = &v
35086	return s
35087}
35088
35089// Configuration information for SageMaker Debugger rules for debugging. To
35090// learn more about how to configure the DebugRuleConfiguration parameter, see
35091// Use the SageMaker and Debugger Configuration API Operations to Create, Update,
35092// and Debug Your Training Job (https://docs.aws.amazon.com/sagemaker/latest/dg/debugger-createtrainingjob-api.html).
35093type DebugRuleConfiguration struct {
35094	_ struct{} `type:"structure"`
35095
35096	// The instance type to deploy a Debugger custom rule for debugging a training
35097	// job.
35098	InstanceType *string `type:"string" enum:"ProcessingInstanceType"`
35099
35100	// Path to local storage location for output of rules. Defaults to /opt/ml/processing/output/rule/.
35101	LocalPath *string `type:"string"`
35102
35103	// The name of the rule configuration. It must be unique relative to other rule
35104	// configuration names.
35105	//
35106	// RuleConfigurationName is a required field
35107	RuleConfigurationName *string `min:"1" type:"string" required:"true"`
35108
35109	// The Amazon Elastic Container (ECR) Image for the managed rule evaluation.
35110	//
35111	// RuleEvaluatorImage is a required field
35112	RuleEvaluatorImage *string `type:"string" required:"true"`
35113
35114	// Runtime configuration for rule container.
35115	RuleParameters map[string]*string `type:"map"`
35116
35117	// Path to Amazon S3 storage location for rules.
35118	S3OutputPath *string `type:"string"`
35119
35120	// The size, in GB, of the ML storage volume attached to the processing instance.
35121	VolumeSizeInGB *int64 `type:"integer"`
35122}
35123
35124// String returns the string representation
35125func (s DebugRuleConfiguration) String() string {
35126	return awsutil.Prettify(s)
35127}
35128
35129// GoString returns the string representation
35130func (s DebugRuleConfiguration) GoString() string {
35131	return s.String()
35132}
35133
35134// Validate inspects the fields of the type to determine if they are valid.
35135func (s *DebugRuleConfiguration) Validate() error {
35136	invalidParams := request.ErrInvalidParams{Context: "DebugRuleConfiguration"}
35137	if s.RuleConfigurationName == nil {
35138		invalidParams.Add(request.NewErrParamRequired("RuleConfigurationName"))
35139	}
35140	if s.RuleConfigurationName != nil && len(*s.RuleConfigurationName) < 1 {
35141		invalidParams.Add(request.NewErrParamMinLen("RuleConfigurationName", 1))
35142	}
35143	if s.RuleEvaluatorImage == nil {
35144		invalidParams.Add(request.NewErrParamRequired("RuleEvaluatorImage"))
35145	}
35146
35147	if invalidParams.Len() > 0 {
35148		return invalidParams
35149	}
35150	return nil
35151}
35152
35153// SetInstanceType sets the InstanceType field's value.
35154func (s *DebugRuleConfiguration) SetInstanceType(v string) *DebugRuleConfiguration {
35155	s.InstanceType = &v
35156	return s
35157}
35158
35159// SetLocalPath sets the LocalPath field's value.
35160func (s *DebugRuleConfiguration) SetLocalPath(v string) *DebugRuleConfiguration {
35161	s.LocalPath = &v
35162	return s
35163}
35164
35165// SetRuleConfigurationName sets the RuleConfigurationName field's value.
35166func (s *DebugRuleConfiguration) SetRuleConfigurationName(v string) *DebugRuleConfiguration {
35167	s.RuleConfigurationName = &v
35168	return s
35169}
35170
35171// SetRuleEvaluatorImage sets the RuleEvaluatorImage field's value.
35172func (s *DebugRuleConfiguration) SetRuleEvaluatorImage(v string) *DebugRuleConfiguration {
35173	s.RuleEvaluatorImage = &v
35174	return s
35175}
35176
35177// SetRuleParameters sets the RuleParameters field's value.
35178func (s *DebugRuleConfiguration) SetRuleParameters(v map[string]*string) *DebugRuleConfiguration {
35179	s.RuleParameters = v
35180	return s
35181}
35182
35183// SetS3OutputPath sets the S3OutputPath field's value.
35184func (s *DebugRuleConfiguration) SetS3OutputPath(v string) *DebugRuleConfiguration {
35185	s.S3OutputPath = &v
35186	return s
35187}
35188
35189// SetVolumeSizeInGB sets the VolumeSizeInGB field's value.
35190func (s *DebugRuleConfiguration) SetVolumeSizeInGB(v int64) *DebugRuleConfiguration {
35191	s.VolumeSizeInGB = &v
35192	return s
35193}
35194
35195// Information about the status of the rule evaluation.
35196type DebugRuleEvaluationStatus struct {
35197	_ struct{} `type:"structure"`
35198
35199	// Timestamp when the rule evaluation status was last modified.
35200	LastModifiedTime *time.Time `type:"timestamp"`
35201
35202	// The name of the rule configuration.
35203	RuleConfigurationName *string `min:"1" type:"string"`
35204
35205	// The Amazon Resource Name (ARN) of the rule evaluation job.
35206	RuleEvaluationJobArn *string `type:"string"`
35207
35208	// Status of the rule evaluation.
35209	RuleEvaluationStatus *string `type:"string" enum:"RuleEvaluationStatus"`
35210
35211	// Details from the rule evaluation.
35212	StatusDetails *string `type:"string"`
35213}
35214
35215// String returns the string representation
35216func (s DebugRuleEvaluationStatus) String() string {
35217	return awsutil.Prettify(s)
35218}
35219
35220// GoString returns the string representation
35221func (s DebugRuleEvaluationStatus) GoString() string {
35222	return s.String()
35223}
35224
35225// SetLastModifiedTime sets the LastModifiedTime field's value.
35226func (s *DebugRuleEvaluationStatus) SetLastModifiedTime(v time.Time) *DebugRuleEvaluationStatus {
35227	s.LastModifiedTime = &v
35228	return s
35229}
35230
35231// SetRuleConfigurationName sets the RuleConfigurationName field's value.
35232func (s *DebugRuleEvaluationStatus) SetRuleConfigurationName(v string) *DebugRuleEvaluationStatus {
35233	s.RuleConfigurationName = &v
35234	return s
35235}
35236
35237// SetRuleEvaluationJobArn sets the RuleEvaluationJobArn field's value.
35238func (s *DebugRuleEvaluationStatus) SetRuleEvaluationJobArn(v string) *DebugRuleEvaluationStatus {
35239	s.RuleEvaluationJobArn = &v
35240	return s
35241}
35242
35243// SetRuleEvaluationStatus sets the RuleEvaluationStatus field's value.
35244func (s *DebugRuleEvaluationStatus) SetRuleEvaluationStatus(v string) *DebugRuleEvaluationStatus {
35245	s.RuleEvaluationStatus = &v
35246	return s
35247}
35248
35249// SetStatusDetails sets the StatusDetails field's value.
35250func (s *DebugRuleEvaluationStatus) SetStatusDetails(v string) *DebugRuleEvaluationStatus {
35251	s.StatusDetails = &v
35252	return s
35253}
35254
35255type DeleteActionInput struct {
35256	_ struct{} `type:"structure"`
35257
35258	// The name of the action to delete.
35259	//
35260	// ActionName is a required field
35261	ActionName *string `min:"1" type:"string" required:"true"`
35262}
35263
35264// String returns the string representation
35265func (s DeleteActionInput) String() string {
35266	return awsutil.Prettify(s)
35267}
35268
35269// GoString returns the string representation
35270func (s DeleteActionInput) GoString() string {
35271	return s.String()
35272}
35273
35274// Validate inspects the fields of the type to determine if they are valid.
35275func (s *DeleteActionInput) Validate() error {
35276	invalidParams := request.ErrInvalidParams{Context: "DeleteActionInput"}
35277	if s.ActionName == nil {
35278		invalidParams.Add(request.NewErrParamRequired("ActionName"))
35279	}
35280	if s.ActionName != nil && len(*s.ActionName) < 1 {
35281		invalidParams.Add(request.NewErrParamMinLen("ActionName", 1))
35282	}
35283
35284	if invalidParams.Len() > 0 {
35285		return invalidParams
35286	}
35287	return nil
35288}
35289
35290// SetActionName sets the ActionName field's value.
35291func (s *DeleteActionInput) SetActionName(v string) *DeleteActionInput {
35292	s.ActionName = &v
35293	return s
35294}
35295
35296type DeleteActionOutput struct {
35297	_ struct{} `type:"structure"`
35298
35299	// The Amazon Resource Name (ARN) of the action.
35300	ActionArn *string `type:"string"`
35301}
35302
35303// String returns the string representation
35304func (s DeleteActionOutput) String() string {
35305	return awsutil.Prettify(s)
35306}
35307
35308// GoString returns the string representation
35309func (s DeleteActionOutput) GoString() string {
35310	return s.String()
35311}
35312
35313// SetActionArn sets the ActionArn field's value.
35314func (s *DeleteActionOutput) SetActionArn(v string) *DeleteActionOutput {
35315	s.ActionArn = &v
35316	return s
35317}
35318
35319type DeleteAlgorithmInput struct {
35320	_ struct{} `type:"structure"`
35321
35322	// The name of the algorithm to delete.
35323	//
35324	// AlgorithmName is a required field
35325	AlgorithmName *string `min:"1" type:"string" required:"true"`
35326}
35327
35328// String returns the string representation
35329func (s DeleteAlgorithmInput) String() string {
35330	return awsutil.Prettify(s)
35331}
35332
35333// GoString returns the string representation
35334func (s DeleteAlgorithmInput) GoString() string {
35335	return s.String()
35336}
35337
35338// Validate inspects the fields of the type to determine if they are valid.
35339func (s *DeleteAlgorithmInput) Validate() error {
35340	invalidParams := request.ErrInvalidParams{Context: "DeleteAlgorithmInput"}
35341	if s.AlgorithmName == nil {
35342		invalidParams.Add(request.NewErrParamRequired("AlgorithmName"))
35343	}
35344	if s.AlgorithmName != nil && len(*s.AlgorithmName) < 1 {
35345		invalidParams.Add(request.NewErrParamMinLen("AlgorithmName", 1))
35346	}
35347
35348	if invalidParams.Len() > 0 {
35349		return invalidParams
35350	}
35351	return nil
35352}
35353
35354// SetAlgorithmName sets the AlgorithmName field's value.
35355func (s *DeleteAlgorithmInput) SetAlgorithmName(v string) *DeleteAlgorithmInput {
35356	s.AlgorithmName = &v
35357	return s
35358}
35359
35360type DeleteAlgorithmOutput struct {
35361	_ struct{} `type:"structure"`
35362}
35363
35364// String returns the string representation
35365func (s DeleteAlgorithmOutput) String() string {
35366	return awsutil.Prettify(s)
35367}
35368
35369// GoString returns the string representation
35370func (s DeleteAlgorithmOutput) GoString() string {
35371	return s.String()
35372}
35373
35374type DeleteAppImageConfigInput struct {
35375	_ struct{} `type:"structure"`
35376
35377	// The name of the AppImageConfig to delete.
35378	//
35379	// AppImageConfigName is a required field
35380	AppImageConfigName *string `type:"string" required:"true"`
35381}
35382
35383// String returns the string representation
35384func (s DeleteAppImageConfigInput) String() string {
35385	return awsutil.Prettify(s)
35386}
35387
35388// GoString returns the string representation
35389func (s DeleteAppImageConfigInput) GoString() string {
35390	return s.String()
35391}
35392
35393// Validate inspects the fields of the type to determine if they are valid.
35394func (s *DeleteAppImageConfigInput) Validate() error {
35395	invalidParams := request.ErrInvalidParams{Context: "DeleteAppImageConfigInput"}
35396	if s.AppImageConfigName == nil {
35397		invalidParams.Add(request.NewErrParamRequired("AppImageConfigName"))
35398	}
35399
35400	if invalidParams.Len() > 0 {
35401		return invalidParams
35402	}
35403	return nil
35404}
35405
35406// SetAppImageConfigName sets the AppImageConfigName field's value.
35407func (s *DeleteAppImageConfigInput) SetAppImageConfigName(v string) *DeleteAppImageConfigInput {
35408	s.AppImageConfigName = &v
35409	return s
35410}
35411
35412type DeleteAppImageConfigOutput struct {
35413	_ struct{} `type:"structure"`
35414}
35415
35416// String returns the string representation
35417func (s DeleteAppImageConfigOutput) String() string {
35418	return awsutil.Prettify(s)
35419}
35420
35421// GoString returns the string representation
35422func (s DeleteAppImageConfigOutput) GoString() string {
35423	return s.String()
35424}
35425
35426type DeleteAppInput struct {
35427	_ struct{} `type:"structure"`
35428
35429	// The name of the app.
35430	//
35431	// AppName is a required field
35432	AppName *string `type:"string" required:"true"`
35433
35434	// The type of app.
35435	//
35436	// AppType is a required field
35437	AppType *string `type:"string" required:"true" enum:"AppType"`
35438
35439	// The domain ID.
35440	//
35441	// DomainId is a required field
35442	DomainId *string `type:"string" required:"true"`
35443
35444	// The user profile name.
35445	//
35446	// UserProfileName is a required field
35447	UserProfileName *string `type:"string" required:"true"`
35448}
35449
35450// String returns the string representation
35451func (s DeleteAppInput) String() string {
35452	return awsutil.Prettify(s)
35453}
35454
35455// GoString returns the string representation
35456func (s DeleteAppInput) GoString() string {
35457	return s.String()
35458}
35459
35460// Validate inspects the fields of the type to determine if they are valid.
35461func (s *DeleteAppInput) Validate() error {
35462	invalidParams := request.ErrInvalidParams{Context: "DeleteAppInput"}
35463	if s.AppName == nil {
35464		invalidParams.Add(request.NewErrParamRequired("AppName"))
35465	}
35466	if s.AppType == nil {
35467		invalidParams.Add(request.NewErrParamRequired("AppType"))
35468	}
35469	if s.DomainId == nil {
35470		invalidParams.Add(request.NewErrParamRequired("DomainId"))
35471	}
35472	if s.UserProfileName == nil {
35473		invalidParams.Add(request.NewErrParamRequired("UserProfileName"))
35474	}
35475
35476	if invalidParams.Len() > 0 {
35477		return invalidParams
35478	}
35479	return nil
35480}
35481
35482// SetAppName sets the AppName field's value.
35483func (s *DeleteAppInput) SetAppName(v string) *DeleteAppInput {
35484	s.AppName = &v
35485	return s
35486}
35487
35488// SetAppType sets the AppType field's value.
35489func (s *DeleteAppInput) SetAppType(v string) *DeleteAppInput {
35490	s.AppType = &v
35491	return s
35492}
35493
35494// SetDomainId sets the DomainId field's value.
35495func (s *DeleteAppInput) SetDomainId(v string) *DeleteAppInput {
35496	s.DomainId = &v
35497	return s
35498}
35499
35500// SetUserProfileName sets the UserProfileName field's value.
35501func (s *DeleteAppInput) SetUserProfileName(v string) *DeleteAppInput {
35502	s.UserProfileName = &v
35503	return s
35504}
35505
35506type DeleteAppOutput struct {
35507	_ struct{} `type:"structure"`
35508}
35509
35510// String returns the string representation
35511func (s DeleteAppOutput) String() string {
35512	return awsutil.Prettify(s)
35513}
35514
35515// GoString returns the string representation
35516func (s DeleteAppOutput) GoString() string {
35517	return s.String()
35518}
35519
35520type DeleteArtifactInput struct {
35521	_ struct{} `type:"structure"`
35522
35523	// The Amazon Resource Name (ARN) of the artifact to delete.
35524	ArtifactArn *string `type:"string"`
35525
35526	// The URI of the source.
35527	Source *ArtifactSource `type:"structure"`
35528}
35529
35530// String returns the string representation
35531func (s DeleteArtifactInput) String() string {
35532	return awsutil.Prettify(s)
35533}
35534
35535// GoString returns the string representation
35536func (s DeleteArtifactInput) GoString() string {
35537	return s.String()
35538}
35539
35540// Validate inspects the fields of the type to determine if they are valid.
35541func (s *DeleteArtifactInput) Validate() error {
35542	invalidParams := request.ErrInvalidParams{Context: "DeleteArtifactInput"}
35543	if s.Source != nil {
35544		if err := s.Source.Validate(); err != nil {
35545			invalidParams.AddNested("Source", err.(request.ErrInvalidParams))
35546		}
35547	}
35548
35549	if invalidParams.Len() > 0 {
35550		return invalidParams
35551	}
35552	return nil
35553}
35554
35555// SetArtifactArn sets the ArtifactArn field's value.
35556func (s *DeleteArtifactInput) SetArtifactArn(v string) *DeleteArtifactInput {
35557	s.ArtifactArn = &v
35558	return s
35559}
35560
35561// SetSource sets the Source field's value.
35562func (s *DeleteArtifactInput) SetSource(v *ArtifactSource) *DeleteArtifactInput {
35563	s.Source = v
35564	return s
35565}
35566
35567type DeleteArtifactOutput struct {
35568	_ struct{} `type:"structure"`
35569
35570	// The Amazon Resource Name (ARN) of the artifact.
35571	ArtifactArn *string `type:"string"`
35572}
35573
35574// String returns the string representation
35575func (s DeleteArtifactOutput) String() string {
35576	return awsutil.Prettify(s)
35577}
35578
35579// GoString returns the string representation
35580func (s DeleteArtifactOutput) GoString() string {
35581	return s.String()
35582}
35583
35584// SetArtifactArn sets the ArtifactArn field's value.
35585func (s *DeleteArtifactOutput) SetArtifactArn(v string) *DeleteArtifactOutput {
35586	s.ArtifactArn = &v
35587	return s
35588}
35589
35590type DeleteAssociationInput struct {
35591	_ struct{} `type:"structure"`
35592
35593	// The Amazon Resource Name (ARN) of the destination.
35594	//
35595	// DestinationArn is a required field
35596	DestinationArn *string `type:"string" required:"true"`
35597
35598	// The ARN of the source.
35599	//
35600	// SourceArn is a required field
35601	SourceArn *string `type:"string" required:"true"`
35602}
35603
35604// String returns the string representation
35605func (s DeleteAssociationInput) String() string {
35606	return awsutil.Prettify(s)
35607}
35608
35609// GoString returns the string representation
35610func (s DeleteAssociationInput) GoString() string {
35611	return s.String()
35612}
35613
35614// Validate inspects the fields of the type to determine if they are valid.
35615func (s *DeleteAssociationInput) Validate() error {
35616	invalidParams := request.ErrInvalidParams{Context: "DeleteAssociationInput"}
35617	if s.DestinationArn == nil {
35618		invalidParams.Add(request.NewErrParamRequired("DestinationArn"))
35619	}
35620	if s.SourceArn == nil {
35621		invalidParams.Add(request.NewErrParamRequired("SourceArn"))
35622	}
35623
35624	if invalidParams.Len() > 0 {
35625		return invalidParams
35626	}
35627	return nil
35628}
35629
35630// SetDestinationArn sets the DestinationArn field's value.
35631func (s *DeleteAssociationInput) SetDestinationArn(v string) *DeleteAssociationInput {
35632	s.DestinationArn = &v
35633	return s
35634}
35635
35636// SetSourceArn sets the SourceArn field's value.
35637func (s *DeleteAssociationInput) SetSourceArn(v string) *DeleteAssociationInput {
35638	s.SourceArn = &v
35639	return s
35640}
35641
35642type DeleteAssociationOutput struct {
35643	_ struct{} `type:"structure"`
35644
35645	// The Amazon Resource Name (ARN) of the destination.
35646	DestinationArn *string `type:"string"`
35647
35648	// The ARN of the source.
35649	SourceArn *string `type:"string"`
35650}
35651
35652// String returns the string representation
35653func (s DeleteAssociationOutput) String() string {
35654	return awsutil.Prettify(s)
35655}
35656
35657// GoString returns the string representation
35658func (s DeleteAssociationOutput) GoString() string {
35659	return s.String()
35660}
35661
35662// SetDestinationArn sets the DestinationArn field's value.
35663func (s *DeleteAssociationOutput) SetDestinationArn(v string) *DeleteAssociationOutput {
35664	s.DestinationArn = &v
35665	return s
35666}
35667
35668// SetSourceArn sets the SourceArn field's value.
35669func (s *DeleteAssociationOutput) SetSourceArn(v string) *DeleteAssociationOutput {
35670	s.SourceArn = &v
35671	return s
35672}
35673
35674type DeleteCodeRepositoryInput struct {
35675	_ struct{} `type:"structure"`
35676
35677	// The name of the Git repository to delete.
35678	//
35679	// CodeRepositoryName is a required field
35680	CodeRepositoryName *string `min:"1" type:"string" required:"true"`
35681}
35682
35683// String returns the string representation
35684func (s DeleteCodeRepositoryInput) String() string {
35685	return awsutil.Prettify(s)
35686}
35687
35688// GoString returns the string representation
35689func (s DeleteCodeRepositoryInput) GoString() string {
35690	return s.String()
35691}
35692
35693// Validate inspects the fields of the type to determine if they are valid.
35694func (s *DeleteCodeRepositoryInput) Validate() error {
35695	invalidParams := request.ErrInvalidParams{Context: "DeleteCodeRepositoryInput"}
35696	if s.CodeRepositoryName == nil {
35697		invalidParams.Add(request.NewErrParamRequired("CodeRepositoryName"))
35698	}
35699	if s.CodeRepositoryName != nil && len(*s.CodeRepositoryName) < 1 {
35700		invalidParams.Add(request.NewErrParamMinLen("CodeRepositoryName", 1))
35701	}
35702
35703	if invalidParams.Len() > 0 {
35704		return invalidParams
35705	}
35706	return nil
35707}
35708
35709// SetCodeRepositoryName sets the CodeRepositoryName field's value.
35710func (s *DeleteCodeRepositoryInput) SetCodeRepositoryName(v string) *DeleteCodeRepositoryInput {
35711	s.CodeRepositoryName = &v
35712	return s
35713}
35714
35715type DeleteCodeRepositoryOutput struct {
35716	_ struct{} `type:"structure"`
35717}
35718
35719// String returns the string representation
35720func (s DeleteCodeRepositoryOutput) String() string {
35721	return awsutil.Prettify(s)
35722}
35723
35724// GoString returns the string representation
35725func (s DeleteCodeRepositoryOutput) GoString() string {
35726	return s.String()
35727}
35728
35729type DeleteContextInput struct {
35730	_ struct{} `type:"structure"`
35731
35732	// The name of the context to delete.
35733	//
35734	// ContextName is a required field
35735	ContextName *string `min:"1" type:"string" required:"true"`
35736}
35737
35738// String returns the string representation
35739func (s DeleteContextInput) String() string {
35740	return awsutil.Prettify(s)
35741}
35742
35743// GoString returns the string representation
35744func (s DeleteContextInput) GoString() string {
35745	return s.String()
35746}
35747
35748// Validate inspects the fields of the type to determine if they are valid.
35749func (s *DeleteContextInput) Validate() error {
35750	invalidParams := request.ErrInvalidParams{Context: "DeleteContextInput"}
35751	if s.ContextName == nil {
35752		invalidParams.Add(request.NewErrParamRequired("ContextName"))
35753	}
35754	if s.ContextName != nil && len(*s.ContextName) < 1 {
35755		invalidParams.Add(request.NewErrParamMinLen("ContextName", 1))
35756	}
35757
35758	if invalidParams.Len() > 0 {
35759		return invalidParams
35760	}
35761	return nil
35762}
35763
35764// SetContextName sets the ContextName field's value.
35765func (s *DeleteContextInput) SetContextName(v string) *DeleteContextInput {
35766	s.ContextName = &v
35767	return s
35768}
35769
35770type DeleteContextOutput struct {
35771	_ struct{} `type:"structure"`
35772
35773	// The Amazon Resource Name (ARN) of the context.
35774	ContextArn *string `type:"string"`
35775}
35776
35777// String returns the string representation
35778func (s DeleteContextOutput) String() string {
35779	return awsutil.Prettify(s)
35780}
35781
35782// GoString returns the string representation
35783func (s DeleteContextOutput) GoString() string {
35784	return s.String()
35785}
35786
35787// SetContextArn sets the ContextArn field's value.
35788func (s *DeleteContextOutput) SetContextArn(v string) *DeleteContextOutput {
35789	s.ContextArn = &v
35790	return s
35791}
35792
35793type DeleteDataQualityJobDefinitionInput struct {
35794	_ struct{} `type:"structure"`
35795
35796	// The name of the data quality monitoring job definition to delete.
35797	//
35798	// JobDefinitionName is a required field
35799	JobDefinitionName *string `min:"1" type:"string" required:"true"`
35800}
35801
35802// String returns the string representation
35803func (s DeleteDataQualityJobDefinitionInput) String() string {
35804	return awsutil.Prettify(s)
35805}
35806
35807// GoString returns the string representation
35808func (s DeleteDataQualityJobDefinitionInput) GoString() string {
35809	return s.String()
35810}
35811
35812// Validate inspects the fields of the type to determine if they are valid.
35813func (s *DeleteDataQualityJobDefinitionInput) Validate() error {
35814	invalidParams := request.ErrInvalidParams{Context: "DeleteDataQualityJobDefinitionInput"}
35815	if s.JobDefinitionName == nil {
35816		invalidParams.Add(request.NewErrParamRequired("JobDefinitionName"))
35817	}
35818	if s.JobDefinitionName != nil && len(*s.JobDefinitionName) < 1 {
35819		invalidParams.Add(request.NewErrParamMinLen("JobDefinitionName", 1))
35820	}
35821
35822	if invalidParams.Len() > 0 {
35823		return invalidParams
35824	}
35825	return nil
35826}
35827
35828// SetJobDefinitionName sets the JobDefinitionName field's value.
35829func (s *DeleteDataQualityJobDefinitionInput) SetJobDefinitionName(v string) *DeleteDataQualityJobDefinitionInput {
35830	s.JobDefinitionName = &v
35831	return s
35832}
35833
35834type DeleteDataQualityJobDefinitionOutput struct {
35835	_ struct{} `type:"structure"`
35836}
35837
35838// String returns the string representation
35839func (s DeleteDataQualityJobDefinitionOutput) String() string {
35840	return awsutil.Prettify(s)
35841}
35842
35843// GoString returns the string representation
35844func (s DeleteDataQualityJobDefinitionOutput) GoString() string {
35845	return s.String()
35846}
35847
35848type DeleteDeviceFleetInput struct {
35849	_ struct{} `type:"structure"`
35850
35851	// The name of the fleet to delete.
35852	//
35853	// DeviceFleetName is a required field
35854	DeviceFleetName *string `min:"1" type:"string" required:"true"`
35855}
35856
35857// String returns the string representation
35858func (s DeleteDeviceFleetInput) String() string {
35859	return awsutil.Prettify(s)
35860}
35861
35862// GoString returns the string representation
35863func (s DeleteDeviceFleetInput) GoString() string {
35864	return s.String()
35865}
35866
35867// Validate inspects the fields of the type to determine if they are valid.
35868func (s *DeleteDeviceFleetInput) Validate() error {
35869	invalidParams := request.ErrInvalidParams{Context: "DeleteDeviceFleetInput"}
35870	if s.DeviceFleetName == nil {
35871		invalidParams.Add(request.NewErrParamRequired("DeviceFleetName"))
35872	}
35873	if s.DeviceFleetName != nil && len(*s.DeviceFleetName) < 1 {
35874		invalidParams.Add(request.NewErrParamMinLen("DeviceFleetName", 1))
35875	}
35876
35877	if invalidParams.Len() > 0 {
35878		return invalidParams
35879	}
35880	return nil
35881}
35882
35883// SetDeviceFleetName sets the DeviceFleetName field's value.
35884func (s *DeleteDeviceFleetInput) SetDeviceFleetName(v string) *DeleteDeviceFleetInput {
35885	s.DeviceFleetName = &v
35886	return s
35887}
35888
35889type DeleteDeviceFleetOutput struct {
35890	_ struct{} `type:"structure"`
35891}
35892
35893// String returns the string representation
35894func (s DeleteDeviceFleetOutput) String() string {
35895	return awsutil.Prettify(s)
35896}
35897
35898// GoString returns the string representation
35899func (s DeleteDeviceFleetOutput) GoString() string {
35900	return s.String()
35901}
35902
35903type DeleteDomainInput struct {
35904	_ struct{} `type:"structure"`
35905
35906	// The domain ID.
35907	//
35908	// DomainId is a required field
35909	DomainId *string `type:"string" required:"true"`
35910
35911	// The retention policy for this domain, which specifies whether resources will
35912	// be retained after the Domain is deleted. By default, all resources are retained
35913	// (not automatically deleted).
35914	RetentionPolicy *RetentionPolicy `type:"structure"`
35915}
35916
35917// String returns the string representation
35918func (s DeleteDomainInput) String() string {
35919	return awsutil.Prettify(s)
35920}
35921
35922// GoString returns the string representation
35923func (s DeleteDomainInput) GoString() string {
35924	return s.String()
35925}
35926
35927// Validate inspects the fields of the type to determine if they are valid.
35928func (s *DeleteDomainInput) Validate() error {
35929	invalidParams := request.ErrInvalidParams{Context: "DeleteDomainInput"}
35930	if s.DomainId == nil {
35931		invalidParams.Add(request.NewErrParamRequired("DomainId"))
35932	}
35933
35934	if invalidParams.Len() > 0 {
35935		return invalidParams
35936	}
35937	return nil
35938}
35939
35940// SetDomainId sets the DomainId field's value.
35941func (s *DeleteDomainInput) SetDomainId(v string) *DeleteDomainInput {
35942	s.DomainId = &v
35943	return s
35944}
35945
35946// SetRetentionPolicy sets the RetentionPolicy field's value.
35947func (s *DeleteDomainInput) SetRetentionPolicy(v *RetentionPolicy) *DeleteDomainInput {
35948	s.RetentionPolicy = v
35949	return s
35950}
35951
35952type DeleteDomainOutput struct {
35953	_ struct{} `type:"structure"`
35954}
35955
35956// String returns the string representation
35957func (s DeleteDomainOutput) String() string {
35958	return awsutil.Prettify(s)
35959}
35960
35961// GoString returns the string representation
35962func (s DeleteDomainOutput) GoString() string {
35963	return s.String()
35964}
35965
35966type DeleteEndpointConfigInput struct {
35967	_ struct{} `type:"structure"`
35968
35969	// The name of the endpoint configuration that you want to delete.
35970	//
35971	// EndpointConfigName is a required field
35972	EndpointConfigName *string `type:"string" required:"true"`
35973}
35974
35975// String returns the string representation
35976func (s DeleteEndpointConfigInput) String() string {
35977	return awsutil.Prettify(s)
35978}
35979
35980// GoString returns the string representation
35981func (s DeleteEndpointConfigInput) GoString() string {
35982	return s.String()
35983}
35984
35985// Validate inspects the fields of the type to determine if they are valid.
35986func (s *DeleteEndpointConfigInput) Validate() error {
35987	invalidParams := request.ErrInvalidParams{Context: "DeleteEndpointConfigInput"}
35988	if s.EndpointConfigName == nil {
35989		invalidParams.Add(request.NewErrParamRequired("EndpointConfigName"))
35990	}
35991
35992	if invalidParams.Len() > 0 {
35993		return invalidParams
35994	}
35995	return nil
35996}
35997
35998// SetEndpointConfigName sets the EndpointConfigName field's value.
35999func (s *DeleteEndpointConfigInput) SetEndpointConfigName(v string) *DeleteEndpointConfigInput {
36000	s.EndpointConfigName = &v
36001	return s
36002}
36003
36004type DeleteEndpointConfigOutput struct {
36005	_ struct{} `type:"structure"`
36006}
36007
36008// String returns the string representation
36009func (s DeleteEndpointConfigOutput) String() string {
36010	return awsutil.Prettify(s)
36011}
36012
36013// GoString returns the string representation
36014func (s DeleteEndpointConfigOutput) GoString() string {
36015	return s.String()
36016}
36017
36018type DeleteEndpointInput struct {
36019	_ struct{} `type:"structure"`
36020
36021	// The name of the endpoint that you want to delete.
36022	//
36023	// EndpointName is a required field
36024	EndpointName *string `type:"string" required:"true"`
36025}
36026
36027// String returns the string representation
36028func (s DeleteEndpointInput) String() string {
36029	return awsutil.Prettify(s)
36030}
36031
36032// GoString returns the string representation
36033func (s DeleteEndpointInput) GoString() string {
36034	return s.String()
36035}
36036
36037// Validate inspects the fields of the type to determine if they are valid.
36038func (s *DeleteEndpointInput) Validate() error {
36039	invalidParams := request.ErrInvalidParams{Context: "DeleteEndpointInput"}
36040	if s.EndpointName == nil {
36041		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
36042	}
36043
36044	if invalidParams.Len() > 0 {
36045		return invalidParams
36046	}
36047	return nil
36048}
36049
36050// SetEndpointName sets the EndpointName field's value.
36051func (s *DeleteEndpointInput) SetEndpointName(v string) *DeleteEndpointInput {
36052	s.EndpointName = &v
36053	return s
36054}
36055
36056type DeleteEndpointOutput struct {
36057	_ struct{} `type:"structure"`
36058}
36059
36060// String returns the string representation
36061func (s DeleteEndpointOutput) String() string {
36062	return awsutil.Prettify(s)
36063}
36064
36065// GoString returns the string representation
36066func (s DeleteEndpointOutput) GoString() string {
36067	return s.String()
36068}
36069
36070type DeleteExperimentInput struct {
36071	_ struct{} `type:"structure"`
36072
36073	// The name of the experiment to delete.
36074	//
36075	// ExperimentName is a required field
36076	ExperimentName *string `min:"1" type:"string" required:"true"`
36077}
36078
36079// String returns the string representation
36080func (s DeleteExperimentInput) String() string {
36081	return awsutil.Prettify(s)
36082}
36083
36084// GoString returns the string representation
36085func (s DeleteExperimentInput) GoString() string {
36086	return s.String()
36087}
36088
36089// Validate inspects the fields of the type to determine if they are valid.
36090func (s *DeleteExperimentInput) Validate() error {
36091	invalidParams := request.ErrInvalidParams{Context: "DeleteExperimentInput"}
36092	if s.ExperimentName == nil {
36093		invalidParams.Add(request.NewErrParamRequired("ExperimentName"))
36094	}
36095	if s.ExperimentName != nil && len(*s.ExperimentName) < 1 {
36096		invalidParams.Add(request.NewErrParamMinLen("ExperimentName", 1))
36097	}
36098
36099	if invalidParams.Len() > 0 {
36100		return invalidParams
36101	}
36102	return nil
36103}
36104
36105// SetExperimentName sets the ExperimentName field's value.
36106func (s *DeleteExperimentInput) SetExperimentName(v string) *DeleteExperimentInput {
36107	s.ExperimentName = &v
36108	return s
36109}
36110
36111type DeleteExperimentOutput struct {
36112	_ struct{} `type:"structure"`
36113
36114	// The Amazon Resource Name (ARN) of the experiment that is being deleted.
36115	ExperimentArn *string `type:"string"`
36116}
36117
36118// String returns the string representation
36119func (s DeleteExperimentOutput) String() string {
36120	return awsutil.Prettify(s)
36121}
36122
36123// GoString returns the string representation
36124func (s DeleteExperimentOutput) GoString() string {
36125	return s.String()
36126}
36127
36128// SetExperimentArn sets the ExperimentArn field's value.
36129func (s *DeleteExperimentOutput) SetExperimentArn(v string) *DeleteExperimentOutput {
36130	s.ExperimentArn = &v
36131	return s
36132}
36133
36134type DeleteFeatureGroupInput struct {
36135	_ struct{} `type:"structure"`
36136
36137	// The name of the FeatureGroup you want to delete. The name must be unique
36138	// within an AWS Region in an AWS account.
36139	//
36140	// FeatureGroupName is a required field
36141	FeatureGroupName *string `min:"1" type:"string" required:"true"`
36142}
36143
36144// String returns the string representation
36145func (s DeleteFeatureGroupInput) String() string {
36146	return awsutil.Prettify(s)
36147}
36148
36149// GoString returns the string representation
36150func (s DeleteFeatureGroupInput) GoString() string {
36151	return s.String()
36152}
36153
36154// Validate inspects the fields of the type to determine if they are valid.
36155func (s *DeleteFeatureGroupInput) Validate() error {
36156	invalidParams := request.ErrInvalidParams{Context: "DeleteFeatureGroupInput"}
36157	if s.FeatureGroupName == nil {
36158		invalidParams.Add(request.NewErrParamRequired("FeatureGroupName"))
36159	}
36160	if s.FeatureGroupName != nil && len(*s.FeatureGroupName) < 1 {
36161		invalidParams.Add(request.NewErrParamMinLen("FeatureGroupName", 1))
36162	}
36163
36164	if invalidParams.Len() > 0 {
36165		return invalidParams
36166	}
36167	return nil
36168}
36169
36170// SetFeatureGroupName sets the FeatureGroupName field's value.
36171func (s *DeleteFeatureGroupInput) SetFeatureGroupName(v string) *DeleteFeatureGroupInput {
36172	s.FeatureGroupName = &v
36173	return s
36174}
36175
36176type DeleteFeatureGroupOutput struct {
36177	_ struct{} `type:"structure"`
36178}
36179
36180// String returns the string representation
36181func (s DeleteFeatureGroupOutput) String() string {
36182	return awsutil.Prettify(s)
36183}
36184
36185// GoString returns the string representation
36186func (s DeleteFeatureGroupOutput) GoString() string {
36187	return s.String()
36188}
36189
36190type DeleteFlowDefinitionInput struct {
36191	_ struct{} `type:"structure"`
36192
36193	// The name of the flow definition you are deleting.
36194	//
36195	// FlowDefinitionName is a required field
36196	FlowDefinitionName *string `min:"1" type:"string" required:"true"`
36197}
36198
36199// String returns the string representation
36200func (s DeleteFlowDefinitionInput) String() string {
36201	return awsutil.Prettify(s)
36202}
36203
36204// GoString returns the string representation
36205func (s DeleteFlowDefinitionInput) GoString() string {
36206	return s.String()
36207}
36208
36209// Validate inspects the fields of the type to determine if they are valid.
36210func (s *DeleteFlowDefinitionInput) Validate() error {
36211	invalidParams := request.ErrInvalidParams{Context: "DeleteFlowDefinitionInput"}
36212	if s.FlowDefinitionName == nil {
36213		invalidParams.Add(request.NewErrParamRequired("FlowDefinitionName"))
36214	}
36215	if s.FlowDefinitionName != nil && len(*s.FlowDefinitionName) < 1 {
36216		invalidParams.Add(request.NewErrParamMinLen("FlowDefinitionName", 1))
36217	}
36218
36219	if invalidParams.Len() > 0 {
36220		return invalidParams
36221	}
36222	return nil
36223}
36224
36225// SetFlowDefinitionName sets the FlowDefinitionName field's value.
36226func (s *DeleteFlowDefinitionInput) SetFlowDefinitionName(v string) *DeleteFlowDefinitionInput {
36227	s.FlowDefinitionName = &v
36228	return s
36229}
36230
36231type DeleteFlowDefinitionOutput struct {
36232	_ struct{} `type:"structure"`
36233}
36234
36235// String returns the string representation
36236func (s DeleteFlowDefinitionOutput) String() string {
36237	return awsutil.Prettify(s)
36238}
36239
36240// GoString returns the string representation
36241func (s DeleteFlowDefinitionOutput) GoString() string {
36242	return s.String()
36243}
36244
36245type DeleteHumanTaskUiInput struct {
36246	_ struct{} `type:"structure"`
36247
36248	// The name of the human task user interface (work task template) you want to
36249	// delete.
36250	//
36251	// HumanTaskUiName is a required field
36252	HumanTaskUiName *string `min:"1" type:"string" required:"true"`
36253}
36254
36255// String returns the string representation
36256func (s DeleteHumanTaskUiInput) String() string {
36257	return awsutil.Prettify(s)
36258}
36259
36260// GoString returns the string representation
36261func (s DeleteHumanTaskUiInput) GoString() string {
36262	return s.String()
36263}
36264
36265// Validate inspects the fields of the type to determine if they are valid.
36266func (s *DeleteHumanTaskUiInput) Validate() error {
36267	invalidParams := request.ErrInvalidParams{Context: "DeleteHumanTaskUiInput"}
36268	if s.HumanTaskUiName == nil {
36269		invalidParams.Add(request.NewErrParamRequired("HumanTaskUiName"))
36270	}
36271	if s.HumanTaskUiName != nil && len(*s.HumanTaskUiName) < 1 {
36272		invalidParams.Add(request.NewErrParamMinLen("HumanTaskUiName", 1))
36273	}
36274
36275	if invalidParams.Len() > 0 {
36276		return invalidParams
36277	}
36278	return nil
36279}
36280
36281// SetHumanTaskUiName sets the HumanTaskUiName field's value.
36282func (s *DeleteHumanTaskUiInput) SetHumanTaskUiName(v string) *DeleteHumanTaskUiInput {
36283	s.HumanTaskUiName = &v
36284	return s
36285}
36286
36287type DeleteHumanTaskUiOutput struct {
36288	_ struct{} `type:"structure"`
36289}
36290
36291// String returns the string representation
36292func (s DeleteHumanTaskUiOutput) String() string {
36293	return awsutil.Prettify(s)
36294}
36295
36296// GoString returns the string representation
36297func (s DeleteHumanTaskUiOutput) GoString() string {
36298	return s.String()
36299}
36300
36301type DeleteImageInput struct {
36302	_ struct{} `type:"structure"`
36303
36304	// The name of the image to delete.
36305	//
36306	// ImageName is a required field
36307	ImageName *string `min:"1" type:"string" required:"true"`
36308}
36309
36310// String returns the string representation
36311func (s DeleteImageInput) String() string {
36312	return awsutil.Prettify(s)
36313}
36314
36315// GoString returns the string representation
36316func (s DeleteImageInput) GoString() string {
36317	return s.String()
36318}
36319
36320// Validate inspects the fields of the type to determine if they are valid.
36321func (s *DeleteImageInput) Validate() error {
36322	invalidParams := request.ErrInvalidParams{Context: "DeleteImageInput"}
36323	if s.ImageName == nil {
36324		invalidParams.Add(request.NewErrParamRequired("ImageName"))
36325	}
36326	if s.ImageName != nil && len(*s.ImageName) < 1 {
36327		invalidParams.Add(request.NewErrParamMinLen("ImageName", 1))
36328	}
36329
36330	if invalidParams.Len() > 0 {
36331		return invalidParams
36332	}
36333	return nil
36334}
36335
36336// SetImageName sets the ImageName field's value.
36337func (s *DeleteImageInput) SetImageName(v string) *DeleteImageInput {
36338	s.ImageName = &v
36339	return s
36340}
36341
36342type DeleteImageOutput struct {
36343	_ struct{} `type:"structure"`
36344}
36345
36346// String returns the string representation
36347func (s DeleteImageOutput) String() string {
36348	return awsutil.Prettify(s)
36349}
36350
36351// GoString returns the string representation
36352func (s DeleteImageOutput) GoString() string {
36353	return s.String()
36354}
36355
36356type DeleteImageVersionInput struct {
36357	_ struct{} `type:"structure"`
36358
36359	// The name of the image.
36360	//
36361	// ImageName is a required field
36362	ImageName *string `min:"1" type:"string" required:"true"`
36363
36364	// The version to delete.
36365	//
36366	// Version is a required field
36367	Version *int64 `type:"integer" required:"true"`
36368}
36369
36370// String returns the string representation
36371func (s DeleteImageVersionInput) String() string {
36372	return awsutil.Prettify(s)
36373}
36374
36375// GoString returns the string representation
36376func (s DeleteImageVersionInput) GoString() string {
36377	return s.String()
36378}
36379
36380// Validate inspects the fields of the type to determine if they are valid.
36381func (s *DeleteImageVersionInput) Validate() error {
36382	invalidParams := request.ErrInvalidParams{Context: "DeleteImageVersionInput"}
36383	if s.ImageName == nil {
36384		invalidParams.Add(request.NewErrParamRequired("ImageName"))
36385	}
36386	if s.ImageName != nil && len(*s.ImageName) < 1 {
36387		invalidParams.Add(request.NewErrParamMinLen("ImageName", 1))
36388	}
36389	if s.Version == nil {
36390		invalidParams.Add(request.NewErrParamRequired("Version"))
36391	}
36392
36393	if invalidParams.Len() > 0 {
36394		return invalidParams
36395	}
36396	return nil
36397}
36398
36399// SetImageName sets the ImageName field's value.
36400func (s *DeleteImageVersionInput) SetImageName(v string) *DeleteImageVersionInput {
36401	s.ImageName = &v
36402	return s
36403}
36404
36405// SetVersion sets the Version field's value.
36406func (s *DeleteImageVersionInput) SetVersion(v int64) *DeleteImageVersionInput {
36407	s.Version = &v
36408	return s
36409}
36410
36411type DeleteImageVersionOutput struct {
36412	_ struct{} `type:"structure"`
36413}
36414
36415// String returns the string representation
36416func (s DeleteImageVersionOutput) String() string {
36417	return awsutil.Prettify(s)
36418}
36419
36420// GoString returns the string representation
36421func (s DeleteImageVersionOutput) GoString() string {
36422	return s.String()
36423}
36424
36425type DeleteModelBiasJobDefinitionInput struct {
36426	_ struct{} `type:"structure"`
36427
36428	// The name of the model bias job definition to delete.
36429	//
36430	// JobDefinitionName is a required field
36431	JobDefinitionName *string `min:"1" type:"string" required:"true"`
36432}
36433
36434// String returns the string representation
36435func (s DeleteModelBiasJobDefinitionInput) String() string {
36436	return awsutil.Prettify(s)
36437}
36438
36439// GoString returns the string representation
36440func (s DeleteModelBiasJobDefinitionInput) GoString() string {
36441	return s.String()
36442}
36443
36444// Validate inspects the fields of the type to determine if they are valid.
36445func (s *DeleteModelBiasJobDefinitionInput) Validate() error {
36446	invalidParams := request.ErrInvalidParams{Context: "DeleteModelBiasJobDefinitionInput"}
36447	if s.JobDefinitionName == nil {
36448		invalidParams.Add(request.NewErrParamRequired("JobDefinitionName"))
36449	}
36450	if s.JobDefinitionName != nil && len(*s.JobDefinitionName) < 1 {
36451		invalidParams.Add(request.NewErrParamMinLen("JobDefinitionName", 1))
36452	}
36453
36454	if invalidParams.Len() > 0 {
36455		return invalidParams
36456	}
36457	return nil
36458}
36459
36460// SetJobDefinitionName sets the JobDefinitionName field's value.
36461func (s *DeleteModelBiasJobDefinitionInput) SetJobDefinitionName(v string) *DeleteModelBiasJobDefinitionInput {
36462	s.JobDefinitionName = &v
36463	return s
36464}
36465
36466type DeleteModelBiasJobDefinitionOutput struct {
36467	_ struct{} `type:"structure"`
36468}
36469
36470// String returns the string representation
36471func (s DeleteModelBiasJobDefinitionOutput) String() string {
36472	return awsutil.Prettify(s)
36473}
36474
36475// GoString returns the string representation
36476func (s DeleteModelBiasJobDefinitionOutput) GoString() string {
36477	return s.String()
36478}
36479
36480type DeleteModelExplainabilityJobDefinitionInput struct {
36481	_ struct{} `type:"structure"`
36482
36483	// The name of the model explainability job definition to delete.
36484	//
36485	// JobDefinitionName is a required field
36486	JobDefinitionName *string `min:"1" type:"string" required:"true"`
36487}
36488
36489// String returns the string representation
36490func (s DeleteModelExplainabilityJobDefinitionInput) String() string {
36491	return awsutil.Prettify(s)
36492}
36493
36494// GoString returns the string representation
36495func (s DeleteModelExplainabilityJobDefinitionInput) GoString() string {
36496	return s.String()
36497}
36498
36499// Validate inspects the fields of the type to determine if they are valid.
36500func (s *DeleteModelExplainabilityJobDefinitionInput) Validate() error {
36501	invalidParams := request.ErrInvalidParams{Context: "DeleteModelExplainabilityJobDefinitionInput"}
36502	if s.JobDefinitionName == nil {
36503		invalidParams.Add(request.NewErrParamRequired("JobDefinitionName"))
36504	}
36505	if s.JobDefinitionName != nil && len(*s.JobDefinitionName) < 1 {
36506		invalidParams.Add(request.NewErrParamMinLen("JobDefinitionName", 1))
36507	}
36508
36509	if invalidParams.Len() > 0 {
36510		return invalidParams
36511	}
36512	return nil
36513}
36514
36515// SetJobDefinitionName sets the JobDefinitionName field's value.
36516func (s *DeleteModelExplainabilityJobDefinitionInput) SetJobDefinitionName(v string) *DeleteModelExplainabilityJobDefinitionInput {
36517	s.JobDefinitionName = &v
36518	return s
36519}
36520
36521type DeleteModelExplainabilityJobDefinitionOutput struct {
36522	_ struct{} `type:"structure"`
36523}
36524
36525// String returns the string representation
36526func (s DeleteModelExplainabilityJobDefinitionOutput) String() string {
36527	return awsutil.Prettify(s)
36528}
36529
36530// GoString returns the string representation
36531func (s DeleteModelExplainabilityJobDefinitionOutput) GoString() string {
36532	return s.String()
36533}
36534
36535type DeleteModelInput struct {
36536	_ struct{} `type:"structure"`
36537
36538	// The name of the model to delete.
36539	//
36540	// ModelName is a required field
36541	ModelName *string `type:"string" required:"true"`
36542}
36543
36544// String returns the string representation
36545func (s DeleteModelInput) String() string {
36546	return awsutil.Prettify(s)
36547}
36548
36549// GoString returns the string representation
36550func (s DeleteModelInput) GoString() string {
36551	return s.String()
36552}
36553
36554// Validate inspects the fields of the type to determine if they are valid.
36555func (s *DeleteModelInput) Validate() error {
36556	invalidParams := request.ErrInvalidParams{Context: "DeleteModelInput"}
36557	if s.ModelName == nil {
36558		invalidParams.Add(request.NewErrParamRequired("ModelName"))
36559	}
36560
36561	if invalidParams.Len() > 0 {
36562		return invalidParams
36563	}
36564	return nil
36565}
36566
36567// SetModelName sets the ModelName field's value.
36568func (s *DeleteModelInput) SetModelName(v string) *DeleteModelInput {
36569	s.ModelName = &v
36570	return s
36571}
36572
36573type DeleteModelOutput struct {
36574	_ struct{} `type:"structure"`
36575}
36576
36577// String returns the string representation
36578func (s DeleteModelOutput) String() string {
36579	return awsutil.Prettify(s)
36580}
36581
36582// GoString returns the string representation
36583func (s DeleteModelOutput) GoString() string {
36584	return s.String()
36585}
36586
36587type DeleteModelPackageGroupInput struct {
36588	_ struct{} `type:"structure"`
36589
36590	// The name of the model group to delete.
36591	//
36592	// ModelPackageGroupName is a required field
36593	ModelPackageGroupName *string `min:"1" type:"string" required:"true"`
36594}
36595
36596// String returns the string representation
36597func (s DeleteModelPackageGroupInput) String() string {
36598	return awsutil.Prettify(s)
36599}
36600
36601// GoString returns the string representation
36602func (s DeleteModelPackageGroupInput) GoString() string {
36603	return s.String()
36604}
36605
36606// Validate inspects the fields of the type to determine if they are valid.
36607func (s *DeleteModelPackageGroupInput) Validate() error {
36608	invalidParams := request.ErrInvalidParams{Context: "DeleteModelPackageGroupInput"}
36609	if s.ModelPackageGroupName == nil {
36610		invalidParams.Add(request.NewErrParamRequired("ModelPackageGroupName"))
36611	}
36612	if s.ModelPackageGroupName != nil && len(*s.ModelPackageGroupName) < 1 {
36613		invalidParams.Add(request.NewErrParamMinLen("ModelPackageGroupName", 1))
36614	}
36615
36616	if invalidParams.Len() > 0 {
36617		return invalidParams
36618	}
36619	return nil
36620}
36621
36622// SetModelPackageGroupName sets the ModelPackageGroupName field's value.
36623func (s *DeleteModelPackageGroupInput) SetModelPackageGroupName(v string) *DeleteModelPackageGroupInput {
36624	s.ModelPackageGroupName = &v
36625	return s
36626}
36627
36628type DeleteModelPackageGroupOutput struct {
36629	_ struct{} `type:"structure"`
36630}
36631
36632// String returns the string representation
36633func (s DeleteModelPackageGroupOutput) String() string {
36634	return awsutil.Prettify(s)
36635}
36636
36637// GoString returns the string representation
36638func (s DeleteModelPackageGroupOutput) GoString() string {
36639	return s.String()
36640}
36641
36642type DeleteModelPackageGroupPolicyInput struct {
36643	_ struct{} `type:"structure"`
36644
36645	// The name of the model group for which to delete the policy.
36646	//
36647	// ModelPackageGroupName is a required field
36648	ModelPackageGroupName *string `min:"1" type:"string" required:"true"`
36649}
36650
36651// String returns the string representation
36652func (s DeleteModelPackageGroupPolicyInput) String() string {
36653	return awsutil.Prettify(s)
36654}
36655
36656// GoString returns the string representation
36657func (s DeleteModelPackageGroupPolicyInput) GoString() string {
36658	return s.String()
36659}
36660
36661// Validate inspects the fields of the type to determine if they are valid.
36662func (s *DeleteModelPackageGroupPolicyInput) Validate() error {
36663	invalidParams := request.ErrInvalidParams{Context: "DeleteModelPackageGroupPolicyInput"}
36664	if s.ModelPackageGroupName == nil {
36665		invalidParams.Add(request.NewErrParamRequired("ModelPackageGroupName"))
36666	}
36667	if s.ModelPackageGroupName != nil && len(*s.ModelPackageGroupName) < 1 {
36668		invalidParams.Add(request.NewErrParamMinLen("ModelPackageGroupName", 1))
36669	}
36670
36671	if invalidParams.Len() > 0 {
36672		return invalidParams
36673	}
36674	return nil
36675}
36676
36677// SetModelPackageGroupName sets the ModelPackageGroupName field's value.
36678func (s *DeleteModelPackageGroupPolicyInput) SetModelPackageGroupName(v string) *DeleteModelPackageGroupPolicyInput {
36679	s.ModelPackageGroupName = &v
36680	return s
36681}
36682
36683type DeleteModelPackageGroupPolicyOutput struct {
36684	_ struct{} `type:"structure"`
36685}
36686
36687// String returns the string representation
36688func (s DeleteModelPackageGroupPolicyOutput) String() string {
36689	return awsutil.Prettify(s)
36690}
36691
36692// GoString returns the string representation
36693func (s DeleteModelPackageGroupPolicyOutput) GoString() string {
36694	return s.String()
36695}
36696
36697type DeleteModelPackageInput struct {
36698	_ struct{} `type:"structure"`
36699
36700	// The name of the model package. The name must have 1 to 63 characters. Valid
36701	// characters are a-z, A-Z, 0-9, and - (hyphen).
36702	//
36703	// ModelPackageName is a required field
36704	ModelPackageName *string `min:"1" type:"string" required:"true"`
36705}
36706
36707// String returns the string representation
36708func (s DeleteModelPackageInput) String() string {
36709	return awsutil.Prettify(s)
36710}
36711
36712// GoString returns the string representation
36713func (s DeleteModelPackageInput) GoString() string {
36714	return s.String()
36715}
36716
36717// Validate inspects the fields of the type to determine if they are valid.
36718func (s *DeleteModelPackageInput) Validate() error {
36719	invalidParams := request.ErrInvalidParams{Context: "DeleteModelPackageInput"}
36720	if s.ModelPackageName == nil {
36721		invalidParams.Add(request.NewErrParamRequired("ModelPackageName"))
36722	}
36723	if s.ModelPackageName != nil && len(*s.ModelPackageName) < 1 {
36724		invalidParams.Add(request.NewErrParamMinLen("ModelPackageName", 1))
36725	}
36726
36727	if invalidParams.Len() > 0 {
36728		return invalidParams
36729	}
36730	return nil
36731}
36732
36733// SetModelPackageName sets the ModelPackageName field's value.
36734func (s *DeleteModelPackageInput) SetModelPackageName(v string) *DeleteModelPackageInput {
36735	s.ModelPackageName = &v
36736	return s
36737}
36738
36739type DeleteModelPackageOutput struct {
36740	_ struct{} `type:"structure"`
36741}
36742
36743// String returns the string representation
36744func (s DeleteModelPackageOutput) String() string {
36745	return awsutil.Prettify(s)
36746}
36747
36748// GoString returns the string representation
36749func (s DeleteModelPackageOutput) GoString() string {
36750	return s.String()
36751}
36752
36753type DeleteModelQualityJobDefinitionInput struct {
36754	_ struct{} `type:"structure"`
36755
36756	// The name of the model quality monitoring job definition to delete.
36757	//
36758	// JobDefinitionName is a required field
36759	JobDefinitionName *string `min:"1" type:"string" required:"true"`
36760}
36761
36762// String returns the string representation
36763func (s DeleteModelQualityJobDefinitionInput) String() string {
36764	return awsutil.Prettify(s)
36765}
36766
36767// GoString returns the string representation
36768func (s DeleteModelQualityJobDefinitionInput) GoString() string {
36769	return s.String()
36770}
36771
36772// Validate inspects the fields of the type to determine if they are valid.
36773func (s *DeleteModelQualityJobDefinitionInput) Validate() error {
36774	invalidParams := request.ErrInvalidParams{Context: "DeleteModelQualityJobDefinitionInput"}
36775	if s.JobDefinitionName == nil {
36776		invalidParams.Add(request.NewErrParamRequired("JobDefinitionName"))
36777	}
36778	if s.JobDefinitionName != nil && len(*s.JobDefinitionName) < 1 {
36779		invalidParams.Add(request.NewErrParamMinLen("JobDefinitionName", 1))
36780	}
36781
36782	if invalidParams.Len() > 0 {
36783		return invalidParams
36784	}
36785	return nil
36786}
36787
36788// SetJobDefinitionName sets the JobDefinitionName field's value.
36789func (s *DeleteModelQualityJobDefinitionInput) SetJobDefinitionName(v string) *DeleteModelQualityJobDefinitionInput {
36790	s.JobDefinitionName = &v
36791	return s
36792}
36793
36794type DeleteModelQualityJobDefinitionOutput struct {
36795	_ struct{} `type:"structure"`
36796}
36797
36798// String returns the string representation
36799func (s DeleteModelQualityJobDefinitionOutput) String() string {
36800	return awsutil.Prettify(s)
36801}
36802
36803// GoString returns the string representation
36804func (s DeleteModelQualityJobDefinitionOutput) GoString() string {
36805	return s.String()
36806}
36807
36808type DeleteMonitoringScheduleInput struct {
36809	_ struct{} `type:"structure"`
36810
36811	// The name of the monitoring schedule to delete.
36812	//
36813	// MonitoringScheduleName is a required field
36814	MonitoringScheduleName *string `min:"1" type:"string" required:"true"`
36815}
36816
36817// String returns the string representation
36818func (s DeleteMonitoringScheduleInput) String() string {
36819	return awsutil.Prettify(s)
36820}
36821
36822// GoString returns the string representation
36823func (s DeleteMonitoringScheduleInput) GoString() string {
36824	return s.String()
36825}
36826
36827// Validate inspects the fields of the type to determine if they are valid.
36828func (s *DeleteMonitoringScheduleInput) Validate() error {
36829	invalidParams := request.ErrInvalidParams{Context: "DeleteMonitoringScheduleInput"}
36830	if s.MonitoringScheduleName == nil {
36831		invalidParams.Add(request.NewErrParamRequired("MonitoringScheduleName"))
36832	}
36833	if s.MonitoringScheduleName != nil && len(*s.MonitoringScheduleName) < 1 {
36834		invalidParams.Add(request.NewErrParamMinLen("MonitoringScheduleName", 1))
36835	}
36836
36837	if invalidParams.Len() > 0 {
36838		return invalidParams
36839	}
36840	return nil
36841}
36842
36843// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
36844func (s *DeleteMonitoringScheduleInput) SetMonitoringScheduleName(v string) *DeleteMonitoringScheduleInput {
36845	s.MonitoringScheduleName = &v
36846	return s
36847}
36848
36849type DeleteMonitoringScheduleOutput struct {
36850	_ struct{} `type:"structure"`
36851}
36852
36853// String returns the string representation
36854func (s DeleteMonitoringScheduleOutput) String() string {
36855	return awsutil.Prettify(s)
36856}
36857
36858// GoString returns the string representation
36859func (s DeleteMonitoringScheduleOutput) GoString() string {
36860	return s.String()
36861}
36862
36863type DeleteNotebookInstanceInput struct {
36864	_ struct{} `type:"structure"`
36865
36866	// The name of the Amazon SageMaker notebook instance to delete.
36867	//
36868	// NotebookInstanceName is a required field
36869	NotebookInstanceName *string `type:"string" required:"true"`
36870}
36871
36872// String returns the string representation
36873func (s DeleteNotebookInstanceInput) String() string {
36874	return awsutil.Prettify(s)
36875}
36876
36877// GoString returns the string representation
36878func (s DeleteNotebookInstanceInput) GoString() string {
36879	return s.String()
36880}
36881
36882// Validate inspects the fields of the type to determine if they are valid.
36883func (s *DeleteNotebookInstanceInput) Validate() error {
36884	invalidParams := request.ErrInvalidParams{Context: "DeleteNotebookInstanceInput"}
36885	if s.NotebookInstanceName == nil {
36886		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName"))
36887	}
36888
36889	if invalidParams.Len() > 0 {
36890		return invalidParams
36891	}
36892	return nil
36893}
36894
36895// SetNotebookInstanceName sets the NotebookInstanceName field's value.
36896func (s *DeleteNotebookInstanceInput) SetNotebookInstanceName(v string) *DeleteNotebookInstanceInput {
36897	s.NotebookInstanceName = &v
36898	return s
36899}
36900
36901type DeleteNotebookInstanceLifecycleConfigInput struct {
36902	_ struct{} `type:"structure"`
36903
36904	// The name of the lifecycle configuration to delete.
36905	//
36906	// NotebookInstanceLifecycleConfigName is a required field
36907	NotebookInstanceLifecycleConfigName *string `type:"string" required:"true"`
36908}
36909
36910// String returns the string representation
36911func (s DeleteNotebookInstanceLifecycleConfigInput) String() string {
36912	return awsutil.Prettify(s)
36913}
36914
36915// GoString returns the string representation
36916func (s DeleteNotebookInstanceLifecycleConfigInput) GoString() string {
36917	return s.String()
36918}
36919
36920// Validate inspects the fields of the type to determine if they are valid.
36921func (s *DeleteNotebookInstanceLifecycleConfigInput) Validate() error {
36922	invalidParams := request.ErrInvalidParams{Context: "DeleteNotebookInstanceLifecycleConfigInput"}
36923	if s.NotebookInstanceLifecycleConfigName == nil {
36924		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceLifecycleConfigName"))
36925	}
36926
36927	if invalidParams.Len() > 0 {
36928		return invalidParams
36929	}
36930	return nil
36931}
36932
36933// SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value.
36934func (s *DeleteNotebookInstanceLifecycleConfigInput) SetNotebookInstanceLifecycleConfigName(v string) *DeleteNotebookInstanceLifecycleConfigInput {
36935	s.NotebookInstanceLifecycleConfigName = &v
36936	return s
36937}
36938
36939type DeleteNotebookInstanceLifecycleConfigOutput struct {
36940	_ struct{} `type:"structure"`
36941}
36942
36943// String returns the string representation
36944func (s DeleteNotebookInstanceLifecycleConfigOutput) String() string {
36945	return awsutil.Prettify(s)
36946}
36947
36948// GoString returns the string representation
36949func (s DeleteNotebookInstanceLifecycleConfigOutput) GoString() string {
36950	return s.String()
36951}
36952
36953type DeleteNotebookInstanceOutput struct {
36954	_ struct{} `type:"structure"`
36955}
36956
36957// String returns the string representation
36958func (s DeleteNotebookInstanceOutput) String() string {
36959	return awsutil.Prettify(s)
36960}
36961
36962// GoString returns the string representation
36963func (s DeleteNotebookInstanceOutput) GoString() string {
36964	return s.String()
36965}
36966
36967type DeletePipelineInput struct {
36968	_ struct{} `type:"structure"`
36969
36970	// A unique, case-sensitive identifier that you provide to ensure the idempotency
36971	// of the operation. An idempotent operation completes no more than one time.
36972	ClientRequestToken *string `min:"32" type:"string" idempotencyToken:"true"`
36973
36974	// The name of the pipeline to delete.
36975	//
36976	// PipelineName is a required field
36977	PipelineName *string `min:"1" type:"string" required:"true"`
36978}
36979
36980// String returns the string representation
36981func (s DeletePipelineInput) String() string {
36982	return awsutil.Prettify(s)
36983}
36984
36985// GoString returns the string representation
36986func (s DeletePipelineInput) GoString() string {
36987	return s.String()
36988}
36989
36990// Validate inspects the fields of the type to determine if they are valid.
36991func (s *DeletePipelineInput) Validate() error {
36992	invalidParams := request.ErrInvalidParams{Context: "DeletePipelineInput"}
36993	if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 32 {
36994		invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 32))
36995	}
36996	if s.PipelineName == nil {
36997		invalidParams.Add(request.NewErrParamRequired("PipelineName"))
36998	}
36999	if s.PipelineName != nil && len(*s.PipelineName) < 1 {
37000		invalidParams.Add(request.NewErrParamMinLen("PipelineName", 1))
37001	}
37002
37003	if invalidParams.Len() > 0 {
37004		return invalidParams
37005	}
37006	return nil
37007}
37008
37009// SetClientRequestToken sets the ClientRequestToken field's value.
37010func (s *DeletePipelineInput) SetClientRequestToken(v string) *DeletePipelineInput {
37011	s.ClientRequestToken = &v
37012	return s
37013}
37014
37015// SetPipelineName sets the PipelineName field's value.
37016func (s *DeletePipelineInput) SetPipelineName(v string) *DeletePipelineInput {
37017	s.PipelineName = &v
37018	return s
37019}
37020
37021type DeletePipelineOutput struct {
37022	_ struct{} `type:"structure"`
37023
37024	// The Amazon Resource Name (ARN) of the pipeline to delete.
37025	PipelineArn *string `type:"string"`
37026}
37027
37028// String returns the string representation
37029func (s DeletePipelineOutput) String() string {
37030	return awsutil.Prettify(s)
37031}
37032
37033// GoString returns the string representation
37034func (s DeletePipelineOutput) GoString() string {
37035	return s.String()
37036}
37037
37038// SetPipelineArn sets the PipelineArn field's value.
37039func (s *DeletePipelineOutput) SetPipelineArn(v string) *DeletePipelineOutput {
37040	s.PipelineArn = &v
37041	return s
37042}
37043
37044type DeleteProjectInput struct {
37045	_ struct{} `type:"structure"`
37046
37047	// The name of the project to delete.
37048	//
37049	// ProjectName is a required field
37050	ProjectName *string `min:"1" type:"string" required:"true"`
37051}
37052
37053// String returns the string representation
37054func (s DeleteProjectInput) String() string {
37055	return awsutil.Prettify(s)
37056}
37057
37058// GoString returns the string representation
37059func (s DeleteProjectInput) GoString() string {
37060	return s.String()
37061}
37062
37063// Validate inspects the fields of the type to determine if they are valid.
37064func (s *DeleteProjectInput) Validate() error {
37065	invalidParams := request.ErrInvalidParams{Context: "DeleteProjectInput"}
37066	if s.ProjectName == nil {
37067		invalidParams.Add(request.NewErrParamRequired("ProjectName"))
37068	}
37069	if s.ProjectName != nil && len(*s.ProjectName) < 1 {
37070		invalidParams.Add(request.NewErrParamMinLen("ProjectName", 1))
37071	}
37072
37073	if invalidParams.Len() > 0 {
37074		return invalidParams
37075	}
37076	return nil
37077}
37078
37079// SetProjectName sets the ProjectName field's value.
37080func (s *DeleteProjectInput) SetProjectName(v string) *DeleteProjectInput {
37081	s.ProjectName = &v
37082	return s
37083}
37084
37085type DeleteProjectOutput struct {
37086	_ struct{} `type:"structure"`
37087}
37088
37089// String returns the string representation
37090func (s DeleteProjectOutput) String() string {
37091	return awsutil.Prettify(s)
37092}
37093
37094// GoString returns the string representation
37095func (s DeleteProjectOutput) GoString() string {
37096	return s.String()
37097}
37098
37099type DeleteTagsInput struct {
37100	_ struct{} `type:"structure"`
37101
37102	// The Amazon Resource Name (ARN) of the resource whose tags you want to delete.
37103	//
37104	// ResourceArn is a required field
37105	ResourceArn *string `type:"string" required:"true"`
37106
37107	// An array or one or more tag keys to delete.
37108	//
37109	// TagKeys is a required field
37110	TagKeys []*string `min:"1" type:"list" required:"true"`
37111}
37112
37113// String returns the string representation
37114func (s DeleteTagsInput) String() string {
37115	return awsutil.Prettify(s)
37116}
37117
37118// GoString returns the string representation
37119func (s DeleteTagsInput) GoString() string {
37120	return s.String()
37121}
37122
37123// Validate inspects the fields of the type to determine if they are valid.
37124func (s *DeleteTagsInput) Validate() error {
37125	invalidParams := request.ErrInvalidParams{Context: "DeleteTagsInput"}
37126	if s.ResourceArn == nil {
37127		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
37128	}
37129	if s.TagKeys == nil {
37130		invalidParams.Add(request.NewErrParamRequired("TagKeys"))
37131	}
37132	if s.TagKeys != nil && len(s.TagKeys) < 1 {
37133		invalidParams.Add(request.NewErrParamMinLen("TagKeys", 1))
37134	}
37135
37136	if invalidParams.Len() > 0 {
37137		return invalidParams
37138	}
37139	return nil
37140}
37141
37142// SetResourceArn sets the ResourceArn field's value.
37143func (s *DeleteTagsInput) SetResourceArn(v string) *DeleteTagsInput {
37144	s.ResourceArn = &v
37145	return s
37146}
37147
37148// SetTagKeys sets the TagKeys field's value.
37149func (s *DeleteTagsInput) SetTagKeys(v []*string) *DeleteTagsInput {
37150	s.TagKeys = v
37151	return s
37152}
37153
37154type DeleteTagsOutput struct {
37155	_ struct{} `type:"structure"`
37156}
37157
37158// String returns the string representation
37159func (s DeleteTagsOutput) String() string {
37160	return awsutil.Prettify(s)
37161}
37162
37163// GoString returns the string representation
37164func (s DeleteTagsOutput) GoString() string {
37165	return s.String()
37166}
37167
37168type DeleteTrialComponentInput struct {
37169	_ struct{} `type:"structure"`
37170
37171	// The name of the component to delete.
37172	//
37173	// TrialComponentName is a required field
37174	TrialComponentName *string `min:"1" type:"string" required:"true"`
37175}
37176
37177// String returns the string representation
37178func (s DeleteTrialComponentInput) String() string {
37179	return awsutil.Prettify(s)
37180}
37181
37182// GoString returns the string representation
37183func (s DeleteTrialComponentInput) GoString() string {
37184	return s.String()
37185}
37186
37187// Validate inspects the fields of the type to determine if they are valid.
37188func (s *DeleteTrialComponentInput) Validate() error {
37189	invalidParams := request.ErrInvalidParams{Context: "DeleteTrialComponentInput"}
37190	if s.TrialComponentName == nil {
37191		invalidParams.Add(request.NewErrParamRequired("TrialComponentName"))
37192	}
37193	if s.TrialComponentName != nil && len(*s.TrialComponentName) < 1 {
37194		invalidParams.Add(request.NewErrParamMinLen("TrialComponentName", 1))
37195	}
37196
37197	if invalidParams.Len() > 0 {
37198		return invalidParams
37199	}
37200	return nil
37201}
37202
37203// SetTrialComponentName sets the TrialComponentName field's value.
37204func (s *DeleteTrialComponentInput) SetTrialComponentName(v string) *DeleteTrialComponentInput {
37205	s.TrialComponentName = &v
37206	return s
37207}
37208
37209type DeleteTrialComponentOutput struct {
37210	_ struct{} `type:"structure"`
37211
37212	// The Amazon Resource Name (ARN) of the component is being deleted.
37213	TrialComponentArn *string `type:"string"`
37214}
37215
37216// String returns the string representation
37217func (s DeleteTrialComponentOutput) String() string {
37218	return awsutil.Prettify(s)
37219}
37220
37221// GoString returns the string representation
37222func (s DeleteTrialComponentOutput) GoString() string {
37223	return s.String()
37224}
37225
37226// SetTrialComponentArn sets the TrialComponentArn field's value.
37227func (s *DeleteTrialComponentOutput) SetTrialComponentArn(v string) *DeleteTrialComponentOutput {
37228	s.TrialComponentArn = &v
37229	return s
37230}
37231
37232type DeleteTrialInput struct {
37233	_ struct{} `type:"structure"`
37234
37235	// The name of the trial to delete.
37236	//
37237	// TrialName is a required field
37238	TrialName *string `min:"1" type:"string" required:"true"`
37239}
37240
37241// String returns the string representation
37242func (s DeleteTrialInput) String() string {
37243	return awsutil.Prettify(s)
37244}
37245
37246// GoString returns the string representation
37247func (s DeleteTrialInput) GoString() string {
37248	return s.String()
37249}
37250
37251// Validate inspects the fields of the type to determine if they are valid.
37252func (s *DeleteTrialInput) Validate() error {
37253	invalidParams := request.ErrInvalidParams{Context: "DeleteTrialInput"}
37254	if s.TrialName == nil {
37255		invalidParams.Add(request.NewErrParamRequired("TrialName"))
37256	}
37257	if s.TrialName != nil && len(*s.TrialName) < 1 {
37258		invalidParams.Add(request.NewErrParamMinLen("TrialName", 1))
37259	}
37260
37261	if invalidParams.Len() > 0 {
37262		return invalidParams
37263	}
37264	return nil
37265}
37266
37267// SetTrialName sets the TrialName field's value.
37268func (s *DeleteTrialInput) SetTrialName(v string) *DeleteTrialInput {
37269	s.TrialName = &v
37270	return s
37271}
37272
37273type DeleteTrialOutput struct {
37274	_ struct{} `type:"structure"`
37275
37276	// The Amazon Resource Name (ARN) of the trial that is being deleted.
37277	TrialArn *string `type:"string"`
37278}
37279
37280// String returns the string representation
37281func (s DeleteTrialOutput) String() string {
37282	return awsutil.Prettify(s)
37283}
37284
37285// GoString returns the string representation
37286func (s DeleteTrialOutput) GoString() string {
37287	return s.String()
37288}
37289
37290// SetTrialArn sets the TrialArn field's value.
37291func (s *DeleteTrialOutput) SetTrialArn(v string) *DeleteTrialOutput {
37292	s.TrialArn = &v
37293	return s
37294}
37295
37296type DeleteUserProfileInput struct {
37297	_ struct{} `type:"structure"`
37298
37299	// The domain ID.
37300	//
37301	// DomainId is a required field
37302	DomainId *string `type:"string" required:"true"`
37303
37304	// The user profile name.
37305	//
37306	// UserProfileName is a required field
37307	UserProfileName *string `type:"string" required:"true"`
37308}
37309
37310// String returns the string representation
37311func (s DeleteUserProfileInput) String() string {
37312	return awsutil.Prettify(s)
37313}
37314
37315// GoString returns the string representation
37316func (s DeleteUserProfileInput) GoString() string {
37317	return s.String()
37318}
37319
37320// Validate inspects the fields of the type to determine if they are valid.
37321func (s *DeleteUserProfileInput) Validate() error {
37322	invalidParams := request.ErrInvalidParams{Context: "DeleteUserProfileInput"}
37323	if s.DomainId == nil {
37324		invalidParams.Add(request.NewErrParamRequired("DomainId"))
37325	}
37326	if s.UserProfileName == nil {
37327		invalidParams.Add(request.NewErrParamRequired("UserProfileName"))
37328	}
37329
37330	if invalidParams.Len() > 0 {
37331		return invalidParams
37332	}
37333	return nil
37334}
37335
37336// SetDomainId sets the DomainId field's value.
37337func (s *DeleteUserProfileInput) SetDomainId(v string) *DeleteUserProfileInput {
37338	s.DomainId = &v
37339	return s
37340}
37341
37342// SetUserProfileName sets the UserProfileName field's value.
37343func (s *DeleteUserProfileInput) SetUserProfileName(v string) *DeleteUserProfileInput {
37344	s.UserProfileName = &v
37345	return s
37346}
37347
37348type DeleteUserProfileOutput struct {
37349	_ struct{} `type:"structure"`
37350}
37351
37352// String returns the string representation
37353func (s DeleteUserProfileOutput) String() string {
37354	return awsutil.Prettify(s)
37355}
37356
37357// GoString returns the string representation
37358func (s DeleteUserProfileOutput) GoString() string {
37359	return s.String()
37360}
37361
37362type DeleteWorkforceInput struct {
37363	_ struct{} `type:"structure"`
37364
37365	// The name of the workforce.
37366	//
37367	// WorkforceName is a required field
37368	WorkforceName *string `min:"1" type:"string" required:"true"`
37369}
37370
37371// String returns the string representation
37372func (s DeleteWorkforceInput) String() string {
37373	return awsutil.Prettify(s)
37374}
37375
37376// GoString returns the string representation
37377func (s DeleteWorkforceInput) GoString() string {
37378	return s.String()
37379}
37380
37381// Validate inspects the fields of the type to determine if they are valid.
37382func (s *DeleteWorkforceInput) Validate() error {
37383	invalidParams := request.ErrInvalidParams{Context: "DeleteWorkforceInput"}
37384	if s.WorkforceName == nil {
37385		invalidParams.Add(request.NewErrParamRequired("WorkforceName"))
37386	}
37387	if s.WorkforceName != nil && len(*s.WorkforceName) < 1 {
37388		invalidParams.Add(request.NewErrParamMinLen("WorkforceName", 1))
37389	}
37390
37391	if invalidParams.Len() > 0 {
37392		return invalidParams
37393	}
37394	return nil
37395}
37396
37397// SetWorkforceName sets the WorkforceName field's value.
37398func (s *DeleteWorkforceInput) SetWorkforceName(v string) *DeleteWorkforceInput {
37399	s.WorkforceName = &v
37400	return s
37401}
37402
37403type DeleteWorkforceOutput struct {
37404	_ struct{} `type:"structure"`
37405}
37406
37407// String returns the string representation
37408func (s DeleteWorkforceOutput) String() string {
37409	return awsutil.Prettify(s)
37410}
37411
37412// GoString returns the string representation
37413func (s DeleteWorkforceOutput) GoString() string {
37414	return s.String()
37415}
37416
37417type DeleteWorkteamInput struct {
37418	_ struct{} `type:"structure"`
37419
37420	// The name of the work team to delete.
37421	//
37422	// WorkteamName is a required field
37423	WorkteamName *string `min:"1" type:"string" required:"true"`
37424}
37425
37426// String returns the string representation
37427func (s DeleteWorkteamInput) String() string {
37428	return awsutil.Prettify(s)
37429}
37430
37431// GoString returns the string representation
37432func (s DeleteWorkteamInput) GoString() string {
37433	return s.String()
37434}
37435
37436// Validate inspects the fields of the type to determine if they are valid.
37437func (s *DeleteWorkteamInput) Validate() error {
37438	invalidParams := request.ErrInvalidParams{Context: "DeleteWorkteamInput"}
37439	if s.WorkteamName == nil {
37440		invalidParams.Add(request.NewErrParamRequired("WorkteamName"))
37441	}
37442	if s.WorkteamName != nil && len(*s.WorkteamName) < 1 {
37443		invalidParams.Add(request.NewErrParamMinLen("WorkteamName", 1))
37444	}
37445
37446	if invalidParams.Len() > 0 {
37447		return invalidParams
37448	}
37449	return nil
37450}
37451
37452// SetWorkteamName sets the WorkteamName field's value.
37453func (s *DeleteWorkteamInput) SetWorkteamName(v string) *DeleteWorkteamInput {
37454	s.WorkteamName = &v
37455	return s
37456}
37457
37458type DeleteWorkteamOutput struct {
37459	_ struct{} `type:"structure"`
37460
37461	// Returns true if the work team was successfully deleted; otherwise, returns
37462	// false.
37463	//
37464	// Success is a required field
37465	Success *bool `type:"boolean" required:"true"`
37466}
37467
37468// String returns the string representation
37469func (s DeleteWorkteamOutput) String() string {
37470	return awsutil.Prettify(s)
37471}
37472
37473// GoString returns the string representation
37474func (s DeleteWorkteamOutput) GoString() string {
37475	return s.String()
37476}
37477
37478// SetSuccess sets the Success field's value.
37479func (s *DeleteWorkteamOutput) SetSuccess(v bool) *DeleteWorkteamOutput {
37480	s.Success = &v
37481	return s
37482}
37483
37484// Gets the Amazon EC2 Container Registry path of the docker image of the model
37485// that is hosted in this ProductionVariant.
37486//
37487// If you used the registry/repository[:tag] form to specify the image path
37488// of the primary container when you created the model hosted in this ProductionVariant,
37489// the path resolves to a path of the form registry/repository[@digest]. A digest
37490// is a hash value that identifies a specific version of an image. For information
37491// about Amazon ECR paths, see Pulling an Image (https://docs.aws.amazon.com/AmazonECR/latest/userguide/docker-pull-ecr-image.html)
37492// in the Amazon ECR User Guide.
37493type DeployedImage struct {
37494	_ struct{} `type:"structure"`
37495
37496	// The date and time when the image path for the model resolved to the ResolvedImage
37497	ResolutionTime *time.Time `type:"timestamp"`
37498
37499	// The specific digest path of the image hosted in this ProductionVariant.
37500	ResolvedImage *string `type:"string"`
37501
37502	// The image path you specified when you created the model.
37503	SpecifiedImage *string `type:"string"`
37504}
37505
37506// String returns the string representation
37507func (s DeployedImage) String() string {
37508	return awsutil.Prettify(s)
37509}
37510
37511// GoString returns the string representation
37512func (s DeployedImage) GoString() string {
37513	return s.String()
37514}
37515
37516// SetResolutionTime sets the ResolutionTime field's value.
37517func (s *DeployedImage) SetResolutionTime(v time.Time) *DeployedImage {
37518	s.ResolutionTime = &v
37519	return s
37520}
37521
37522// SetResolvedImage sets the ResolvedImage field's value.
37523func (s *DeployedImage) SetResolvedImage(v string) *DeployedImage {
37524	s.ResolvedImage = &v
37525	return s
37526}
37527
37528// SetSpecifiedImage sets the SpecifiedImage field's value.
37529func (s *DeployedImage) SetSpecifiedImage(v string) *DeployedImage {
37530	s.SpecifiedImage = &v
37531	return s
37532}
37533
37534// Currently, the DeploymentConfig API is not supported.
37535type DeploymentConfig struct {
37536	_ struct{} `type:"structure"`
37537
37538	// Currently, the AutoRollbackConfig API is not supported.
37539	AutoRollbackConfiguration *AutoRollbackConfig `type:"structure"`
37540
37541	// Currently, the BlueGreenUpdatePolicy API is not supported.
37542	//
37543	// BlueGreenUpdatePolicy is a required field
37544	BlueGreenUpdatePolicy *BlueGreenUpdatePolicy `type:"structure" required:"true"`
37545}
37546
37547// String returns the string representation
37548func (s DeploymentConfig) String() string {
37549	return awsutil.Prettify(s)
37550}
37551
37552// GoString returns the string representation
37553func (s DeploymentConfig) GoString() string {
37554	return s.String()
37555}
37556
37557// Validate inspects the fields of the type to determine if they are valid.
37558func (s *DeploymentConfig) Validate() error {
37559	invalidParams := request.ErrInvalidParams{Context: "DeploymentConfig"}
37560	if s.BlueGreenUpdatePolicy == nil {
37561		invalidParams.Add(request.NewErrParamRequired("BlueGreenUpdatePolicy"))
37562	}
37563	if s.AutoRollbackConfiguration != nil {
37564		if err := s.AutoRollbackConfiguration.Validate(); err != nil {
37565			invalidParams.AddNested("AutoRollbackConfiguration", err.(request.ErrInvalidParams))
37566		}
37567	}
37568	if s.BlueGreenUpdatePolicy != nil {
37569		if err := s.BlueGreenUpdatePolicy.Validate(); err != nil {
37570			invalidParams.AddNested("BlueGreenUpdatePolicy", err.(request.ErrInvalidParams))
37571		}
37572	}
37573
37574	if invalidParams.Len() > 0 {
37575		return invalidParams
37576	}
37577	return nil
37578}
37579
37580// SetAutoRollbackConfiguration sets the AutoRollbackConfiguration field's value.
37581func (s *DeploymentConfig) SetAutoRollbackConfiguration(v *AutoRollbackConfig) *DeploymentConfig {
37582	s.AutoRollbackConfiguration = v
37583	return s
37584}
37585
37586// SetBlueGreenUpdatePolicy sets the BlueGreenUpdatePolicy field's value.
37587func (s *DeploymentConfig) SetBlueGreenUpdatePolicy(v *BlueGreenUpdatePolicy) *DeploymentConfig {
37588	s.BlueGreenUpdatePolicy = v
37589	return s
37590}
37591
37592type DeregisterDevicesInput struct {
37593	_ struct{} `type:"structure"`
37594
37595	// The name of the fleet the devices belong to.
37596	//
37597	// DeviceFleetName is a required field
37598	DeviceFleetName *string `min:"1" type:"string" required:"true"`
37599
37600	// The unique IDs of the devices.
37601	//
37602	// DeviceNames is a required field
37603	DeviceNames []*string `type:"list" required:"true"`
37604}
37605
37606// String returns the string representation
37607func (s DeregisterDevicesInput) String() string {
37608	return awsutil.Prettify(s)
37609}
37610
37611// GoString returns the string representation
37612func (s DeregisterDevicesInput) GoString() string {
37613	return s.String()
37614}
37615
37616// Validate inspects the fields of the type to determine if they are valid.
37617func (s *DeregisterDevicesInput) Validate() error {
37618	invalidParams := request.ErrInvalidParams{Context: "DeregisterDevicesInput"}
37619	if s.DeviceFleetName == nil {
37620		invalidParams.Add(request.NewErrParamRequired("DeviceFleetName"))
37621	}
37622	if s.DeviceFleetName != nil && len(*s.DeviceFleetName) < 1 {
37623		invalidParams.Add(request.NewErrParamMinLen("DeviceFleetName", 1))
37624	}
37625	if s.DeviceNames == nil {
37626		invalidParams.Add(request.NewErrParamRequired("DeviceNames"))
37627	}
37628
37629	if invalidParams.Len() > 0 {
37630		return invalidParams
37631	}
37632	return nil
37633}
37634
37635// SetDeviceFleetName sets the DeviceFleetName field's value.
37636func (s *DeregisterDevicesInput) SetDeviceFleetName(v string) *DeregisterDevicesInput {
37637	s.DeviceFleetName = &v
37638	return s
37639}
37640
37641// SetDeviceNames sets the DeviceNames field's value.
37642func (s *DeregisterDevicesInput) SetDeviceNames(v []*string) *DeregisterDevicesInput {
37643	s.DeviceNames = v
37644	return s
37645}
37646
37647type DeregisterDevicesOutput struct {
37648	_ struct{} `type:"structure"`
37649}
37650
37651// String returns the string representation
37652func (s DeregisterDevicesOutput) String() string {
37653	return awsutil.Prettify(s)
37654}
37655
37656// GoString returns the string representation
37657func (s DeregisterDevicesOutput) GoString() string {
37658	return s.String()
37659}
37660
37661type DescribeActionInput struct {
37662	_ struct{} `type:"structure"`
37663
37664	// The name of the action to describe.
37665	//
37666	// ActionName is a required field
37667	ActionName *string `min:"1" type:"string" required:"true"`
37668}
37669
37670// String returns the string representation
37671func (s DescribeActionInput) String() string {
37672	return awsutil.Prettify(s)
37673}
37674
37675// GoString returns the string representation
37676func (s DescribeActionInput) GoString() string {
37677	return s.String()
37678}
37679
37680// Validate inspects the fields of the type to determine if they are valid.
37681func (s *DescribeActionInput) Validate() error {
37682	invalidParams := request.ErrInvalidParams{Context: "DescribeActionInput"}
37683	if s.ActionName == nil {
37684		invalidParams.Add(request.NewErrParamRequired("ActionName"))
37685	}
37686	if s.ActionName != nil && len(*s.ActionName) < 1 {
37687		invalidParams.Add(request.NewErrParamMinLen("ActionName", 1))
37688	}
37689
37690	if invalidParams.Len() > 0 {
37691		return invalidParams
37692	}
37693	return nil
37694}
37695
37696// SetActionName sets the ActionName field's value.
37697func (s *DescribeActionInput) SetActionName(v string) *DescribeActionInput {
37698	s.ActionName = &v
37699	return s
37700}
37701
37702type DescribeActionOutput struct {
37703	_ struct{} `type:"structure"`
37704
37705	// The Amazon Resource Name (ARN) of the action.
37706	ActionArn *string `type:"string"`
37707
37708	// The name of the action.
37709	ActionName *string `min:"1" type:"string"`
37710
37711	// The type of the action.
37712	ActionType *string `type:"string"`
37713
37714	// Information about the user who created or modified an experiment, trial,
37715	// or trial component.
37716	CreatedBy *UserContext `type:"structure"`
37717
37718	// When the action was created.
37719	CreationTime *time.Time `type:"timestamp"`
37720
37721	// The description of the action.
37722	Description *string `type:"string"`
37723
37724	// Information about the user who created or modified an experiment, trial,
37725	// or trial component.
37726	LastModifiedBy *UserContext `type:"structure"`
37727
37728	// When the action was last modified.
37729	LastModifiedTime *time.Time `type:"timestamp"`
37730
37731	// Metadata properties of the tracking entity, trial, or trial component.
37732	MetadataProperties *MetadataProperties `type:"structure"`
37733
37734	// A list of the action's properties.
37735	Properties map[string]*string `type:"map"`
37736
37737	// The source of the action.
37738	Source *ActionSource `type:"structure"`
37739
37740	// The status of the action.
37741	Status *string `type:"string" enum:"ActionStatus"`
37742}
37743
37744// String returns the string representation
37745func (s DescribeActionOutput) String() string {
37746	return awsutil.Prettify(s)
37747}
37748
37749// GoString returns the string representation
37750func (s DescribeActionOutput) GoString() string {
37751	return s.String()
37752}
37753
37754// SetActionArn sets the ActionArn field's value.
37755func (s *DescribeActionOutput) SetActionArn(v string) *DescribeActionOutput {
37756	s.ActionArn = &v
37757	return s
37758}
37759
37760// SetActionName sets the ActionName field's value.
37761func (s *DescribeActionOutput) SetActionName(v string) *DescribeActionOutput {
37762	s.ActionName = &v
37763	return s
37764}
37765
37766// SetActionType sets the ActionType field's value.
37767func (s *DescribeActionOutput) SetActionType(v string) *DescribeActionOutput {
37768	s.ActionType = &v
37769	return s
37770}
37771
37772// SetCreatedBy sets the CreatedBy field's value.
37773func (s *DescribeActionOutput) SetCreatedBy(v *UserContext) *DescribeActionOutput {
37774	s.CreatedBy = v
37775	return s
37776}
37777
37778// SetCreationTime sets the CreationTime field's value.
37779func (s *DescribeActionOutput) SetCreationTime(v time.Time) *DescribeActionOutput {
37780	s.CreationTime = &v
37781	return s
37782}
37783
37784// SetDescription sets the Description field's value.
37785func (s *DescribeActionOutput) SetDescription(v string) *DescribeActionOutput {
37786	s.Description = &v
37787	return s
37788}
37789
37790// SetLastModifiedBy sets the LastModifiedBy field's value.
37791func (s *DescribeActionOutput) SetLastModifiedBy(v *UserContext) *DescribeActionOutput {
37792	s.LastModifiedBy = v
37793	return s
37794}
37795
37796// SetLastModifiedTime sets the LastModifiedTime field's value.
37797func (s *DescribeActionOutput) SetLastModifiedTime(v time.Time) *DescribeActionOutput {
37798	s.LastModifiedTime = &v
37799	return s
37800}
37801
37802// SetMetadataProperties sets the MetadataProperties field's value.
37803func (s *DescribeActionOutput) SetMetadataProperties(v *MetadataProperties) *DescribeActionOutput {
37804	s.MetadataProperties = v
37805	return s
37806}
37807
37808// SetProperties sets the Properties field's value.
37809func (s *DescribeActionOutput) SetProperties(v map[string]*string) *DescribeActionOutput {
37810	s.Properties = v
37811	return s
37812}
37813
37814// SetSource sets the Source field's value.
37815func (s *DescribeActionOutput) SetSource(v *ActionSource) *DescribeActionOutput {
37816	s.Source = v
37817	return s
37818}
37819
37820// SetStatus sets the Status field's value.
37821func (s *DescribeActionOutput) SetStatus(v string) *DescribeActionOutput {
37822	s.Status = &v
37823	return s
37824}
37825
37826type DescribeAlgorithmInput struct {
37827	_ struct{} `type:"structure"`
37828
37829	// The name of the algorithm to describe.
37830	//
37831	// AlgorithmName is a required field
37832	AlgorithmName *string `min:"1" type:"string" required:"true"`
37833}
37834
37835// String returns the string representation
37836func (s DescribeAlgorithmInput) String() string {
37837	return awsutil.Prettify(s)
37838}
37839
37840// GoString returns the string representation
37841func (s DescribeAlgorithmInput) GoString() string {
37842	return s.String()
37843}
37844
37845// Validate inspects the fields of the type to determine if they are valid.
37846func (s *DescribeAlgorithmInput) Validate() error {
37847	invalidParams := request.ErrInvalidParams{Context: "DescribeAlgorithmInput"}
37848	if s.AlgorithmName == nil {
37849		invalidParams.Add(request.NewErrParamRequired("AlgorithmName"))
37850	}
37851	if s.AlgorithmName != nil && len(*s.AlgorithmName) < 1 {
37852		invalidParams.Add(request.NewErrParamMinLen("AlgorithmName", 1))
37853	}
37854
37855	if invalidParams.Len() > 0 {
37856		return invalidParams
37857	}
37858	return nil
37859}
37860
37861// SetAlgorithmName sets the AlgorithmName field's value.
37862func (s *DescribeAlgorithmInput) SetAlgorithmName(v string) *DescribeAlgorithmInput {
37863	s.AlgorithmName = &v
37864	return s
37865}
37866
37867type DescribeAlgorithmOutput struct {
37868	_ struct{} `type:"structure"`
37869
37870	// The Amazon Resource Name (ARN) of the algorithm.
37871	//
37872	// AlgorithmArn is a required field
37873	AlgorithmArn *string `min:"1" type:"string" required:"true"`
37874
37875	// A brief summary about the algorithm.
37876	AlgorithmDescription *string `type:"string"`
37877
37878	// The name of the algorithm being described.
37879	//
37880	// AlgorithmName is a required field
37881	AlgorithmName *string `min:"1" type:"string" required:"true"`
37882
37883	// The current status of the algorithm.
37884	//
37885	// AlgorithmStatus is a required field
37886	AlgorithmStatus *string `type:"string" required:"true" enum:"AlgorithmStatus"`
37887
37888	// Details about the current status of the algorithm.
37889	//
37890	// AlgorithmStatusDetails is a required field
37891	AlgorithmStatusDetails *AlgorithmStatusDetails `type:"structure" required:"true"`
37892
37893	// Whether the algorithm is certified to be listed in AWS Marketplace.
37894	CertifyForMarketplace *bool `type:"boolean"`
37895
37896	// A timestamp specifying when the algorithm was created.
37897	//
37898	// CreationTime is a required field
37899	CreationTime *time.Time `type:"timestamp" required:"true"`
37900
37901	// Details about inference jobs that the algorithm runs.
37902	InferenceSpecification *InferenceSpecification `type:"structure"`
37903
37904	// The product identifier of the algorithm.
37905	ProductId *string `type:"string"`
37906
37907	// Details about training jobs run by this algorithm.
37908	//
37909	// TrainingSpecification is a required field
37910	TrainingSpecification *TrainingSpecification `type:"structure" required:"true"`
37911
37912	// Details about configurations for one or more training jobs that Amazon SageMaker
37913	// runs to test the algorithm.
37914	ValidationSpecification *AlgorithmValidationSpecification `type:"structure"`
37915}
37916
37917// String returns the string representation
37918func (s DescribeAlgorithmOutput) String() string {
37919	return awsutil.Prettify(s)
37920}
37921
37922// GoString returns the string representation
37923func (s DescribeAlgorithmOutput) GoString() string {
37924	return s.String()
37925}
37926
37927// SetAlgorithmArn sets the AlgorithmArn field's value.
37928func (s *DescribeAlgorithmOutput) SetAlgorithmArn(v string) *DescribeAlgorithmOutput {
37929	s.AlgorithmArn = &v
37930	return s
37931}
37932
37933// SetAlgorithmDescription sets the AlgorithmDescription field's value.
37934func (s *DescribeAlgorithmOutput) SetAlgorithmDescription(v string) *DescribeAlgorithmOutput {
37935	s.AlgorithmDescription = &v
37936	return s
37937}
37938
37939// SetAlgorithmName sets the AlgorithmName field's value.
37940func (s *DescribeAlgorithmOutput) SetAlgorithmName(v string) *DescribeAlgorithmOutput {
37941	s.AlgorithmName = &v
37942	return s
37943}
37944
37945// SetAlgorithmStatus sets the AlgorithmStatus field's value.
37946func (s *DescribeAlgorithmOutput) SetAlgorithmStatus(v string) *DescribeAlgorithmOutput {
37947	s.AlgorithmStatus = &v
37948	return s
37949}
37950
37951// SetAlgorithmStatusDetails sets the AlgorithmStatusDetails field's value.
37952func (s *DescribeAlgorithmOutput) SetAlgorithmStatusDetails(v *AlgorithmStatusDetails) *DescribeAlgorithmOutput {
37953	s.AlgorithmStatusDetails = v
37954	return s
37955}
37956
37957// SetCertifyForMarketplace sets the CertifyForMarketplace field's value.
37958func (s *DescribeAlgorithmOutput) SetCertifyForMarketplace(v bool) *DescribeAlgorithmOutput {
37959	s.CertifyForMarketplace = &v
37960	return s
37961}
37962
37963// SetCreationTime sets the CreationTime field's value.
37964func (s *DescribeAlgorithmOutput) SetCreationTime(v time.Time) *DescribeAlgorithmOutput {
37965	s.CreationTime = &v
37966	return s
37967}
37968
37969// SetInferenceSpecification sets the InferenceSpecification field's value.
37970func (s *DescribeAlgorithmOutput) SetInferenceSpecification(v *InferenceSpecification) *DescribeAlgorithmOutput {
37971	s.InferenceSpecification = v
37972	return s
37973}
37974
37975// SetProductId sets the ProductId field's value.
37976func (s *DescribeAlgorithmOutput) SetProductId(v string) *DescribeAlgorithmOutput {
37977	s.ProductId = &v
37978	return s
37979}
37980
37981// SetTrainingSpecification sets the TrainingSpecification field's value.
37982func (s *DescribeAlgorithmOutput) SetTrainingSpecification(v *TrainingSpecification) *DescribeAlgorithmOutput {
37983	s.TrainingSpecification = v
37984	return s
37985}
37986
37987// SetValidationSpecification sets the ValidationSpecification field's value.
37988func (s *DescribeAlgorithmOutput) SetValidationSpecification(v *AlgorithmValidationSpecification) *DescribeAlgorithmOutput {
37989	s.ValidationSpecification = v
37990	return s
37991}
37992
37993type DescribeAppImageConfigInput struct {
37994	_ struct{} `type:"structure"`
37995
37996	// The name of the AppImageConfig to describe.
37997	//
37998	// AppImageConfigName is a required field
37999	AppImageConfigName *string `type:"string" required:"true"`
38000}
38001
38002// String returns the string representation
38003func (s DescribeAppImageConfigInput) String() string {
38004	return awsutil.Prettify(s)
38005}
38006
38007// GoString returns the string representation
38008func (s DescribeAppImageConfigInput) GoString() string {
38009	return s.String()
38010}
38011
38012// Validate inspects the fields of the type to determine if they are valid.
38013func (s *DescribeAppImageConfigInput) Validate() error {
38014	invalidParams := request.ErrInvalidParams{Context: "DescribeAppImageConfigInput"}
38015	if s.AppImageConfigName == nil {
38016		invalidParams.Add(request.NewErrParamRequired("AppImageConfigName"))
38017	}
38018
38019	if invalidParams.Len() > 0 {
38020		return invalidParams
38021	}
38022	return nil
38023}
38024
38025// SetAppImageConfigName sets the AppImageConfigName field's value.
38026func (s *DescribeAppImageConfigInput) SetAppImageConfigName(v string) *DescribeAppImageConfigInput {
38027	s.AppImageConfigName = &v
38028	return s
38029}
38030
38031type DescribeAppImageConfigOutput struct {
38032	_ struct{} `type:"structure"`
38033
38034	// The Amazon Resource Name (ARN) of the AppImageConfig.
38035	AppImageConfigArn *string `type:"string"`
38036
38037	// The name of the AppImageConfig.
38038	AppImageConfigName *string `type:"string"`
38039
38040	// When the AppImageConfig was created.
38041	CreationTime *time.Time `type:"timestamp"`
38042
38043	// The configuration of a KernelGateway app.
38044	KernelGatewayImageConfig *KernelGatewayImageConfig `type:"structure"`
38045
38046	// When the AppImageConfig was last modified.
38047	LastModifiedTime *time.Time `type:"timestamp"`
38048}
38049
38050// String returns the string representation
38051func (s DescribeAppImageConfigOutput) String() string {
38052	return awsutil.Prettify(s)
38053}
38054
38055// GoString returns the string representation
38056func (s DescribeAppImageConfigOutput) GoString() string {
38057	return s.String()
38058}
38059
38060// SetAppImageConfigArn sets the AppImageConfigArn field's value.
38061func (s *DescribeAppImageConfigOutput) SetAppImageConfigArn(v string) *DescribeAppImageConfigOutput {
38062	s.AppImageConfigArn = &v
38063	return s
38064}
38065
38066// SetAppImageConfigName sets the AppImageConfigName field's value.
38067func (s *DescribeAppImageConfigOutput) SetAppImageConfigName(v string) *DescribeAppImageConfigOutput {
38068	s.AppImageConfigName = &v
38069	return s
38070}
38071
38072// SetCreationTime sets the CreationTime field's value.
38073func (s *DescribeAppImageConfigOutput) SetCreationTime(v time.Time) *DescribeAppImageConfigOutput {
38074	s.CreationTime = &v
38075	return s
38076}
38077
38078// SetKernelGatewayImageConfig sets the KernelGatewayImageConfig field's value.
38079func (s *DescribeAppImageConfigOutput) SetKernelGatewayImageConfig(v *KernelGatewayImageConfig) *DescribeAppImageConfigOutput {
38080	s.KernelGatewayImageConfig = v
38081	return s
38082}
38083
38084// SetLastModifiedTime sets the LastModifiedTime field's value.
38085func (s *DescribeAppImageConfigOutput) SetLastModifiedTime(v time.Time) *DescribeAppImageConfigOutput {
38086	s.LastModifiedTime = &v
38087	return s
38088}
38089
38090type DescribeAppInput struct {
38091	_ struct{} `type:"structure"`
38092
38093	// The name of the app.
38094	//
38095	// AppName is a required field
38096	AppName *string `type:"string" required:"true"`
38097
38098	// The type of app.
38099	//
38100	// AppType is a required field
38101	AppType *string `type:"string" required:"true" enum:"AppType"`
38102
38103	// The domain ID.
38104	//
38105	// DomainId is a required field
38106	DomainId *string `type:"string" required:"true"`
38107
38108	// The user profile name.
38109	//
38110	// UserProfileName is a required field
38111	UserProfileName *string `type:"string" required:"true"`
38112}
38113
38114// String returns the string representation
38115func (s DescribeAppInput) String() string {
38116	return awsutil.Prettify(s)
38117}
38118
38119// GoString returns the string representation
38120func (s DescribeAppInput) GoString() string {
38121	return s.String()
38122}
38123
38124// Validate inspects the fields of the type to determine if they are valid.
38125func (s *DescribeAppInput) Validate() error {
38126	invalidParams := request.ErrInvalidParams{Context: "DescribeAppInput"}
38127	if s.AppName == nil {
38128		invalidParams.Add(request.NewErrParamRequired("AppName"))
38129	}
38130	if s.AppType == nil {
38131		invalidParams.Add(request.NewErrParamRequired("AppType"))
38132	}
38133	if s.DomainId == nil {
38134		invalidParams.Add(request.NewErrParamRequired("DomainId"))
38135	}
38136	if s.UserProfileName == nil {
38137		invalidParams.Add(request.NewErrParamRequired("UserProfileName"))
38138	}
38139
38140	if invalidParams.Len() > 0 {
38141		return invalidParams
38142	}
38143	return nil
38144}
38145
38146// SetAppName sets the AppName field's value.
38147func (s *DescribeAppInput) SetAppName(v string) *DescribeAppInput {
38148	s.AppName = &v
38149	return s
38150}
38151
38152// SetAppType sets the AppType field's value.
38153func (s *DescribeAppInput) SetAppType(v string) *DescribeAppInput {
38154	s.AppType = &v
38155	return s
38156}
38157
38158// SetDomainId sets the DomainId field's value.
38159func (s *DescribeAppInput) SetDomainId(v string) *DescribeAppInput {
38160	s.DomainId = &v
38161	return s
38162}
38163
38164// SetUserProfileName sets the UserProfileName field's value.
38165func (s *DescribeAppInput) SetUserProfileName(v string) *DescribeAppInput {
38166	s.UserProfileName = &v
38167	return s
38168}
38169
38170type DescribeAppOutput struct {
38171	_ struct{} `type:"structure"`
38172
38173	// The Amazon Resource Name (ARN) of the app.
38174	AppArn *string `type:"string"`
38175
38176	// The name of the app.
38177	AppName *string `type:"string"`
38178
38179	// The type of app.
38180	AppType *string `type:"string" enum:"AppType"`
38181
38182	// The creation time.
38183	CreationTime *time.Time `type:"timestamp"`
38184
38185	// The domain ID.
38186	DomainId *string `type:"string"`
38187
38188	// The failure reason.
38189	FailureReason *string `type:"string"`
38190
38191	// The timestamp of the last health check.
38192	LastHealthCheckTimestamp *time.Time `type:"timestamp"`
38193
38194	// The timestamp of the last user's activity.
38195	LastUserActivityTimestamp *time.Time `type:"timestamp"`
38196
38197	// The instance type and the Amazon Resource Name (ARN) of the SageMaker image
38198	// created on the instance.
38199	ResourceSpec *ResourceSpec `type:"structure"`
38200
38201	// The status.
38202	Status *string `type:"string" enum:"AppStatus"`
38203
38204	// The user profile name.
38205	UserProfileName *string `type:"string"`
38206}
38207
38208// String returns the string representation
38209func (s DescribeAppOutput) String() string {
38210	return awsutil.Prettify(s)
38211}
38212
38213// GoString returns the string representation
38214func (s DescribeAppOutput) GoString() string {
38215	return s.String()
38216}
38217
38218// SetAppArn sets the AppArn field's value.
38219func (s *DescribeAppOutput) SetAppArn(v string) *DescribeAppOutput {
38220	s.AppArn = &v
38221	return s
38222}
38223
38224// SetAppName sets the AppName field's value.
38225func (s *DescribeAppOutput) SetAppName(v string) *DescribeAppOutput {
38226	s.AppName = &v
38227	return s
38228}
38229
38230// SetAppType sets the AppType field's value.
38231func (s *DescribeAppOutput) SetAppType(v string) *DescribeAppOutput {
38232	s.AppType = &v
38233	return s
38234}
38235
38236// SetCreationTime sets the CreationTime field's value.
38237func (s *DescribeAppOutput) SetCreationTime(v time.Time) *DescribeAppOutput {
38238	s.CreationTime = &v
38239	return s
38240}
38241
38242// SetDomainId sets the DomainId field's value.
38243func (s *DescribeAppOutput) SetDomainId(v string) *DescribeAppOutput {
38244	s.DomainId = &v
38245	return s
38246}
38247
38248// SetFailureReason sets the FailureReason field's value.
38249func (s *DescribeAppOutput) SetFailureReason(v string) *DescribeAppOutput {
38250	s.FailureReason = &v
38251	return s
38252}
38253
38254// SetLastHealthCheckTimestamp sets the LastHealthCheckTimestamp field's value.
38255func (s *DescribeAppOutput) SetLastHealthCheckTimestamp(v time.Time) *DescribeAppOutput {
38256	s.LastHealthCheckTimestamp = &v
38257	return s
38258}
38259
38260// SetLastUserActivityTimestamp sets the LastUserActivityTimestamp field's value.
38261func (s *DescribeAppOutput) SetLastUserActivityTimestamp(v time.Time) *DescribeAppOutput {
38262	s.LastUserActivityTimestamp = &v
38263	return s
38264}
38265
38266// SetResourceSpec sets the ResourceSpec field's value.
38267func (s *DescribeAppOutput) SetResourceSpec(v *ResourceSpec) *DescribeAppOutput {
38268	s.ResourceSpec = v
38269	return s
38270}
38271
38272// SetStatus sets the Status field's value.
38273func (s *DescribeAppOutput) SetStatus(v string) *DescribeAppOutput {
38274	s.Status = &v
38275	return s
38276}
38277
38278// SetUserProfileName sets the UserProfileName field's value.
38279func (s *DescribeAppOutput) SetUserProfileName(v string) *DescribeAppOutput {
38280	s.UserProfileName = &v
38281	return s
38282}
38283
38284type DescribeArtifactInput struct {
38285	_ struct{} `type:"structure"`
38286
38287	// The Amazon Resource Name (ARN) of the artifact to describe.
38288	//
38289	// ArtifactArn is a required field
38290	ArtifactArn *string `type:"string" required:"true"`
38291}
38292
38293// String returns the string representation
38294func (s DescribeArtifactInput) String() string {
38295	return awsutil.Prettify(s)
38296}
38297
38298// GoString returns the string representation
38299func (s DescribeArtifactInput) GoString() string {
38300	return s.String()
38301}
38302
38303// Validate inspects the fields of the type to determine if they are valid.
38304func (s *DescribeArtifactInput) Validate() error {
38305	invalidParams := request.ErrInvalidParams{Context: "DescribeArtifactInput"}
38306	if s.ArtifactArn == nil {
38307		invalidParams.Add(request.NewErrParamRequired("ArtifactArn"))
38308	}
38309
38310	if invalidParams.Len() > 0 {
38311		return invalidParams
38312	}
38313	return nil
38314}
38315
38316// SetArtifactArn sets the ArtifactArn field's value.
38317func (s *DescribeArtifactInput) SetArtifactArn(v string) *DescribeArtifactInput {
38318	s.ArtifactArn = &v
38319	return s
38320}
38321
38322type DescribeArtifactOutput struct {
38323	_ struct{} `type:"structure"`
38324
38325	// The Amazon Resource Name (ARN) of the artifact.
38326	ArtifactArn *string `type:"string"`
38327
38328	// The name of the artifact.
38329	ArtifactName *string `min:"1" type:"string"`
38330
38331	// The type of the artifact.
38332	ArtifactType *string `type:"string"`
38333
38334	// Information about the user who created or modified an experiment, trial,
38335	// or trial component.
38336	CreatedBy *UserContext `type:"structure"`
38337
38338	// When the artifact was created.
38339	CreationTime *time.Time `type:"timestamp"`
38340
38341	// Information about the user who created or modified an experiment, trial,
38342	// or trial component.
38343	LastModifiedBy *UserContext `type:"structure"`
38344
38345	// When the artifact was last modified.
38346	LastModifiedTime *time.Time `type:"timestamp"`
38347
38348	// Metadata properties of the tracking entity, trial, or trial component.
38349	MetadataProperties *MetadataProperties `type:"structure"`
38350
38351	// A list of the artifact's properties.
38352	Properties map[string]*string `type:"map"`
38353
38354	// The source of the artifact.
38355	Source *ArtifactSource `type:"structure"`
38356}
38357
38358// String returns the string representation
38359func (s DescribeArtifactOutput) String() string {
38360	return awsutil.Prettify(s)
38361}
38362
38363// GoString returns the string representation
38364func (s DescribeArtifactOutput) GoString() string {
38365	return s.String()
38366}
38367
38368// SetArtifactArn sets the ArtifactArn field's value.
38369func (s *DescribeArtifactOutput) SetArtifactArn(v string) *DescribeArtifactOutput {
38370	s.ArtifactArn = &v
38371	return s
38372}
38373
38374// SetArtifactName sets the ArtifactName field's value.
38375func (s *DescribeArtifactOutput) SetArtifactName(v string) *DescribeArtifactOutput {
38376	s.ArtifactName = &v
38377	return s
38378}
38379
38380// SetArtifactType sets the ArtifactType field's value.
38381func (s *DescribeArtifactOutput) SetArtifactType(v string) *DescribeArtifactOutput {
38382	s.ArtifactType = &v
38383	return s
38384}
38385
38386// SetCreatedBy sets the CreatedBy field's value.
38387func (s *DescribeArtifactOutput) SetCreatedBy(v *UserContext) *DescribeArtifactOutput {
38388	s.CreatedBy = v
38389	return s
38390}
38391
38392// SetCreationTime sets the CreationTime field's value.
38393func (s *DescribeArtifactOutput) SetCreationTime(v time.Time) *DescribeArtifactOutput {
38394	s.CreationTime = &v
38395	return s
38396}
38397
38398// SetLastModifiedBy sets the LastModifiedBy field's value.
38399func (s *DescribeArtifactOutput) SetLastModifiedBy(v *UserContext) *DescribeArtifactOutput {
38400	s.LastModifiedBy = v
38401	return s
38402}
38403
38404// SetLastModifiedTime sets the LastModifiedTime field's value.
38405func (s *DescribeArtifactOutput) SetLastModifiedTime(v time.Time) *DescribeArtifactOutput {
38406	s.LastModifiedTime = &v
38407	return s
38408}
38409
38410// SetMetadataProperties sets the MetadataProperties field's value.
38411func (s *DescribeArtifactOutput) SetMetadataProperties(v *MetadataProperties) *DescribeArtifactOutput {
38412	s.MetadataProperties = v
38413	return s
38414}
38415
38416// SetProperties sets the Properties field's value.
38417func (s *DescribeArtifactOutput) SetProperties(v map[string]*string) *DescribeArtifactOutput {
38418	s.Properties = v
38419	return s
38420}
38421
38422// SetSource sets the Source field's value.
38423func (s *DescribeArtifactOutput) SetSource(v *ArtifactSource) *DescribeArtifactOutput {
38424	s.Source = v
38425	return s
38426}
38427
38428type DescribeAutoMLJobInput struct {
38429	_ struct{} `type:"structure"`
38430
38431	// Request information about a job using that job's unique name.
38432	//
38433	// AutoMLJobName is a required field
38434	AutoMLJobName *string `min:"1" type:"string" required:"true"`
38435}
38436
38437// String returns the string representation
38438func (s DescribeAutoMLJobInput) String() string {
38439	return awsutil.Prettify(s)
38440}
38441
38442// GoString returns the string representation
38443func (s DescribeAutoMLJobInput) GoString() string {
38444	return s.String()
38445}
38446
38447// Validate inspects the fields of the type to determine if they are valid.
38448func (s *DescribeAutoMLJobInput) Validate() error {
38449	invalidParams := request.ErrInvalidParams{Context: "DescribeAutoMLJobInput"}
38450	if s.AutoMLJobName == nil {
38451		invalidParams.Add(request.NewErrParamRequired("AutoMLJobName"))
38452	}
38453	if s.AutoMLJobName != nil && len(*s.AutoMLJobName) < 1 {
38454		invalidParams.Add(request.NewErrParamMinLen("AutoMLJobName", 1))
38455	}
38456
38457	if invalidParams.Len() > 0 {
38458		return invalidParams
38459	}
38460	return nil
38461}
38462
38463// SetAutoMLJobName sets the AutoMLJobName field's value.
38464func (s *DescribeAutoMLJobInput) SetAutoMLJobName(v string) *DescribeAutoMLJobInput {
38465	s.AutoMLJobName = &v
38466	return s
38467}
38468
38469type DescribeAutoMLJobOutput struct {
38470	_ struct{} `type:"structure"`
38471
38472	// Returns the job's ARN.
38473	//
38474	// AutoMLJobArn is a required field
38475	AutoMLJobArn *string `min:"1" type:"string" required:"true"`
38476
38477	// Returns information on the job's artifacts found in AutoMLJobArtifacts.
38478	AutoMLJobArtifacts *AutoMLJobArtifacts `type:"structure"`
38479
38480	// Returns the job's config.
38481	AutoMLJobConfig *AutoMLJobConfig `type:"structure"`
38482
38483	// Returns the name of a job.
38484	//
38485	// AutoMLJobName is a required field
38486	AutoMLJobName *string `min:"1" type:"string" required:"true"`
38487
38488	// Returns the job's objective.
38489	AutoMLJobObjective *AutoMLJobObjective `type:"structure"`
38490
38491	// Returns the job's AutoMLJobSecondaryStatus.
38492	//
38493	// AutoMLJobSecondaryStatus is a required field
38494	AutoMLJobSecondaryStatus *string `type:"string" required:"true" enum:"AutoMLJobSecondaryStatus"`
38495
38496	// Returns the job's AutoMLJobStatus.
38497	//
38498	// AutoMLJobStatus is a required field
38499	AutoMLJobStatus *string `type:"string" required:"true" enum:"AutoMLJobStatus"`
38500
38501	// Returns the job's BestCandidate.
38502	BestCandidate *AutoMLCandidate `type:"structure"`
38503
38504	// Returns the job's creation time.
38505	//
38506	// CreationTime is a required field
38507	CreationTime *time.Time `type:"timestamp" required:"true"`
38508
38509	// Returns the job's end time.
38510	EndTime *time.Time `type:"timestamp"`
38511
38512	// Returns the job's FailureReason.
38513	FailureReason *string `type:"string"`
38514
38515	// Returns the job's output from GenerateCandidateDefinitionsOnly.
38516	GenerateCandidateDefinitionsOnly *bool `type:"boolean"`
38517
38518	// Returns the job's input data config.
38519	//
38520	// InputDataConfig is a required field
38521	InputDataConfig []*AutoMLChannel `min:"1" type:"list" required:"true"`
38522
38523	// Returns the job's last modified time.
38524	//
38525	// LastModifiedTime is a required field
38526	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
38527
38528	// Returns the job's output data config.
38529	//
38530	// OutputDataConfig is a required field
38531	OutputDataConfig *AutoMLOutputDataConfig `type:"structure" required:"true"`
38532
38533	// Returns the job's problem type.
38534	ProblemType *string `type:"string" enum:"ProblemType"`
38535
38536	// This contains ProblemType, AutoMLJobObjective and CompletionCriteria. They're
38537	// auto-inferred values, if not provided by you. If you do provide them, then
38538	// they'll be the same as provided.
38539	ResolvedAttributes *ResolvedAttributes `type:"structure"`
38540
38541	// The Amazon Resource Name (ARN) of the AWS Identity and Access Management
38542	// (IAM) role that has read permission to the input data location and write
38543	// permission to the output data location in Amazon S3.
38544	//
38545	// RoleArn is a required field
38546	RoleArn *string `min:"20" type:"string" required:"true"`
38547}
38548
38549// String returns the string representation
38550func (s DescribeAutoMLJobOutput) String() string {
38551	return awsutil.Prettify(s)
38552}
38553
38554// GoString returns the string representation
38555func (s DescribeAutoMLJobOutput) GoString() string {
38556	return s.String()
38557}
38558
38559// SetAutoMLJobArn sets the AutoMLJobArn field's value.
38560func (s *DescribeAutoMLJobOutput) SetAutoMLJobArn(v string) *DescribeAutoMLJobOutput {
38561	s.AutoMLJobArn = &v
38562	return s
38563}
38564
38565// SetAutoMLJobArtifacts sets the AutoMLJobArtifacts field's value.
38566func (s *DescribeAutoMLJobOutput) SetAutoMLJobArtifacts(v *AutoMLJobArtifacts) *DescribeAutoMLJobOutput {
38567	s.AutoMLJobArtifacts = v
38568	return s
38569}
38570
38571// SetAutoMLJobConfig sets the AutoMLJobConfig field's value.
38572func (s *DescribeAutoMLJobOutput) SetAutoMLJobConfig(v *AutoMLJobConfig) *DescribeAutoMLJobOutput {
38573	s.AutoMLJobConfig = v
38574	return s
38575}
38576
38577// SetAutoMLJobName sets the AutoMLJobName field's value.
38578func (s *DescribeAutoMLJobOutput) SetAutoMLJobName(v string) *DescribeAutoMLJobOutput {
38579	s.AutoMLJobName = &v
38580	return s
38581}
38582
38583// SetAutoMLJobObjective sets the AutoMLJobObjective field's value.
38584func (s *DescribeAutoMLJobOutput) SetAutoMLJobObjective(v *AutoMLJobObjective) *DescribeAutoMLJobOutput {
38585	s.AutoMLJobObjective = v
38586	return s
38587}
38588
38589// SetAutoMLJobSecondaryStatus sets the AutoMLJobSecondaryStatus field's value.
38590func (s *DescribeAutoMLJobOutput) SetAutoMLJobSecondaryStatus(v string) *DescribeAutoMLJobOutput {
38591	s.AutoMLJobSecondaryStatus = &v
38592	return s
38593}
38594
38595// SetAutoMLJobStatus sets the AutoMLJobStatus field's value.
38596func (s *DescribeAutoMLJobOutput) SetAutoMLJobStatus(v string) *DescribeAutoMLJobOutput {
38597	s.AutoMLJobStatus = &v
38598	return s
38599}
38600
38601// SetBestCandidate sets the BestCandidate field's value.
38602func (s *DescribeAutoMLJobOutput) SetBestCandidate(v *AutoMLCandidate) *DescribeAutoMLJobOutput {
38603	s.BestCandidate = v
38604	return s
38605}
38606
38607// SetCreationTime sets the CreationTime field's value.
38608func (s *DescribeAutoMLJobOutput) SetCreationTime(v time.Time) *DescribeAutoMLJobOutput {
38609	s.CreationTime = &v
38610	return s
38611}
38612
38613// SetEndTime sets the EndTime field's value.
38614func (s *DescribeAutoMLJobOutput) SetEndTime(v time.Time) *DescribeAutoMLJobOutput {
38615	s.EndTime = &v
38616	return s
38617}
38618
38619// SetFailureReason sets the FailureReason field's value.
38620func (s *DescribeAutoMLJobOutput) SetFailureReason(v string) *DescribeAutoMLJobOutput {
38621	s.FailureReason = &v
38622	return s
38623}
38624
38625// SetGenerateCandidateDefinitionsOnly sets the GenerateCandidateDefinitionsOnly field's value.
38626func (s *DescribeAutoMLJobOutput) SetGenerateCandidateDefinitionsOnly(v bool) *DescribeAutoMLJobOutput {
38627	s.GenerateCandidateDefinitionsOnly = &v
38628	return s
38629}
38630
38631// SetInputDataConfig sets the InputDataConfig field's value.
38632func (s *DescribeAutoMLJobOutput) SetInputDataConfig(v []*AutoMLChannel) *DescribeAutoMLJobOutput {
38633	s.InputDataConfig = v
38634	return s
38635}
38636
38637// SetLastModifiedTime sets the LastModifiedTime field's value.
38638func (s *DescribeAutoMLJobOutput) SetLastModifiedTime(v time.Time) *DescribeAutoMLJobOutput {
38639	s.LastModifiedTime = &v
38640	return s
38641}
38642
38643// SetOutputDataConfig sets the OutputDataConfig field's value.
38644func (s *DescribeAutoMLJobOutput) SetOutputDataConfig(v *AutoMLOutputDataConfig) *DescribeAutoMLJobOutput {
38645	s.OutputDataConfig = v
38646	return s
38647}
38648
38649// SetProblemType sets the ProblemType field's value.
38650func (s *DescribeAutoMLJobOutput) SetProblemType(v string) *DescribeAutoMLJobOutput {
38651	s.ProblemType = &v
38652	return s
38653}
38654
38655// SetResolvedAttributes sets the ResolvedAttributes field's value.
38656func (s *DescribeAutoMLJobOutput) SetResolvedAttributes(v *ResolvedAttributes) *DescribeAutoMLJobOutput {
38657	s.ResolvedAttributes = v
38658	return s
38659}
38660
38661// SetRoleArn sets the RoleArn field's value.
38662func (s *DescribeAutoMLJobOutput) SetRoleArn(v string) *DescribeAutoMLJobOutput {
38663	s.RoleArn = &v
38664	return s
38665}
38666
38667type DescribeCodeRepositoryInput struct {
38668	_ struct{} `type:"structure"`
38669
38670	// The name of the Git repository to describe.
38671	//
38672	// CodeRepositoryName is a required field
38673	CodeRepositoryName *string `min:"1" type:"string" required:"true"`
38674}
38675
38676// String returns the string representation
38677func (s DescribeCodeRepositoryInput) String() string {
38678	return awsutil.Prettify(s)
38679}
38680
38681// GoString returns the string representation
38682func (s DescribeCodeRepositoryInput) GoString() string {
38683	return s.String()
38684}
38685
38686// Validate inspects the fields of the type to determine if they are valid.
38687func (s *DescribeCodeRepositoryInput) Validate() error {
38688	invalidParams := request.ErrInvalidParams{Context: "DescribeCodeRepositoryInput"}
38689	if s.CodeRepositoryName == nil {
38690		invalidParams.Add(request.NewErrParamRequired("CodeRepositoryName"))
38691	}
38692	if s.CodeRepositoryName != nil && len(*s.CodeRepositoryName) < 1 {
38693		invalidParams.Add(request.NewErrParamMinLen("CodeRepositoryName", 1))
38694	}
38695
38696	if invalidParams.Len() > 0 {
38697		return invalidParams
38698	}
38699	return nil
38700}
38701
38702// SetCodeRepositoryName sets the CodeRepositoryName field's value.
38703func (s *DescribeCodeRepositoryInput) SetCodeRepositoryName(v string) *DescribeCodeRepositoryInput {
38704	s.CodeRepositoryName = &v
38705	return s
38706}
38707
38708type DescribeCodeRepositoryOutput struct {
38709	_ struct{} `type:"structure"`
38710
38711	// The Amazon Resource Name (ARN) of the Git repository.
38712	//
38713	// CodeRepositoryArn is a required field
38714	CodeRepositoryArn *string `min:"1" type:"string" required:"true"`
38715
38716	// The name of the Git repository.
38717	//
38718	// CodeRepositoryName is a required field
38719	CodeRepositoryName *string `min:"1" type:"string" required:"true"`
38720
38721	// The date and time that the repository was created.
38722	//
38723	// CreationTime is a required field
38724	CreationTime *time.Time `type:"timestamp" required:"true"`
38725
38726	// Configuration details about the repository, including the URL where the repository
38727	// is located, the default branch, and the Amazon Resource Name (ARN) of the
38728	// AWS Secrets Manager secret that contains the credentials used to access the
38729	// repository.
38730	GitConfig *GitConfig `type:"structure"`
38731
38732	// The date and time that the repository was last changed.
38733	//
38734	// LastModifiedTime is a required field
38735	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
38736}
38737
38738// String returns the string representation
38739func (s DescribeCodeRepositoryOutput) String() string {
38740	return awsutil.Prettify(s)
38741}
38742
38743// GoString returns the string representation
38744func (s DescribeCodeRepositoryOutput) GoString() string {
38745	return s.String()
38746}
38747
38748// SetCodeRepositoryArn sets the CodeRepositoryArn field's value.
38749func (s *DescribeCodeRepositoryOutput) SetCodeRepositoryArn(v string) *DescribeCodeRepositoryOutput {
38750	s.CodeRepositoryArn = &v
38751	return s
38752}
38753
38754// SetCodeRepositoryName sets the CodeRepositoryName field's value.
38755func (s *DescribeCodeRepositoryOutput) SetCodeRepositoryName(v string) *DescribeCodeRepositoryOutput {
38756	s.CodeRepositoryName = &v
38757	return s
38758}
38759
38760// SetCreationTime sets the CreationTime field's value.
38761func (s *DescribeCodeRepositoryOutput) SetCreationTime(v time.Time) *DescribeCodeRepositoryOutput {
38762	s.CreationTime = &v
38763	return s
38764}
38765
38766// SetGitConfig sets the GitConfig field's value.
38767func (s *DescribeCodeRepositoryOutput) SetGitConfig(v *GitConfig) *DescribeCodeRepositoryOutput {
38768	s.GitConfig = v
38769	return s
38770}
38771
38772// SetLastModifiedTime sets the LastModifiedTime field's value.
38773func (s *DescribeCodeRepositoryOutput) SetLastModifiedTime(v time.Time) *DescribeCodeRepositoryOutput {
38774	s.LastModifiedTime = &v
38775	return s
38776}
38777
38778type DescribeCompilationJobInput struct {
38779	_ struct{} `type:"structure"`
38780
38781	// The name of the model compilation job that you want information about.
38782	//
38783	// CompilationJobName is a required field
38784	CompilationJobName *string `min:"1" type:"string" required:"true"`
38785}
38786
38787// String returns the string representation
38788func (s DescribeCompilationJobInput) String() string {
38789	return awsutil.Prettify(s)
38790}
38791
38792// GoString returns the string representation
38793func (s DescribeCompilationJobInput) GoString() string {
38794	return s.String()
38795}
38796
38797// Validate inspects the fields of the type to determine if they are valid.
38798func (s *DescribeCompilationJobInput) Validate() error {
38799	invalidParams := request.ErrInvalidParams{Context: "DescribeCompilationJobInput"}
38800	if s.CompilationJobName == nil {
38801		invalidParams.Add(request.NewErrParamRequired("CompilationJobName"))
38802	}
38803	if s.CompilationJobName != nil && len(*s.CompilationJobName) < 1 {
38804		invalidParams.Add(request.NewErrParamMinLen("CompilationJobName", 1))
38805	}
38806
38807	if invalidParams.Len() > 0 {
38808		return invalidParams
38809	}
38810	return nil
38811}
38812
38813// SetCompilationJobName sets the CompilationJobName field's value.
38814func (s *DescribeCompilationJobInput) SetCompilationJobName(v string) *DescribeCompilationJobInput {
38815	s.CompilationJobName = &v
38816	return s
38817}
38818
38819type DescribeCompilationJobOutput struct {
38820	_ struct{} `type:"structure"`
38821
38822	// The time when the model compilation job on a compilation job instance ended.
38823	// For a successful or stopped job, this is when the job's model artifacts have
38824	// finished uploading. For a failed job, this is when Amazon SageMaker detected
38825	// that the job failed.
38826	CompilationEndTime *time.Time `type:"timestamp"`
38827
38828	// The Amazon Resource Name (ARN) of the model compilation job.
38829	//
38830	// CompilationJobArn is a required field
38831	CompilationJobArn *string `type:"string" required:"true"`
38832
38833	// The name of the model compilation job.
38834	//
38835	// CompilationJobName is a required field
38836	CompilationJobName *string `min:"1" type:"string" required:"true"`
38837
38838	// The status of the model compilation job.
38839	//
38840	// CompilationJobStatus is a required field
38841	CompilationJobStatus *string `type:"string" required:"true" enum:"CompilationJobStatus"`
38842
38843	// The time when the model compilation job started the CompilationJob instances.
38844	//
38845	// You are billed for the time between this timestamp and the timestamp in the
38846	// DescribeCompilationJobResponse$CompilationEndTime field. In Amazon CloudWatch
38847	// Logs, the start time might be later than this time. That's because it takes
38848	// time to download the compilation job, which depends on the size of the compilation
38849	// job container.
38850	CompilationStartTime *time.Time `type:"timestamp"`
38851
38852	// The time that the model compilation job was created.
38853	//
38854	// CreationTime is a required field
38855	CreationTime *time.Time `type:"timestamp" required:"true"`
38856
38857	// If a model compilation job failed, the reason it failed.
38858	//
38859	// FailureReason is a required field
38860	FailureReason *string `type:"string" required:"true"`
38861
38862	// Information about the location in Amazon S3 of the input model artifacts,
38863	// the name and shape of the expected data inputs, and the framework in which
38864	// the model was trained.
38865	//
38866	// InputConfig is a required field
38867	InputConfig *InputConfig `type:"structure" required:"true"`
38868
38869	// The time that the status of the model compilation job was last modified.
38870	//
38871	// LastModifiedTime is a required field
38872	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
38873
38874	// Information about the location in Amazon S3 that has been configured for
38875	// storing the model artifacts used in the compilation job.
38876	//
38877	// ModelArtifacts is a required field
38878	ModelArtifacts *ModelArtifacts `type:"structure" required:"true"`
38879
38880	// Provides a BLAKE2 hash value that identifies the compiled model artifacts
38881	// in Amazon S3.
38882	ModelDigests *ModelDigests `type:"structure"`
38883
38884	// Information about the output location for the compiled model and the target
38885	// device that the model runs on.
38886	//
38887	// OutputConfig is a required field
38888	OutputConfig *OutputConfig `type:"structure" required:"true"`
38889
38890	// The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker assumes
38891	// to perform the model compilation job.
38892	//
38893	// RoleArn is a required field
38894	RoleArn *string `min:"20" type:"string" required:"true"`
38895
38896	// Specifies a limit to how long a model compilation job can run. When the job
38897	// reaches the time limit, Amazon SageMaker ends the compilation job. Use this
38898	// API to cap model training costs.
38899	//
38900	// StoppingCondition is a required field
38901	StoppingCondition *StoppingCondition `type:"structure" required:"true"`
38902}
38903
38904// String returns the string representation
38905func (s DescribeCompilationJobOutput) String() string {
38906	return awsutil.Prettify(s)
38907}
38908
38909// GoString returns the string representation
38910func (s DescribeCompilationJobOutput) GoString() string {
38911	return s.String()
38912}
38913
38914// SetCompilationEndTime sets the CompilationEndTime field's value.
38915func (s *DescribeCompilationJobOutput) SetCompilationEndTime(v time.Time) *DescribeCompilationJobOutput {
38916	s.CompilationEndTime = &v
38917	return s
38918}
38919
38920// SetCompilationJobArn sets the CompilationJobArn field's value.
38921func (s *DescribeCompilationJobOutput) SetCompilationJobArn(v string) *DescribeCompilationJobOutput {
38922	s.CompilationJobArn = &v
38923	return s
38924}
38925
38926// SetCompilationJobName sets the CompilationJobName field's value.
38927func (s *DescribeCompilationJobOutput) SetCompilationJobName(v string) *DescribeCompilationJobOutput {
38928	s.CompilationJobName = &v
38929	return s
38930}
38931
38932// SetCompilationJobStatus sets the CompilationJobStatus field's value.
38933func (s *DescribeCompilationJobOutput) SetCompilationJobStatus(v string) *DescribeCompilationJobOutput {
38934	s.CompilationJobStatus = &v
38935	return s
38936}
38937
38938// SetCompilationStartTime sets the CompilationStartTime field's value.
38939func (s *DescribeCompilationJobOutput) SetCompilationStartTime(v time.Time) *DescribeCompilationJobOutput {
38940	s.CompilationStartTime = &v
38941	return s
38942}
38943
38944// SetCreationTime sets the CreationTime field's value.
38945func (s *DescribeCompilationJobOutput) SetCreationTime(v time.Time) *DescribeCompilationJobOutput {
38946	s.CreationTime = &v
38947	return s
38948}
38949
38950// SetFailureReason sets the FailureReason field's value.
38951func (s *DescribeCompilationJobOutput) SetFailureReason(v string) *DescribeCompilationJobOutput {
38952	s.FailureReason = &v
38953	return s
38954}
38955
38956// SetInputConfig sets the InputConfig field's value.
38957func (s *DescribeCompilationJobOutput) SetInputConfig(v *InputConfig) *DescribeCompilationJobOutput {
38958	s.InputConfig = v
38959	return s
38960}
38961
38962// SetLastModifiedTime sets the LastModifiedTime field's value.
38963func (s *DescribeCompilationJobOutput) SetLastModifiedTime(v time.Time) *DescribeCompilationJobOutput {
38964	s.LastModifiedTime = &v
38965	return s
38966}
38967
38968// SetModelArtifacts sets the ModelArtifacts field's value.
38969func (s *DescribeCompilationJobOutput) SetModelArtifacts(v *ModelArtifacts) *DescribeCompilationJobOutput {
38970	s.ModelArtifacts = v
38971	return s
38972}
38973
38974// SetModelDigests sets the ModelDigests field's value.
38975func (s *DescribeCompilationJobOutput) SetModelDigests(v *ModelDigests) *DescribeCompilationJobOutput {
38976	s.ModelDigests = v
38977	return s
38978}
38979
38980// SetOutputConfig sets the OutputConfig field's value.
38981func (s *DescribeCompilationJobOutput) SetOutputConfig(v *OutputConfig) *DescribeCompilationJobOutput {
38982	s.OutputConfig = v
38983	return s
38984}
38985
38986// SetRoleArn sets the RoleArn field's value.
38987func (s *DescribeCompilationJobOutput) SetRoleArn(v string) *DescribeCompilationJobOutput {
38988	s.RoleArn = &v
38989	return s
38990}
38991
38992// SetStoppingCondition sets the StoppingCondition field's value.
38993func (s *DescribeCompilationJobOutput) SetStoppingCondition(v *StoppingCondition) *DescribeCompilationJobOutput {
38994	s.StoppingCondition = v
38995	return s
38996}
38997
38998type DescribeContextInput struct {
38999	_ struct{} `type:"structure"`
39000
39001	// The name of the context to describe.
39002	//
39003	// ContextName is a required field
39004	ContextName *string `min:"1" type:"string" required:"true"`
39005}
39006
39007// String returns the string representation
39008func (s DescribeContextInput) String() string {
39009	return awsutil.Prettify(s)
39010}
39011
39012// GoString returns the string representation
39013func (s DescribeContextInput) GoString() string {
39014	return s.String()
39015}
39016
39017// Validate inspects the fields of the type to determine if they are valid.
39018func (s *DescribeContextInput) Validate() error {
39019	invalidParams := request.ErrInvalidParams{Context: "DescribeContextInput"}
39020	if s.ContextName == nil {
39021		invalidParams.Add(request.NewErrParamRequired("ContextName"))
39022	}
39023	if s.ContextName != nil && len(*s.ContextName) < 1 {
39024		invalidParams.Add(request.NewErrParamMinLen("ContextName", 1))
39025	}
39026
39027	if invalidParams.Len() > 0 {
39028		return invalidParams
39029	}
39030	return nil
39031}
39032
39033// SetContextName sets the ContextName field's value.
39034func (s *DescribeContextInput) SetContextName(v string) *DescribeContextInput {
39035	s.ContextName = &v
39036	return s
39037}
39038
39039type DescribeContextOutput struct {
39040	_ struct{} `type:"structure"`
39041
39042	// The Amazon Resource Name (ARN) of the context.
39043	ContextArn *string `type:"string"`
39044
39045	// The name of the context.
39046	ContextName *string `min:"1" type:"string"`
39047
39048	// The type of the context.
39049	ContextType *string `type:"string"`
39050
39051	// Information about the user who created or modified an experiment, trial,
39052	// or trial component.
39053	CreatedBy *UserContext `type:"structure"`
39054
39055	// When the context was created.
39056	CreationTime *time.Time `type:"timestamp"`
39057
39058	// The description of the context.
39059	Description *string `type:"string"`
39060
39061	// Information about the user who created or modified an experiment, trial,
39062	// or trial component.
39063	LastModifiedBy *UserContext `type:"structure"`
39064
39065	// When the context was last modified.
39066	LastModifiedTime *time.Time `type:"timestamp"`
39067
39068	// A list of the context's properties.
39069	Properties map[string]*string `type:"map"`
39070
39071	// The source of the context.
39072	Source *ContextSource `type:"structure"`
39073}
39074
39075// String returns the string representation
39076func (s DescribeContextOutput) String() string {
39077	return awsutil.Prettify(s)
39078}
39079
39080// GoString returns the string representation
39081func (s DescribeContextOutput) GoString() string {
39082	return s.String()
39083}
39084
39085// SetContextArn sets the ContextArn field's value.
39086func (s *DescribeContextOutput) SetContextArn(v string) *DescribeContextOutput {
39087	s.ContextArn = &v
39088	return s
39089}
39090
39091// SetContextName sets the ContextName field's value.
39092func (s *DescribeContextOutput) SetContextName(v string) *DescribeContextOutput {
39093	s.ContextName = &v
39094	return s
39095}
39096
39097// SetContextType sets the ContextType field's value.
39098func (s *DescribeContextOutput) SetContextType(v string) *DescribeContextOutput {
39099	s.ContextType = &v
39100	return s
39101}
39102
39103// SetCreatedBy sets the CreatedBy field's value.
39104func (s *DescribeContextOutput) SetCreatedBy(v *UserContext) *DescribeContextOutput {
39105	s.CreatedBy = v
39106	return s
39107}
39108
39109// SetCreationTime sets the CreationTime field's value.
39110func (s *DescribeContextOutput) SetCreationTime(v time.Time) *DescribeContextOutput {
39111	s.CreationTime = &v
39112	return s
39113}
39114
39115// SetDescription sets the Description field's value.
39116func (s *DescribeContextOutput) SetDescription(v string) *DescribeContextOutput {
39117	s.Description = &v
39118	return s
39119}
39120
39121// SetLastModifiedBy sets the LastModifiedBy field's value.
39122func (s *DescribeContextOutput) SetLastModifiedBy(v *UserContext) *DescribeContextOutput {
39123	s.LastModifiedBy = v
39124	return s
39125}
39126
39127// SetLastModifiedTime sets the LastModifiedTime field's value.
39128func (s *DescribeContextOutput) SetLastModifiedTime(v time.Time) *DescribeContextOutput {
39129	s.LastModifiedTime = &v
39130	return s
39131}
39132
39133// SetProperties sets the Properties field's value.
39134func (s *DescribeContextOutput) SetProperties(v map[string]*string) *DescribeContextOutput {
39135	s.Properties = v
39136	return s
39137}
39138
39139// SetSource sets the Source field's value.
39140func (s *DescribeContextOutput) SetSource(v *ContextSource) *DescribeContextOutput {
39141	s.Source = v
39142	return s
39143}
39144
39145type DescribeDataQualityJobDefinitionInput struct {
39146	_ struct{} `type:"structure"`
39147
39148	// The name of the data quality monitoring job definition to describe.
39149	//
39150	// JobDefinitionName is a required field
39151	JobDefinitionName *string `min:"1" type:"string" required:"true"`
39152}
39153
39154// String returns the string representation
39155func (s DescribeDataQualityJobDefinitionInput) String() string {
39156	return awsutil.Prettify(s)
39157}
39158
39159// GoString returns the string representation
39160func (s DescribeDataQualityJobDefinitionInput) GoString() string {
39161	return s.String()
39162}
39163
39164// Validate inspects the fields of the type to determine if they are valid.
39165func (s *DescribeDataQualityJobDefinitionInput) Validate() error {
39166	invalidParams := request.ErrInvalidParams{Context: "DescribeDataQualityJobDefinitionInput"}
39167	if s.JobDefinitionName == nil {
39168		invalidParams.Add(request.NewErrParamRequired("JobDefinitionName"))
39169	}
39170	if s.JobDefinitionName != nil && len(*s.JobDefinitionName) < 1 {
39171		invalidParams.Add(request.NewErrParamMinLen("JobDefinitionName", 1))
39172	}
39173
39174	if invalidParams.Len() > 0 {
39175		return invalidParams
39176	}
39177	return nil
39178}
39179
39180// SetJobDefinitionName sets the JobDefinitionName field's value.
39181func (s *DescribeDataQualityJobDefinitionInput) SetJobDefinitionName(v string) *DescribeDataQualityJobDefinitionInput {
39182	s.JobDefinitionName = &v
39183	return s
39184}
39185
39186type DescribeDataQualityJobDefinitionOutput struct {
39187	_ struct{} `type:"structure"`
39188
39189	// The time that the data quality monitoring job definition was created.
39190	//
39191	// CreationTime is a required field
39192	CreationTime *time.Time `type:"timestamp" required:"true"`
39193
39194	// Information about the container that runs the data quality monitoring job.
39195	//
39196	// DataQualityAppSpecification is a required field
39197	DataQualityAppSpecification *DataQualityAppSpecification `type:"structure" required:"true"`
39198
39199	// The constraints and baselines for the data quality monitoring job definition.
39200	DataQualityBaselineConfig *DataQualityBaselineConfig `type:"structure"`
39201
39202	// The list of inputs for the data quality monitoring job. Currently endpoints
39203	// are supported.
39204	//
39205	// DataQualityJobInput is a required field
39206	DataQualityJobInput *DataQualityJobInput `type:"structure" required:"true"`
39207
39208	// The output configuration for monitoring jobs.
39209	//
39210	// DataQualityJobOutputConfig is a required field
39211	DataQualityJobOutputConfig *MonitoringOutputConfig `type:"structure" required:"true"`
39212
39213	// The Amazon Resource Name (ARN) of the data quality monitoring job definition.
39214	//
39215	// JobDefinitionArn is a required field
39216	JobDefinitionArn *string `type:"string" required:"true"`
39217
39218	// The name of the data quality monitoring job definition.
39219	//
39220	// JobDefinitionName is a required field
39221	JobDefinitionName *string `min:"1" type:"string" required:"true"`
39222
39223	// Identifies the resources to deploy for a monitoring job.
39224	//
39225	// JobResources is a required field
39226	JobResources *MonitoringResources `type:"structure" required:"true"`
39227
39228	// The networking configuration for the data quality monitoring job.
39229	NetworkConfig *MonitoringNetworkConfig `type:"structure"`
39230
39231	// The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume
39232	// to perform tasks on your behalf.
39233	//
39234	// RoleArn is a required field
39235	RoleArn *string `min:"20" type:"string" required:"true"`
39236
39237	// A time limit for how long the monitoring job is allowed to run before stopping.
39238	StoppingCondition *MonitoringStoppingCondition `type:"structure"`
39239}
39240
39241// String returns the string representation
39242func (s DescribeDataQualityJobDefinitionOutput) String() string {
39243	return awsutil.Prettify(s)
39244}
39245
39246// GoString returns the string representation
39247func (s DescribeDataQualityJobDefinitionOutput) GoString() string {
39248	return s.String()
39249}
39250
39251// SetCreationTime sets the CreationTime field's value.
39252func (s *DescribeDataQualityJobDefinitionOutput) SetCreationTime(v time.Time) *DescribeDataQualityJobDefinitionOutput {
39253	s.CreationTime = &v
39254	return s
39255}
39256
39257// SetDataQualityAppSpecification sets the DataQualityAppSpecification field's value.
39258func (s *DescribeDataQualityJobDefinitionOutput) SetDataQualityAppSpecification(v *DataQualityAppSpecification) *DescribeDataQualityJobDefinitionOutput {
39259	s.DataQualityAppSpecification = v
39260	return s
39261}
39262
39263// SetDataQualityBaselineConfig sets the DataQualityBaselineConfig field's value.
39264func (s *DescribeDataQualityJobDefinitionOutput) SetDataQualityBaselineConfig(v *DataQualityBaselineConfig) *DescribeDataQualityJobDefinitionOutput {
39265	s.DataQualityBaselineConfig = v
39266	return s
39267}
39268
39269// SetDataQualityJobInput sets the DataQualityJobInput field's value.
39270func (s *DescribeDataQualityJobDefinitionOutput) SetDataQualityJobInput(v *DataQualityJobInput) *DescribeDataQualityJobDefinitionOutput {
39271	s.DataQualityJobInput = v
39272	return s
39273}
39274
39275// SetDataQualityJobOutputConfig sets the DataQualityJobOutputConfig field's value.
39276func (s *DescribeDataQualityJobDefinitionOutput) SetDataQualityJobOutputConfig(v *MonitoringOutputConfig) *DescribeDataQualityJobDefinitionOutput {
39277	s.DataQualityJobOutputConfig = v
39278	return s
39279}
39280
39281// SetJobDefinitionArn sets the JobDefinitionArn field's value.
39282func (s *DescribeDataQualityJobDefinitionOutput) SetJobDefinitionArn(v string) *DescribeDataQualityJobDefinitionOutput {
39283	s.JobDefinitionArn = &v
39284	return s
39285}
39286
39287// SetJobDefinitionName sets the JobDefinitionName field's value.
39288func (s *DescribeDataQualityJobDefinitionOutput) SetJobDefinitionName(v string) *DescribeDataQualityJobDefinitionOutput {
39289	s.JobDefinitionName = &v
39290	return s
39291}
39292
39293// SetJobResources sets the JobResources field's value.
39294func (s *DescribeDataQualityJobDefinitionOutput) SetJobResources(v *MonitoringResources) *DescribeDataQualityJobDefinitionOutput {
39295	s.JobResources = v
39296	return s
39297}
39298
39299// SetNetworkConfig sets the NetworkConfig field's value.
39300func (s *DescribeDataQualityJobDefinitionOutput) SetNetworkConfig(v *MonitoringNetworkConfig) *DescribeDataQualityJobDefinitionOutput {
39301	s.NetworkConfig = v
39302	return s
39303}
39304
39305// SetRoleArn sets the RoleArn field's value.
39306func (s *DescribeDataQualityJobDefinitionOutput) SetRoleArn(v string) *DescribeDataQualityJobDefinitionOutput {
39307	s.RoleArn = &v
39308	return s
39309}
39310
39311// SetStoppingCondition sets the StoppingCondition field's value.
39312func (s *DescribeDataQualityJobDefinitionOutput) SetStoppingCondition(v *MonitoringStoppingCondition) *DescribeDataQualityJobDefinitionOutput {
39313	s.StoppingCondition = v
39314	return s
39315}
39316
39317type DescribeDeviceFleetInput struct {
39318	_ struct{} `type:"structure"`
39319
39320	// The name of the fleet.
39321	//
39322	// DeviceFleetName is a required field
39323	DeviceFleetName *string `min:"1" type:"string" required:"true"`
39324}
39325
39326// String returns the string representation
39327func (s DescribeDeviceFleetInput) String() string {
39328	return awsutil.Prettify(s)
39329}
39330
39331// GoString returns the string representation
39332func (s DescribeDeviceFleetInput) GoString() string {
39333	return s.String()
39334}
39335
39336// Validate inspects the fields of the type to determine if they are valid.
39337func (s *DescribeDeviceFleetInput) Validate() error {
39338	invalidParams := request.ErrInvalidParams{Context: "DescribeDeviceFleetInput"}
39339	if s.DeviceFleetName == nil {
39340		invalidParams.Add(request.NewErrParamRequired("DeviceFleetName"))
39341	}
39342	if s.DeviceFleetName != nil && len(*s.DeviceFleetName) < 1 {
39343		invalidParams.Add(request.NewErrParamMinLen("DeviceFleetName", 1))
39344	}
39345
39346	if invalidParams.Len() > 0 {
39347		return invalidParams
39348	}
39349	return nil
39350}
39351
39352// SetDeviceFleetName sets the DeviceFleetName field's value.
39353func (s *DescribeDeviceFleetInput) SetDeviceFleetName(v string) *DescribeDeviceFleetInput {
39354	s.DeviceFleetName = &v
39355	return s
39356}
39357
39358type DescribeDeviceFleetOutput struct {
39359	_ struct{} `type:"structure"`
39360
39361	// Timestamp of when the device fleet was created.
39362	//
39363	// CreationTime is a required field
39364	CreationTime *time.Time `type:"timestamp" required:"true"`
39365
39366	// A description of the fleet.
39367	Description *string `min:"1" type:"string"`
39368
39369	// The The Amazon Resource Name (ARN) of the fleet.
39370	//
39371	// DeviceFleetArn is a required field
39372	DeviceFleetArn *string `type:"string" required:"true"`
39373
39374	// The name of the fleet.
39375	//
39376	// DeviceFleetName is a required field
39377	DeviceFleetName *string `min:"1" type:"string" required:"true"`
39378
39379	// The Amazon Resource Name (ARN) alias created in AWS Internet of Things (IoT).
39380	IotRoleAlias *string `type:"string"`
39381
39382	// Timestamp of when the device fleet was last updated.
39383	//
39384	// LastModifiedTime is a required field
39385	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
39386
39387	// The output configuration for storing sampled data.
39388	//
39389	// OutputConfig is a required field
39390	OutputConfig *EdgeOutputConfig `type:"structure" required:"true"`
39391
39392	// The Amazon Resource Name (ARN) that has access to AWS Internet of Things
39393	// (IoT).
39394	RoleArn *string `min:"20" type:"string"`
39395}
39396
39397// String returns the string representation
39398func (s DescribeDeviceFleetOutput) String() string {
39399	return awsutil.Prettify(s)
39400}
39401
39402// GoString returns the string representation
39403func (s DescribeDeviceFleetOutput) GoString() string {
39404	return s.String()
39405}
39406
39407// SetCreationTime sets the CreationTime field's value.
39408func (s *DescribeDeviceFleetOutput) SetCreationTime(v time.Time) *DescribeDeviceFleetOutput {
39409	s.CreationTime = &v
39410	return s
39411}
39412
39413// SetDescription sets the Description field's value.
39414func (s *DescribeDeviceFleetOutput) SetDescription(v string) *DescribeDeviceFleetOutput {
39415	s.Description = &v
39416	return s
39417}
39418
39419// SetDeviceFleetArn sets the DeviceFleetArn field's value.
39420func (s *DescribeDeviceFleetOutput) SetDeviceFleetArn(v string) *DescribeDeviceFleetOutput {
39421	s.DeviceFleetArn = &v
39422	return s
39423}
39424
39425// SetDeviceFleetName sets the DeviceFleetName field's value.
39426func (s *DescribeDeviceFleetOutput) SetDeviceFleetName(v string) *DescribeDeviceFleetOutput {
39427	s.DeviceFleetName = &v
39428	return s
39429}
39430
39431// SetIotRoleAlias sets the IotRoleAlias field's value.
39432func (s *DescribeDeviceFleetOutput) SetIotRoleAlias(v string) *DescribeDeviceFleetOutput {
39433	s.IotRoleAlias = &v
39434	return s
39435}
39436
39437// SetLastModifiedTime sets the LastModifiedTime field's value.
39438func (s *DescribeDeviceFleetOutput) SetLastModifiedTime(v time.Time) *DescribeDeviceFleetOutput {
39439	s.LastModifiedTime = &v
39440	return s
39441}
39442
39443// SetOutputConfig sets the OutputConfig field's value.
39444func (s *DescribeDeviceFleetOutput) SetOutputConfig(v *EdgeOutputConfig) *DescribeDeviceFleetOutput {
39445	s.OutputConfig = v
39446	return s
39447}
39448
39449// SetRoleArn sets the RoleArn field's value.
39450func (s *DescribeDeviceFleetOutput) SetRoleArn(v string) *DescribeDeviceFleetOutput {
39451	s.RoleArn = &v
39452	return s
39453}
39454
39455type DescribeDeviceInput struct {
39456	_ struct{} `type:"structure"`
39457
39458	// The name of the fleet the devices belong to.
39459	//
39460	// DeviceFleetName is a required field
39461	DeviceFleetName *string `min:"1" type:"string" required:"true"`
39462
39463	// The unique ID of the device.
39464	//
39465	// DeviceName is a required field
39466	DeviceName *string `min:"1" type:"string" required:"true"`
39467
39468	// Next token of device description.
39469	NextToken *string `type:"string"`
39470}
39471
39472// String returns the string representation
39473func (s DescribeDeviceInput) String() string {
39474	return awsutil.Prettify(s)
39475}
39476
39477// GoString returns the string representation
39478func (s DescribeDeviceInput) GoString() string {
39479	return s.String()
39480}
39481
39482// Validate inspects the fields of the type to determine if they are valid.
39483func (s *DescribeDeviceInput) Validate() error {
39484	invalidParams := request.ErrInvalidParams{Context: "DescribeDeviceInput"}
39485	if s.DeviceFleetName == nil {
39486		invalidParams.Add(request.NewErrParamRequired("DeviceFleetName"))
39487	}
39488	if s.DeviceFleetName != nil && len(*s.DeviceFleetName) < 1 {
39489		invalidParams.Add(request.NewErrParamMinLen("DeviceFleetName", 1))
39490	}
39491	if s.DeviceName == nil {
39492		invalidParams.Add(request.NewErrParamRequired("DeviceName"))
39493	}
39494	if s.DeviceName != nil && len(*s.DeviceName) < 1 {
39495		invalidParams.Add(request.NewErrParamMinLen("DeviceName", 1))
39496	}
39497
39498	if invalidParams.Len() > 0 {
39499		return invalidParams
39500	}
39501	return nil
39502}
39503
39504// SetDeviceFleetName sets the DeviceFleetName field's value.
39505func (s *DescribeDeviceInput) SetDeviceFleetName(v string) *DescribeDeviceInput {
39506	s.DeviceFleetName = &v
39507	return s
39508}
39509
39510// SetDeviceName sets the DeviceName field's value.
39511func (s *DescribeDeviceInput) SetDeviceName(v string) *DescribeDeviceInput {
39512	s.DeviceName = &v
39513	return s
39514}
39515
39516// SetNextToken sets the NextToken field's value.
39517func (s *DescribeDeviceInput) SetNextToken(v string) *DescribeDeviceInput {
39518	s.NextToken = &v
39519	return s
39520}
39521
39522type DescribeDeviceOutput struct {
39523	_ struct{} `type:"structure"`
39524
39525	// A description of the device.
39526	Description *string `min:"1" type:"string"`
39527
39528	// The Amazon Resource Name (ARN) of the device.
39529	DeviceArn *string `min:"20" type:"string"`
39530
39531	// The name of the fleet the device belongs to.
39532	//
39533	// DeviceFleetName is a required field
39534	DeviceFleetName *string `min:"1" type:"string" required:"true"`
39535
39536	// The unique identifier of the device.
39537	//
39538	// DeviceName is a required field
39539	DeviceName *string `min:"1" type:"string" required:"true"`
39540
39541	// The AWS Internet of Things (IoT) object thing name associated with the device.
39542	IotThingName *string `type:"string"`
39543
39544	// The last heartbeat received from the device.
39545	LatestHeartbeat *time.Time `type:"timestamp"`
39546
39547	// The maximum number of models.
39548	MaxModels *int64 `type:"integer"`
39549
39550	// Models on the device.
39551	Models []*EdgeModel `type:"list"`
39552
39553	// The response from the last list when returning a list large enough to need
39554	// tokening.
39555	NextToken *string `type:"string"`
39556
39557	// The timestamp of the last registration or de-reregistration.
39558	//
39559	// RegistrationTime is a required field
39560	RegistrationTime *time.Time `type:"timestamp" required:"true"`
39561}
39562
39563// String returns the string representation
39564func (s DescribeDeviceOutput) String() string {
39565	return awsutil.Prettify(s)
39566}
39567
39568// GoString returns the string representation
39569func (s DescribeDeviceOutput) GoString() string {
39570	return s.String()
39571}
39572
39573// SetDescription sets the Description field's value.
39574func (s *DescribeDeviceOutput) SetDescription(v string) *DescribeDeviceOutput {
39575	s.Description = &v
39576	return s
39577}
39578
39579// SetDeviceArn sets the DeviceArn field's value.
39580func (s *DescribeDeviceOutput) SetDeviceArn(v string) *DescribeDeviceOutput {
39581	s.DeviceArn = &v
39582	return s
39583}
39584
39585// SetDeviceFleetName sets the DeviceFleetName field's value.
39586func (s *DescribeDeviceOutput) SetDeviceFleetName(v string) *DescribeDeviceOutput {
39587	s.DeviceFleetName = &v
39588	return s
39589}
39590
39591// SetDeviceName sets the DeviceName field's value.
39592func (s *DescribeDeviceOutput) SetDeviceName(v string) *DescribeDeviceOutput {
39593	s.DeviceName = &v
39594	return s
39595}
39596
39597// SetIotThingName sets the IotThingName field's value.
39598func (s *DescribeDeviceOutput) SetIotThingName(v string) *DescribeDeviceOutput {
39599	s.IotThingName = &v
39600	return s
39601}
39602
39603// SetLatestHeartbeat sets the LatestHeartbeat field's value.
39604func (s *DescribeDeviceOutput) SetLatestHeartbeat(v time.Time) *DescribeDeviceOutput {
39605	s.LatestHeartbeat = &v
39606	return s
39607}
39608
39609// SetMaxModels sets the MaxModels field's value.
39610func (s *DescribeDeviceOutput) SetMaxModels(v int64) *DescribeDeviceOutput {
39611	s.MaxModels = &v
39612	return s
39613}
39614
39615// SetModels sets the Models field's value.
39616func (s *DescribeDeviceOutput) SetModels(v []*EdgeModel) *DescribeDeviceOutput {
39617	s.Models = v
39618	return s
39619}
39620
39621// SetNextToken sets the NextToken field's value.
39622func (s *DescribeDeviceOutput) SetNextToken(v string) *DescribeDeviceOutput {
39623	s.NextToken = &v
39624	return s
39625}
39626
39627// SetRegistrationTime sets the RegistrationTime field's value.
39628func (s *DescribeDeviceOutput) SetRegistrationTime(v time.Time) *DescribeDeviceOutput {
39629	s.RegistrationTime = &v
39630	return s
39631}
39632
39633type DescribeDomainInput struct {
39634	_ struct{} `type:"structure"`
39635
39636	// The domain ID.
39637	//
39638	// DomainId is a required field
39639	DomainId *string `type:"string" required:"true"`
39640}
39641
39642// String returns the string representation
39643func (s DescribeDomainInput) String() string {
39644	return awsutil.Prettify(s)
39645}
39646
39647// GoString returns the string representation
39648func (s DescribeDomainInput) GoString() string {
39649	return s.String()
39650}
39651
39652// Validate inspects the fields of the type to determine if they are valid.
39653func (s *DescribeDomainInput) Validate() error {
39654	invalidParams := request.ErrInvalidParams{Context: "DescribeDomainInput"}
39655	if s.DomainId == nil {
39656		invalidParams.Add(request.NewErrParamRequired("DomainId"))
39657	}
39658
39659	if invalidParams.Len() > 0 {
39660		return invalidParams
39661	}
39662	return nil
39663}
39664
39665// SetDomainId sets the DomainId field's value.
39666func (s *DescribeDomainInput) SetDomainId(v string) *DescribeDomainInput {
39667	s.DomainId = &v
39668	return s
39669}
39670
39671type DescribeDomainOutput struct {
39672	_ struct{} `type:"structure"`
39673
39674	// Specifies the VPC used for non-EFS traffic. The default value is PublicInternetOnly.
39675	//
39676	//    * PublicInternetOnly - Non-EFS traffic is through a VPC managed by Amazon
39677	//    SageMaker, which allows direct internet access
39678	//
39679	//    * VpcOnly - All Studio traffic is through the specified VPC and subnets
39680	AppNetworkAccessType *string `type:"string" enum:"AppNetworkAccessType"`
39681
39682	// The domain's authentication mode.
39683	AuthMode *string `type:"string" enum:"AuthMode"`
39684
39685	// The creation time.
39686	CreationTime *time.Time `type:"timestamp"`
39687
39688	// Settings which are applied to all UserProfiles in this domain, if settings
39689	// are not explicitly specified in a given UserProfile.
39690	DefaultUserSettings *UserSettings `type:"structure"`
39691
39692	// The domain's Amazon Resource Name (ARN).
39693	DomainArn *string `type:"string"`
39694
39695	// The domain ID.
39696	DomainId *string `type:"string"`
39697
39698	// The domain name.
39699	DomainName *string `type:"string"`
39700
39701	// The failure reason.
39702	FailureReason *string `type:"string"`
39703
39704	// The ID of the Amazon Elastic File System (EFS) managed by this Domain.
39705	HomeEfsFileSystemId *string `type:"string"`
39706
39707	// This member is deprecated and replaced with KmsKeyId.
39708	//
39709	// Deprecated: This property is deprecated, use KmsKeyId instead.
39710	HomeEfsFileSystemKmsKeyId *string `deprecated:"true" type:"string"`
39711
39712	// The AWS KMS customer managed CMK used to encrypt the EFS volume attached
39713	// to the domain.
39714	KmsKeyId *string `type:"string"`
39715
39716	// The last modified time.
39717	LastModifiedTime *time.Time `type:"timestamp"`
39718
39719	// The SSO managed application instance ID.
39720	SingleSignOnManagedApplicationInstanceId *string `type:"string"`
39721
39722	// The status.
39723	Status *string `type:"string" enum:"DomainStatus"`
39724
39725	// The VPC subnets that Studio uses for communication.
39726	SubnetIds []*string `min:"1" type:"list"`
39727
39728	// The domain's URL.
39729	Url *string `type:"string"`
39730
39731	// The ID of the Amazon Virtual Private Cloud (VPC) that Studio uses for communication.
39732	VpcId *string `type:"string"`
39733}
39734
39735// String returns the string representation
39736func (s DescribeDomainOutput) String() string {
39737	return awsutil.Prettify(s)
39738}
39739
39740// GoString returns the string representation
39741func (s DescribeDomainOutput) GoString() string {
39742	return s.String()
39743}
39744
39745// SetAppNetworkAccessType sets the AppNetworkAccessType field's value.
39746func (s *DescribeDomainOutput) SetAppNetworkAccessType(v string) *DescribeDomainOutput {
39747	s.AppNetworkAccessType = &v
39748	return s
39749}
39750
39751// SetAuthMode sets the AuthMode field's value.
39752func (s *DescribeDomainOutput) SetAuthMode(v string) *DescribeDomainOutput {
39753	s.AuthMode = &v
39754	return s
39755}
39756
39757// SetCreationTime sets the CreationTime field's value.
39758func (s *DescribeDomainOutput) SetCreationTime(v time.Time) *DescribeDomainOutput {
39759	s.CreationTime = &v
39760	return s
39761}
39762
39763// SetDefaultUserSettings sets the DefaultUserSettings field's value.
39764func (s *DescribeDomainOutput) SetDefaultUserSettings(v *UserSettings) *DescribeDomainOutput {
39765	s.DefaultUserSettings = v
39766	return s
39767}
39768
39769// SetDomainArn sets the DomainArn field's value.
39770func (s *DescribeDomainOutput) SetDomainArn(v string) *DescribeDomainOutput {
39771	s.DomainArn = &v
39772	return s
39773}
39774
39775// SetDomainId sets the DomainId field's value.
39776func (s *DescribeDomainOutput) SetDomainId(v string) *DescribeDomainOutput {
39777	s.DomainId = &v
39778	return s
39779}
39780
39781// SetDomainName sets the DomainName field's value.
39782func (s *DescribeDomainOutput) SetDomainName(v string) *DescribeDomainOutput {
39783	s.DomainName = &v
39784	return s
39785}
39786
39787// SetFailureReason sets the FailureReason field's value.
39788func (s *DescribeDomainOutput) SetFailureReason(v string) *DescribeDomainOutput {
39789	s.FailureReason = &v
39790	return s
39791}
39792
39793// SetHomeEfsFileSystemId sets the HomeEfsFileSystemId field's value.
39794func (s *DescribeDomainOutput) SetHomeEfsFileSystemId(v string) *DescribeDomainOutput {
39795	s.HomeEfsFileSystemId = &v
39796	return s
39797}
39798
39799// SetHomeEfsFileSystemKmsKeyId sets the HomeEfsFileSystemKmsKeyId field's value.
39800func (s *DescribeDomainOutput) SetHomeEfsFileSystemKmsKeyId(v string) *DescribeDomainOutput {
39801	s.HomeEfsFileSystemKmsKeyId = &v
39802	return s
39803}
39804
39805// SetKmsKeyId sets the KmsKeyId field's value.
39806func (s *DescribeDomainOutput) SetKmsKeyId(v string) *DescribeDomainOutput {
39807	s.KmsKeyId = &v
39808	return s
39809}
39810
39811// SetLastModifiedTime sets the LastModifiedTime field's value.
39812func (s *DescribeDomainOutput) SetLastModifiedTime(v time.Time) *DescribeDomainOutput {
39813	s.LastModifiedTime = &v
39814	return s
39815}
39816
39817// SetSingleSignOnManagedApplicationInstanceId sets the SingleSignOnManagedApplicationInstanceId field's value.
39818func (s *DescribeDomainOutput) SetSingleSignOnManagedApplicationInstanceId(v string) *DescribeDomainOutput {
39819	s.SingleSignOnManagedApplicationInstanceId = &v
39820	return s
39821}
39822
39823// SetStatus sets the Status field's value.
39824func (s *DescribeDomainOutput) SetStatus(v string) *DescribeDomainOutput {
39825	s.Status = &v
39826	return s
39827}
39828
39829// SetSubnetIds sets the SubnetIds field's value.
39830func (s *DescribeDomainOutput) SetSubnetIds(v []*string) *DescribeDomainOutput {
39831	s.SubnetIds = v
39832	return s
39833}
39834
39835// SetUrl sets the Url field's value.
39836func (s *DescribeDomainOutput) SetUrl(v string) *DescribeDomainOutput {
39837	s.Url = &v
39838	return s
39839}
39840
39841// SetVpcId sets the VpcId field's value.
39842func (s *DescribeDomainOutput) SetVpcId(v string) *DescribeDomainOutput {
39843	s.VpcId = &v
39844	return s
39845}
39846
39847type DescribeEdgePackagingJobInput struct {
39848	_ struct{} `type:"structure"`
39849
39850	// The name of the edge packaging job.
39851	//
39852	// EdgePackagingJobName is a required field
39853	EdgePackagingJobName *string `min:"1" type:"string" required:"true"`
39854}
39855
39856// String returns the string representation
39857func (s DescribeEdgePackagingJobInput) String() string {
39858	return awsutil.Prettify(s)
39859}
39860
39861// GoString returns the string representation
39862func (s DescribeEdgePackagingJobInput) GoString() string {
39863	return s.String()
39864}
39865
39866// Validate inspects the fields of the type to determine if they are valid.
39867func (s *DescribeEdgePackagingJobInput) Validate() error {
39868	invalidParams := request.ErrInvalidParams{Context: "DescribeEdgePackagingJobInput"}
39869	if s.EdgePackagingJobName == nil {
39870		invalidParams.Add(request.NewErrParamRequired("EdgePackagingJobName"))
39871	}
39872	if s.EdgePackagingJobName != nil && len(*s.EdgePackagingJobName) < 1 {
39873		invalidParams.Add(request.NewErrParamMinLen("EdgePackagingJobName", 1))
39874	}
39875
39876	if invalidParams.Len() > 0 {
39877		return invalidParams
39878	}
39879	return nil
39880}
39881
39882// SetEdgePackagingJobName sets the EdgePackagingJobName field's value.
39883func (s *DescribeEdgePackagingJobInput) SetEdgePackagingJobName(v string) *DescribeEdgePackagingJobInput {
39884	s.EdgePackagingJobName = &v
39885	return s
39886}
39887
39888type DescribeEdgePackagingJobOutput struct {
39889	_ struct{} `type:"structure"`
39890
39891	// The name of the SageMaker Neo compilation job that is used to locate model
39892	// artifacts that are being packaged.
39893	CompilationJobName *string `min:"1" type:"string"`
39894
39895	// The timestamp of when the packaging job was created.
39896	CreationTime *time.Time `type:"timestamp"`
39897
39898	// The Amazon Resource Name (ARN) of the edge packaging job.
39899	//
39900	// EdgePackagingJobArn is a required field
39901	EdgePackagingJobArn *string `min:"20" type:"string" required:"true"`
39902
39903	// The name of the edge packaging job.
39904	//
39905	// EdgePackagingJobName is a required field
39906	EdgePackagingJobName *string `min:"1" type:"string" required:"true"`
39907
39908	// The current status of the packaging job.
39909	//
39910	// EdgePackagingJobStatus is a required field
39911	EdgePackagingJobStatus *string `type:"string" required:"true" enum:"EdgePackagingJobStatus"`
39912
39913	// Returns a message describing the job status and error messages.
39914	EdgePackagingJobStatusMessage *string `type:"string"`
39915
39916	// The timestamp of when the job was last updated.
39917	LastModifiedTime *time.Time `type:"timestamp"`
39918
39919	// The Amazon Simple Storage (S3) URI where model artifacts ares stored.
39920	ModelArtifact *string `type:"string"`
39921
39922	// The name of the model.
39923	ModelName *string `min:"1" type:"string"`
39924
39925	// The signature document of files in the model artifact.
39926	ModelSignature *string `type:"string"`
39927
39928	// The version of the model.
39929	ModelVersion *string `min:"1" type:"string"`
39930
39931	// The output configuration for the edge packaging job.
39932	OutputConfig *EdgeOutputConfig `type:"structure"`
39933
39934	// The CMK to use when encrypting the EBS volume the job run on.
39935	ResourceKey *string `type:"string"`
39936
39937	// The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker
39938	// to download and upload the model, and to contact Neo.
39939	RoleArn *string `min:"20" type:"string"`
39940}
39941
39942// String returns the string representation
39943func (s DescribeEdgePackagingJobOutput) String() string {
39944	return awsutil.Prettify(s)
39945}
39946
39947// GoString returns the string representation
39948func (s DescribeEdgePackagingJobOutput) GoString() string {
39949	return s.String()
39950}
39951
39952// SetCompilationJobName sets the CompilationJobName field's value.
39953func (s *DescribeEdgePackagingJobOutput) SetCompilationJobName(v string) *DescribeEdgePackagingJobOutput {
39954	s.CompilationJobName = &v
39955	return s
39956}
39957
39958// SetCreationTime sets the CreationTime field's value.
39959func (s *DescribeEdgePackagingJobOutput) SetCreationTime(v time.Time) *DescribeEdgePackagingJobOutput {
39960	s.CreationTime = &v
39961	return s
39962}
39963
39964// SetEdgePackagingJobArn sets the EdgePackagingJobArn field's value.
39965func (s *DescribeEdgePackagingJobOutput) SetEdgePackagingJobArn(v string) *DescribeEdgePackagingJobOutput {
39966	s.EdgePackagingJobArn = &v
39967	return s
39968}
39969
39970// SetEdgePackagingJobName sets the EdgePackagingJobName field's value.
39971func (s *DescribeEdgePackagingJobOutput) SetEdgePackagingJobName(v string) *DescribeEdgePackagingJobOutput {
39972	s.EdgePackagingJobName = &v
39973	return s
39974}
39975
39976// SetEdgePackagingJobStatus sets the EdgePackagingJobStatus field's value.
39977func (s *DescribeEdgePackagingJobOutput) SetEdgePackagingJobStatus(v string) *DescribeEdgePackagingJobOutput {
39978	s.EdgePackagingJobStatus = &v
39979	return s
39980}
39981
39982// SetEdgePackagingJobStatusMessage sets the EdgePackagingJobStatusMessage field's value.
39983func (s *DescribeEdgePackagingJobOutput) SetEdgePackagingJobStatusMessage(v string) *DescribeEdgePackagingJobOutput {
39984	s.EdgePackagingJobStatusMessage = &v
39985	return s
39986}
39987
39988// SetLastModifiedTime sets the LastModifiedTime field's value.
39989func (s *DescribeEdgePackagingJobOutput) SetLastModifiedTime(v time.Time) *DescribeEdgePackagingJobOutput {
39990	s.LastModifiedTime = &v
39991	return s
39992}
39993
39994// SetModelArtifact sets the ModelArtifact field's value.
39995func (s *DescribeEdgePackagingJobOutput) SetModelArtifact(v string) *DescribeEdgePackagingJobOutput {
39996	s.ModelArtifact = &v
39997	return s
39998}
39999
40000// SetModelName sets the ModelName field's value.
40001func (s *DescribeEdgePackagingJobOutput) SetModelName(v string) *DescribeEdgePackagingJobOutput {
40002	s.ModelName = &v
40003	return s
40004}
40005
40006// SetModelSignature sets the ModelSignature field's value.
40007func (s *DescribeEdgePackagingJobOutput) SetModelSignature(v string) *DescribeEdgePackagingJobOutput {
40008	s.ModelSignature = &v
40009	return s
40010}
40011
40012// SetModelVersion sets the ModelVersion field's value.
40013func (s *DescribeEdgePackagingJobOutput) SetModelVersion(v string) *DescribeEdgePackagingJobOutput {
40014	s.ModelVersion = &v
40015	return s
40016}
40017
40018// SetOutputConfig sets the OutputConfig field's value.
40019func (s *DescribeEdgePackagingJobOutput) SetOutputConfig(v *EdgeOutputConfig) *DescribeEdgePackagingJobOutput {
40020	s.OutputConfig = v
40021	return s
40022}
40023
40024// SetResourceKey sets the ResourceKey field's value.
40025func (s *DescribeEdgePackagingJobOutput) SetResourceKey(v string) *DescribeEdgePackagingJobOutput {
40026	s.ResourceKey = &v
40027	return s
40028}
40029
40030// SetRoleArn sets the RoleArn field's value.
40031func (s *DescribeEdgePackagingJobOutput) SetRoleArn(v string) *DescribeEdgePackagingJobOutput {
40032	s.RoleArn = &v
40033	return s
40034}
40035
40036type DescribeEndpointConfigInput struct {
40037	_ struct{} `type:"structure"`
40038
40039	// The name of the endpoint configuration.
40040	//
40041	// EndpointConfigName is a required field
40042	EndpointConfigName *string `type:"string" required:"true"`
40043}
40044
40045// String returns the string representation
40046func (s DescribeEndpointConfigInput) String() string {
40047	return awsutil.Prettify(s)
40048}
40049
40050// GoString returns the string representation
40051func (s DescribeEndpointConfigInput) GoString() string {
40052	return s.String()
40053}
40054
40055// Validate inspects the fields of the type to determine if they are valid.
40056func (s *DescribeEndpointConfigInput) Validate() error {
40057	invalidParams := request.ErrInvalidParams{Context: "DescribeEndpointConfigInput"}
40058	if s.EndpointConfigName == nil {
40059		invalidParams.Add(request.NewErrParamRequired("EndpointConfigName"))
40060	}
40061
40062	if invalidParams.Len() > 0 {
40063		return invalidParams
40064	}
40065	return nil
40066}
40067
40068// SetEndpointConfigName sets the EndpointConfigName field's value.
40069func (s *DescribeEndpointConfigInput) SetEndpointConfigName(v string) *DescribeEndpointConfigInput {
40070	s.EndpointConfigName = &v
40071	return s
40072}
40073
40074type DescribeEndpointConfigOutput struct {
40075	_ struct{} `type:"structure"`
40076
40077	// A timestamp that shows when the endpoint configuration was created.
40078	//
40079	// CreationTime is a required field
40080	CreationTime *time.Time `type:"timestamp" required:"true"`
40081
40082	DataCaptureConfig *DataCaptureConfig `type:"structure"`
40083
40084	// The Amazon Resource Name (ARN) of the endpoint configuration.
40085	//
40086	// EndpointConfigArn is a required field
40087	EndpointConfigArn *string `min:"20" type:"string" required:"true"`
40088
40089	// Name of the Amazon SageMaker endpoint configuration.
40090	//
40091	// EndpointConfigName is a required field
40092	EndpointConfigName *string `type:"string" required:"true"`
40093
40094	// AWS KMS key ID Amazon SageMaker uses to encrypt data when storing it on the
40095	// ML storage volume attached to the instance.
40096	KmsKeyId *string `type:"string"`
40097
40098	// An array of ProductionVariant objects, one for each model that you want to
40099	// host at this endpoint.
40100	//
40101	// ProductionVariants is a required field
40102	ProductionVariants []*ProductionVariant `min:"1" type:"list" required:"true"`
40103}
40104
40105// String returns the string representation
40106func (s DescribeEndpointConfigOutput) String() string {
40107	return awsutil.Prettify(s)
40108}
40109
40110// GoString returns the string representation
40111func (s DescribeEndpointConfigOutput) GoString() string {
40112	return s.String()
40113}
40114
40115// SetCreationTime sets the CreationTime field's value.
40116func (s *DescribeEndpointConfigOutput) SetCreationTime(v time.Time) *DescribeEndpointConfigOutput {
40117	s.CreationTime = &v
40118	return s
40119}
40120
40121// SetDataCaptureConfig sets the DataCaptureConfig field's value.
40122func (s *DescribeEndpointConfigOutput) SetDataCaptureConfig(v *DataCaptureConfig) *DescribeEndpointConfigOutput {
40123	s.DataCaptureConfig = v
40124	return s
40125}
40126
40127// SetEndpointConfigArn sets the EndpointConfigArn field's value.
40128func (s *DescribeEndpointConfigOutput) SetEndpointConfigArn(v string) *DescribeEndpointConfigOutput {
40129	s.EndpointConfigArn = &v
40130	return s
40131}
40132
40133// SetEndpointConfigName sets the EndpointConfigName field's value.
40134func (s *DescribeEndpointConfigOutput) SetEndpointConfigName(v string) *DescribeEndpointConfigOutput {
40135	s.EndpointConfigName = &v
40136	return s
40137}
40138
40139// SetKmsKeyId sets the KmsKeyId field's value.
40140func (s *DescribeEndpointConfigOutput) SetKmsKeyId(v string) *DescribeEndpointConfigOutput {
40141	s.KmsKeyId = &v
40142	return s
40143}
40144
40145// SetProductionVariants sets the ProductionVariants field's value.
40146func (s *DescribeEndpointConfigOutput) SetProductionVariants(v []*ProductionVariant) *DescribeEndpointConfigOutput {
40147	s.ProductionVariants = v
40148	return s
40149}
40150
40151type DescribeEndpointInput struct {
40152	_ struct{} `type:"structure"`
40153
40154	// The name of the endpoint.
40155	//
40156	// EndpointName is a required field
40157	EndpointName *string `type:"string" required:"true"`
40158}
40159
40160// String returns the string representation
40161func (s DescribeEndpointInput) String() string {
40162	return awsutil.Prettify(s)
40163}
40164
40165// GoString returns the string representation
40166func (s DescribeEndpointInput) GoString() string {
40167	return s.String()
40168}
40169
40170// Validate inspects the fields of the type to determine if they are valid.
40171func (s *DescribeEndpointInput) Validate() error {
40172	invalidParams := request.ErrInvalidParams{Context: "DescribeEndpointInput"}
40173	if s.EndpointName == nil {
40174		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
40175	}
40176
40177	if invalidParams.Len() > 0 {
40178		return invalidParams
40179	}
40180	return nil
40181}
40182
40183// SetEndpointName sets the EndpointName field's value.
40184func (s *DescribeEndpointInput) SetEndpointName(v string) *DescribeEndpointInput {
40185	s.EndpointName = &v
40186	return s
40187}
40188
40189type DescribeEndpointOutput struct {
40190	_ struct{} `type:"structure"`
40191
40192	// A timestamp that shows when the endpoint was created.
40193	//
40194	// CreationTime is a required field
40195	CreationTime *time.Time `type:"timestamp" required:"true"`
40196
40197	DataCaptureConfig *DataCaptureConfigSummary `type:"structure"`
40198
40199	// The Amazon Resource Name (ARN) of the endpoint.
40200	//
40201	// EndpointArn is a required field
40202	EndpointArn *string `min:"20" type:"string" required:"true"`
40203
40204	// The name of the endpoint configuration associated with this endpoint.
40205	//
40206	// EndpointConfigName is a required field
40207	EndpointConfigName *string `type:"string" required:"true"`
40208
40209	// Name of the endpoint.
40210	//
40211	// EndpointName is a required field
40212	EndpointName *string `type:"string" required:"true"`
40213
40214	// The status of the endpoint.
40215	//
40216	//    * OutOfService: Endpoint is not available to take incoming requests.
40217	//
40218	//    * Creating: CreateEndpoint is executing.
40219	//
40220	//    * Updating: UpdateEndpoint or UpdateEndpointWeightsAndCapacities is executing.
40221	//
40222	//    * SystemUpdating: Endpoint is undergoing maintenance and cannot be updated
40223	//    or deleted or re-scaled until it has completed. This maintenance operation
40224	//    does not change any customer-specified values such as VPC config, KMS
40225	//    encryption, model, instance type, or instance count.
40226	//
40227	//    * RollingBack: Endpoint fails to scale up or down or change its variant
40228	//    weight and is in the process of rolling back to its previous configuration.
40229	//    Once the rollback completes, endpoint returns to an InService status.
40230	//    This transitional status only applies to an endpoint that has autoscaling
40231	//    enabled and is undergoing variant weight or capacity changes as part of
40232	//    an UpdateEndpointWeightsAndCapacities call or when the UpdateEndpointWeightsAndCapacities
40233	//    operation is called explicitly.
40234	//
40235	//    * InService: Endpoint is available to process incoming requests.
40236	//
40237	//    * Deleting: DeleteEndpoint is executing.
40238	//
40239	//    * Failed: Endpoint could not be created, updated, or re-scaled. Use DescribeEndpointOutput$FailureReason
40240	//    for information about the failure. DeleteEndpoint is the only operation
40241	//    that can be performed on a failed endpoint.
40242	//
40243	// EndpointStatus is a required field
40244	EndpointStatus *string `type:"string" required:"true" enum:"EndpointStatus"`
40245
40246	// If the status of the endpoint is Failed, the reason why it failed.
40247	FailureReason *string `type:"string"`
40248
40249	// The most recent deployment configuration for the endpoint.
40250	LastDeploymentConfig *DeploymentConfig `type:"structure"`
40251
40252	// A timestamp that shows when the endpoint was last modified.
40253	//
40254	// LastModifiedTime is a required field
40255	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
40256
40257	// An array of ProductionVariantSummary objects, one for each model hosted behind
40258	// this endpoint.
40259	ProductionVariants []*ProductionVariantSummary `min:"1" type:"list"`
40260}
40261
40262// String returns the string representation
40263func (s DescribeEndpointOutput) String() string {
40264	return awsutil.Prettify(s)
40265}
40266
40267// GoString returns the string representation
40268func (s DescribeEndpointOutput) GoString() string {
40269	return s.String()
40270}
40271
40272// SetCreationTime sets the CreationTime field's value.
40273func (s *DescribeEndpointOutput) SetCreationTime(v time.Time) *DescribeEndpointOutput {
40274	s.CreationTime = &v
40275	return s
40276}
40277
40278// SetDataCaptureConfig sets the DataCaptureConfig field's value.
40279func (s *DescribeEndpointOutput) SetDataCaptureConfig(v *DataCaptureConfigSummary) *DescribeEndpointOutput {
40280	s.DataCaptureConfig = v
40281	return s
40282}
40283
40284// SetEndpointArn sets the EndpointArn field's value.
40285func (s *DescribeEndpointOutput) SetEndpointArn(v string) *DescribeEndpointOutput {
40286	s.EndpointArn = &v
40287	return s
40288}
40289
40290// SetEndpointConfigName sets the EndpointConfigName field's value.
40291func (s *DescribeEndpointOutput) SetEndpointConfigName(v string) *DescribeEndpointOutput {
40292	s.EndpointConfigName = &v
40293	return s
40294}
40295
40296// SetEndpointName sets the EndpointName field's value.
40297func (s *DescribeEndpointOutput) SetEndpointName(v string) *DescribeEndpointOutput {
40298	s.EndpointName = &v
40299	return s
40300}
40301
40302// SetEndpointStatus sets the EndpointStatus field's value.
40303func (s *DescribeEndpointOutput) SetEndpointStatus(v string) *DescribeEndpointOutput {
40304	s.EndpointStatus = &v
40305	return s
40306}
40307
40308// SetFailureReason sets the FailureReason field's value.
40309func (s *DescribeEndpointOutput) SetFailureReason(v string) *DescribeEndpointOutput {
40310	s.FailureReason = &v
40311	return s
40312}
40313
40314// SetLastDeploymentConfig sets the LastDeploymentConfig field's value.
40315func (s *DescribeEndpointOutput) SetLastDeploymentConfig(v *DeploymentConfig) *DescribeEndpointOutput {
40316	s.LastDeploymentConfig = v
40317	return s
40318}
40319
40320// SetLastModifiedTime sets the LastModifiedTime field's value.
40321func (s *DescribeEndpointOutput) SetLastModifiedTime(v time.Time) *DescribeEndpointOutput {
40322	s.LastModifiedTime = &v
40323	return s
40324}
40325
40326// SetProductionVariants sets the ProductionVariants field's value.
40327func (s *DescribeEndpointOutput) SetProductionVariants(v []*ProductionVariantSummary) *DescribeEndpointOutput {
40328	s.ProductionVariants = v
40329	return s
40330}
40331
40332type DescribeExperimentInput struct {
40333	_ struct{} `type:"structure"`
40334
40335	// The name of the experiment to describe.
40336	//
40337	// ExperimentName is a required field
40338	ExperimentName *string `min:"1" type:"string" required:"true"`
40339}
40340
40341// String returns the string representation
40342func (s DescribeExperimentInput) String() string {
40343	return awsutil.Prettify(s)
40344}
40345
40346// GoString returns the string representation
40347func (s DescribeExperimentInput) GoString() string {
40348	return s.String()
40349}
40350
40351// Validate inspects the fields of the type to determine if they are valid.
40352func (s *DescribeExperimentInput) Validate() error {
40353	invalidParams := request.ErrInvalidParams{Context: "DescribeExperimentInput"}
40354	if s.ExperimentName == nil {
40355		invalidParams.Add(request.NewErrParamRequired("ExperimentName"))
40356	}
40357	if s.ExperimentName != nil && len(*s.ExperimentName) < 1 {
40358		invalidParams.Add(request.NewErrParamMinLen("ExperimentName", 1))
40359	}
40360
40361	if invalidParams.Len() > 0 {
40362		return invalidParams
40363	}
40364	return nil
40365}
40366
40367// SetExperimentName sets the ExperimentName field's value.
40368func (s *DescribeExperimentInput) SetExperimentName(v string) *DescribeExperimentInput {
40369	s.ExperimentName = &v
40370	return s
40371}
40372
40373type DescribeExperimentOutput struct {
40374	_ struct{} `type:"structure"`
40375
40376	// Who created the experiment.
40377	CreatedBy *UserContext `type:"structure"`
40378
40379	// When the experiment was created.
40380	CreationTime *time.Time `type:"timestamp"`
40381
40382	// The description of the experiment.
40383	Description *string `type:"string"`
40384
40385	// The name of the experiment as displayed. If DisplayName isn't specified,
40386	// ExperimentName is displayed.
40387	DisplayName *string `min:"1" type:"string"`
40388
40389	// The Amazon Resource Name (ARN) of the experiment.
40390	ExperimentArn *string `type:"string"`
40391
40392	// The name of the experiment.
40393	ExperimentName *string `min:"1" type:"string"`
40394
40395	// Who last modified the experiment.
40396	LastModifiedBy *UserContext `type:"structure"`
40397
40398	// When the experiment was last modified.
40399	LastModifiedTime *time.Time `type:"timestamp"`
40400
40401	// The ARN of the source and, optionally, the type.
40402	Source *ExperimentSource `type:"structure"`
40403}
40404
40405// String returns the string representation
40406func (s DescribeExperimentOutput) String() string {
40407	return awsutil.Prettify(s)
40408}
40409
40410// GoString returns the string representation
40411func (s DescribeExperimentOutput) GoString() string {
40412	return s.String()
40413}
40414
40415// SetCreatedBy sets the CreatedBy field's value.
40416func (s *DescribeExperimentOutput) SetCreatedBy(v *UserContext) *DescribeExperimentOutput {
40417	s.CreatedBy = v
40418	return s
40419}
40420
40421// SetCreationTime sets the CreationTime field's value.
40422func (s *DescribeExperimentOutput) SetCreationTime(v time.Time) *DescribeExperimentOutput {
40423	s.CreationTime = &v
40424	return s
40425}
40426
40427// SetDescription sets the Description field's value.
40428func (s *DescribeExperimentOutput) SetDescription(v string) *DescribeExperimentOutput {
40429	s.Description = &v
40430	return s
40431}
40432
40433// SetDisplayName sets the DisplayName field's value.
40434func (s *DescribeExperimentOutput) SetDisplayName(v string) *DescribeExperimentOutput {
40435	s.DisplayName = &v
40436	return s
40437}
40438
40439// SetExperimentArn sets the ExperimentArn field's value.
40440func (s *DescribeExperimentOutput) SetExperimentArn(v string) *DescribeExperimentOutput {
40441	s.ExperimentArn = &v
40442	return s
40443}
40444
40445// SetExperimentName sets the ExperimentName field's value.
40446func (s *DescribeExperimentOutput) SetExperimentName(v string) *DescribeExperimentOutput {
40447	s.ExperimentName = &v
40448	return s
40449}
40450
40451// SetLastModifiedBy sets the LastModifiedBy field's value.
40452func (s *DescribeExperimentOutput) SetLastModifiedBy(v *UserContext) *DescribeExperimentOutput {
40453	s.LastModifiedBy = v
40454	return s
40455}
40456
40457// SetLastModifiedTime sets the LastModifiedTime field's value.
40458func (s *DescribeExperimentOutput) SetLastModifiedTime(v time.Time) *DescribeExperimentOutput {
40459	s.LastModifiedTime = &v
40460	return s
40461}
40462
40463// SetSource sets the Source field's value.
40464func (s *DescribeExperimentOutput) SetSource(v *ExperimentSource) *DescribeExperimentOutput {
40465	s.Source = v
40466	return s
40467}
40468
40469type DescribeFeatureGroupInput struct {
40470	_ struct{} `type:"structure"`
40471
40472	// The name of the FeatureGroup you want described.
40473	//
40474	// FeatureGroupName is a required field
40475	FeatureGroupName *string `min:"1" type:"string" required:"true"`
40476
40477	// A token to resume pagination of the list of Features (FeatureDefinitions).
40478	// 2,500 Features are returned by default.
40479	NextToken *string `type:"string"`
40480}
40481
40482// String returns the string representation
40483func (s DescribeFeatureGroupInput) String() string {
40484	return awsutil.Prettify(s)
40485}
40486
40487// GoString returns the string representation
40488func (s DescribeFeatureGroupInput) GoString() string {
40489	return s.String()
40490}
40491
40492// Validate inspects the fields of the type to determine if they are valid.
40493func (s *DescribeFeatureGroupInput) Validate() error {
40494	invalidParams := request.ErrInvalidParams{Context: "DescribeFeatureGroupInput"}
40495	if s.FeatureGroupName == nil {
40496		invalidParams.Add(request.NewErrParamRequired("FeatureGroupName"))
40497	}
40498	if s.FeatureGroupName != nil && len(*s.FeatureGroupName) < 1 {
40499		invalidParams.Add(request.NewErrParamMinLen("FeatureGroupName", 1))
40500	}
40501
40502	if invalidParams.Len() > 0 {
40503		return invalidParams
40504	}
40505	return nil
40506}
40507
40508// SetFeatureGroupName sets the FeatureGroupName field's value.
40509func (s *DescribeFeatureGroupInput) SetFeatureGroupName(v string) *DescribeFeatureGroupInput {
40510	s.FeatureGroupName = &v
40511	return s
40512}
40513
40514// SetNextToken sets the NextToken field's value.
40515func (s *DescribeFeatureGroupInput) SetNextToken(v string) *DescribeFeatureGroupInput {
40516	s.NextToken = &v
40517	return s
40518}
40519
40520type DescribeFeatureGroupOutput struct {
40521	_ struct{} `type:"structure"`
40522
40523	// A timestamp indicating when SageMaker created the FeatureGroup.
40524	//
40525	// CreationTime is a required field
40526	CreationTime *time.Time `type:"timestamp" required:"true"`
40527
40528	// A free form description of the feature group.
40529	Description *string `type:"string"`
40530
40531	// The name of the feature that stores the EventTime of a Record in a FeatureGroup.
40532	//
40533	// An EventTime is a point in time when a new event occurs that corresponds
40534	// to the creation or update of a Record in a FeatureGroup. All Records in the
40535	// FeatureGroup have a corresponding EventTime.
40536	//
40537	// EventTimeFeatureName is a required field
40538	EventTimeFeatureName *string `min:"1" type:"string" required:"true"`
40539
40540	// The reason that the FeatureGroup failed to be replicated in the OfflineStore.
40541	// This is failure can occur because:
40542	//
40543	//    * The FeatureGroup could not be created in the OfflineStore.
40544	//
40545	//    * The FeatureGroup could not be deleted from the OfflineStore.
40546	FailureReason *string `type:"string"`
40547
40548	// A list of the Features in the FeatureGroup. Each feature is defined by a
40549	// FeatureName and FeatureType.
40550	//
40551	// FeatureDefinitions is a required field
40552	FeatureDefinitions []*FeatureDefinition `min:"1" type:"list" required:"true"`
40553
40554	// The Amazon Resource Name (ARN) of the FeatureGroup.
40555	//
40556	// FeatureGroupArn is a required field
40557	FeatureGroupArn *string `type:"string" required:"true"`
40558
40559	// he name of the FeatureGroup.
40560	//
40561	// FeatureGroupName is a required field
40562	FeatureGroupName *string `min:"1" type:"string" required:"true"`
40563
40564	// The status of the feature group.
40565	FeatureGroupStatus *string `type:"string" enum:"FeatureGroupStatus"`
40566
40567	// A token to resume pagination of the list of Features (FeatureDefinitions).
40568	//
40569	// NextToken is a required field
40570	NextToken *string `type:"string" required:"true"`
40571
40572	// The configuration of the OfflineStore, inducing the S3 location of the OfflineStore,
40573	// AWS Glue or AWS Hive data catalogue configurations, and the security configuration.
40574	OfflineStoreConfig *OfflineStoreConfig `type:"structure"`
40575
40576	// The status of the OfflineStore. Notifies you if replicating data into the
40577	// OfflineStore has failed. Returns either: Active or Blocked
40578	OfflineStoreStatus *OfflineStoreStatus `type:"structure"`
40579
40580	// The configuration for the OnlineStore.
40581	OnlineStoreConfig *OnlineStoreConfig `type:"structure"`
40582
40583	// The name of the Feature used for RecordIdentifier, whose value uniquely identifies
40584	// a record stored in the feature store.
40585	//
40586	// RecordIdentifierFeatureName is a required field
40587	RecordIdentifierFeatureName *string `min:"1" type:"string" required:"true"`
40588
40589	// The Amazon Resource Name (ARN) of the IAM execution role used to persist
40590	// data into the OfflineStore if an OfflineStoreConfig is provided.
40591	RoleArn *string `min:"20" type:"string"`
40592}
40593
40594// String returns the string representation
40595func (s DescribeFeatureGroupOutput) String() string {
40596	return awsutil.Prettify(s)
40597}
40598
40599// GoString returns the string representation
40600func (s DescribeFeatureGroupOutput) GoString() string {
40601	return s.String()
40602}
40603
40604// SetCreationTime sets the CreationTime field's value.
40605func (s *DescribeFeatureGroupOutput) SetCreationTime(v time.Time) *DescribeFeatureGroupOutput {
40606	s.CreationTime = &v
40607	return s
40608}
40609
40610// SetDescription sets the Description field's value.
40611func (s *DescribeFeatureGroupOutput) SetDescription(v string) *DescribeFeatureGroupOutput {
40612	s.Description = &v
40613	return s
40614}
40615
40616// SetEventTimeFeatureName sets the EventTimeFeatureName field's value.
40617func (s *DescribeFeatureGroupOutput) SetEventTimeFeatureName(v string) *DescribeFeatureGroupOutput {
40618	s.EventTimeFeatureName = &v
40619	return s
40620}
40621
40622// SetFailureReason sets the FailureReason field's value.
40623func (s *DescribeFeatureGroupOutput) SetFailureReason(v string) *DescribeFeatureGroupOutput {
40624	s.FailureReason = &v
40625	return s
40626}
40627
40628// SetFeatureDefinitions sets the FeatureDefinitions field's value.
40629func (s *DescribeFeatureGroupOutput) SetFeatureDefinitions(v []*FeatureDefinition) *DescribeFeatureGroupOutput {
40630	s.FeatureDefinitions = v
40631	return s
40632}
40633
40634// SetFeatureGroupArn sets the FeatureGroupArn field's value.
40635func (s *DescribeFeatureGroupOutput) SetFeatureGroupArn(v string) *DescribeFeatureGroupOutput {
40636	s.FeatureGroupArn = &v
40637	return s
40638}
40639
40640// SetFeatureGroupName sets the FeatureGroupName field's value.
40641func (s *DescribeFeatureGroupOutput) SetFeatureGroupName(v string) *DescribeFeatureGroupOutput {
40642	s.FeatureGroupName = &v
40643	return s
40644}
40645
40646// SetFeatureGroupStatus sets the FeatureGroupStatus field's value.
40647func (s *DescribeFeatureGroupOutput) SetFeatureGroupStatus(v string) *DescribeFeatureGroupOutput {
40648	s.FeatureGroupStatus = &v
40649	return s
40650}
40651
40652// SetNextToken sets the NextToken field's value.
40653func (s *DescribeFeatureGroupOutput) SetNextToken(v string) *DescribeFeatureGroupOutput {
40654	s.NextToken = &v
40655	return s
40656}
40657
40658// SetOfflineStoreConfig sets the OfflineStoreConfig field's value.
40659func (s *DescribeFeatureGroupOutput) SetOfflineStoreConfig(v *OfflineStoreConfig) *DescribeFeatureGroupOutput {
40660	s.OfflineStoreConfig = v
40661	return s
40662}
40663
40664// SetOfflineStoreStatus sets the OfflineStoreStatus field's value.
40665func (s *DescribeFeatureGroupOutput) SetOfflineStoreStatus(v *OfflineStoreStatus) *DescribeFeatureGroupOutput {
40666	s.OfflineStoreStatus = v
40667	return s
40668}
40669
40670// SetOnlineStoreConfig sets the OnlineStoreConfig field's value.
40671func (s *DescribeFeatureGroupOutput) SetOnlineStoreConfig(v *OnlineStoreConfig) *DescribeFeatureGroupOutput {
40672	s.OnlineStoreConfig = v
40673	return s
40674}
40675
40676// SetRecordIdentifierFeatureName sets the RecordIdentifierFeatureName field's value.
40677func (s *DescribeFeatureGroupOutput) SetRecordIdentifierFeatureName(v string) *DescribeFeatureGroupOutput {
40678	s.RecordIdentifierFeatureName = &v
40679	return s
40680}
40681
40682// SetRoleArn sets the RoleArn field's value.
40683func (s *DescribeFeatureGroupOutput) SetRoleArn(v string) *DescribeFeatureGroupOutput {
40684	s.RoleArn = &v
40685	return s
40686}
40687
40688type DescribeFlowDefinitionInput struct {
40689	_ struct{} `type:"structure"`
40690
40691	// The name of the flow definition.
40692	//
40693	// FlowDefinitionName is a required field
40694	FlowDefinitionName *string `min:"1" type:"string" required:"true"`
40695}
40696
40697// String returns the string representation
40698func (s DescribeFlowDefinitionInput) String() string {
40699	return awsutil.Prettify(s)
40700}
40701
40702// GoString returns the string representation
40703func (s DescribeFlowDefinitionInput) GoString() string {
40704	return s.String()
40705}
40706
40707// Validate inspects the fields of the type to determine if they are valid.
40708func (s *DescribeFlowDefinitionInput) Validate() error {
40709	invalidParams := request.ErrInvalidParams{Context: "DescribeFlowDefinitionInput"}
40710	if s.FlowDefinitionName == nil {
40711		invalidParams.Add(request.NewErrParamRequired("FlowDefinitionName"))
40712	}
40713	if s.FlowDefinitionName != nil && len(*s.FlowDefinitionName) < 1 {
40714		invalidParams.Add(request.NewErrParamMinLen("FlowDefinitionName", 1))
40715	}
40716
40717	if invalidParams.Len() > 0 {
40718		return invalidParams
40719	}
40720	return nil
40721}
40722
40723// SetFlowDefinitionName sets the FlowDefinitionName field's value.
40724func (s *DescribeFlowDefinitionInput) SetFlowDefinitionName(v string) *DescribeFlowDefinitionInput {
40725	s.FlowDefinitionName = &v
40726	return s
40727}
40728
40729type DescribeFlowDefinitionOutput struct {
40730	_ struct{} `type:"structure"`
40731
40732	// The timestamp when the flow definition was created.
40733	//
40734	// CreationTime is a required field
40735	CreationTime *time.Time `type:"timestamp" required:"true"`
40736
40737	// The reason your flow definition failed.
40738	FailureReason *string `type:"string"`
40739
40740	// The Amazon Resource Name (ARN) of the flow defintion.
40741	//
40742	// FlowDefinitionArn is a required field
40743	FlowDefinitionArn *string `type:"string" required:"true"`
40744
40745	// The Amazon Resource Name (ARN) of the flow definition.
40746	//
40747	// FlowDefinitionName is a required field
40748	FlowDefinitionName *string `min:"1" type:"string" required:"true"`
40749
40750	// The status of the flow definition. Valid values are listed below.
40751	//
40752	// FlowDefinitionStatus is a required field
40753	FlowDefinitionStatus *string `type:"string" required:"true" enum:"FlowDefinitionStatus"`
40754
40755	// An object containing information about what triggers a human review workflow.
40756	HumanLoopActivationConfig *HumanLoopActivationConfig `type:"structure"`
40757
40758	// An object containing information about who works on the task, the workforce
40759	// task price, and other task details.
40760	//
40761	// HumanLoopConfig is a required field
40762	HumanLoopConfig *HumanLoopConfig `type:"structure" required:"true"`
40763
40764	// Container for configuring the source of human task requests. Used to specify
40765	// if Amazon Rekognition or Amazon Textract is used as an integration source.
40766	HumanLoopRequestSource *HumanLoopRequestSource `type:"structure"`
40767
40768	// An object containing information about the output file.
40769	//
40770	// OutputConfig is a required field
40771	OutputConfig *FlowDefinitionOutputConfig `type:"structure" required:"true"`
40772
40773	// The Amazon Resource Name (ARN) of the AWS Identity and Access Management
40774	// (IAM) execution role for the flow definition.
40775	//
40776	// RoleArn is a required field
40777	RoleArn *string `min:"20" type:"string" required:"true"`
40778}
40779
40780// String returns the string representation
40781func (s DescribeFlowDefinitionOutput) String() string {
40782	return awsutil.Prettify(s)
40783}
40784
40785// GoString returns the string representation
40786func (s DescribeFlowDefinitionOutput) GoString() string {
40787	return s.String()
40788}
40789
40790// SetCreationTime sets the CreationTime field's value.
40791func (s *DescribeFlowDefinitionOutput) SetCreationTime(v time.Time) *DescribeFlowDefinitionOutput {
40792	s.CreationTime = &v
40793	return s
40794}
40795
40796// SetFailureReason sets the FailureReason field's value.
40797func (s *DescribeFlowDefinitionOutput) SetFailureReason(v string) *DescribeFlowDefinitionOutput {
40798	s.FailureReason = &v
40799	return s
40800}
40801
40802// SetFlowDefinitionArn sets the FlowDefinitionArn field's value.
40803func (s *DescribeFlowDefinitionOutput) SetFlowDefinitionArn(v string) *DescribeFlowDefinitionOutput {
40804	s.FlowDefinitionArn = &v
40805	return s
40806}
40807
40808// SetFlowDefinitionName sets the FlowDefinitionName field's value.
40809func (s *DescribeFlowDefinitionOutput) SetFlowDefinitionName(v string) *DescribeFlowDefinitionOutput {
40810	s.FlowDefinitionName = &v
40811	return s
40812}
40813
40814// SetFlowDefinitionStatus sets the FlowDefinitionStatus field's value.
40815func (s *DescribeFlowDefinitionOutput) SetFlowDefinitionStatus(v string) *DescribeFlowDefinitionOutput {
40816	s.FlowDefinitionStatus = &v
40817	return s
40818}
40819
40820// SetHumanLoopActivationConfig sets the HumanLoopActivationConfig field's value.
40821func (s *DescribeFlowDefinitionOutput) SetHumanLoopActivationConfig(v *HumanLoopActivationConfig) *DescribeFlowDefinitionOutput {
40822	s.HumanLoopActivationConfig = v
40823	return s
40824}
40825
40826// SetHumanLoopConfig sets the HumanLoopConfig field's value.
40827func (s *DescribeFlowDefinitionOutput) SetHumanLoopConfig(v *HumanLoopConfig) *DescribeFlowDefinitionOutput {
40828	s.HumanLoopConfig = v
40829	return s
40830}
40831
40832// SetHumanLoopRequestSource sets the HumanLoopRequestSource field's value.
40833func (s *DescribeFlowDefinitionOutput) SetHumanLoopRequestSource(v *HumanLoopRequestSource) *DescribeFlowDefinitionOutput {
40834	s.HumanLoopRequestSource = v
40835	return s
40836}
40837
40838// SetOutputConfig sets the OutputConfig field's value.
40839func (s *DescribeFlowDefinitionOutput) SetOutputConfig(v *FlowDefinitionOutputConfig) *DescribeFlowDefinitionOutput {
40840	s.OutputConfig = v
40841	return s
40842}
40843
40844// SetRoleArn sets the RoleArn field's value.
40845func (s *DescribeFlowDefinitionOutput) SetRoleArn(v string) *DescribeFlowDefinitionOutput {
40846	s.RoleArn = &v
40847	return s
40848}
40849
40850type DescribeHumanTaskUiInput struct {
40851	_ struct{} `type:"structure"`
40852
40853	// The name of the human task user interface (worker task template) you want
40854	// information about.
40855	//
40856	// HumanTaskUiName is a required field
40857	HumanTaskUiName *string `min:"1" type:"string" required:"true"`
40858}
40859
40860// String returns the string representation
40861func (s DescribeHumanTaskUiInput) String() string {
40862	return awsutil.Prettify(s)
40863}
40864
40865// GoString returns the string representation
40866func (s DescribeHumanTaskUiInput) GoString() string {
40867	return s.String()
40868}
40869
40870// Validate inspects the fields of the type to determine if they are valid.
40871func (s *DescribeHumanTaskUiInput) Validate() error {
40872	invalidParams := request.ErrInvalidParams{Context: "DescribeHumanTaskUiInput"}
40873	if s.HumanTaskUiName == nil {
40874		invalidParams.Add(request.NewErrParamRequired("HumanTaskUiName"))
40875	}
40876	if s.HumanTaskUiName != nil && len(*s.HumanTaskUiName) < 1 {
40877		invalidParams.Add(request.NewErrParamMinLen("HumanTaskUiName", 1))
40878	}
40879
40880	if invalidParams.Len() > 0 {
40881		return invalidParams
40882	}
40883	return nil
40884}
40885
40886// SetHumanTaskUiName sets the HumanTaskUiName field's value.
40887func (s *DescribeHumanTaskUiInput) SetHumanTaskUiName(v string) *DescribeHumanTaskUiInput {
40888	s.HumanTaskUiName = &v
40889	return s
40890}
40891
40892type DescribeHumanTaskUiOutput struct {
40893	_ struct{} `type:"structure"`
40894
40895	// The timestamp when the human task user interface was created.
40896	//
40897	// CreationTime is a required field
40898	CreationTime *time.Time `type:"timestamp" required:"true"`
40899
40900	// The Amazon Resource Name (ARN) of the human task user interface (worker task
40901	// template).
40902	//
40903	// HumanTaskUiArn is a required field
40904	HumanTaskUiArn *string `type:"string" required:"true"`
40905
40906	// The name of the human task user interface (worker task template).
40907	//
40908	// HumanTaskUiName is a required field
40909	HumanTaskUiName *string `min:"1" type:"string" required:"true"`
40910
40911	// The status of the human task user interface (worker task template). Valid
40912	// values are listed below.
40913	HumanTaskUiStatus *string `type:"string" enum:"HumanTaskUiStatus"`
40914
40915	// Container for user interface template information.
40916	//
40917	// UiTemplate is a required field
40918	UiTemplate *UiTemplateInfo `type:"structure" required:"true"`
40919}
40920
40921// String returns the string representation
40922func (s DescribeHumanTaskUiOutput) String() string {
40923	return awsutil.Prettify(s)
40924}
40925
40926// GoString returns the string representation
40927func (s DescribeHumanTaskUiOutput) GoString() string {
40928	return s.String()
40929}
40930
40931// SetCreationTime sets the CreationTime field's value.
40932func (s *DescribeHumanTaskUiOutput) SetCreationTime(v time.Time) *DescribeHumanTaskUiOutput {
40933	s.CreationTime = &v
40934	return s
40935}
40936
40937// SetHumanTaskUiArn sets the HumanTaskUiArn field's value.
40938func (s *DescribeHumanTaskUiOutput) SetHumanTaskUiArn(v string) *DescribeHumanTaskUiOutput {
40939	s.HumanTaskUiArn = &v
40940	return s
40941}
40942
40943// SetHumanTaskUiName sets the HumanTaskUiName field's value.
40944func (s *DescribeHumanTaskUiOutput) SetHumanTaskUiName(v string) *DescribeHumanTaskUiOutput {
40945	s.HumanTaskUiName = &v
40946	return s
40947}
40948
40949// SetHumanTaskUiStatus sets the HumanTaskUiStatus field's value.
40950func (s *DescribeHumanTaskUiOutput) SetHumanTaskUiStatus(v string) *DescribeHumanTaskUiOutput {
40951	s.HumanTaskUiStatus = &v
40952	return s
40953}
40954
40955// SetUiTemplate sets the UiTemplate field's value.
40956func (s *DescribeHumanTaskUiOutput) SetUiTemplate(v *UiTemplateInfo) *DescribeHumanTaskUiOutput {
40957	s.UiTemplate = v
40958	return s
40959}
40960
40961type DescribeHyperParameterTuningJobInput struct {
40962	_ struct{} `type:"structure"`
40963
40964	// The name of the tuning job.
40965	//
40966	// HyperParameterTuningJobName is a required field
40967	HyperParameterTuningJobName *string `min:"1" type:"string" required:"true"`
40968}
40969
40970// String returns the string representation
40971func (s DescribeHyperParameterTuningJobInput) String() string {
40972	return awsutil.Prettify(s)
40973}
40974
40975// GoString returns the string representation
40976func (s DescribeHyperParameterTuningJobInput) GoString() string {
40977	return s.String()
40978}
40979
40980// Validate inspects the fields of the type to determine if they are valid.
40981func (s *DescribeHyperParameterTuningJobInput) Validate() error {
40982	invalidParams := request.ErrInvalidParams{Context: "DescribeHyperParameterTuningJobInput"}
40983	if s.HyperParameterTuningJobName == nil {
40984		invalidParams.Add(request.NewErrParamRequired("HyperParameterTuningJobName"))
40985	}
40986	if s.HyperParameterTuningJobName != nil && len(*s.HyperParameterTuningJobName) < 1 {
40987		invalidParams.Add(request.NewErrParamMinLen("HyperParameterTuningJobName", 1))
40988	}
40989
40990	if invalidParams.Len() > 0 {
40991		return invalidParams
40992	}
40993	return nil
40994}
40995
40996// SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value.
40997func (s *DescribeHyperParameterTuningJobInput) SetHyperParameterTuningJobName(v string) *DescribeHyperParameterTuningJobInput {
40998	s.HyperParameterTuningJobName = &v
40999	return s
41000}
41001
41002type DescribeHyperParameterTuningJobOutput struct {
41003	_ struct{} `type:"structure"`
41004
41005	// A TrainingJobSummary object that describes the training job that completed
41006	// with the best current HyperParameterTuningJobObjective.
41007	BestTrainingJob *HyperParameterTrainingJobSummary `type:"structure"`
41008
41009	// The date and time that the tuning job started.
41010	//
41011	// CreationTime is a required field
41012	CreationTime *time.Time `type:"timestamp" required:"true"`
41013
41014	// If the tuning job failed, the reason it failed.
41015	FailureReason *string `type:"string"`
41016
41017	// The date and time that the tuning job ended.
41018	HyperParameterTuningEndTime *time.Time `type:"timestamp"`
41019
41020	// The Amazon Resource Name (ARN) of the tuning job.
41021	//
41022	// HyperParameterTuningJobArn is a required field
41023	HyperParameterTuningJobArn *string `type:"string" required:"true"`
41024
41025	// The HyperParameterTuningJobConfig object that specifies the configuration
41026	// of the tuning job.
41027	//
41028	// HyperParameterTuningJobConfig is a required field
41029	HyperParameterTuningJobConfig *HyperParameterTuningJobConfig `type:"structure" required:"true"`
41030
41031	// The name of the tuning job.
41032	//
41033	// HyperParameterTuningJobName is a required field
41034	HyperParameterTuningJobName *string `min:"1" type:"string" required:"true"`
41035
41036	// The status of the tuning job: InProgress, Completed, Failed, Stopping, or
41037	// Stopped.
41038	//
41039	// HyperParameterTuningJobStatus is a required field
41040	HyperParameterTuningJobStatus *string `type:"string" required:"true" enum:"HyperParameterTuningJobStatus"`
41041
41042	// The date and time that the status of the tuning job was modified.
41043	LastModifiedTime *time.Time `type:"timestamp"`
41044
41045	// The ObjectiveStatusCounters object that specifies the number of training
41046	// jobs, categorized by the status of their final objective metric, that this
41047	// tuning job launched.
41048	//
41049	// ObjectiveStatusCounters is a required field
41050	ObjectiveStatusCounters *ObjectiveStatusCounters `type:"structure" required:"true"`
41051
41052	// If the hyperparameter tuning job is an warm start tuning job with a WarmStartType
41053	// of IDENTICAL_DATA_AND_ALGORITHM, this is the TrainingJobSummary for the training
41054	// job with the best objective metric value of all training jobs launched by
41055	// this tuning job and all parent jobs specified for the warm start tuning job.
41056	OverallBestTrainingJob *HyperParameterTrainingJobSummary `type:"structure"`
41057
41058	// The HyperParameterTrainingJobDefinition object that specifies the definition
41059	// of the training jobs that this tuning job launches.
41060	TrainingJobDefinition *HyperParameterTrainingJobDefinition `type:"structure"`
41061
41062	// A list of the HyperParameterTrainingJobDefinition objects launched for this
41063	// tuning job.
41064	TrainingJobDefinitions []*HyperParameterTrainingJobDefinition `min:"1" type:"list"`
41065
41066	// The TrainingJobStatusCounters object that specifies the number of training
41067	// jobs, categorized by status, that this tuning job launched.
41068	//
41069	// TrainingJobStatusCounters is a required field
41070	TrainingJobStatusCounters *TrainingJobStatusCounters `type:"structure" required:"true"`
41071
41072	// The configuration for starting the hyperparameter parameter tuning job using
41073	// one or more previous tuning jobs as a starting point. The results of previous
41074	// tuning jobs are used to inform which combinations of hyperparameters to search
41075	// over in the new tuning job.
41076	WarmStartConfig *HyperParameterTuningJobWarmStartConfig `type:"structure"`
41077}
41078
41079// String returns the string representation
41080func (s DescribeHyperParameterTuningJobOutput) String() string {
41081	return awsutil.Prettify(s)
41082}
41083
41084// GoString returns the string representation
41085func (s DescribeHyperParameterTuningJobOutput) GoString() string {
41086	return s.String()
41087}
41088
41089// SetBestTrainingJob sets the BestTrainingJob field's value.
41090func (s *DescribeHyperParameterTuningJobOutput) SetBestTrainingJob(v *HyperParameterTrainingJobSummary) *DescribeHyperParameterTuningJobOutput {
41091	s.BestTrainingJob = v
41092	return s
41093}
41094
41095// SetCreationTime sets the CreationTime field's value.
41096func (s *DescribeHyperParameterTuningJobOutput) SetCreationTime(v time.Time) *DescribeHyperParameterTuningJobOutput {
41097	s.CreationTime = &v
41098	return s
41099}
41100
41101// SetFailureReason sets the FailureReason field's value.
41102func (s *DescribeHyperParameterTuningJobOutput) SetFailureReason(v string) *DescribeHyperParameterTuningJobOutput {
41103	s.FailureReason = &v
41104	return s
41105}
41106
41107// SetHyperParameterTuningEndTime sets the HyperParameterTuningEndTime field's value.
41108func (s *DescribeHyperParameterTuningJobOutput) SetHyperParameterTuningEndTime(v time.Time) *DescribeHyperParameterTuningJobOutput {
41109	s.HyperParameterTuningEndTime = &v
41110	return s
41111}
41112
41113// SetHyperParameterTuningJobArn sets the HyperParameterTuningJobArn field's value.
41114func (s *DescribeHyperParameterTuningJobOutput) SetHyperParameterTuningJobArn(v string) *DescribeHyperParameterTuningJobOutput {
41115	s.HyperParameterTuningJobArn = &v
41116	return s
41117}
41118
41119// SetHyperParameterTuningJobConfig sets the HyperParameterTuningJobConfig field's value.
41120func (s *DescribeHyperParameterTuningJobOutput) SetHyperParameterTuningJobConfig(v *HyperParameterTuningJobConfig) *DescribeHyperParameterTuningJobOutput {
41121	s.HyperParameterTuningJobConfig = v
41122	return s
41123}
41124
41125// SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value.
41126func (s *DescribeHyperParameterTuningJobOutput) SetHyperParameterTuningJobName(v string) *DescribeHyperParameterTuningJobOutput {
41127	s.HyperParameterTuningJobName = &v
41128	return s
41129}
41130
41131// SetHyperParameterTuningJobStatus sets the HyperParameterTuningJobStatus field's value.
41132func (s *DescribeHyperParameterTuningJobOutput) SetHyperParameterTuningJobStatus(v string) *DescribeHyperParameterTuningJobOutput {
41133	s.HyperParameterTuningJobStatus = &v
41134	return s
41135}
41136
41137// SetLastModifiedTime sets the LastModifiedTime field's value.
41138func (s *DescribeHyperParameterTuningJobOutput) SetLastModifiedTime(v time.Time) *DescribeHyperParameterTuningJobOutput {
41139	s.LastModifiedTime = &v
41140	return s
41141}
41142
41143// SetObjectiveStatusCounters sets the ObjectiveStatusCounters field's value.
41144func (s *DescribeHyperParameterTuningJobOutput) SetObjectiveStatusCounters(v *ObjectiveStatusCounters) *DescribeHyperParameterTuningJobOutput {
41145	s.ObjectiveStatusCounters = v
41146	return s
41147}
41148
41149// SetOverallBestTrainingJob sets the OverallBestTrainingJob field's value.
41150func (s *DescribeHyperParameterTuningJobOutput) SetOverallBestTrainingJob(v *HyperParameterTrainingJobSummary) *DescribeHyperParameterTuningJobOutput {
41151	s.OverallBestTrainingJob = v
41152	return s
41153}
41154
41155// SetTrainingJobDefinition sets the TrainingJobDefinition field's value.
41156func (s *DescribeHyperParameterTuningJobOutput) SetTrainingJobDefinition(v *HyperParameterTrainingJobDefinition) *DescribeHyperParameterTuningJobOutput {
41157	s.TrainingJobDefinition = v
41158	return s
41159}
41160
41161// SetTrainingJobDefinitions sets the TrainingJobDefinitions field's value.
41162func (s *DescribeHyperParameterTuningJobOutput) SetTrainingJobDefinitions(v []*HyperParameterTrainingJobDefinition) *DescribeHyperParameterTuningJobOutput {
41163	s.TrainingJobDefinitions = v
41164	return s
41165}
41166
41167// SetTrainingJobStatusCounters sets the TrainingJobStatusCounters field's value.
41168func (s *DescribeHyperParameterTuningJobOutput) SetTrainingJobStatusCounters(v *TrainingJobStatusCounters) *DescribeHyperParameterTuningJobOutput {
41169	s.TrainingJobStatusCounters = v
41170	return s
41171}
41172
41173// SetWarmStartConfig sets the WarmStartConfig field's value.
41174func (s *DescribeHyperParameterTuningJobOutput) SetWarmStartConfig(v *HyperParameterTuningJobWarmStartConfig) *DescribeHyperParameterTuningJobOutput {
41175	s.WarmStartConfig = v
41176	return s
41177}
41178
41179type DescribeImageInput struct {
41180	_ struct{} `type:"structure"`
41181
41182	// The name of the image to describe.
41183	//
41184	// ImageName is a required field
41185	ImageName *string `min:"1" type:"string" required:"true"`
41186}
41187
41188// String returns the string representation
41189func (s DescribeImageInput) String() string {
41190	return awsutil.Prettify(s)
41191}
41192
41193// GoString returns the string representation
41194func (s DescribeImageInput) GoString() string {
41195	return s.String()
41196}
41197
41198// Validate inspects the fields of the type to determine if they are valid.
41199func (s *DescribeImageInput) Validate() error {
41200	invalidParams := request.ErrInvalidParams{Context: "DescribeImageInput"}
41201	if s.ImageName == nil {
41202		invalidParams.Add(request.NewErrParamRequired("ImageName"))
41203	}
41204	if s.ImageName != nil && len(*s.ImageName) < 1 {
41205		invalidParams.Add(request.NewErrParamMinLen("ImageName", 1))
41206	}
41207
41208	if invalidParams.Len() > 0 {
41209		return invalidParams
41210	}
41211	return nil
41212}
41213
41214// SetImageName sets the ImageName field's value.
41215func (s *DescribeImageInput) SetImageName(v string) *DescribeImageInput {
41216	s.ImageName = &v
41217	return s
41218}
41219
41220type DescribeImageOutput struct {
41221	_ struct{} `type:"structure"`
41222
41223	// When the image was created.
41224	CreationTime *time.Time `type:"timestamp"`
41225
41226	// The description of the image.
41227	Description *string `min:"1" type:"string"`
41228
41229	// The name of the image as displayed.
41230	DisplayName *string `min:"1" type:"string"`
41231
41232	// When a create, update, or delete operation fails, the reason for the failure.
41233	FailureReason *string `type:"string"`
41234
41235	// The Amazon Resource Name (ARN) of the image.
41236	ImageArn *string `type:"string"`
41237
41238	// The name of the image.
41239	ImageName *string `min:"1" type:"string"`
41240
41241	// The status of the image.
41242	ImageStatus *string `type:"string" enum:"ImageStatus"`
41243
41244	// When the image was last modified.
41245	LastModifiedTime *time.Time `type:"timestamp"`
41246
41247	// The Amazon Resource Name (ARN) of the IAM role that enables Amazon SageMaker
41248	// to perform tasks on your behalf.
41249	RoleArn *string `min:"20" type:"string"`
41250}
41251
41252// String returns the string representation
41253func (s DescribeImageOutput) String() string {
41254	return awsutil.Prettify(s)
41255}
41256
41257// GoString returns the string representation
41258func (s DescribeImageOutput) GoString() string {
41259	return s.String()
41260}
41261
41262// SetCreationTime sets the CreationTime field's value.
41263func (s *DescribeImageOutput) SetCreationTime(v time.Time) *DescribeImageOutput {
41264	s.CreationTime = &v
41265	return s
41266}
41267
41268// SetDescription sets the Description field's value.
41269func (s *DescribeImageOutput) SetDescription(v string) *DescribeImageOutput {
41270	s.Description = &v
41271	return s
41272}
41273
41274// SetDisplayName sets the DisplayName field's value.
41275func (s *DescribeImageOutput) SetDisplayName(v string) *DescribeImageOutput {
41276	s.DisplayName = &v
41277	return s
41278}
41279
41280// SetFailureReason sets the FailureReason field's value.
41281func (s *DescribeImageOutput) SetFailureReason(v string) *DescribeImageOutput {
41282	s.FailureReason = &v
41283	return s
41284}
41285
41286// SetImageArn sets the ImageArn field's value.
41287func (s *DescribeImageOutput) SetImageArn(v string) *DescribeImageOutput {
41288	s.ImageArn = &v
41289	return s
41290}
41291
41292// SetImageName sets the ImageName field's value.
41293func (s *DescribeImageOutput) SetImageName(v string) *DescribeImageOutput {
41294	s.ImageName = &v
41295	return s
41296}
41297
41298// SetImageStatus sets the ImageStatus field's value.
41299func (s *DescribeImageOutput) SetImageStatus(v string) *DescribeImageOutput {
41300	s.ImageStatus = &v
41301	return s
41302}
41303
41304// SetLastModifiedTime sets the LastModifiedTime field's value.
41305func (s *DescribeImageOutput) SetLastModifiedTime(v time.Time) *DescribeImageOutput {
41306	s.LastModifiedTime = &v
41307	return s
41308}
41309
41310// SetRoleArn sets the RoleArn field's value.
41311func (s *DescribeImageOutput) SetRoleArn(v string) *DescribeImageOutput {
41312	s.RoleArn = &v
41313	return s
41314}
41315
41316type DescribeImageVersionInput struct {
41317	_ struct{} `type:"structure"`
41318
41319	// The name of the image.
41320	//
41321	// ImageName is a required field
41322	ImageName *string `min:"1" type:"string" required:"true"`
41323
41324	// The version of the image. If not specified, the latest version is described.
41325	Version *int64 `type:"integer"`
41326}
41327
41328// String returns the string representation
41329func (s DescribeImageVersionInput) String() string {
41330	return awsutil.Prettify(s)
41331}
41332
41333// GoString returns the string representation
41334func (s DescribeImageVersionInput) GoString() string {
41335	return s.String()
41336}
41337
41338// Validate inspects the fields of the type to determine if they are valid.
41339func (s *DescribeImageVersionInput) Validate() error {
41340	invalidParams := request.ErrInvalidParams{Context: "DescribeImageVersionInput"}
41341	if s.ImageName == nil {
41342		invalidParams.Add(request.NewErrParamRequired("ImageName"))
41343	}
41344	if s.ImageName != nil && len(*s.ImageName) < 1 {
41345		invalidParams.Add(request.NewErrParamMinLen("ImageName", 1))
41346	}
41347
41348	if invalidParams.Len() > 0 {
41349		return invalidParams
41350	}
41351	return nil
41352}
41353
41354// SetImageName sets the ImageName field's value.
41355func (s *DescribeImageVersionInput) SetImageName(v string) *DescribeImageVersionInput {
41356	s.ImageName = &v
41357	return s
41358}
41359
41360// SetVersion sets the Version field's value.
41361func (s *DescribeImageVersionInput) SetVersion(v int64) *DescribeImageVersionInput {
41362	s.Version = &v
41363	return s
41364}
41365
41366type DescribeImageVersionOutput struct {
41367	_ struct{} `type:"structure"`
41368
41369	// The registry path of the container image on which this image version is based.
41370	BaseImage *string `min:"1" type:"string"`
41371
41372	// The registry path of the container image that contains this image version.
41373	ContainerImage *string `min:"1" type:"string"`
41374
41375	// When the version was created.
41376	CreationTime *time.Time `type:"timestamp"`
41377
41378	// When a create or delete operation fails, the reason for the failure.
41379	FailureReason *string `type:"string"`
41380
41381	// The Amazon Resource Name (ARN) of the image the version is based on.
41382	ImageArn *string `type:"string"`
41383
41384	// The ARN of the version.
41385	ImageVersionArn *string `type:"string"`
41386
41387	// The status of the version.
41388	ImageVersionStatus *string `type:"string" enum:"ImageVersionStatus"`
41389
41390	// When the version was last modified.
41391	LastModifiedTime *time.Time `type:"timestamp"`
41392
41393	// The version number.
41394	Version *int64 `type:"integer"`
41395}
41396
41397// String returns the string representation
41398func (s DescribeImageVersionOutput) String() string {
41399	return awsutil.Prettify(s)
41400}
41401
41402// GoString returns the string representation
41403func (s DescribeImageVersionOutput) GoString() string {
41404	return s.String()
41405}
41406
41407// SetBaseImage sets the BaseImage field's value.
41408func (s *DescribeImageVersionOutput) SetBaseImage(v string) *DescribeImageVersionOutput {
41409	s.BaseImage = &v
41410	return s
41411}
41412
41413// SetContainerImage sets the ContainerImage field's value.
41414func (s *DescribeImageVersionOutput) SetContainerImage(v string) *DescribeImageVersionOutput {
41415	s.ContainerImage = &v
41416	return s
41417}
41418
41419// SetCreationTime sets the CreationTime field's value.
41420func (s *DescribeImageVersionOutput) SetCreationTime(v time.Time) *DescribeImageVersionOutput {
41421	s.CreationTime = &v
41422	return s
41423}
41424
41425// SetFailureReason sets the FailureReason field's value.
41426func (s *DescribeImageVersionOutput) SetFailureReason(v string) *DescribeImageVersionOutput {
41427	s.FailureReason = &v
41428	return s
41429}
41430
41431// SetImageArn sets the ImageArn field's value.
41432func (s *DescribeImageVersionOutput) SetImageArn(v string) *DescribeImageVersionOutput {
41433	s.ImageArn = &v
41434	return s
41435}
41436
41437// SetImageVersionArn sets the ImageVersionArn field's value.
41438func (s *DescribeImageVersionOutput) SetImageVersionArn(v string) *DescribeImageVersionOutput {
41439	s.ImageVersionArn = &v
41440	return s
41441}
41442
41443// SetImageVersionStatus sets the ImageVersionStatus field's value.
41444func (s *DescribeImageVersionOutput) SetImageVersionStatus(v string) *DescribeImageVersionOutput {
41445	s.ImageVersionStatus = &v
41446	return s
41447}
41448
41449// SetLastModifiedTime sets the LastModifiedTime field's value.
41450func (s *DescribeImageVersionOutput) SetLastModifiedTime(v time.Time) *DescribeImageVersionOutput {
41451	s.LastModifiedTime = &v
41452	return s
41453}
41454
41455// SetVersion sets the Version field's value.
41456func (s *DescribeImageVersionOutput) SetVersion(v int64) *DescribeImageVersionOutput {
41457	s.Version = &v
41458	return s
41459}
41460
41461type DescribeLabelingJobInput struct {
41462	_ struct{} `type:"structure"`
41463
41464	// The name of the labeling job to return information for.
41465	//
41466	// LabelingJobName is a required field
41467	LabelingJobName *string `min:"1" type:"string" required:"true"`
41468}
41469
41470// String returns the string representation
41471func (s DescribeLabelingJobInput) String() string {
41472	return awsutil.Prettify(s)
41473}
41474
41475// GoString returns the string representation
41476func (s DescribeLabelingJobInput) GoString() string {
41477	return s.String()
41478}
41479
41480// Validate inspects the fields of the type to determine if they are valid.
41481func (s *DescribeLabelingJobInput) Validate() error {
41482	invalidParams := request.ErrInvalidParams{Context: "DescribeLabelingJobInput"}
41483	if s.LabelingJobName == nil {
41484		invalidParams.Add(request.NewErrParamRequired("LabelingJobName"))
41485	}
41486	if s.LabelingJobName != nil && len(*s.LabelingJobName) < 1 {
41487		invalidParams.Add(request.NewErrParamMinLen("LabelingJobName", 1))
41488	}
41489
41490	if invalidParams.Len() > 0 {
41491		return invalidParams
41492	}
41493	return nil
41494}
41495
41496// SetLabelingJobName sets the LabelingJobName field's value.
41497func (s *DescribeLabelingJobInput) SetLabelingJobName(v string) *DescribeLabelingJobInput {
41498	s.LabelingJobName = &v
41499	return s
41500}
41501
41502type DescribeLabelingJobOutput struct {
41503	_ struct{} `type:"structure"`
41504
41505	// The date and time that the labeling job was created.
41506	//
41507	// CreationTime is a required field
41508	CreationTime *time.Time `type:"timestamp" required:"true"`
41509
41510	// If the job failed, the reason that it failed.
41511	FailureReason *string `type:"string"`
41512
41513	// Configuration information required for human workers to complete a labeling
41514	// task.
41515	//
41516	// HumanTaskConfig is a required field
41517	HumanTaskConfig *HumanTaskConfig `type:"structure" required:"true"`
41518
41519	// Input configuration information for the labeling job, such as the Amazon
41520	// S3 location of the data objects and the location of the manifest file that
41521	// describes the data objects.
41522	//
41523	// InputConfig is a required field
41524	InputConfig *LabelingJobInputConfig `type:"structure" required:"true"`
41525
41526	// A unique identifier for work done as part of a labeling job.
41527	//
41528	// JobReferenceCode is a required field
41529	JobReferenceCode *string `min:"1" type:"string" required:"true"`
41530
41531	// The attribute used as the label in the output manifest file.
41532	LabelAttributeName *string `min:"1" type:"string"`
41533
41534	// The S3 location of the JSON file that defines the categories used to label
41535	// data objects. Please note the following label-category limits:
41536	//
41537	//    * Semantic segmentation labeling jobs using automated labeling: 20 labels
41538	//
41539	//    * Box bounding labeling jobs (all): 10 labels
41540	//
41541	// The file is a JSON structure in the following format:
41542	//
41543	// {
41544	//
41545	// "document-version": "2018-11-28"
41546	//
41547	// "labels": [
41548	//
41549	// {
41550	//
41551	// "label": "label 1"
41552	//
41553	// },
41554	//
41555	// {
41556	//
41557	// "label": "label 2"
41558	//
41559	// },
41560	//
41561	// ...
41562	//
41563	// {
41564	//
41565	// "label": "label n"
41566	//
41567	// }
41568	//
41569	// ]
41570	//
41571	// }
41572	LabelCategoryConfigS3Uri *string `type:"string"`
41573
41574	// Provides a breakdown of the number of data objects labeled by humans, the
41575	// number of objects labeled by machine, the number of objects than couldn't
41576	// be labeled, and the total number of objects labeled.
41577	//
41578	// LabelCounters is a required field
41579	LabelCounters *LabelCounters `type:"structure" required:"true"`
41580
41581	// Configuration information for automated data labeling.
41582	LabelingJobAlgorithmsConfig *LabelingJobAlgorithmsConfig `type:"structure"`
41583
41584	// The Amazon Resource Name (ARN) of the labeling job.
41585	//
41586	// LabelingJobArn is a required field
41587	LabelingJobArn *string `type:"string" required:"true"`
41588
41589	// The name assigned to the labeling job when it was created.
41590	//
41591	// LabelingJobName is a required field
41592	LabelingJobName *string `min:"1" type:"string" required:"true"`
41593
41594	// The location of the output produced by the labeling job.
41595	LabelingJobOutput *LabelingJobOutput `type:"structure"`
41596
41597	// The processing status of the labeling job.
41598	//
41599	// LabelingJobStatus is a required field
41600	LabelingJobStatus *string `type:"string" required:"true" enum:"LabelingJobStatus"`
41601
41602	// The date and time that the labeling job was last updated.
41603	//
41604	// LastModifiedTime is a required field
41605	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
41606
41607	// The location of the job's output data and the AWS Key Management Service
41608	// key ID for the key used to encrypt the output data, if any.
41609	//
41610	// OutputConfig is a required field
41611	OutputConfig *LabelingJobOutputConfig `type:"structure" required:"true"`
41612
41613	// The Amazon Resource Name (ARN) that Amazon SageMaker assumes to perform tasks
41614	// on your behalf during data labeling.
41615	//
41616	// RoleArn is a required field
41617	RoleArn *string `min:"20" type:"string" required:"true"`
41618
41619	// A set of conditions for stopping a labeling job. If any of the conditions
41620	// are met, the job is automatically stopped.
41621	StoppingConditions *LabelingJobStoppingConditions `type:"structure"`
41622
41623	// An array of key-value pairs. You can use tags to categorize your AWS resources
41624	// in different ways, for example, by purpose, owner, or environment. For more
41625	// information, see Tagging AWS Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html).
41626	Tags []*Tag `type:"list"`
41627}
41628
41629// String returns the string representation
41630func (s DescribeLabelingJobOutput) String() string {
41631	return awsutil.Prettify(s)
41632}
41633
41634// GoString returns the string representation
41635func (s DescribeLabelingJobOutput) GoString() string {
41636	return s.String()
41637}
41638
41639// SetCreationTime sets the CreationTime field's value.
41640func (s *DescribeLabelingJobOutput) SetCreationTime(v time.Time) *DescribeLabelingJobOutput {
41641	s.CreationTime = &v
41642	return s
41643}
41644
41645// SetFailureReason sets the FailureReason field's value.
41646func (s *DescribeLabelingJobOutput) SetFailureReason(v string) *DescribeLabelingJobOutput {
41647	s.FailureReason = &v
41648	return s
41649}
41650
41651// SetHumanTaskConfig sets the HumanTaskConfig field's value.
41652func (s *DescribeLabelingJobOutput) SetHumanTaskConfig(v *HumanTaskConfig) *DescribeLabelingJobOutput {
41653	s.HumanTaskConfig = v
41654	return s
41655}
41656
41657// SetInputConfig sets the InputConfig field's value.
41658func (s *DescribeLabelingJobOutput) SetInputConfig(v *LabelingJobInputConfig) *DescribeLabelingJobOutput {
41659	s.InputConfig = v
41660	return s
41661}
41662
41663// SetJobReferenceCode sets the JobReferenceCode field's value.
41664func (s *DescribeLabelingJobOutput) SetJobReferenceCode(v string) *DescribeLabelingJobOutput {
41665	s.JobReferenceCode = &v
41666	return s
41667}
41668
41669// SetLabelAttributeName sets the LabelAttributeName field's value.
41670func (s *DescribeLabelingJobOutput) SetLabelAttributeName(v string) *DescribeLabelingJobOutput {
41671	s.LabelAttributeName = &v
41672	return s
41673}
41674
41675// SetLabelCategoryConfigS3Uri sets the LabelCategoryConfigS3Uri field's value.
41676func (s *DescribeLabelingJobOutput) SetLabelCategoryConfigS3Uri(v string) *DescribeLabelingJobOutput {
41677	s.LabelCategoryConfigS3Uri = &v
41678	return s
41679}
41680
41681// SetLabelCounters sets the LabelCounters field's value.
41682func (s *DescribeLabelingJobOutput) SetLabelCounters(v *LabelCounters) *DescribeLabelingJobOutput {
41683	s.LabelCounters = v
41684	return s
41685}
41686
41687// SetLabelingJobAlgorithmsConfig sets the LabelingJobAlgorithmsConfig field's value.
41688func (s *DescribeLabelingJobOutput) SetLabelingJobAlgorithmsConfig(v *LabelingJobAlgorithmsConfig) *DescribeLabelingJobOutput {
41689	s.LabelingJobAlgorithmsConfig = v
41690	return s
41691}
41692
41693// SetLabelingJobArn sets the LabelingJobArn field's value.
41694func (s *DescribeLabelingJobOutput) SetLabelingJobArn(v string) *DescribeLabelingJobOutput {
41695	s.LabelingJobArn = &v
41696	return s
41697}
41698
41699// SetLabelingJobName sets the LabelingJobName field's value.
41700func (s *DescribeLabelingJobOutput) SetLabelingJobName(v string) *DescribeLabelingJobOutput {
41701	s.LabelingJobName = &v
41702	return s
41703}
41704
41705// SetLabelingJobOutput sets the LabelingJobOutput field's value.
41706func (s *DescribeLabelingJobOutput) SetLabelingJobOutput(v *LabelingJobOutput) *DescribeLabelingJobOutput {
41707	s.LabelingJobOutput = v
41708	return s
41709}
41710
41711// SetLabelingJobStatus sets the LabelingJobStatus field's value.
41712func (s *DescribeLabelingJobOutput) SetLabelingJobStatus(v string) *DescribeLabelingJobOutput {
41713	s.LabelingJobStatus = &v
41714	return s
41715}
41716
41717// SetLastModifiedTime sets the LastModifiedTime field's value.
41718func (s *DescribeLabelingJobOutput) SetLastModifiedTime(v time.Time) *DescribeLabelingJobOutput {
41719	s.LastModifiedTime = &v
41720	return s
41721}
41722
41723// SetOutputConfig sets the OutputConfig field's value.
41724func (s *DescribeLabelingJobOutput) SetOutputConfig(v *LabelingJobOutputConfig) *DescribeLabelingJobOutput {
41725	s.OutputConfig = v
41726	return s
41727}
41728
41729// SetRoleArn sets the RoleArn field's value.
41730func (s *DescribeLabelingJobOutput) SetRoleArn(v string) *DescribeLabelingJobOutput {
41731	s.RoleArn = &v
41732	return s
41733}
41734
41735// SetStoppingConditions sets the StoppingConditions field's value.
41736func (s *DescribeLabelingJobOutput) SetStoppingConditions(v *LabelingJobStoppingConditions) *DescribeLabelingJobOutput {
41737	s.StoppingConditions = v
41738	return s
41739}
41740
41741// SetTags sets the Tags field's value.
41742func (s *DescribeLabelingJobOutput) SetTags(v []*Tag) *DescribeLabelingJobOutput {
41743	s.Tags = v
41744	return s
41745}
41746
41747type DescribeModelBiasJobDefinitionInput struct {
41748	_ struct{} `type:"structure"`
41749
41750	// The name of the model bias job definition. The name must be unique within
41751	// an AWS Region in the AWS account.
41752	//
41753	// JobDefinitionName is a required field
41754	JobDefinitionName *string `min:"1" type:"string" required:"true"`
41755}
41756
41757// String returns the string representation
41758func (s DescribeModelBiasJobDefinitionInput) String() string {
41759	return awsutil.Prettify(s)
41760}
41761
41762// GoString returns the string representation
41763func (s DescribeModelBiasJobDefinitionInput) GoString() string {
41764	return s.String()
41765}
41766
41767// Validate inspects the fields of the type to determine if they are valid.
41768func (s *DescribeModelBiasJobDefinitionInput) Validate() error {
41769	invalidParams := request.ErrInvalidParams{Context: "DescribeModelBiasJobDefinitionInput"}
41770	if s.JobDefinitionName == nil {
41771		invalidParams.Add(request.NewErrParamRequired("JobDefinitionName"))
41772	}
41773	if s.JobDefinitionName != nil && len(*s.JobDefinitionName) < 1 {
41774		invalidParams.Add(request.NewErrParamMinLen("JobDefinitionName", 1))
41775	}
41776
41777	if invalidParams.Len() > 0 {
41778		return invalidParams
41779	}
41780	return nil
41781}
41782
41783// SetJobDefinitionName sets the JobDefinitionName field's value.
41784func (s *DescribeModelBiasJobDefinitionInput) SetJobDefinitionName(v string) *DescribeModelBiasJobDefinitionInput {
41785	s.JobDefinitionName = &v
41786	return s
41787}
41788
41789type DescribeModelBiasJobDefinitionOutput struct {
41790	_ struct{} `type:"structure"`
41791
41792	// The time at which the model bias job was created.
41793	//
41794	// CreationTime is a required field
41795	CreationTime *time.Time `type:"timestamp" required:"true"`
41796
41797	// The Amazon Resource Name (ARN) of the model bias job.
41798	//
41799	// JobDefinitionArn is a required field
41800	JobDefinitionArn *string `type:"string" required:"true"`
41801
41802	// The name of the bias job definition. The name must be unique within an AWS
41803	// Region in the AWS account.
41804	//
41805	// JobDefinitionName is a required field
41806	JobDefinitionName *string `min:"1" type:"string" required:"true"`
41807
41808	// Identifies the resources to deploy for a monitoring job.
41809	//
41810	// JobResources is a required field
41811	JobResources *MonitoringResources `type:"structure" required:"true"`
41812
41813	// Configures the model bias job to run a specified Docker container image.
41814	//
41815	// ModelBiasAppSpecification is a required field
41816	ModelBiasAppSpecification *ModelBiasAppSpecification `type:"structure" required:"true"`
41817
41818	// The baseline configuration for a model bias job.
41819	ModelBiasBaselineConfig *ModelBiasBaselineConfig `type:"structure"`
41820
41821	// Inputs for the model bias job.
41822	//
41823	// ModelBiasJobInput is a required field
41824	ModelBiasJobInput *ModelBiasJobInput `type:"structure" required:"true"`
41825
41826	// The output configuration for monitoring jobs.
41827	//
41828	// ModelBiasJobOutputConfig is a required field
41829	ModelBiasJobOutputConfig *MonitoringOutputConfig `type:"structure" required:"true"`
41830
41831	// Networking options for a model bias job.
41832	NetworkConfig *MonitoringNetworkConfig `type:"structure"`
41833
41834	// The Amazon Resource Name (ARN) of the AWS Identity and Access Management
41835	// (IAM) role that has read permission to the input data location and write
41836	// permission to the output data location in Amazon S3.
41837	//
41838	// RoleArn is a required field
41839	RoleArn *string `min:"20" type:"string" required:"true"`
41840
41841	// A time limit for how long the monitoring job is allowed to run before stopping.
41842	StoppingCondition *MonitoringStoppingCondition `type:"structure"`
41843}
41844
41845// String returns the string representation
41846func (s DescribeModelBiasJobDefinitionOutput) String() string {
41847	return awsutil.Prettify(s)
41848}
41849
41850// GoString returns the string representation
41851func (s DescribeModelBiasJobDefinitionOutput) GoString() string {
41852	return s.String()
41853}
41854
41855// SetCreationTime sets the CreationTime field's value.
41856func (s *DescribeModelBiasJobDefinitionOutput) SetCreationTime(v time.Time) *DescribeModelBiasJobDefinitionOutput {
41857	s.CreationTime = &v
41858	return s
41859}
41860
41861// SetJobDefinitionArn sets the JobDefinitionArn field's value.
41862func (s *DescribeModelBiasJobDefinitionOutput) SetJobDefinitionArn(v string) *DescribeModelBiasJobDefinitionOutput {
41863	s.JobDefinitionArn = &v
41864	return s
41865}
41866
41867// SetJobDefinitionName sets the JobDefinitionName field's value.
41868func (s *DescribeModelBiasJobDefinitionOutput) SetJobDefinitionName(v string) *DescribeModelBiasJobDefinitionOutput {
41869	s.JobDefinitionName = &v
41870	return s
41871}
41872
41873// SetJobResources sets the JobResources field's value.
41874func (s *DescribeModelBiasJobDefinitionOutput) SetJobResources(v *MonitoringResources) *DescribeModelBiasJobDefinitionOutput {
41875	s.JobResources = v
41876	return s
41877}
41878
41879// SetModelBiasAppSpecification sets the ModelBiasAppSpecification field's value.
41880func (s *DescribeModelBiasJobDefinitionOutput) SetModelBiasAppSpecification(v *ModelBiasAppSpecification) *DescribeModelBiasJobDefinitionOutput {
41881	s.ModelBiasAppSpecification = v
41882	return s
41883}
41884
41885// SetModelBiasBaselineConfig sets the ModelBiasBaselineConfig field's value.
41886func (s *DescribeModelBiasJobDefinitionOutput) SetModelBiasBaselineConfig(v *ModelBiasBaselineConfig) *DescribeModelBiasJobDefinitionOutput {
41887	s.ModelBiasBaselineConfig = v
41888	return s
41889}
41890
41891// SetModelBiasJobInput sets the ModelBiasJobInput field's value.
41892func (s *DescribeModelBiasJobDefinitionOutput) SetModelBiasJobInput(v *ModelBiasJobInput) *DescribeModelBiasJobDefinitionOutput {
41893	s.ModelBiasJobInput = v
41894	return s
41895}
41896
41897// SetModelBiasJobOutputConfig sets the ModelBiasJobOutputConfig field's value.
41898func (s *DescribeModelBiasJobDefinitionOutput) SetModelBiasJobOutputConfig(v *MonitoringOutputConfig) *DescribeModelBiasJobDefinitionOutput {
41899	s.ModelBiasJobOutputConfig = v
41900	return s
41901}
41902
41903// SetNetworkConfig sets the NetworkConfig field's value.
41904func (s *DescribeModelBiasJobDefinitionOutput) SetNetworkConfig(v *MonitoringNetworkConfig) *DescribeModelBiasJobDefinitionOutput {
41905	s.NetworkConfig = v
41906	return s
41907}
41908
41909// SetRoleArn sets the RoleArn field's value.
41910func (s *DescribeModelBiasJobDefinitionOutput) SetRoleArn(v string) *DescribeModelBiasJobDefinitionOutput {
41911	s.RoleArn = &v
41912	return s
41913}
41914
41915// SetStoppingCondition sets the StoppingCondition field's value.
41916func (s *DescribeModelBiasJobDefinitionOutput) SetStoppingCondition(v *MonitoringStoppingCondition) *DescribeModelBiasJobDefinitionOutput {
41917	s.StoppingCondition = v
41918	return s
41919}
41920
41921type DescribeModelExplainabilityJobDefinitionInput struct {
41922	_ struct{} `type:"structure"`
41923
41924	// The name of the model explainability job definition. The name must be unique
41925	// within an AWS Region in the AWS account.
41926	//
41927	// JobDefinitionName is a required field
41928	JobDefinitionName *string `min:"1" type:"string" required:"true"`
41929}
41930
41931// String returns the string representation
41932func (s DescribeModelExplainabilityJobDefinitionInput) String() string {
41933	return awsutil.Prettify(s)
41934}
41935
41936// GoString returns the string representation
41937func (s DescribeModelExplainabilityJobDefinitionInput) GoString() string {
41938	return s.String()
41939}
41940
41941// Validate inspects the fields of the type to determine if they are valid.
41942func (s *DescribeModelExplainabilityJobDefinitionInput) Validate() error {
41943	invalidParams := request.ErrInvalidParams{Context: "DescribeModelExplainabilityJobDefinitionInput"}
41944	if s.JobDefinitionName == nil {
41945		invalidParams.Add(request.NewErrParamRequired("JobDefinitionName"))
41946	}
41947	if s.JobDefinitionName != nil && len(*s.JobDefinitionName) < 1 {
41948		invalidParams.Add(request.NewErrParamMinLen("JobDefinitionName", 1))
41949	}
41950
41951	if invalidParams.Len() > 0 {
41952		return invalidParams
41953	}
41954	return nil
41955}
41956
41957// SetJobDefinitionName sets the JobDefinitionName field's value.
41958func (s *DescribeModelExplainabilityJobDefinitionInput) SetJobDefinitionName(v string) *DescribeModelExplainabilityJobDefinitionInput {
41959	s.JobDefinitionName = &v
41960	return s
41961}
41962
41963type DescribeModelExplainabilityJobDefinitionOutput struct {
41964	_ struct{} `type:"structure"`
41965
41966	// The time at which the model explainability job was created.
41967	//
41968	// CreationTime is a required field
41969	CreationTime *time.Time `type:"timestamp" required:"true"`
41970
41971	// The Amazon Resource Name (ARN) of the model explainability job.
41972	//
41973	// JobDefinitionArn is a required field
41974	JobDefinitionArn *string `type:"string" required:"true"`
41975
41976	// The name of the explainability job definition. The name must be unique within
41977	// an AWS Region in the AWS account.
41978	//
41979	// JobDefinitionName is a required field
41980	JobDefinitionName *string `min:"1" type:"string" required:"true"`
41981
41982	// Identifies the resources to deploy for a monitoring job.
41983	//
41984	// JobResources is a required field
41985	JobResources *MonitoringResources `type:"structure" required:"true"`
41986
41987	// Configures the model explainability job to run a specified Docker container
41988	// image.
41989	//
41990	// ModelExplainabilityAppSpecification is a required field
41991	ModelExplainabilityAppSpecification *ModelExplainabilityAppSpecification `type:"structure" required:"true"`
41992
41993	// The baseline configuration for a model explainability job.
41994	ModelExplainabilityBaselineConfig *ModelExplainabilityBaselineConfig `type:"structure"`
41995
41996	// Inputs for the model explainability job.
41997	//
41998	// ModelExplainabilityJobInput is a required field
41999	ModelExplainabilityJobInput *ModelExplainabilityJobInput `type:"structure" required:"true"`
42000
42001	// The output configuration for monitoring jobs.
42002	//
42003	// ModelExplainabilityJobOutputConfig is a required field
42004	ModelExplainabilityJobOutputConfig *MonitoringOutputConfig `type:"structure" required:"true"`
42005
42006	// Networking options for a model explainability job.
42007	NetworkConfig *MonitoringNetworkConfig `type:"structure"`
42008
42009	// The Amazon Resource Name (ARN) of the AWS Identity and Access Management
42010	// (IAM) role that has read permission to the input data location and write
42011	// permission to the output data location in Amazon S3.
42012	//
42013	// RoleArn is a required field
42014	RoleArn *string `min:"20" type:"string" required:"true"`
42015
42016	// A time limit for how long the monitoring job is allowed to run before stopping.
42017	StoppingCondition *MonitoringStoppingCondition `type:"structure"`
42018}
42019
42020// String returns the string representation
42021func (s DescribeModelExplainabilityJobDefinitionOutput) String() string {
42022	return awsutil.Prettify(s)
42023}
42024
42025// GoString returns the string representation
42026func (s DescribeModelExplainabilityJobDefinitionOutput) GoString() string {
42027	return s.String()
42028}
42029
42030// SetCreationTime sets the CreationTime field's value.
42031func (s *DescribeModelExplainabilityJobDefinitionOutput) SetCreationTime(v time.Time) *DescribeModelExplainabilityJobDefinitionOutput {
42032	s.CreationTime = &v
42033	return s
42034}
42035
42036// SetJobDefinitionArn sets the JobDefinitionArn field's value.
42037func (s *DescribeModelExplainabilityJobDefinitionOutput) SetJobDefinitionArn(v string) *DescribeModelExplainabilityJobDefinitionOutput {
42038	s.JobDefinitionArn = &v
42039	return s
42040}
42041
42042// SetJobDefinitionName sets the JobDefinitionName field's value.
42043func (s *DescribeModelExplainabilityJobDefinitionOutput) SetJobDefinitionName(v string) *DescribeModelExplainabilityJobDefinitionOutput {
42044	s.JobDefinitionName = &v
42045	return s
42046}
42047
42048// SetJobResources sets the JobResources field's value.
42049func (s *DescribeModelExplainabilityJobDefinitionOutput) SetJobResources(v *MonitoringResources) *DescribeModelExplainabilityJobDefinitionOutput {
42050	s.JobResources = v
42051	return s
42052}
42053
42054// SetModelExplainabilityAppSpecification sets the ModelExplainabilityAppSpecification field's value.
42055func (s *DescribeModelExplainabilityJobDefinitionOutput) SetModelExplainabilityAppSpecification(v *ModelExplainabilityAppSpecification) *DescribeModelExplainabilityJobDefinitionOutput {
42056	s.ModelExplainabilityAppSpecification = v
42057	return s
42058}
42059
42060// SetModelExplainabilityBaselineConfig sets the ModelExplainabilityBaselineConfig field's value.
42061func (s *DescribeModelExplainabilityJobDefinitionOutput) SetModelExplainabilityBaselineConfig(v *ModelExplainabilityBaselineConfig) *DescribeModelExplainabilityJobDefinitionOutput {
42062	s.ModelExplainabilityBaselineConfig = v
42063	return s
42064}
42065
42066// SetModelExplainabilityJobInput sets the ModelExplainabilityJobInput field's value.
42067func (s *DescribeModelExplainabilityJobDefinitionOutput) SetModelExplainabilityJobInput(v *ModelExplainabilityJobInput) *DescribeModelExplainabilityJobDefinitionOutput {
42068	s.ModelExplainabilityJobInput = v
42069	return s
42070}
42071
42072// SetModelExplainabilityJobOutputConfig sets the ModelExplainabilityJobOutputConfig field's value.
42073func (s *DescribeModelExplainabilityJobDefinitionOutput) SetModelExplainabilityJobOutputConfig(v *MonitoringOutputConfig) *DescribeModelExplainabilityJobDefinitionOutput {
42074	s.ModelExplainabilityJobOutputConfig = v
42075	return s
42076}
42077
42078// SetNetworkConfig sets the NetworkConfig field's value.
42079func (s *DescribeModelExplainabilityJobDefinitionOutput) SetNetworkConfig(v *MonitoringNetworkConfig) *DescribeModelExplainabilityJobDefinitionOutput {
42080	s.NetworkConfig = v
42081	return s
42082}
42083
42084// SetRoleArn sets the RoleArn field's value.
42085func (s *DescribeModelExplainabilityJobDefinitionOutput) SetRoleArn(v string) *DescribeModelExplainabilityJobDefinitionOutput {
42086	s.RoleArn = &v
42087	return s
42088}
42089
42090// SetStoppingCondition sets the StoppingCondition field's value.
42091func (s *DescribeModelExplainabilityJobDefinitionOutput) SetStoppingCondition(v *MonitoringStoppingCondition) *DescribeModelExplainabilityJobDefinitionOutput {
42092	s.StoppingCondition = v
42093	return s
42094}
42095
42096type DescribeModelInput struct {
42097	_ struct{} `type:"structure"`
42098
42099	// The name of the model.
42100	//
42101	// ModelName is a required field
42102	ModelName *string `type:"string" required:"true"`
42103}
42104
42105// String returns the string representation
42106func (s DescribeModelInput) String() string {
42107	return awsutil.Prettify(s)
42108}
42109
42110// GoString returns the string representation
42111func (s DescribeModelInput) GoString() string {
42112	return s.String()
42113}
42114
42115// Validate inspects the fields of the type to determine if they are valid.
42116func (s *DescribeModelInput) Validate() error {
42117	invalidParams := request.ErrInvalidParams{Context: "DescribeModelInput"}
42118	if s.ModelName == nil {
42119		invalidParams.Add(request.NewErrParamRequired("ModelName"))
42120	}
42121
42122	if invalidParams.Len() > 0 {
42123		return invalidParams
42124	}
42125	return nil
42126}
42127
42128// SetModelName sets the ModelName field's value.
42129func (s *DescribeModelInput) SetModelName(v string) *DescribeModelInput {
42130	s.ModelName = &v
42131	return s
42132}
42133
42134type DescribeModelOutput struct {
42135	_ struct{} `type:"structure"`
42136
42137	// The containers in the inference pipeline.
42138	Containers []*ContainerDefinition `type:"list"`
42139
42140	// A timestamp that shows when the model was created.
42141	//
42142	// CreationTime is a required field
42143	CreationTime *time.Time `type:"timestamp" required:"true"`
42144
42145	// If True, no inbound or outbound network calls can be made to or from the
42146	// model container.
42147	EnableNetworkIsolation *bool `type:"boolean"`
42148
42149	// The Amazon Resource Name (ARN) of the IAM role that you specified for the
42150	// model.
42151	//
42152	// ExecutionRoleArn is a required field
42153	ExecutionRoleArn *string `min:"20" type:"string" required:"true"`
42154
42155	// Specifies details of how containers in a multi-container endpoint are called.
42156	InferenceExecutionConfig *InferenceExecutionConfig `type:"structure"`
42157
42158	// The Amazon Resource Name (ARN) of the model.
42159	//
42160	// ModelArn is a required field
42161	ModelArn *string `min:"20" type:"string" required:"true"`
42162
42163	// Name of the Amazon SageMaker model.
42164	//
42165	// ModelName is a required field
42166	ModelName *string `type:"string" required:"true"`
42167
42168	// The location of the primary inference code, associated artifacts, and custom
42169	// environment map that the inference code uses when it is deployed in production.
42170	PrimaryContainer *ContainerDefinition `type:"structure"`
42171
42172	// A VpcConfig object that specifies the VPC that this model has access to.
42173	// For more information, see Protect Endpoints by Using an Amazon Virtual Private
42174	// Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html)
42175	VpcConfig *VpcConfig `type:"structure"`
42176}
42177
42178// String returns the string representation
42179func (s DescribeModelOutput) String() string {
42180	return awsutil.Prettify(s)
42181}
42182
42183// GoString returns the string representation
42184func (s DescribeModelOutput) GoString() string {
42185	return s.String()
42186}
42187
42188// SetContainers sets the Containers field's value.
42189func (s *DescribeModelOutput) SetContainers(v []*ContainerDefinition) *DescribeModelOutput {
42190	s.Containers = v
42191	return s
42192}
42193
42194// SetCreationTime sets the CreationTime field's value.
42195func (s *DescribeModelOutput) SetCreationTime(v time.Time) *DescribeModelOutput {
42196	s.CreationTime = &v
42197	return s
42198}
42199
42200// SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value.
42201func (s *DescribeModelOutput) SetEnableNetworkIsolation(v bool) *DescribeModelOutput {
42202	s.EnableNetworkIsolation = &v
42203	return s
42204}
42205
42206// SetExecutionRoleArn sets the ExecutionRoleArn field's value.
42207func (s *DescribeModelOutput) SetExecutionRoleArn(v string) *DescribeModelOutput {
42208	s.ExecutionRoleArn = &v
42209	return s
42210}
42211
42212// SetInferenceExecutionConfig sets the InferenceExecutionConfig field's value.
42213func (s *DescribeModelOutput) SetInferenceExecutionConfig(v *InferenceExecutionConfig) *DescribeModelOutput {
42214	s.InferenceExecutionConfig = v
42215	return s
42216}
42217
42218// SetModelArn sets the ModelArn field's value.
42219func (s *DescribeModelOutput) SetModelArn(v string) *DescribeModelOutput {
42220	s.ModelArn = &v
42221	return s
42222}
42223
42224// SetModelName sets the ModelName field's value.
42225func (s *DescribeModelOutput) SetModelName(v string) *DescribeModelOutput {
42226	s.ModelName = &v
42227	return s
42228}
42229
42230// SetPrimaryContainer sets the PrimaryContainer field's value.
42231func (s *DescribeModelOutput) SetPrimaryContainer(v *ContainerDefinition) *DescribeModelOutput {
42232	s.PrimaryContainer = v
42233	return s
42234}
42235
42236// SetVpcConfig sets the VpcConfig field's value.
42237func (s *DescribeModelOutput) SetVpcConfig(v *VpcConfig) *DescribeModelOutput {
42238	s.VpcConfig = v
42239	return s
42240}
42241
42242type DescribeModelPackageGroupInput struct {
42243	_ struct{} `type:"structure"`
42244
42245	// The name of the model group to describe.
42246	//
42247	// ModelPackageGroupName is a required field
42248	ModelPackageGroupName *string `min:"1" type:"string" required:"true"`
42249}
42250
42251// String returns the string representation
42252func (s DescribeModelPackageGroupInput) String() string {
42253	return awsutil.Prettify(s)
42254}
42255
42256// GoString returns the string representation
42257func (s DescribeModelPackageGroupInput) GoString() string {
42258	return s.String()
42259}
42260
42261// Validate inspects the fields of the type to determine if they are valid.
42262func (s *DescribeModelPackageGroupInput) Validate() error {
42263	invalidParams := request.ErrInvalidParams{Context: "DescribeModelPackageGroupInput"}
42264	if s.ModelPackageGroupName == nil {
42265		invalidParams.Add(request.NewErrParamRequired("ModelPackageGroupName"))
42266	}
42267	if s.ModelPackageGroupName != nil && len(*s.ModelPackageGroupName) < 1 {
42268		invalidParams.Add(request.NewErrParamMinLen("ModelPackageGroupName", 1))
42269	}
42270
42271	if invalidParams.Len() > 0 {
42272		return invalidParams
42273	}
42274	return nil
42275}
42276
42277// SetModelPackageGroupName sets the ModelPackageGroupName field's value.
42278func (s *DescribeModelPackageGroupInput) SetModelPackageGroupName(v string) *DescribeModelPackageGroupInput {
42279	s.ModelPackageGroupName = &v
42280	return s
42281}
42282
42283type DescribeModelPackageGroupOutput struct {
42284	_ struct{} `type:"structure"`
42285
42286	// Information about the user who created or modified an experiment, trial,
42287	// or trial component.
42288	//
42289	// CreatedBy is a required field
42290	CreatedBy *UserContext `type:"structure" required:"true"`
42291
42292	// The time that the model group was created.
42293	//
42294	// CreationTime is a required field
42295	CreationTime *time.Time `type:"timestamp" required:"true"`
42296
42297	// The Amazon Resource Name (ARN) of the model group.
42298	//
42299	// ModelPackageGroupArn is a required field
42300	ModelPackageGroupArn *string `min:"1" type:"string" required:"true"`
42301
42302	// A description of the model group.
42303	ModelPackageGroupDescription *string `type:"string"`
42304
42305	// The name of the model group.
42306	//
42307	// ModelPackageGroupName is a required field
42308	ModelPackageGroupName *string `min:"1" type:"string" required:"true"`
42309
42310	// The status of the model group.
42311	//
42312	// ModelPackageGroupStatus is a required field
42313	ModelPackageGroupStatus *string `type:"string" required:"true" enum:"ModelPackageGroupStatus"`
42314}
42315
42316// String returns the string representation
42317func (s DescribeModelPackageGroupOutput) String() string {
42318	return awsutil.Prettify(s)
42319}
42320
42321// GoString returns the string representation
42322func (s DescribeModelPackageGroupOutput) GoString() string {
42323	return s.String()
42324}
42325
42326// SetCreatedBy sets the CreatedBy field's value.
42327func (s *DescribeModelPackageGroupOutput) SetCreatedBy(v *UserContext) *DescribeModelPackageGroupOutput {
42328	s.CreatedBy = v
42329	return s
42330}
42331
42332// SetCreationTime sets the CreationTime field's value.
42333func (s *DescribeModelPackageGroupOutput) SetCreationTime(v time.Time) *DescribeModelPackageGroupOutput {
42334	s.CreationTime = &v
42335	return s
42336}
42337
42338// SetModelPackageGroupArn sets the ModelPackageGroupArn field's value.
42339func (s *DescribeModelPackageGroupOutput) SetModelPackageGroupArn(v string) *DescribeModelPackageGroupOutput {
42340	s.ModelPackageGroupArn = &v
42341	return s
42342}
42343
42344// SetModelPackageGroupDescription sets the ModelPackageGroupDescription field's value.
42345func (s *DescribeModelPackageGroupOutput) SetModelPackageGroupDescription(v string) *DescribeModelPackageGroupOutput {
42346	s.ModelPackageGroupDescription = &v
42347	return s
42348}
42349
42350// SetModelPackageGroupName sets the ModelPackageGroupName field's value.
42351func (s *DescribeModelPackageGroupOutput) SetModelPackageGroupName(v string) *DescribeModelPackageGroupOutput {
42352	s.ModelPackageGroupName = &v
42353	return s
42354}
42355
42356// SetModelPackageGroupStatus sets the ModelPackageGroupStatus field's value.
42357func (s *DescribeModelPackageGroupOutput) SetModelPackageGroupStatus(v string) *DescribeModelPackageGroupOutput {
42358	s.ModelPackageGroupStatus = &v
42359	return s
42360}
42361
42362type DescribeModelPackageInput struct {
42363	_ struct{} `type:"structure"`
42364
42365	// The name of the model package to describe.
42366	//
42367	// ModelPackageName is a required field
42368	ModelPackageName *string `min:"1" type:"string" required:"true"`
42369}
42370
42371// String returns the string representation
42372func (s DescribeModelPackageInput) String() string {
42373	return awsutil.Prettify(s)
42374}
42375
42376// GoString returns the string representation
42377func (s DescribeModelPackageInput) GoString() string {
42378	return s.String()
42379}
42380
42381// Validate inspects the fields of the type to determine if they are valid.
42382func (s *DescribeModelPackageInput) Validate() error {
42383	invalidParams := request.ErrInvalidParams{Context: "DescribeModelPackageInput"}
42384	if s.ModelPackageName == nil {
42385		invalidParams.Add(request.NewErrParamRequired("ModelPackageName"))
42386	}
42387	if s.ModelPackageName != nil && len(*s.ModelPackageName) < 1 {
42388		invalidParams.Add(request.NewErrParamMinLen("ModelPackageName", 1))
42389	}
42390
42391	if invalidParams.Len() > 0 {
42392		return invalidParams
42393	}
42394	return nil
42395}
42396
42397// SetModelPackageName sets the ModelPackageName field's value.
42398func (s *DescribeModelPackageInput) SetModelPackageName(v string) *DescribeModelPackageInput {
42399	s.ModelPackageName = &v
42400	return s
42401}
42402
42403type DescribeModelPackageOutput struct {
42404	_ struct{} `type:"structure"`
42405
42406	// A description provided for the model approval.
42407	ApprovalDescription *string `type:"string"`
42408
42409	// Whether the model package is certified for listing on AWS Marketplace.
42410	CertifyForMarketplace *bool `type:"boolean"`
42411
42412	// Information about the user who created or modified an experiment, trial,
42413	// or trial component.
42414	CreatedBy *UserContext `type:"structure"`
42415
42416	// A timestamp specifying when the model package was created.
42417	//
42418	// CreationTime is a required field
42419	CreationTime *time.Time `type:"timestamp" required:"true"`
42420
42421	// Details about inference jobs that can be run with models based on this model
42422	// package.
42423	InferenceSpecification *InferenceSpecification `type:"structure"`
42424
42425	// Information about the user who created or modified an experiment, trial,
42426	// or trial component.
42427	LastModifiedBy *UserContext `type:"structure"`
42428
42429	// The last time the model package was modified.
42430	LastModifiedTime *time.Time `type:"timestamp"`
42431
42432	// Metadata properties of the tracking entity, trial, or trial component.
42433	MetadataProperties *MetadataProperties `type:"structure"`
42434
42435	// The approval status of the model package.
42436	ModelApprovalStatus *string `type:"string" enum:"ModelApprovalStatus"`
42437
42438	// Metrics for the model.
42439	ModelMetrics *ModelMetrics `type:"structure"`
42440
42441	// The Amazon Resource Name (ARN) of the model package.
42442	//
42443	// ModelPackageArn is a required field
42444	ModelPackageArn *string `min:"1" type:"string" required:"true"`
42445
42446	// A brief summary of the model package.
42447	ModelPackageDescription *string `type:"string"`
42448
42449	// If the model is a versioned model, the name of the model group that the versioned
42450	// model belongs to.
42451	ModelPackageGroupName *string `min:"1" type:"string"`
42452
42453	// The name of the model package being described.
42454	//
42455	// ModelPackageName is a required field
42456	ModelPackageName *string `min:"1" type:"string" required:"true"`
42457
42458	// The current status of the model package.
42459	//
42460	// ModelPackageStatus is a required field
42461	ModelPackageStatus *string `type:"string" required:"true" enum:"ModelPackageStatus"`
42462
42463	// Details about the current status of the model package.
42464	//
42465	// ModelPackageStatusDetails is a required field
42466	ModelPackageStatusDetails *ModelPackageStatusDetails `type:"structure" required:"true"`
42467
42468	// The version of the model package.
42469	ModelPackageVersion *int64 `min:"1" type:"integer"`
42470
42471	// Details about the algorithm that was used to create the model package.
42472	SourceAlgorithmSpecification *SourceAlgorithmSpecification `type:"structure"`
42473
42474	// Configurations for one or more transform jobs that Amazon SageMaker runs
42475	// to test the model package.
42476	ValidationSpecification *ModelPackageValidationSpecification `type:"structure"`
42477}
42478
42479// String returns the string representation
42480func (s DescribeModelPackageOutput) String() string {
42481	return awsutil.Prettify(s)
42482}
42483
42484// GoString returns the string representation
42485func (s DescribeModelPackageOutput) GoString() string {
42486	return s.String()
42487}
42488
42489// SetApprovalDescription sets the ApprovalDescription field's value.
42490func (s *DescribeModelPackageOutput) SetApprovalDescription(v string) *DescribeModelPackageOutput {
42491	s.ApprovalDescription = &v
42492	return s
42493}
42494
42495// SetCertifyForMarketplace sets the CertifyForMarketplace field's value.
42496func (s *DescribeModelPackageOutput) SetCertifyForMarketplace(v bool) *DescribeModelPackageOutput {
42497	s.CertifyForMarketplace = &v
42498	return s
42499}
42500
42501// SetCreatedBy sets the CreatedBy field's value.
42502func (s *DescribeModelPackageOutput) SetCreatedBy(v *UserContext) *DescribeModelPackageOutput {
42503	s.CreatedBy = v
42504	return s
42505}
42506
42507// SetCreationTime sets the CreationTime field's value.
42508func (s *DescribeModelPackageOutput) SetCreationTime(v time.Time) *DescribeModelPackageOutput {
42509	s.CreationTime = &v
42510	return s
42511}
42512
42513// SetInferenceSpecification sets the InferenceSpecification field's value.
42514func (s *DescribeModelPackageOutput) SetInferenceSpecification(v *InferenceSpecification) *DescribeModelPackageOutput {
42515	s.InferenceSpecification = v
42516	return s
42517}
42518
42519// SetLastModifiedBy sets the LastModifiedBy field's value.
42520func (s *DescribeModelPackageOutput) SetLastModifiedBy(v *UserContext) *DescribeModelPackageOutput {
42521	s.LastModifiedBy = v
42522	return s
42523}
42524
42525// SetLastModifiedTime sets the LastModifiedTime field's value.
42526func (s *DescribeModelPackageOutput) SetLastModifiedTime(v time.Time) *DescribeModelPackageOutput {
42527	s.LastModifiedTime = &v
42528	return s
42529}
42530
42531// SetMetadataProperties sets the MetadataProperties field's value.
42532func (s *DescribeModelPackageOutput) SetMetadataProperties(v *MetadataProperties) *DescribeModelPackageOutput {
42533	s.MetadataProperties = v
42534	return s
42535}
42536
42537// SetModelApprovalStatus sets the ModelApprovalStatus field's value.
42538func (s *DescribeModelPackageOutput) SetModelApprovalStatus(v string) *DescribeModelPackageOutput {
42539	s.ModelApprovalStatus = &v
42540	return s
42541}
42542
42543// SetModelMetrics sets the ModelMetrics field's value.
42544func (s *DescribeModelPackageOutput) SetModelMetrics(v *ModelMetrics) *DescribeModelPackageOutput {
42545	s.ModelMetrics = v
42546	return s
42547}
42548
42549// SetModelPackageArn sets the ModelPackageArn field's value.
42550func (s *DescribeModelPackageOutput) SetModelPackageArn(v string) *DescribeModelPackageOutput {
42551	s.ModelPackageArn = &v
42552	return s
42553}
42554
42555// SetModelPackageDescription sets the ModelPackageDescription field's value.
42556func (s *DescribeModelPackageOutput) SetModelPackageDescription(v string) *DescribeModelPackageOutput {
42557	s.ModelPackageDescription = &v
42558	return s
42559}
42560
42561// SetModelPackageGroupName sets the ModelPackageGroupName field's value.
42562func (s *DescribeModelPackageOutput) SetModelPackageGroupName(v string) *DescribeModelPackageOutput {
42563	s.ModelPackageGroupName = &v
42564	return s
42565}
42566
42567// SetModelPackageName sets the ModelPackageName field's value.
42568func (s *DescribeModelPackageOutput) SetModelPackageName(v string) *DescribeModelPackageOutput {
42569	s.ModelPackageName = &v
42570	return s
42571}
42572
42573// SetModelPackageStatus sets the ModelPackageStatus field's value.
42574func (s *DescribeModelPackageOutput) SetModelPackageStatus(v string) *DescribeModelPackageOutput {
42575	s.ModelPackageStatus = &v
42576	return s
42577}
42578
42579// SetModelPackageStatusDetails sets the ModelPackageStatusDetails field's value.
42580func (s *DescribeModelPackageOutput) SetModelPackageStatusDetails(v *ModelPackageStatusDetails) *DescribeModelPackageOutput {
42581	s.ModelPackageStatusDetails = v
42582	return s
42583}
42584
42585// SetModelPackageVersion sets the ModelPackageVersion field's value.
42586func (s *DescribeModelPackageOutput) SetModelPackageVersion(v int64) *DescribeModelPackageOutput {
42587	s.ModelPackageVersion = &v
42588	return s
42589}
42590
42591// SetSourceAlgorithmSpecification sets the SourceAlgorithmSpecification field's value.
42592func (s *DescribeModelPackageOutput) SetSourceAlgorithmSpecification(v *SourceAlgorithmSpecification) *DescribeModelPackageOutput {
42593	s.SourceAlgorithmSpecification = v
42594	return s
42595}
42596
42597// SetValidationSpecification sets the ValidationSpecification field's value.
42598func (s *DescribeModelPackageOutput) SetValidationSpecification(v *ModelPackageValidationSpecification) *DescribeModelPackageOutput {
42599	s.ValidationSpecification = v
42600	return s
42601}
42602
42603type DescribeModelQualityJobDefinitionInput struct {
42604	_ struct{} `type:"structure"`
42605
42606	// The name of the model quality job. The name must be unique within an AWS
42607	// Region in the AWS account.
42608	//
42609	// JobDefinitionName is a required field
42610	JobDefinitionName *string `min:"1" type:"string" required:"true"`
42611}
42612
42613// String returns the string representation
42614func (s DescribeModelQualityJobDefinitionInput) String() string {
42615	return awsutil.Prettify(s)
42616}
42617
42618// GoString returns the string representation
42619func (s DescribeModelQualityJobDefinitionInput) GoString() string {
42620	return s.String()
42621}
42622
42623// Validate inspects the fields of the type to determine if they are valid.
42624func (s *DescribeModelQualityJobDefinitionInput) Validate() error {
42625	invalidParams := request.ErrInvalidParams{Context: "DescribeModelQualityJobDefinitionInput"}
42626	if s.JobDefinitionName == nil {
42627		invalidParams.Add(request.NewErrParamRequired("JobDefinitionName"))
42628	}
42629	if s.JobDefinitionName != nil && len(*s.JobDefinitionName) < 1 {
42630		invalidParams.Add(request.NewErrParamMinLen("JobDefinitionName", 1))
42631	}
42632
42633	if invalidParams.Len() > 0 {
42634		return invalidParams
42635	}
42636	return nil
42637}
42638
42639// SetJobDefinitionName sets the JobDefinitionName field's value.
42640func (s *DescribeModelQualityJobDefinitionInput) SetJobDefinitionName(v string) *DescribeModelQualityJobDefinitionInput {
42641	s.JobDefinitionName = &v
42642	return s
42643}
42644
42645type DescribeModelQualityJobDefinitionOutput struct {
42646	_ struct{} `type:"structure"`
42647
42648	// The time at which the model quality job was created.
42649	//
42650	// CreationTime is a required field
42651	CreationTime *time.Time `type:"timestamp" required:"true"`
42652
42653	// The Amazon Resource Name (ARN) of the model quality job.
42654	//
42655	// JobDefinitionArn is a required field
42656	JobDefinitionArn *string `type:"string" required:"true"`
42657
42658	// The name of the quality job definition. The name must be unique within an
42659	// AWS Region in the AWS account.
42660	//
42661	// JobDefinitionName is a required field
42662	JobDefinitionName *string `min:"1" type:"string" required:"true"`
42663
42664	// Identifies the resources to deploy for a monitoring job.
42665	//
42666	// JobResources is a required field
42667	JobResources *MonitoringResources `type:"structure" required:"true"`
42668
42669	// Configures the model quality job to run a specified Docker container image.
42670	//
42671	// ModelQualityAppSpecification is a required field
42672	ModelQualityAppSpecification *ModelQualityAppSpecification `type:"structure" required:"true"`
42673
42674	// The baseline configuration for a model quality job.
42675	ModelQualityBaselineConfig *ModelQualityBaselineConfig `type:"structure"`
42676
42677	// Inputs for the model quality job.
42678	//
42679	// ModelQualityJobInput is a required field
42680	ModelQualityJobInput *ModelQualityJobInput `type:"structure" required:"true"`
42681
42682	// The output configuration for monitoring jobs.
42683	//
42684	// ModelQualityJobOutputConfig is a required field
42685	ModelQualityJobOutputConfig *MonitoringOutputConfig `type:"structure" required:"true"`
42686
42687	// Networking options for a model quality job.
42688	NetworkConfig *MonitoringNetworkConfig `type:"structure"`
42689
42690	// The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume
42691	// to perform tasks on your behalf.
42692	//
42693	// RoleArn is a required field
42694	RoleArn *string `min:"20" type:"string" required:"true"`
42695
42696	// A time limit for how long the monitoring job is allowed to run before stopping.
42697	StoppingCondition *MonitoringStoppingCondition `type:"structure"`
42698}
42699
42700// String returns the string representation
42701func (s DescribeModelQualityJobDefinitionOutput) String() string {
42702	return awsutil.Prettify(s)
42703}
42704
42705// GoString returns the string representation
42706func (s DescribeModelQualityJobDefinitionOutput) GoString() string {
42707	return s.String()
42708}
42709
42710// SetCreationTime sets the CreationTime field's value.
42711func (s *DescribeModelQualityJobDefinitionOutput) SetCreationTime(v time.Time) *DescribeModelQualityJobDefinitionOutput {
42712	s.CreationTime = &v
42713	return s
42714}
42715
42716// SetJobDefinitionArn sets the JobDefinitionArn field's value.
42717func (s *DescribeModelQualityJobDefinitionOutput) SetJobDefinitionArn(v string) *DescribeModelQualityJobDefinitionOutput {
42718	s.JobDefinitionArn = &v
42719	return s
42720}
42721
42722// SetJobDefinitionName sets the JobDefinitionName field's value.
42723func (s *DescribeModelQualityJobDefinitionOutput) SetJobDefinitionName(v string) *DescribeModelQualityJobDefinitionOutput {
42724	s.JobDefinitionName = &v
42725	return s
42726}
42727
42728// SetJobResources sets the JobResources field's value.
42729func (s *DescribeModelQualityJobDefinitionOutput) SetJobResources(v *MonitoringResources) *DescribeModelQualityJobDefinitionOutput {
42730	s.JobResources = v
42731	return s
42732}
42733
42734// SetModelQualityAppSpecification sets the ModelQualityAppSpecification field's value.
42735func (s *DescribeModelQualityJobDefinitionOutput) SetModelQualityAppSpecification(v *ModelQualityAppSpecification) *DescribeModelQualityJobDefinitionOutput {
42736	s.ModelQualityAppSpecification = v
42737	return s
42738}
42739
42740// SetModelQualityBaselineConfig sets the ModelQualityBaselineConfig field's value.
42741func (s *DescribeModelQualityJobDefinitionOutput) SetModelQualityBaselineConfig(v *ModelQualityBaselineConfig) *DescribeModelQualityJobDefinitionOutput {
42742	s.ModelQualityBaselineConfig = v
42743	return s
42744}
42745
42746// SetModelQualityJobInput sets the ModelQualityJobInput field's value.
42747func (s *DescribeModelQualityJobDefinitionOutput) SetModelQualityJobInput(v *ModelQualityJobInput) *DescribeModelQualityJobDefinitionOutput {
42748	s.ModelQualityJobInput = v
42749	return s
42750}
42751
42752// SetModelQualityJobOutputConfig sets the ModelQualityJobOutputConfig field's value.
42753func (s *DescribeModelQualityJobDefinitionOutput) SetModelQualityJobOutputConfig(v *MonitoringOutputConfig) *DescribeModelQualityJobDefinitionOutput {
42754	s.ModelQualityJobOutputConfig = v
42755	return s
42756}
42757
42758// SetNetworkConfig sets the NetworkConfig field's value.
42759func (s *DescribeModelQualityJobDefinitionOutput) SetNetworkConfig(v *MonitoringNetworkConfig) *DescribeModelQualityJobDefinitionOutput {
42760	s.NetworkConfig = v
42761	return s
42762}
42763
42764// SetRoleArn sets the RoleArn field's value.
42765func (s *DescribeModelQualityJobDefinitionOutput) SetRoleArn(v string) *DescribeModelQualityJobDefinitionOutput {
42766	s.RoleArn = &v
42767	return s
42768}
42769
42770// SetStoppingCondition sets the StoppingCondition field's value.
42771func (s *DescribeModelQualityJobDefinitionOutput) SetStoppingCondition(v *MonitoringStoppingCondition) *DescribeModelQualityJobDefinitionOutput {
42772	s.StoppingCondition = v
42773	return s
42774}
42775
42776type DescribeMonitoringScheduleInput struct {
42777	_ struct{} `type:"structure"`
42778
42779	// Name of a previously created monitoring schedule.
42780	//
42781	// MonitoringScheduleName is a required field
42782	MonitoringScheduleName *string `min:"1" type:"string" required:"true"`
42783}
42784
42785// String returns the string representation
42786func (s DescribeMonitoringScheduleInput) String() string {
42787	return awsutil.Prettify(s)
42788}
42789
42790// GoString returns the string representation
42791func (s DescribeMonitoringScheduleInput) GoString() string {
42792	return s.String()
42793}
42794
42795// Validate inspects the fields of the type to determine if they are valid.
42796func (s *DescribeMonitoringScheduleInput) Validate() error {
42797	invalidParams := request.ErrInvalidParams{Context: "DescribeMonitoringScheduleInput"}
42798	if s.MonitoringScheduleName == nil {
42799		invalidParams.Add(request.NewErrParamRequired("MonitoringScheduleName"))
42800	}
42801	if s.MonitoringScheduleName != nil && len(*s.MonitoringScheduleName) < 1 {
42802		invalidParams.Add(request.NewErrParamMinLen("MonitoringScheduleName", 1))
42803	}
42804
42805	if invalidParams.Len() > 0 {
42806		return invalidParams
42807	}
42808	return nil
42809}
42810
42811// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
42812func (s *DescribeMonitoringScheduleInput) SetMonitoringScheduleName(v string) *DescribeMonitoringScheduleInput {
42813	s.MonitoringScheduleName = &v
42814	return s
42815}
42816
42817type DescribeMonitoringScheduleOutput struct {
42818	_ struct{} `type:"structure"`
42819
42820	// The time at which the monitoring job was created.
42821	//
42822	// CreationTime is a required field
42823	CreationTime *time.Time `type:"timestamp" required:"true"`
42824
42825	// The name of the endpoint for the monitoring job.
42826	EndpointName *string `type:"string"`
42827
42828	// A string, up to one KB in size, that contains the reason a monitoring job
42829	// failed, if it failed.
42830	FailureReason *string `type:"string"`
42831
42832	// The time at which the monitoring job was last modified.
42833	//
42834	// LastModifiedTime is a required field
42835	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
42836
42837	// Describes metadata on the last execution to run, if there was one.
42838	LastMonitoringExecutionSummary *MonitoringExecutionSummary `type:"structure"`
42839
42840	// The Amazon Resource Name (ARN) of the monitoring schedule.
42841	//
42842	// MonitoringScheduleArn is a required field
42843	MonitoringScheduleArn *string `type:"string" required:"true"`
42844
42845	// The configuration object that specifies the monitoring schedule and defines
42846	// the monitoring job.
42847	//
42848	// MonitoringScheduleConfig is a required field
42849	MonitoringScheduleConfig *MonitoringScheduleConfig `type:"structure" required:"true"`
42850
42851	// Name of the monitoring schedule.
42852	//
42853	// MonitoringScheduleName is a required field
42854	MonitoringScheduleName *string `min:"1" type:"string" required:"true"`
42855
42856	// The status of an monitoring job.
42857	//
42858	// MonitoringScheduleStatus is a required field
42859	MonitoringScheduleStatus *string `type:"string" required:"true" enum:"ScheduleStatus"`
42860
42861	// The type of the monitoring job that this schedule runs. This is one of the
42862	// following values.
42863	//
42864	//    * DATA_QUALITY - The schedule is for a data quality monitoring job.
42865	//
42866	//    * MODEL_QUALITY - The schedule is for a model quality monitoring job.
42867	//
42868	//    * MODEL_BIAS - The schedule is for a bias monitoring job.
42869	//
42870	//    * MODEL_EXPLAINABILITY - The schedule is for an explainability monitoring
42871	//    job.
42872	MonitoringType *string `type:"string" enum:"MonitoringType"`
42873}
42874
42875// String returns the string representation
42876func (s DescribeMonitoringScheduleOutput) String() string {
42877	return awsutil.Prettify(s)
42878}
42879
42880// GoString returns the string representation
42881func (s DescribeMonitoringScheduleOutput) GoString() string {
42882	return s.String()
42883}
42884
42885// SetCreationTime sets the CreationTime field's value.
42886func (s *DescribeMonitoringScheduleOutput) SetCreationTime(v time.Time) *DescribeMonitoringScheduleOutput {
42887	s.CreationTime = &v
42888	return s
42889}
42890
42891// SetEndpointName sets the EndpointName field's value.
42892func (s *DescribeMonitoringScheduleOutput) SetEndpointName(v string) *DescribeMonitoringScheduleOutput {
42893	s.EndpointName = &v
42894	return s
42895}
42896
42897// SetFailureReason sets the FailureReason field's value.
42898func (s *DescribeMonitoringScheduleOutput) SetFailureReason(v string) *DescribeMonitoringScheduleOutput {
42899	s.FailureReason = &v
42900	return s
42901}
42902
42903// SetLastModifiedTime sets the LastModifiedTime field's value.
42904func (s *DescribeMonitoringScheduleOutput) SetLastModifiedTime(v time.Time) *DescribeMonitoringScheduleOutput {
42905	s.LastModifiedTime = &v
42906	return s
42907}
42908
42909// SetLastMonitoringExecutionSummary sets the LastMonitoringExecutionSummary field's value.
42910func (s *DescribeMonitoringScheduleOutput) SetLastMonitoringExecutionSummary(v *MonitoringExecutionSummary) *DescribeMonitoringScheduleOutput {
42911	s.LastMonitoringExecutionSummary = v
42912	return s
42913}
42914
42915// SetMonitoringScheduleArn sets the MonitoringScheduleArn field's value.
42916func (s *DescribeMonitoringScheduleOutput) SetMonitoringScheduleArn(v string) *DescribeMonitoringScheduleOutput {
42917	s.MonitoringScheduleArn = &v
42918	return s
42919}
42920
42921// SetMonitoringScheduleConfig sets the MonitoringScheduleConfig field's value.
42922func (s *DescribeMonitoringScheduleOutput) SetMonitoringScheduleConfig(v *MonitoringScheduleConfig) *DescribeMonitoringScheduleOutput {
42923	s.MonitoringScheduleConfig = v
42924	return s
42925}
42926
42927// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
42928func (s *DescribeMonitoringScheduleOutput) SetMonitoringScheduleName(v string) *DescribeMonitoringScheduleOutput {
42929	s.MonitoringScheduleName = &v
42930	return s
42931}
42932
42933// SetMonitoringScheduleStatus sets the MonitoringScheduleStatus field's value.
42934func (s *DescribeMonitoringScheduleOutput) SetMonitoringScheduleStatus(v string) *DescribeMonitoringScheduleOutput {
42935	s.MonitoringScheduleStatus = &v
42936	return s
42937}
42938
42939// SetMonitoringType sets the MonitoringType field's value.
42940func (s *DescribeMonitoringScheduleOutput) SetMonitoringType(v string) *DescribeMonitoringScheduleOutput {
42941	s.MonitoringType = &v
42942	return s
42943}
42944
42945type DescribeNotebookInstanceInput struct {
42946	_ struct{} `type:"structure"`
42947
42948	// The name of the notebook instance that you want information about.
42949	//
42950	// NotebookInstanceName is a required field
42951	NotebookInstanceName *string `type:"string" required:"true"`
42952}
42953
42954// String returns the string representation
42955func (s DescribeNotebookInstanceInput) String() string {
42956	return awsutil.Prettify(s)
42957}
42958
42959// GoString returns the string representation
42960func (s DescribeNotebookInstanceInput) GoString() string {
42961	return s.String()
42962}
42963
42964// Validate inspects the fields of the type to determine if they are valid.
42965func (s *DescribeNotebookInstanceInput) Validate() error {
42966	invalidParams := request.ErrInvalidParams{Context: "DescribeNotebookInstanceInput"}
42967	if s.NotebookInstanceName == nil {
42968		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName"))
42969	}
42970
42971	if invalidParams.Len() > 0 {
42972		return invalidParams
42973	}
42974	return nil
42975}
42976
42977// SetNotebookInstanceName sets the NotebookInstanceName field's value.
42978func (s *DescribeNotebookInstanceInput) SetNotebookInstanceName(v string) *DescribeNotebookInstanceInput {
42979	s.NotebookInstanceName = &v
42980	return s
42981}
42982
42983type DescribeNotebookInstanceLifecycleConfigInput struct {
42984	_ struct{} `type:"structure"`
42985
42986	// The name of the lifecycle configuration to describe.
42987	//
42988	// NotebookInstanceLifecycleConfigName is a required field
42989	NotebookInstanceLifecycleConfigName *string `type:"string" required:"true"`
42990}
42991
42992// String returns the string representation
42993func (s DescribeNotebookInstanceLifecycleConfigInput) String() string {
42994	return awsutil.Prettify(s)
42995}
42996
42997// GoString returns the string representation
42998func (s DescribeNotebookInstanceLifecycleConfigInput) GoString() string {
42999	return s.String()
43000}
43001
43002// Validate inspects the fields of the type to determine if they are valid.
43003func (s *DescribeNotebookInstanceLifecycleConfigInput) Validate() error {
43004	invalidParams := request.ErrInvalidParams{Context: "DescribeNotebookInstanceLifecycleConfigInput"}
43005	if s.NotebookInstanceLifecycleConfigName == nil {
43006		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceLifecycleConfigName"))
43007	}
43008
43009	if invalidParams.Len() > 0 {
43010		return invalidParams
43011	}
43012	return nil
43013}
43014
43015// SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value.
43016func (s *DescribeNotebookInstanceLifecycleConfigInput) SetNotebookInstanceLifecycleConfigName(v string) *DescribeNotebookInstanceLifecycleConfigInput {
43017	s.NotebookInstanceLifecycleConfigName = &v
43018	return s
43019}
43020
43021type DescribeNotebookInstanceLifecycleConfigOutput struct {
43022	_ struct{} `type:"structure"`
43023
43024	// A timestamp that tells when the lifecycle configuration was created.
43025	CreationTime *time.Time `type:"timestamp"`
43026
43027	// A timestamp that tells when the lifecycle configuration was last modified.
43028	LastModifiedTime *time.Time `type:"timestamp"`
43029
43030	// The Amazon Resource Name (ARN) of the lifecycle configuration.
43031	NotebookInstanceLifecycleConfigArn *string `type:"string"`
43032
43033	// The name of the lifecycle configuration.
43034	NotebookInstanceLifecycleConfigName *string `type:"string"`
43035
43036	// The shell script that runs only once, when you create a notebook instance.
43037	OnCreate []*NotebookInstanceLifecycleHook `type:"list"`
43038
43039	// The shell script that runs every time you start a notebook instance, including
43040	// when you create the notebook instance.
43041	OnStart []*NotebookInstanceLifecycleHook `type:"list"`
43042}
43043
43044// String returns the string representation
43045func (s DescribeNotebookInstanceLifecycleConfigOutput) String() string {
43046	return awsutil.Prettify(s)
43047}
43048
43049// GoString returns the string representation
43050func (s DescribeNotebookInstanceLifecycleConfigOutput) GoString() string {
43051	return s.String()
43052}
43053
43054// SetCreationTime sets the CreationTime field's value.
43055func (s *DescribeNotebookInstanceLifecycleConfigOutput) SetCreationTime(v time.Time) *DescribeNotebookInstanceLifecycleConfigOutput {
43056	s.CreationTime = &v
43057	return s
43058}
43059
43060// SetLastModifiedTime sets the LastModifiedTime field's value.
43061func (s *DescribeNotebookInstanceLifecycleConfigOutput) SetLastModifiedTime(v time.Time) *DescribeNotebookInstanceLifecycleConfigOutput {
43062	s.LastModifiedTime = &v
43063	return s
43064}
43065
43066// SetNotebookInstanceLifecycleConfigArn sets the NotebookInstanceLifecycleConfigArn field's value.
43067func (s *DescribeNotebookInstanceLifecycleConfigOutput) SetNotebookInstanceLifecycleConfigArn(v string) *DescribeNotebookInstanceLifecycleConfigOutput {
43068	s.NotebookInstanceLifecycleConfigArn = &v
43069	return s
43070}
43071
43072// SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value.
43073func (s *DescribeNotebookInstanceLifecycleConfigOutput) SetNotebookInstanceLifecycleConfigName(v string) *DescribeNotebookInstanceLifecycleConfigOutput {
43074	s.NotebookInstanceLifecycleConfigName = &v
43075	return s
43076}
43077
43078// SetOnCreate sets the OnCreate field's value.
43079func (s *DescribeNotebookInstanceLifecycleConfigOutput) SetOnCreate(v []*NotebookInstanceLifecycleHook) *DescribeNotebookInstanceLifecycleConfigOutput {
43080	s.OnCreate = v
43081	return s
43082}
43083
43084// SetOnStart sets the OnStart field's value.
43085func (s *DescribeNotebookInstanceLifecycleConfigOutput) SetOnStart(v []*NotebookInstanceLifecycleHook) *DescribeNotebookInstanceLifecycleConfigOutput {
43086	s.OnStart = v
43087	return s
43088}
43089
43090type DescribeNotebookInstanceOutput struct {
43091	_ struct{} `type:"structure"`
43092
43093	// A list of the Elastic Inference (EI) instance types associated with this
43094	// notebook instance. Currently only one EI instance type can be associated
43095	// with a notebook instance. For more information, see Using Elastic Inference
43096	// in Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/ei.html).
43097	AcceleratorTypes []*string `type:"list"`
43098
43099	// An array of up to three Git repositories associated with the notebook instance.
43100	// These can be either the names of Git repositories stored as resources in
43101	// your account, or the URL of Git repositories in AWS CodeCommit (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html)
43102	// or in any other Git repository. These repositories are cloned at the same
43103	// level as the default repository of your notebook instance. For more information,
43104	// see Associating Git Repositories with Amazon SageMaker Notebook Instances
43105	// (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).
43106	AdditionalCodeRepositories []*string `type:"list"`
43107
43108	// A timestamp. Use this parameter to return the time when the notebook instance
43109	// was created
43110	CreationTime *time.Time `type:"timestamp"`
43111
43112	// The Git repository associated with the notebook instance as its default code
43113	// repository. This can be either the name of a Git repository stored as a resource
43114	// in your account, or the URL of a Git repository in AWS CodeCommit (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html)
43115	// or in any other Git repository. When you open a notebook instance, it opens
43116	// in the directory that contains this repository. For more information, see
43117	// Associating Git Repositories with Amazon SageMaker Notebook Instances (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).
43118	DefaultCodeRepository *string `min:"1" type:"string"`
43119
43120	// Describes whether Amazon SageMaker provides internet access to the notebook
43121	// instance. If this value is set to Disabled, the notebook instance does not
43122	// have internet access, and cannot connect to Amazon SageMaker training and
43123	// endpoint services.
43124	//
43125	// For more information, see Notebook Instances Are Internet-Enabled by Default
43126	// (https://docs.aws.amazon.com/sagemaker/latest/dg/appendix-additional-considerations.html#appendix-notebook-and-internet-access).
43127	DirectInternetAccess *string `type:"string" enum:"DirectInternetAccess"`
43128
43129	// If status is Failed, the reason it failed.
43130	FailureReason *string `type:"string"`
43131
43132	// The type of ML compute instance running on the notebook instance.
43133	InstanceType *string `type:"string" enum:"InstanceType"`
43134
43135	// The AWS KMS key ID Amazon SageMaker uses to encrypt data when storing it
43136	// on the ML storage volume attached to the instance.
43137	KmsKeyId *string `type:"string"`
43138
43139	// A timestamp. Use this parameter to retrieve the time when the notebook instance
43140	// was last modified.
43141	LastModifiedTime *time.Time `type:"timestamp"`
43142
43143	// The network interface IDs that Amazon SageMaker created at the time of creating
43144	// the instance.
43145	NetworkInterfaceId *string `type:"string"`
43146
43147	// The Amazon Resource Name (ARN) of the notebook instance.
43148	NotebookInstanceArn *string `type:"string"`
43149
43150	// Returns the name of a notebook instance lifecycle configuration.
43151	//
43152	// For information about notebook instance lifestyle configurations, see Step
43153	// 2.1: (Optional) Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html)
43154	NotebookInstanceLifecycleConfigName *string `type:"string"`
43155
43156	// The name of the Amazon SageMaker notebook instance.
43157	NotebookInstanceName *string `type:"string"`
43158
43159	// The status of the notebook instance.
43160	NotebookInstanceStatus *string `type:"string" enum:"NotebookInstanceStatus"`
43161
43162	// The Amazon Resource Name (ARN) of the IAM role associated with the instance.
43163	RoleArn *string `min:"20" type:"string"`
43164
43165	// Whether root access is enabled or disabled for users of the notebook instance.
43166	//
43167	// Lifecycle configurations need root access to be able to set up a notebook
43168	// instance. Because of this, lifecycle configurations associated with a notebook
43169	// instance always run with root access even if you disable root access for
43170	// users.
43171	RootAccess *string `type:"string" enum:"RootAccess"`
43172
43173	// The IDs of the VPC security groups.
43174	SecurityGroups []*string `type:"list"`
43175
43176	// The ID of the VPC subnet.
43177	SubnetId *string `type:"string"`
43178
43179	// The URL that you use to connect to the Jupyter notebook that is running in
43180	// your notebook instance.
43181	Url *string `type:"string"`
43182
43183	// The size, in GB, of the ML storage volume attached to the notebook instance.
43184	VolumeSizeInGB *int64 `min:"5" type:"integer"`
43185}
43186
43187// String returns the string representation
43188func (s DescribeNotebookInstanceOutput) String() string {
43189	return awsutil.Prettify(s)
43190}
43191
43192// GoString returns the string representation
43193func (s DescribeNotebookInstanceOutput) GoString() string {
43194	return s.String()
43195}
43196
43197// SetAcceleratorTypes sets the AcceleratorTypes field's value.
43198func (s *DescribeNotebookInstanceOutput) SetAcceleratorTypes(v []*string) *DescribeNotebookInstanceOutput {
43199	s.AcceleratorTypes = v
43200	return s
43201}
43202
43203// SetAdditionalCodeRepositories sets the AdditionalCodeRepositories field's value.
43204func (s *DescribeNotebookInstanceOutput) SetAdditionalCodeRepositories(v []*string) *DescribeNotebookInstanceOutput {
43205	s.AdditionalCodeRepositories = v
43206	return s
43207}
43208
43209// SetCreationTime sets the CreationTime field's value.
43210func (s *DescribeNotebookInstanceOutput) SetCreationTime(v time.Time) *DescribeNotebookInstanceOutput {
43211	s.CreationTime = &v
43212	return s
43213}
43214
43215// SetDefaultCodeRepository sets the DefaultCodeRepository field's value.
43216func (s *DescribeNotebookInstanceOutput) SetDefaultCodeRepository(v string) *DescribeNotebookInstanceOutput {
43217	s.DefaultCodeRepository = &v
43218	return s
43219}
43220
43221// SetDirectInternetAccess sets the DirectInternetAccess field's value.
43222func (s *DescribeNotebookInstanceOutput) SetDirectInternetAccess(v string) *DescribeNotebookInstanceOutput {
43223	s.DirectInternetAccess = &v
43224	return s
43225}
43226
43227// SetFailureReason sets the FailureReason field's value.
43228func (s *DescribeNotebookInstanceOutput) SetFailureReason(v string) *DescribeNotebookInstanceOutput {
43229	s.FailureReason = &v
43230	return s
43231}
43232
43233// SetInstanceType sets the InstanceType field's value.
43234func (s *DescribeNotebookInstanceOutput) SetInstanceType(v string) *DescribeNotebookInstanceOutput {
43235	s.InstanceType = &v
43236	return s
43237}
43238
43239// SetKmsKeyId sets the KmsKeyId field's value.
43240func (s *DescribeNotebookInstanceOutput) SetKmsKeyId(v string) *DescribeNotebookInstanceOutput {
43241	s.KmsKeyId = &v
43242	return s
43243}
43244
43245// SetLastModifiedTime sets the LastModifiedTime field's value.
43246func (s *DescribeNotebookInstanceOutput) SetLastModifiedTime(v time.Time) *DescribeNotebookInstanceOutput {
43247	s.LastModifiedTime = &v
43248	return s
43249}
43250
43251// SetNetworkInterfaceId sets the NetworkInterfaceId field's value.
43252func (s *DescribeNotebookInstanceOutput) SetNetworkInterfaceId(v string) *DescribeNotebookInstanceOutput {
43253	s.NetworkInterfaceId = &v
43254	return s
43255}
43256
43257// SetNotebookInstanceArn sets the NotebookInstanceArn field's value.
43258func (s *DescribeNotebookInstanceOutput) SetNotebookInstanceArn(v string) *DescribeNotebookInstanceOutput {
43259	s.NotebookInstanceArn = &v
43260	return s
43261}
43262
43263// SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value.
43264func (s *DescribeNotebookInstanceOutput) SetNotebookInstanceLifecycleConfigName(v string) *DescribeNotebookInstanceOutput {
43265	s.NotebookInstanceLifecycleConfigName = &v
43266	return s
43267}
43268
43269// SetNotebookInstanceName sets the NotebookInstanceName field's value.
43270func (s *DescribeNotebookInstanceOutput) SetNotebookInstanceName(v string) *DescribeNotebookInstanceOutput {
43271	s.NotebookInstanceName = &v
43272	return s
43273}
43274
43275// SetNotebookInstanceStatus sets the NotebookInstanceStatus field's value.
43276func (s *DescribeNotebookInstanceOutput) SetNotebookInstanceStatus(v string) *DescribeNotebookInstanceOutput {
43277	s.NotebookInstanceStatus = &v
43278	return s
43279}
43280
43281// SetRoleArn sets the RoleArn field's value.
43282func (s *DescribeNotebookInstanceOutput) SetRoleArn(v string) *DescribeNotebookInstanceOutput {
43283	s.RoleArn = &v
43284	return s
43285}
43286
43287// SetRootAccess sets the RootAccess field's value.
43288func (s *DescribeNotebookInstanceOutput) SetRootAccess(v string) *DescribeNotebookInstanceOutput {
43289	s.RootAccess = &v
43290	return s
43291}
43292
43293// SetSecurityGroups sets the SecurityGroups field's value.
43294func (s *DescribeNotebookInstanceOutput) SetSecurityGroups(v []*string) *DescribeNotebookInstanceOutput {
43295	s.SecurityGroups = v
43296	return s
43297}
43298
43299// SetSubnetId sets the SubnetId field's value.
43300func (s *DescribeNotebookInstanceOutput) SetSubnetId(v string) *DescribeNotebookInstanceOutput {
43301	s.SubnetId = &v
43302	return s
43303}
43304
43305// SetUrl sets the Url field's value.
43306func (s *DescribeNotebookInstanceOutput) SetUrl(v string) *DescribeNotebookInstanceOutput {
43307	s.Url = &v
43308	return s
43309}
43310
43311// SetVolumeSizeInGB sets the VolumeSizeInGB field's value.
43312func (s *DescribeNotebookInstanceOutput) SetVolumeSizeInGB(v int64) *DescribeNotebookInstanceOutput {
43313	s.VolumeSizeInGB = &v
43314	return s
43315}
43316
43317type DescribePipelineDefinitionForExecutionInput struct {
43318	_ struct{} `type:"structure"`
43319
43320	// The Amazon Resource Name (ARN) of the pipeline execution.
43321	//
43322	// PipelineExecutionArn is a required field
43323	PipelineExecutionArn *string `type:"string" required:"true"`
43324}
43325
43326// String returns the string representation
43327func (s DescribePipelineDefinitionForExecutionInput) String() string {
43328	return awsutil.Prettify(s)
43329}
43330
43331// GoString returns the string representation
43332func (s DescribePipelineDefinitionForExecutionInput) GoString() string {
43333	return s.String()
43334}
43335
43336// Validate inspects the fields of the type to determine if they are valid.
43337func (s *DescribePipelineDefinitionForExecutionInput) Validate() error {
43338	invalidParams := request.ErrInvalidParams{Context: "DescribePipelineDefinitionForExecutionInput"}
43339	if s.PipelineExecutionArn == nil {
43340		invalidParams.Add(request.NewErrParamRequired("PipelineExecutionArn"))
43341	}
43342
43343	if invalidParams.Len() > 0 {
43344		return invalidParams
43345	}
43346	return nil
43347}
43348
43349// SetPipelineExecutionArn sets the PipelineExecutionArn field's value.
43350func (s *DescribePipelineDefinitionForExecutionInput) SetPipelineExecutionArn(v string) *DescribePipelineDefinitionForExecutionInput {
43351	s.PipelineExecutionArn = &v
43352	return s
43353}
43354
43355type DescribePipelineDefinitionForExecutionOutput struct {
43356	_ struct{} `type:"structure"`
43357
43358	// The time when the pipeline was created.
43359	CreationTime *time.Time `type:"timestamp"`
43360
43361	// The JSON pipeline definition.
43362	PipelineDefinition *string `min:"1" type:"string"`
43363}
43364
43365// String returns the string representation
43366func (s DescribePipelineDefinitionForExecutionOutput) String() string {
43367	return awsutil.Prettify(s)
43368}
43369
43370// GoString returns the string representation
43371func (s DescribePipelineDefinitionForExecutionOutput) GoString() string {
43372	return s.String()
43373}
43374
43375// SetCreationTime sets the CreationTime field's value.
43376func (s *DescribePipelineDefinitionForExecutionOutput) SetCreationTime(v time.Time) *DescribePipelineDefinitionForExecutionOutput {
43377	s.CreationTime = &v
43378	return s
43379}
43380
43381// SetPipelineDefinition sets the PipelineDefinition field's value.
43382func (s *DescribePipelineDefinitionForExecutionOutput) SetPipelineDefinition(v string) *DescribePipelineDefinitionForExecutionOutput {
43383	s.PipelineDefinition = &v
43384	return s
43385}
43386
43387type DescribePipelineExecutionInput struct {
43388	_ struct{} `type:"structure"`
43389
43390	// The Amazon Resource Name (ARN) of the pipeline execution.
43391	//
43392	// PipelineExecutionArn is a required field
43393	PipelineExecutionArn *string `type:"string" required:"true"`
43394}
43395
43396// String returns the string representation
43397func (s DescribePipelineExecutionInput) String() string {
43398	return awsutil.Prettify(s)
43399}
43400
43401// GoString returns the string representation
43402func (s DescribePipelineExecutionInput) GoString() string {
43403	return s.String()
43404}
43405
43406// Validate inspects the fields of the type to determine if they are valid.
43407func (s *DescribePipelineExecutionInput) Validate() error {
43408	invalidParams := request.ErrInvalidParams{Context: "DescribePipelineExecutionInput"}
43409	if s.PipelineExecutionArn == nil {
43410		invalidParams.Add(request.NewErrParamRequired("PipelineExecutionArn"))
43411	}
43412
43413	if invalidParams.Len() > 0 {
43414		return invalidParams
43415	}
43416	return nil
43417}
43418
43419// SetPipelineExecutionArn sets the PipelineExecutionArn field's value.
43420func (s *DescribePipelineExecutionInput) SetPipelineExecutionArn(v string) *DescribePipelineExecutionInput {
43421	s.PipelineExecutionArn = &v
43422	return s
43423}
43424
43425type DescribePipelineExecutionOutput struct {
43426	_ struct{} `type:"structure"`
43427
43428	// Information about the user who created or modified an experiment, trial,
43429	// or trial component.
43430	CreatedBy *UserContext `type:"structure"`
43431
43432	// The time when the pipeline execution was created.
43433	CreationTime *time.Time `type:"timestamp"`
43434
43435	// Information about the user who created or modified an experiment, trial,
43436	// or trial component.
43437	LastModifiedBy *UserContext `type:"structure"`
43438
43439	// The time when the pipeline execution was modified last.
43440	LastModifiedTime *time.Time `type:"timestamp"`
43441
43442	// The Amazon Resource Name (ARN) of the pipeline.
43443	PipelineArn *string `type:"string"`
43444
43445	// The Amazon Resource Name (ARN) of the pipeline execution.
43446	PipelineExecutionArn *string `type:"string"`
43447
43448	// The description of the pipeline execution.
43449	PipelineExecutionDescription *string `type:"string"`
43450
43451	// The display name of the pipeline execution.
43452	PipelineExecutionDisplayName *string `min:"1" type:"string"`
43453
43454	// The status of the pipeline execution.
43455	PipelineExecutionStatus *string `type:"string" enum:"PipelineExecutionStatus"`
43456}
43457
43458// String returns the string representation
43459func (s DescribePipelineExecutionOutput) String() string {
43460	return awsutil.Prettify(s)
43461}
43462
43463// GoString returns the string representation
43464func (s DescribePipelineExecutionOutput) GoString() string {
43465	return s.String()
43466}
43467
43468// SetCreatedBy sets the CreatedBy field's value.
43469func (s *DescribePipelineExecutionOutput) SetCreatedBy(v *UserContext) *DescribePipelineExecutionOutput {
43470	s.CreatedBy = v
43471	return s
43472}
43473
43474// SetCreationTime sets the CreationTime field's value.
43475func (s *DescribePipelineExecutionOutput) SetCreationTime(v time.Time) *DescribePipelineExecutionOutput {
43476	s.CreationTime = &v
43477	return s
43478}
43479
43480// SetLastModifiedBy sets the LastModifiedBy field's value.
43481func (s *DescribePipelineExecutionOutput) SetLastModifiedBy(v *UserContext) *DescribePipelineExecutionOutput {
43482	s.LastModifiedBy = v
43483	return s
43484}
43485
43486// SetLastModifiedTime sets the LastModifiedTime field's value.
43487func (s *DescribePipelineExecutionOutput) SetLastModifiedTime(v time.Time) *DescribePipelineExecutionOutput {
43488	s.LastModifiedTime = &v
43489	return s
43490}
43491
43492// SetPipelineArn sets the PipelineArn field's value.
43493func (s *DescribePipelineExecutionOutput) SetPipelineArn(v string) *DescribePipelineExecutionOutput {
43494	s.PipelineArn = &v
43495	return s
43496}
43497
43498// SetPipelineExecutionArn sets the PipelineExecutionArn field's value.
43499func (s *DescribePipelineExecutionOutput) SetPipelineExecutionArn(v string) *DescribePipelineExecutionOutput {
43500	s.PipelineExecutionArn = &v
43501	return s
43502}
43503
43504// SetPipelineExecutionDescription sets the PipelineExecutionDescription field's value.
43505func (s *DescribePipelineExecutionOutput) SetPipelineExecutionDescription(v string) *DescribePipelineExecutionOutput {
43506	s.PipelineExecutionDescription = &v
43507	return s
43508}
43509
43510// SetPipelineExecutionDisplayName sets the PipelineExecutionDisplayName field's value.
43511func (s *DescribePipelineExecutionOutput) SetPipelineExecutionDisplayName(v string) *DescribePipelineExecutionOutput {
43512	s.PipelineExecutionDisplayName = &v
43513	return s
43514}
43515
43516// SetPipelineExecutionStatus sets the PipelineExecutionStatus field's value.
43517func (s *DescribePipelineExecutionOutput) SetPipelineExecutionStatus(v string) *DescribePipelineExecutionOutput {
43518	s.PipelineExecutionStatus = &v
43519	return s
43520}
43521
43522type DescribePipelineInput struct {
43523	_ struct{} `type:"structure"`
43524
43525	// The name of the pipeline to describe.
43526	//
43527	// PipelineName is a required field
43528	PipelineName *string `min:"1" type:"string" required:"true"`
43529}
43530
43531// String returns the string representation
43532func (s DescribePipelineInput) String() string {
43533	return awsutil.Prettify(s)
43534}
43535
43536// GoString returns the string representation
43537func (s DescribePipelineInput) GoString() string {
43538	return s.String()
43539}
43540
43541// Validate inspects the fields of the type to determine if they are valid.
43542func (s *DescribePipelineInput) Validate() error {
43543	invalidParams := request.ErrInvalidParams{Context: "DescribePipelineInput"}
43544	if s.PipelineName == nil {
43545		invalidParams.Add(request.NewErrParamRequired("PipelineName"))
43546	}
43547	if s.PipelineName != nil && len(*s.PipelineName) < 1 {
43548		invalidParams.Add(request.NewErrParamMinLen("PipelineName", 1))
43549	}
43550
43551	if invalidParams.Len() > 0 {
43552		return invalidParams
43553	}
43554	return nil
43555}
43556
43557// SetPipelineName sets the PipelineName field's value.
43558func (s *DescribePipelineInput) SetPipelineName(v string) *DescribePipelineInput {
43559	s.PipelineName = &v
43560	return s
43561}
43562
43563type DescribePipelineOutput struct {
43564	_ struct{} `type:"structure"`
43565
43566	// Information about the user who created or modified an experiment, trial,
43567	// or trial component.
43568	CreatedBy *UserContext `type:"structure"`
43569
43570	// The time when the pipeline was created.
43571	CreationTime *time.Time `type:"timestamp"`
43572
43573	// Information about the user who created or modified an experiment, trial,
43574	// or trial component.
43575	LastModifiedBy *UserContext `type:"structure"`
43576
43577	// The time when the pipeline was last modified.
43578	LastModifiedTime *time.Time `type:"timestamp"`
43579
43580	// The time when the pipeline was last run.
43581	LastRunTime *time.Time `type:"timestamp"`
43582
43583	// The Amazon Resource Name (ARN) of the pipeline.
43584	PipelineArn *string `type:"string"`
43585
43586	// The JSON pipeline definition.
43587	PipelineDefinition *string `min:"1" type:"string"`
43588
43589	// The description of the pipeline.
43590	PipelineDescription *string `type:"string"`
43591
43592	// The display name of the pipeline.
43593	PipelineDisplayName *string `min:"1" type:"string"`
43594
43595	// The name of the pipeline.
43596	PipelineName *string `min:"1" type:"string"`
43597
43598	// The status of the pipeline execution.
43599	PipelineStatus *string `type:"string" enum:"PipelineStatus"`
43600
43601	// The Amazon Resource Name (ARN) that the pipeline uses to execute.
43602	RoleArn *string `min:"20" type:"string"`
43603}
43604
43605// String returns the string representation
43606func (s DescribePipelineOutput) String() string {
43607	return awsutil.Prettify(s)
43608}
43609
43610// GoString returns the string representation
43611func (s DescribePipelineOutput) GoString() string {
43612	return s.String()
43613}
43614
43615// SetCreatedBy sets the CreatedBy field's value.
43616func (s *DescribePipelineOutput) SetCreatedBy(v *UserContext) *DescribePipelineOutput {
43617	s.CreatedBy = v
43618	return s
43619}
43620
43621// SetCreationTime sets the CreationTime field's value.
43622func (s *DescribePipelineOutput) SetCreationTime(v time.Time) *DescribePipelineOutput {
43623	s.CreationTime = &v
43624	return s
43625}
43626
43627// SetLastModifiedBy sets the LastModifiedBy field's value.
43628func (s *DescribePipelineOutput) SetLastModifiedBy(v *UserContext) *DescribePipelineOutput {
43629	s.LastModifiedBy = v
43630	return s
43631}
43632
43633// SetLastModifiedTime sets the LastModifiedTime field's value.
43634func (s *DescribePipelineOutput) SetLastModifiedTime(v time.Time) *DescribePipelineOutput {
43635	s.LastModifiedTime = &v
43636	return s
43637}
43638
43639// SetLastRunTime sets the LastRunTime field's value.
43640func (s *DescribePipelineOutput) SetLastRunTime(v time.Time) *DescribePipelineOutput {
43641	s.LastRunTime = &v
43642	return s
43643}
43644
43645// SetPipelineArn sets the PipelineArn field's value.
43646func (s *DescribePipelineOutput) SetPipelineArn(v string) *DescribePipelineOutput {
43647	s.PipelineArn = &v
43648	return s
43649}
43650
43651// SetPipelineDefinition sets the PipelineDefinition field's value.
43652func (s *DescribePipelineOutput) SetPipelineDefinition(v string) *DescribePipelineOutput {
43653	s.PipelineDefinition = &v
43654	return s
43655}
43656
43657// SetPipelineDescription sets the PipelineDescription field's value.
43658func (s *DescribePipelineOutput) SetPipelineDescription(v string) *DescribePipelineOutput {
43659	s.PipelineDescription = &v
43660	return s
43661}
43662
43663// SetPipelineDisplayName sets the PipelineDisplayName field's value.
43664func (s *DescribePipelineOutput) SetPipelineDisplayName(v string) *DescribePipelineOutput {
43665	s.PipelineDisplayName = &v
43666	return s
43667}
43668
43669// SetPipelineName sets the PipelineName field's value.
43670func (s *DescribePipelineOutput) SetPipelineName(v string) *DescribePipelineOutput {
43671	s.PipelineName = &v
43672	return s
43673}
43674
43675// SetPipelineStatus sets the PipelineStatus field's value.
43676func (s *DescribePipelineOutput) SetPipelineStatus(v string) *DescribePipelineOutput {
43677	s.PipelineStatus = &v
43678	return s
43679}
43680
43681// SetRoleArn sets the RoleArn field's value.
43682func (s *DescribePipelineOutput) SetRoleArn(v string) *DescribePipelineOutput {
43683	s.RoleArn = &v
43684	return s
43685}
43686
43687type DescribeProcessingJobInput struct {
43688	_ struct{} `type:"structure"`
43689
43690	// The name of the processing job. The name must be unique within an AWS Region
43691	// in the AWS account.
43692	//
43693	// ProcessingJobName is a required field
43694	ProcessingJobName *string `min:"1" type:"string" required:"true"`
43695}
43696
43697// String returns the string representation
43698func (s DescribeProcessingJobInput) String() string {
43699	return awsutil.Prettify(s)
43700}
43701
43702// GoString returns the string representation
43703func (s DescribeProcessingJobInput) GoString() string {
43704	return s.String()
43705}
43706
43707// Validate inspects the fields of the type to determine if they are valid.
43708func (s *DescribeProcessingJobInput) Validate() error {
43709	invalidParams := request.ErrInvalidParams{Context: "DescribeProcessingJobInput"}
43710	if s.ProcessingJobName == nil {
43711		invalidParams.Add(request.NewErrParamRequired("ProcessingJobName"))
43712	}
43713	if s.ProcessingJobName != nil && len(*s.ProcessingJobName) < 1 {
43714		invalidParams.Add(request.NewErrParamMinLen("ProcessingJobName", 1))
43715	}
43716
43717	if invalidParams.Len() > 0 {
43718		return invalidParams
43719	}
43720	return nil
43721}
43722
43723// SetProcessingJobName sets the ProcessingJobName field's value.
43724func (s *DescribeProcessingJobInput) SetProcessingJobName(v string) *DescribeProcessingJobInput {
43725	s.ProcessingJobName = &v
43726	return s
43727}
43728
43729type DescribeProcessingJobOutput struct {
43730	_ struct{} `type:"structure"`
43731
43732	// Configures the processing job to run a specified container image.
43733	//
43734	// AppSpecification is a required field
43735	AppSpecification *AppSpecification `type:"structure" required:"true"`
43736
43737	// The ARN of an AutoML job associated with this processing job.
43738	AutoMLJobArn *string `min:"1" type:"string"`
43739
43740	// The time at which the processing job was created.
43741	//
43742	// CreationTime is a required field
43743	CreationTime *time.Time `type:"timestamp" required:"true"`
43744
43745	// The environment variables set in the Docker container.
43746	Environment map[string]*string `type:"map"`
43747
43748	// An optional string, up to one KB in size, that contains metadata from the
43749	// processing container when the processing job exits.
43750	ExitMessage *string `type:"string"`
43751
43752	// The configuration information used to create an experiment.
43753	ExperimentConfig *ExperimentConfig `type:"structure"`
43754
43755	// A string, up to one KB in size, that contains the reason a processing job
43756	// failed, if it failed.
43757	FailureReason *string `type:"string"`
43758
43759	// The time at which the processing job was last modified.
43760	LastModifiedTime *time.Time `type:"timestamp"`
43761
43762	// The ARN of a monitoring schedule for an endpoint associated with this processing
43763	// job.
43764	MonitoringScheduleArn *string `type:"string"`
43765
43766	// Networking options for a processing job.
43767	NetworkConfig *NetworkConfig `type:"structure"`
43768
43769	// The time at which the processing job completed.
43770	ProcessingEndTime *time.Time `type:"timestamp"`
43771
43772	// The inputs for a processing job.
43773	ProcessingInputs []*ProcessingInput `type:"list"`
43774
43775	// The Amazon Resource Name (ARN) of the processing job.
43776	//
43777	// ProcessingJobArn is a required field
43778	ProcessingJobArn *string `type:"string" required:"true"`
43779
43780	// The name of the processing job. The name must be unique within an AWS Region
43781	// in the AWS account.
43782	//
43783	// ProcessingJobName is a required field
43784	ProcessingJobName *string `min:"1" type:"string" required:"true"`
43785
43786	// Provides the status of a processing job.
43787	//
43788	// ProcessingJobStatus is a required field
43789	ProcessingJobStatus *string `type:"string" required:"true" enum:"ProcessingJobStatus"`
43790
43791	// Output configuration for the processing job.
43792	ProcessingOutputConfig *ProcessingOutputConfig `type:"structure"`
43793
43794	// Identifies the resources, ML compute instances, and ML storage volumes to
43795	// deploy for a processing job. In distributed training, you specify more than
43796	// one instance.
43797	//
43798	// ProcessingResources is a required field
43799	ProcessingResources *ProcessingResources `type:"structure" required:"true"`
43800
43801	// The time at which the processing job started.
43802	ProcessingStartTime *time.Time `type:"timestamp"`
43803
43804	// The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume
43805	// to perform tasks on your behalf.
43806	RoleArn *string `min:"20" type:"string"`
43807
43808	// The time limit for how long the processing job is allowed to run.
43809	StoppingCondition *ProcessingStoppingCondition `type:"structure"`
43810
43811	// The ARN of a training job associated with this processing job.
43812	TrainingJobArn *string `type:"string"`
43813}
43814
43815// String returns the string representation
43816func (s DescribeProcessingJobOutput) String() string {
43817	return awsutil.Prettify(s)
43818}
43819
43820// GoString returns the string representation
43821func (s DescribeProcessingJobOutput) GoString() string {
43822	return s.String()
43823}
43824
43825// SetAppSpecification sets the AppSpecification field's value.
43826func (s *DescribeProcessingJobOutput) SetAppSpecification(v *AppSpecification) *DescribeProcessingJobOutput {
43827	s.AppSpecification = v
43828	return s
43829}
43830
43831// SetAutoMLJobArn sets the AutoMLJobArn field's value.
43832func (s *DescribeProcessingJobOutput) SetAutoMLJobArn(v string) *DescribeProcessingJobOutput {
43833	s.AutoMLJobArn = &v
43834	return s
43835}
43836
43837// SetCreationTime sets the CreationTime field's value.
43838func (s *DescribeProcessingJobOutput) SetCreationTime(v time.Time) *DescribeProcessingJobOutput {
43839	s.CreationTime = &v
43840	return s
43841}
43842
43843// SetEnvironment sets the Environment field's value.
43844func (s *DescribeProcessingJobOutput) SetEnvironment(v map[string]*string) *DescribeProcessingJobOutput {
43845	s.Environment = v
43846	return s
43847}
43848
43849// SetExitMessage sets the ExitMessage field's value.
43850func (s *DescribeProcessingJobOutput) SetExitMessage(v string) *DescribeProcessingJobOutput {
43851	s.ExitMessage = &v
43852	return s
43853}
43854
43855// SetExperimentConfig sets the ExperimentConfig field's value.
43856func (s *DescribeProcessingJobOutput) SetExperimentConfig(v *ExperimentConfig) *DescribeProcessingJobOutput {
43857	s.ExperimentConfig = v
43858	return s
43859}
43860
43861// SetFailureReason sets the FailureReason field's value.
43862func (s *DescribeProcessingJobOutput) SetFailureReason(v string) *DescribeProcessingJobOutput {
43863	s.FailureReason = &v
43864	return s
43865}
43866
43867// SetLastModifiedTime sets the LastModifiedTime field's value.
43868func (s *DescribeProcessingJobOutput) SetLastModifiedTime(v time.Time) *DescribeProcessingJobOutput {
43869	s.LastModifiedTime = &v
43870	return s
43871}
43872
43873// SetMonitoringScheduleArn sets the MonitoringScheduleArn field's value.
43874func (s *DescribeProcessingJobOutput) SetMonitoringScheduleArn(v string) *DescribeProcessingJobOutput {
43875	s.MonitoringScheduleArn = &v
43876	return s
43877}
43878
43879// SetNetworkConfig sets the NetworkConfig field's value.
43880func (s *DescribeProcessingJobOutput) SetNetworkConfig(v *NetworkConfig) *DescribeProcessingJobOutput {
43881	s.NetworkConfig = v
43882	return s
43883}
43884
43885// SetProcessingEndTime sets the ProcessingEndTime field's value.
43886func (s *DescribeProcessingJobOutput) SetProcessingEndTime(v time.Time) *DescribeProcessingJobOutput {
43887	s.ProcessingEndTime = &v
43888	return s
43889}
43890
43891// SetProcessingInputs sets the ProcessingInputs field's value.
43892func (s *DescribeProcessingJobOutput) SetProcessingInputs(v []*ProcessingInput) *DescribeProcessingJobOutput {
43893	s.ProcessingInputs = v
43894	return s
43895}
43896
43897// SetProcessingJobArn sets the ProcessingJobArn field's value.
43898func (s *DescribeProcessingJobOutput) SetProcessingJobArn(v string) *DescribeProcessingJobOutput {
43899	s.ProcessingJobArn = &v
43900	return s
43901}
43902
43903// SetProcessingJobName sets the ProcessingJobName field's value.
43904func (s *DescribeProcessingJobOutput) SetProcessingJobName(v string) *DescribeProcessingJobOutput {
43905	s.ProcessingJobName = &v
43906	return s
43907}
43908
43909// SetProcessingJobStatus sets the ProcessingJobStatus field's value.
43910func (s *DescribeProcessingJobOutput) SetProcessingJobStatus(v string) *DescribeProcessingJobOutput {
43911	s.ProcessingJobStatus = &v
43912	return s
43913}
43914
43915// SetProcessingOutputConfig sets the ProcessingOutputConfig field's value.
43916func (s *DescribeProcessingJobOutput) SetProcessingOutputConfig(v *ProcessingOutputConfig) *DescribeProcessingJobOutput {
43917	s.ProcessingOutputConfig = v
43918	return s
43919}
43920
43921// SetProcessingResources sets the ProcessingResources field's value.
43922func (s *DescribeProcessingJobOutput) SetProcessingResources(v *ProcessingResources) *DescribeProcessingJobOutput {
43923	s.ProcessingResources = v
43924	return s
43925}
43926
43927// SetProcessingStartTime sets the ProcessingStartTime field's value.
43928func (s *DescribeProcessingJobOutput) SetProcessingStartTime(v time.Time) *DescribeProcessingJobOutput {
43929	s.ProcessingStartTime = &v
43930	return s
43931}
43932
43933// SetRoleArn sets the RoleArn field's value.
43934func (s *DescribeProcessingJobOutput) SetRoleArn(v string) *DescribeProcessingJobOutput {
43935	s.RoleArn = &v
43936	return s
43937}
43938
43939// SetStoppingCondition sets the StoppingCondition field's value.
43940func (s *DescribeProcessingJobOutput) SetStoppingCondition(v *ProcessingStoppingCondition) *DescribeProcessingJobOutput {
43941	s.StoppingCondition = v
43942	return s
43943}
43944
43945// SetTrainingJobArn sets the TrainingJobArn field's value.
43946func (s *DescribeProcessingJobOutput) SetTrainingJobArn(v string) *DescribeProcessingJobOutput {
43947	s.TrainingJobArn = &v
43948	return s
43949}
43950
43951type DescribeProjectInput struct {
43952	_ struct{} `type:"structure"`
43953
43954	// The name of the project to describe.
43955	//
43956	// ProjectName is a required field
43957	ProjectName *string `min:"1" type:"string" required:"true"`
43958}
43959
43960// String returns the string representation
43961func (s DescribeProjectInput) String() string {
43962	return awsutil.Prettify(s)
43963}
43964
43965// GoString returns the string representation
43966func (s DescribeProjectInput) GoString() string {
43967	return s.String()
43968}
43969
43970// Validate inspects the fields of the type to determine if they are valid.
43971func (s *DescribeProjectInput) Validate() error {
43972	invalidParams := request.ErrInvalidParams{Context: "DescribeProjectInput"}
43973	if s.ProjectName == nil {
43974		invalidParams.Add(request.NewErrParamRequired("ProjectName"))
43975	}
43976	if s.ProjectName != nil && len(*s.ProjectName) < 1 {
43977		invalidParams.Add(request.NewErrParamMinLen("ProjectName", 1))
43978	}
43979
43980	if invalidParams.Len() > 0 {
43981		return invalidParams
43982	}
43983	return nil
43984}
43985
43986// SetProjectName sets the ProjectName field's value.
43987func (s *DescribeProjectInput) SetProjectName(v string) *DescribeProjectInput {
43988	s.ProjectName = &v
43989	return s
43990}
43991
43992type DescribeProjectOutput struct {
43993	_ struct{} `type:"structure"`
43994
43995	// Information about the user who created or modified an experiment, trial,
43996	// or trial component.
43997	CreatedBy *UserContext `type:"structure"`
43998
43999	// The time when the project was created.
44000	//
44001	// CreationTime is a required field
44002	CreationTime *time.Time `type:"timestamp" required:"true"`
44003
44004	// The Amazon Resource Name (ARN) of the project.
44005	//
44006	// ProjectArn is a required field
44007	ProjectArn *string `min:"1" type:"string" required:"true"`
44008
44009	// The description of the project.
44010	ProjectDescription *string `type:"string"`
44011
44012	// The ID of the project.
44013	//
44014	// ProjectId is a required field
44015	ProjectId *string `min:"1" type:"string" required:"true"`
44016
44017	// The name of the project.
44018	//
44019	// ProjectName is a required field
44020	ProjectName *string `min:"1" type:"string" required:"true"`
44021
44022	// The status of the project.
44023	//
44024	// ProjectStatus is a required field
44025	ProjectStatus *string `type:"string" required:"true" enum:"ProjectStatus"`
44026
44027	// Information about a provisioned service catalog product.
44028	ServiceCatalogProvisionedProductDetails *ServiceCatalogProvisionedProductDetails `type:"structure"`
44029
44030	// Information used to provision a service catalog product. For information,
44031	// see What is AWS Service Catalog (https://docs.aws.amazon.com/servicecatalog/latest/adminguide/introduction.html).
44032	//
44033	// ServiceCatalogProvisioningDetails is a required field
44034	ServiceCatalogProvisioningDetails *ServiceCatalogProvisioningDetails `type:"structure" required:"true"`
44035}
44036
44037// String returns the string representation
44038func (s DescribeProjectOutput) String() string {
44039	return awsutil.Prettify(s)
44040}
44041
44042// GoString returns the string representation
44043func (s DescribeProjectOutput) GoString() string {
44044	return s.String()
44045}
44046
44047// SetCreatedBy sets the CreatedBy field's value.
44048func (s *DescribeProjectOutput) SetCreatedBy(v *UserContext) *DescribeProjectOutput {
44049	s.CreatedBy = v
44050	return s
44051}
44052
44053// SetCreationTime sets the CreationTime field's value.
44054func (s *DescribeProjectOutput) SetCreationTime(v time.Time) *DescribeProjectOutput {
44055	s.CreationTime = &v
44056	return s
44057}
44058
44059// SetProjectArn sets the ProjectArn field's value.
44060func (s *DescribeProjectOutput) SetProjectArn(v string) *DescribeProjectOutput {
44061	s.ProjectArn = &v
44062	return s
44063}
44064
44065// SetProjectDescription sets the ProjectDescription field's value.
44066func (s *DescribeProjectOutput) SetProjectDescription(v string) *DescribeProjectOutput {
44067	s.ProjectDescription = &v
44068	return s
44069}
44070
44071// SetProjectId sets the ProjectId field's value.
44072func (s *DescribeProjectOutput) SetProjectId(v string) *DescribeProjectOutput {
44073	s.ProjectId = &v
44074	return s
44075}
44076
44077// SetProjectName sets the ProjectName field's value.
44078func (s *DescribeProjectOutput) SetProjectName(v string) *DescribeProjectOutput {
44079	s.ProjectName = &v
44080	return s
44081}
44082
44083// SetProjectStatus sets the ProjectStatus field's value.
44084func (s *DescribeProjectOutput) SetProjectStatus(v string) *DescribeProjectOutput {
44085	s.ProjectStatus = &v
44086	return s
44087}
44088
44089// SetServiceCatalogProvisionedProductDetails sets the ServiceCatalogProvisionedProductDetails field's value.
44090func (s *DescribeProjectOutput) SetServiceCatalogProvisionedProductDetails(v *ServiceCatalogProvisionedProductDetails) *DescribeProjectOutput {
44091	s.ServiceCatalogProvisionedProductDetails = v
44092	return s
44093}
44094
44095// SetServiceCatalogProvisioningDetails sets the ServiceCatalogProvisioningDetails field's value.
44096func (s *DescribeProjectOutput) SetServiceCatalogProvisioningDetails(v *ServiceCatalogProvisioningDetails) *DescribeProjectOutput {
44097	s.ServiceCatalogProvisioningDetails = v
44098	return s
44099}
44100
44101type DescribeSubscribedWorkteamInput struct {
44102	_ struct{} `type:"structure"`
44103
44104	// The Amazon Resource Name (ARN) of the subscribed work team to describe.
44105	//
44106	// WorkteamArn is a required field
44107	WorkteamArn *string `type:"string" required:"true"`
44108}
44109
44110// String returns the string representation
44111func (s DescribeSubscribedWorkteamInput) String() string {
44112	return awsutil.Prettify(s)
44113}
44114
44115// GoString returns the string representation
44116func (s DescribeSubscribedWorkteamInput) GoString() string {
44117	return s.String()
44118}
44119
44120// Validate inspects the fields of the type to determine if they are valid.
44121func (s *DescribeSubscribedWorkteamInput) Validate() error {
44122	invalidParams := request.ErrInvalidParams{Context: "DescribeSubscribedWorkteamInput"}
44123	if s.WorkteamArn == nil {
44124		invalidParams.Add(request.NewErrParamRequired("WorkteamArn"))
44125	}
44126
44127	if invalidParams.Len() > 0 {
44128		return invalidParams
44129	}
44130	return nil
44131}
44132
44133// SetWorkteamArn sets the WorkteamArn field's value.
44134func (s *DescribeSubscribedWorkteamInput) SetWorkteamArn(v string) *DescribeSubscribedWorkteamInput {
44135	s.WorkteamArn = &v
44136	return s
44137}
44138
44139type DescribeSubscribedWorkteamOutput struct {
44140	_ struct{} `type:"structure"`
44141
44142	// A Workteam instance that contains information about the work team.
44143	//
44144	// SubscribedWorkteam is a required field
44145	SubscribedWorkteam *SubscribedWorkteam `type:"structure" required:"true"`
44146}
44147
44148// String returns the string representation
44149func (s DescribeSubscribedWorkteamOutput) String() string {
44150	return awsutil.Prettify(s)
44151}
44152
44153// GoString returns the string representation
44154func (s DescribeSubscribedWorkteamOutput) GoString() string {
44155	return s.String()
44156}
44157
44158// SetSubscribedWorkteam sets the SubscribedWorkteam field's value.
44159func (s *DescribeSubscribedWorkteamOutput) SetSubscribedWorkteam(v *SubscribedWorkteam) *DescribeSubscribedWorkteamOutput {
44160	s.SubscribedWorkteam = v
44161	return s
44162}
44163
44164type DescribeTrainingJobInput struct {
44165	_ struct{} `type:"structure"`
44166
44167	// The name of the training job.
44168	//
44169	// TrainingJobName is a required field
44170	TrainingJobName *string `min:"1" type:"string" required:"true"`
44171}
44172
44173// String returns the string representation
44174func (s DescribeTrainingJobInput) String() string {
44175	return awsutil.Prettify(s)
44176}
44177
44178// GoString returns the string representation
44179func (s DescribeTrainingJobInput) GoString() string {
44180	return s.String()
44181}
44182
44183// Validate inspects the fields of the type to determine if they are valid.
44184func (s *DescribeTrainingJobInput) Validate() error {
44185	invalidParams := request.ErrInvalidParams{Context: "DescribeTrainingJobInput"}
44186	if s.TrainingJobName == nil {
44187		invalidParams.Add(request.NewErrParamRequired("TrainingJobName"))
44188	}
44189	if s.TrainingJobName != nil && len(*s.TrainingJobName) < 1 {
44190		invalidParams.Add(request.NewErrParamMinLen("TrainingJobName", 1))
44191	}
44192
44193	if invalidParams.Len() > 0 {
44194		return invalidParams
44195	}
44196	return nil
44197}
44198
44199// SetTrainingJobName sets the TrainingJobName field's value.
44200func (s *DescribeTrainingJobInput) SetTrainingJobName(v string) *DescribeTrainingJobInput {
44201	s.TrainingJobName = &v
44202	return s
44203}
44204
44205type DescribeTrainingJobOutput struct {
44206	_ struct{} `type:"structure"`
44207
44208	// Information about the algorithm used for training, and algorithm metadata.
44209	//
44210	// AlgorithmSpecification is a required field
44211	AlgorithmSpecification *AlgorithmSpecification `type:"structure" required:"true"`
44212
44213	// The Amazon Resource Name (ARN) of an AutoML job.
44214	AutoMLJobArn *string `min:"1" type:"string"`
44215
44216	// The billable time in seconds. Billable time refers to the absolute wall-clock
44217	// time.
44218	//
44219	// Multiply BillableTimeInSeconds by the number of instances (InstanceCount)
44220	// in your training cluster to get the total compute time Amazon SageMaker will
44221	// bill you if you run distributed training. The formula is as follows: BillableTimeInSeconds
44222	// * InstanceCount .
44223	//
44224	// You can calculate the savings from using managed spot training using the
44225	// formula (1 - BillableTimeInSeconds / TrainingTimeInSeconds) * 100. For example,
44226	// if BillableTimeInSeconds is 100 and TrainingTimeInSeconds is 500, the savings
44227	// is 80%.
44228	BillableTimeInSeconds *int64 `min:"1" type:"integer"`
44229
44230	// Contains information about the output location for managed spot training
44231	// checkpoint data.
44232	CheckpointConfig *CheckpointConfig `type:"structure"`
44233
44234	// A timestamp that indicates when the training job was created.
44235	//
44236	// CreationTime is a required field
44237	CreationTime *time.Time `type:"timestamp" required:"true"`
44238
44239	// Configuration information for the Debugger hook parameters, metric and tensor
44240	// collections, and storage paths. To learn more about how to configure the
44241	// DebugHookConfig parameter, see Use the SageMaker and Debugger Configuration
44242	// API Operations to Create, Update, and Debug Your Training Job (https://docs.aws.amazon.com/sagemaker/latest/dg/debugger-createtrainingjob-api.html).
44243	DebugHookConfig *DebugHookConfig `type:"structure"`
44244
44245	// Configuration information for Debugger rules for debugging output tensors.
44246	DebugRuleConfigurations []*DebugRuleConfiguration `type:"list"`
44247
44248	// Evaluation status of Debugger rules for debugging on a training job.
44249	DebugRuleEvaluationStatuses []*DebugRuleEvaluationStatus `type:"list"`
44250
44251	// To encrypt all communications between ML compute instances in distributed
44252	// training, choose True. Encryption provides greater security for distributed
44253	// training, but training might take longer. How long it takes depends on the
44254	// amount of communication between compute instances, especially if you use
44255	// a deep learning algorithms in distributed training.
44256	EnableInterContainerTrafficEncryption *bool `type:"boolean"`
44257
44258	// A Boolean indicating whether managed spot training is enabled (True) or not
44259	// (False).
44260	EnableManagedSpotTraining *bool `type:"boolean"`
44261
44262	// If you want to allow inbound or outbound network calls, except for calls
44263	// between peers within a training cluster for distributed training, choose
44264	// True. If you enable network isolation for training jobs that are configured
44265	// to use a VPC, Amazon SageMaker downloads and uploads customer data and model
44266	// artifacts through the specified VPC, but the training container does not
44267	// have network access.
44268	EnableNetworkIsolation *bool `type:"boolean"`
44269
44270	// Associates a SageMaker job as a trial component with an experiment and trial.
44271	// Specified when you call the following APIs:
44272	//
44273	//    * CreateProcessingJob
44274	//
44275	//    * CreateTrainingJob
44276	//
44277	//    * CreateTransformJob
44278	ExperimentConfig *ExperimentConfig `type:"structure"`
44279
44280	// If the training job failed, the reason it failed.
44281	FailureReason *string `type:"string"`
44282
44283	// A collection of MetricData objects that specify the names, values, and dates
44284	// and times that the training algorithm emitted to Amazon CloudWatch.
44285	FinalMetricDataList []*MetricData `type:"list"`
44286
44287	// Algorithm-specific parameters.
44288	HyperParameters map[string]*string `type:"map"`
44289
44290	// An array of Channel objects that describes each data input channel.
44291	InputDataConfig []*Channel `min:"1" type:"list"`
44292
44293	// The Amazon Resource Name (ARN) of the Amazon SageMaker Ground Truth labeling
44294	// job that created the transform or training job.
44295	LabelingJobArn *string `type:"string"`
44296
44297	// A timestamp that indicates when the status of the training job was last modified.
44298	LastModifiedTime *time.Time `type:"timestamp"`
44299
44300	// Information about the Amazon S3 location that is configured for storing model
44301	// artifacts.
44302	//
44303	// ModelArtifacts is a required field
44304	ModelArtifacts *ModelArtifacts `type:"structure" required:"true"`
44305
44306	// The S3 path where model artifacts that you configured when creating the job
44307	// are stored. Amazon SageMaker creates subfolders for model artifacts.
44308	OutputDataConfig *OutputDataConfig `type:"structure"`
44309
44310	// Configuration information for Debugger system monitoring, framework profiling,
44311	// and storage paths.
44312	ProfilerConfig *ProfilerConfig `type:"structure"`
44313
44314	// Configuration information for Debugger rules for profiling system and framework
44315	// metrics.
44316	ProfilerRuleConfigurations []*ProfilerRuleConfiguration `type:"list"`
44317
44318	// Evaluation status of Debugger rules for profiling on a training job.
44319	ProfilerRuleEvaluationStatuses []*ProfilerRuleEvaluationStatus `type:"list"`
44320
44321	// Profiling status of a training job.
44322	ProfilingStatus *string `type:"string" enum:"ProfilingStatus"`
44323
44324	// Resources, including ML compute instances and ML storage volumes, that are
44325	// configured for model training.
44326	//
44327	// ResourceConfig is a required field
44328	ResourceConfig *ResourceConfig `type:"structure" required:"true"`
44329
44330	// The AWS Identity and Access Management (IAM) role configured for the training
44331	// job.
44332	RoleArn *string `min:"20" type:"string"`
44333
44334	// Provides detailed information about the state of the training job. For detailed
44335	// information on the secondary status of the training job, see StatusMessage
44336	// under SecondaryStatusTransition.
44337	//
44338	// Amazon SageMaker provides primary statuses and secondary statuses that apply
44339	// to each of them:
44340	//
44341	// InProgress
44342	//
44343	//    * Starting - Starting the training job.
44344	//
44345	//    * Downloading - An optional stage for algorithms that support File training
44346	//    input mode. It indicates that data is being downloaded to the ML storage
44347	//    volumes.
44348	//
44349	//    * Training - Training is in progress.
44350	//
44351	//    * Interrupted - The job stopped because the managed spot training instances
44352	//    were interrupted.
44353	//
44354	//    * Uploading - Training is complete and the model artifacts are being uploaded
44355	//    to the S3 location.
44356	//
44357	// Completed
44358	//
44359	//    * Completed - The training job has completed.
44360	//
44361	// Failed
44362	//
44363	//    * Failed - The training job has failed. The reason for the failure is
44364	//    returned in the FailureReason field of DescribeTrainingJobResponse.
44365	//
44366	// Stopped
44367	//
44368	//    * MaxRuntimeExceeded - The job stopped because it exceeded the maximum
44369	//    allowed runtime.
44370	//
44371	//    * MaxWaitTimeExceeded - The job stopped because it exceeded the maximum
44372	//    allowed wait time.
44373	//
44374	//    * Stopped - The training job has stopped.
44375	//
44376	// Stopping
44377	//
44378	//    * Stopping - Stopping the training job.
44379	//
44380	// Valid values for SecondaryStatus are subject to change.
44381	//
44382	// We no longer support the following secondary statuses:
44383	//
44384	//    * LaunchingMLInstances
44385	//
44386	//    * PreparingTrainingStack
44387	//
44388	//    * DownloadingTrainingImage
44389	//
44390	// SecondaryStatus is a required field
44391	SecondaryStatus *string `type:"string" required:"true" enum:"SecondaryStatus"`
44392
44393	// A history of all of the secondary statuses that the training job has transitioned
44394	// through.
44395	SecondaryStatusTransitions []*SecondaryStatusTransition `type:"list"`
44396
44397	// Specifies a limit to how long a model training job can run. It also specifies
44398	// the maximum time to wait for a spot instance. When the job reaches the time
44399	// limit, Amazon SageMaker ends the training job. Use this API to cap model
44400	// training costs.
44401	//
44402	// To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal, which
44403	// delays job termination for 120 seconds. Algorithms can use this 120-second
44404	// window to save the model artifacts, so the results of training are not lost.
44405	//
44406	// StoppingCondition is a required field
44407	StoppingCondition *StoppingCondition `type:"structure" required:"true"`
44408
44409	// Configuration of storage locations for the Debugger TensorBoard output data.
44410	TensorBoardOutputConfig *TensorBoardOutputConfig `type:"structure"`
44411
44412	// Indicates the time when the training job ends on training instances. You
44413	// are billed for the time interval between the value of TrainingStartTime and
44414	// this time. For successful jobs and stopped jobs, this is the time after model
44415	// artifacts are uploaded. For failed jobs, this is the time when Amazon SageMaker
44416	// detects a job failure.
44417	TrainingEndTime *time.Time `type:"timestamp"`
44418
44419	// The Amazon Resource Name (ARN) of the training job.
44420	//
44421	// TrainingJobArn is a required field
44422	TrainingJobArn *string `type:"string" required:"true"`
44423
44424	// Name of the model training job.
44425	//
44426	// TrainingJobName is a required field
44427	TrainingJobName *string `min:"1" type:"string" required:"true"`
44428
44429	// The status of the training job.
44430	//
44431	// Amazon SageMaker provides the following training job statuses:
44432	//
44433	//    * InProgress - The training is in progress.
44434	//
44435	//    * Completed - The training job has completed.
44436	//
44437	//    * Failed - The training job has failed. To see the reason for the failure,
44438	//    see the FailureReason field in the response to a DescribeTrainingJobResponse
44439	//    call.
44440	//
44441	//    * Stopping - The training job is stopping.
44442	//
44443	//    * Stopped - The training job has stopped.
44444	//
44445	// For more detailed information, see SecondaryStatus.
44446	//
44447	// TrainingJobStatus is a required field
44448	TrainingJobStatus *string `type:"string" required:"true" enum:"TrainingJobStatus"`
44449
44450	// Indicates the time when the training job starts on training instances. You
44451	// are billed for the time interval between this time and the value of TrainingEndTime.
44452	// The start time in CloudWatch Logs might be later than this time. The difference
44453	// is due to the time it takes to download the training data and to the size
44454	// of the training container.
44455	TrainingStartTime *time.Time `type:"timestamp"`
44456
44457	// The training time in seconds.
44458	TrainingTimeInSeconds *int64 `min:"1" type:"integer"`
44459
44460	// The Amazon Resource Name (ARN) of the associated hyperparameter tuning job
44461	// if the training job was launched by a hyperparameter tuning job.
44462	TuningJobArn *string `type:"string"`
44463
44464	// A VpcConfig object that specifies the VPC that this training job has access
44465	// to. For more information, see Protect Training Jobs by Using an Amazon Virtual
44466	// Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html).
44467	VpcConfig *VpcConfig `type:"structure"`
44468}
44469
44470// String returns the string representation
44471func (s DescribeTrainingJobOutput) String() string {
44472	return awsutil.Prettify(s)
44473}
44474
44475// GoString returns the string representation
44476func (s DescribeTrainingJobOutput) GoString() string {
44477	return s.String()
44478}
44479
44480// SetAlgorithmSpecification sets the AlgorithmSpecification field's value.
44481func (s *DescribeTrainingJobOutput) SetAlgorithmSpecification(v *AlgorithmSpecification) *DescribeTrainingJobOutput {
44482	s.AlgorithmSpecification = v
44483	return s
44484}
44485
44486// SetAutoMLJobArn sets the AutoMLJobArn field's value.
44487func (s *DescribeTrainingJobOutput) SetAutoMLJobArn(v string) *DescribeTrainingJobOutput {
44488	s.AutoMLJobArn = &v
44489	return s
44490}
44491
44492// SetBillableTimeInSeconds sets the BillableTimeInSeconds field's value.
44493func (s *DescribeTrainingJobOutput) SetBillableTimeInSeconds(v int64) *DescribeTrainingJobOutput {
44494	s.BillableTimeInSeconds = &v
44495	return s
44496}
44497
44498// SetCheckpointConfig sets the CheckpointConfig field's value.
44499func (s *DescribeTrainingJobOutput) SetCheckpointConfig(v *CheckpointConfig) *DescribeTrainingJobOutput {
44500	s.CheckpointConfig = v
44501	return s
44502}
44503
44504// SetCreationTime sets the CreationTime field's value.
44505func (s *DescribeTrainingJobOutput) SetCreationTime(v time.Time) *DescribeTrainingJobOutput {
44506	s.CreationTime = &v
44507	return s
44508}
44509
44510// SetDebugHookConfig sets the DebugHookConfig field's value.
44511func (s *DescribeTrainingJobOutput) SetDebugHookConfig(v *DebugHookConfig) *DescribeTrainingJobOutput {
44512	s.DebugHookConfig = v
44513	return s
44514}
44515
44516// SetDebugRuleConfigurations sets the DebugRuleConfigurations field's value.
44517func (s *DescribeTrainingJobOutput) SetDebugRuleConfigurations(v []*DebugRuleConfiguration) *DescribeTrainingJobOutput {
44518	s.DebugRuleConfigurations = v
44519	return s
44520}
44521
44522// SetDebugRuleEvaluationStatuses sets the DebugRuleEvaluationStatuses field's value.
44523func (s *DescribeTrainingJobOutput) SetDebugRuleEvaluationStatuses(v []*DebugRuleEvaluationStatus) *DescribeTrainingJobOutput {
44524	s.DebugRuleEvaluationStatuses = v
44525	return s
44526}
44527
44528// SetEnableInterContainerTrafficEncryption sets the EnableInterContainerTrafficEncryption field's value.
44529func (s *DescribeTrainingJobOutput) SetEnableInterContainerTrafficEncryption(v bool) *DescribeTrainingJobOutput {
44530	s.EnableInterContainerTrafficEncryption = &v
44531	return s
44532}
44533
44534// SetEnableManagedSpotTraining sets the EnableManagedSpotTraining field's value.
44535func (s *DescribeTrainingJobOutput) SetEnableManagedSpotTraining(v bool) *DescribeTrainingJobOutput {
44536	s.EnableManagedSpotTraining = &v
44537	return s
44538}
44539
44540// SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value.
44541func (s *DescribeTrainingJobOutput) SetEnableNetworkIsolation(v bool) *DescribeTrainingJobOutput {
44542	s.EnableNetworkIsolation = &v
44543	return s
44544}
44545
44546// SetExperimentConfig sets the ExperimentConfig field's value.
44547func (s *DescribeTrainingJobOutput) SetExperimentConfig(v *ExperimentConfig) *DescribeTrainingJobOutput {
44548	s.ExperimentConfig = v
44549	return s
44550}
44551
44552// SetFailureReason sets the FailureReason field's value.
44553func (s *DescribeTrainingJobOutput) SetFailureReason(v string) *DescribeTrainingJobOutput {
44554	s.FailureReason = &v
44555	return s
44556}
44557
44558// SetFinalMetricDataList sets the FinalMetricDataList field's value.
44559func (s *DescribeTrainingJobOutput) SetFinalMetricDataList(v []*MetricData) *DescribeTrainingJobOutput {
44560	s.FinalMetricDataList = v
44561	return s
44562}
44563
44564// SetHyperParameters sets the HyperParameters field's value.
44565func (s *DescribeTrainingJobOutput) SetHyperParameters(v map[string]*string) *DescribeTrainingJobOutput {
44566	s.HyperParameters = v
44567	return s
44568}
44569
44570// SetInputDataConfig sets the InputDataConfig field's value.
44571func (s *DescribeTrainingJobOutput) SetInputDataConfig(v []*Channel) *DescribeTrainingJobOutput {
44572	s.InputDataConfig = v
44573	return s
44574}
44575
44576// SetLabelingJobArn sets the LabelingJobArn field's value.
44577func (s *DescribeTrainingJobOutput) SetLabelingJobArn(v string) *DescribeTrainingJobOutput {
44578	s.LabelingJobArn = &v
44579	return s
44580}
44581
44582// SetLastModifiedTime sets the LastModifiedTime field's value.
44583func (s *DescribeTrainingJobOutput) SetLastModifiedTime(v time.Time) *DescribeTrainingJobOutput {
44584	s.LastModifiedTime = &v
44585	return s
44586}
44587
44588// SetModelArtifacts sets the ModelArtifacts field's value.
44589func (s *DescribeTrainingJobOutput) SetModelArtifacts(v *ModelArtifacts) *DescribeTrainingJobOutput {
44590	s.ModelArtifacts = v
44591	return s
44592}
44593
44594// SetOutputDataConfig sets the OutputDataConfig field's value.
44595func (s *DescribeTrainingJobOutput) SetOutputDataConfig(v *OutputDataConfig) *DescribeTrainingJobOutput {
44596	s.OutputDataConfig = v
44597	return s
44598}
44599
44600// SetProfilerConfig sets the ProfilerConfig field's value.
44601func (s *DescribeTrainingJobOutput) SetProfilerConfig(v *ProfilerConfig) *DescribeTrainingJobOutput {
44602	s.ProfilerConfig = v
44603	return s
44604}
44605
44606// SetProfilerRuleConfigurations sets the ProfilerRuleConfigurations field's value.
44607func (s *DescribeTrainingJobOutput) SetProfilerRuleConfigurations(v []*ProfilerRuleConfiguration) *DescribeTrainingJobOutput {
44608	s.ProfilerRuleConfigurations = v
44609	return s
44610}
44611
44612// SetProfilerRuleEvaluationStatuses sets the ProfilerRuleEvaluationStatuses field's value.
44613func (s *DescribeTrainingJobOutput) SetProfilerRuleEvaluationStatuses(v []*ProfilerRuleEvaluationStatus) *DescribeTrainingJobOutput {
44614	s.ProfilerRuleEvaluationStatuses = v
44615	return s
44616}
44617
44618// SetProfilingStatus sets the ProfilingStatus field's value.
44619func (s *DescribeTrainingJobOutput) SetProfilingStatus(v string) *DescribeTrainingJobOutput {
44620	s.ProfilingStatus = &v
44621	return s
44622}
44623
44624// SetResourceConfig sets the ResourceConfig field's value.
44625func (s *DescribeTrainingJobOutput) SetResourceConfig(v *ResourceConfig) *DescribeTrainingJobOutput {
44626	s.ResourceConfig = v
44627	return s
44628}
44629
44630// SetRoleArn sets the RoleArn field's value.
44631func (s *DescribeTrainingJobOutput) SetRoleArn(v string) *DescribeTrainingJobOutput {
44632	s.RoleArn = &v
44633	return s
44634}
44635
44636// SetSecondaryStatus sets the SecondaryStatus field's value.
44637func (s *DescribeTrainingJobOutput) SetSecondaryStatus(v string) *DescribeTrainingJobOutput {
44638	s.SecondaryStatus = &v
44639	return s
44640}
44641
44642// SetSecondaryStatusTransitions sets the SecondaryStatusTransitions field's value.
44643func (s *DescribeTrainingJobOutput) SetSecondaryStatusTransitions(v []*SecondaryStatusTransition) *DescribeTrainingJobOutput {
44644	s.SecondaryStatusTransitions = v
44645	return s
44646}
44647
44648// SetStoppingCondition sets the StoppingCondition field's value.
44649func (s *DescribeTrainingJobOutput) SetStoppingCondition(v *StoppingCondition) *DescribeTrainingJobOutput {
44650	s.StoppingCondition = v
44651	return s
44652}
44653
44654// SetTensorBoardOutputConfig sets the TensorBoardOutputConfig field's value.
44655func (s *DescribeTrainingJobOutput) SetTensorBoardOutputConfig(v *TensorBoardOutputConfig) *DescribeTrainingJobOutput {
44656	s.TensorBoardOutputConfig = v
44657	return s
44658}
44659
44660// SetTrainingEndTime sets the TrainingEndTime field's value.
44661func (s *DescribeTrainingJobOutput) SetTrainingEndTime(v time.Time) *DescribeTrainingJobOutput {
44662	s.TrainingEndTime = &v
44663	return s
44664}
44665
44666// SetTrainingJobArn sets the TrainingJobArn field's value.
44667func (s *DescribeTrainingJobOutput) SetTrainingJobArn(v string) *DescribeTrainingJobOutput {
44668	s.TrainingJobArn = &v
44669	return s
44670}
44671
44672// SetTrainingJobName sets the TrainingJobName field's value.
44673func (s *DescribeTrainingJobOutput) SetTrainingJobName(v string) *DescribeTrainingJobOutput {
44674	s.TrainingJobName = &v
44675	return s
44676}
44677
44678// SetTrainingJobStatus sets the TrainingJobStatus field's value.
44679func (s *DescribeTrainingJobOutput) SetTrainingJobStatus(v string) *DescribeTrainingJobOutput {
44680	s.TrainingJobStatus = &v
44681	return s
44682}
44683
44684// SetTrainingStartTime sets the TrainingStartTime field's value.
44685func (s *DescribeTrainingJobOutput) SetTrainingStartTime(v time.Time) *DescribeTrainingJobOutput {
44686	s.TrainingStartTime = &v
44687	return s
44688}
44689
44690// SetTrainingTimeInSeconds sets the TrainingTimeInSeconds field's value.
44691func (s *DescribeTrainingJobOutput) SetTrainingTimeInSeconds(v int64) *DescribeTrainingJobOutput {
44692	s.TrainingTimeInSeconds = &v
44693	return s
44694}
44695
44696// SetTuningJobArn sets the TuningJobArn field's value.
44697func (s *DescribeTrainingJobOutput) SetTuningJobArn(v string) *DescribeTrainingJobOutput {
44698	s.TuningJobArn = &v
44699	return s
44700}
44701
44702// SetVpcConfig sets the VpcConfig field's value.
44703func (s *DescribeTrainingJobOutput) SetVpcConfig(v *VpcConfig) *DescribeTrainingJobOutput {
44704	s.VpcConfig = v
44705	return s
44706}
44707
44708type DescribeTransformJobInput struct {
44709	_ struct{} `type:"structure"`
44710
44711	// The name of the transform job that you want to view details of.
44712	//
44713	// TransformJobName is a required field
44714	TransformJobName *string `min:"1" type:"string" required:"true"`
44715}
44716
44717// String returns the string representation
44718func (s DescribeTransformJobInput) String() string {
44719	return awsutil.Prettify(s)
44720}
44721
44722// GoString returns the string representation
44723func (s DescribeTransformJobInput) GoString() string {
44724	return s.String()
44725}
44726
44727// Validate inspects the fields of the type to determine if they are valid.
44728func (s *DescribeTransformJobInput) Validate() error {
44729	invalidParams := request.ErrInvalidParams{Context: "DescribeTransformJobInput"}
44730	if s.TransformJobName == nil {
44731		invalidParams.Add(request.NewErrParamRequired("TransformJobName"))
44732	}
44733	if s.TransformJobName != nil && len(*s.TransformJobName) < 1 {
44734		invalidParams.Add(request.NewErrParamMinLen("TransformJobName", 1))
44735	}
44736
44737	if invalidParams.Len() > 0 {
44738		return invalidParams
44739	}
44740	return nil
44741}
44742
44743// SetTransformJobName sets the TransformJobName field's value.
44744func (s *DescribeTransformJobInput) SetTransformJobName(v string) *DescribeTransformJobInput {
44745	s.TransformJobName = &v
44746	return s
44747}
44748
44749type DescribeTransformJobOutput struct {
44750	_ struct{} `type:"structure"`
44751
44752	// The Amazon Resource Name (ARN) of the AutoML transform job.
44753	AutoMLJobArn *string `min:"1" type:"string"`
44754
44755	// Specifies the number of records to include in a mini-batch for an HTTP inference
44756	// request. A record is a single unit of input data that inference can be made
44757	// on. For example, a single line in a CSV file is a record.
44758	//
44759	// To enable the batch strategy, you must set SplitType to Line, RecordIO, or
44760	// TFRecord.
44761	BatchStrategy *string `type:"string" enum:"BatchStrategy"`
44762
44763	// A timestamp that shows when the transform Job was created.
44764	//
44765	// CreationTime is a required field
44766	CreationTime *time.Time `type:"timestamp" required:"true"`
44767
44768	// The data structure used to specify the data to be used for inference in a
44769	// batch transform job and to associate the data that is relevant to the prediction
44770	// results in the output. The input filter provided allows you to exclude input
44771	// data that is not needed for inference in a batch transform job. The output
44772	// filter provided allows you to include input data relevant to interpreting
44773	// the predictions in the output from the job. For more information, see Associate
44774	// Prediction Results with their Corresponding Input Records (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html).
44775	DataProcessing *DataProcessing `type:"structure"`
44776
44777	// The environment variables to set in the Docker container. We support up to
44778	// 16 key and values entries in the map.
44779	Environment map[string]*string `type:"map"`
44780
44781	// Associates a SageMaker job as a trial component with an experiment and trial.
44782	// Specified when you call the following APIs:
44783	//
44784	//    * CreateProcessingJob
44785	//
44786	//    * CreateTrainingJob
44787	//
44788	//    * CreateTransformJob
44789	ExperimentConfig *ExperimentConfig `type:"structure"`
44790
44791	// If the transform job failed, FailureReason describes why it failed. A transform
44792	// job creates a log file, which includes error messages, and stores it as an
44793	// Amazon S3 object. For more information, see Log Amazon SageMaker Events with
44794	// Amazon CloudWatch (https://docs.aws.amazon.com/sagemaker/latest/dg/logging-cloudwatch.html).
44795	FailureReason *string `type:"string"`
44796
44797	// The Amazon Resource Name (ARN) of the Amazon SageMaker Ground Truth labeling
44798	// job that created the transform or training job.
44799	LabelingJobArn *string `type:"string"`
44800
44801	// The maximum number of parallel requests on each instance node that can be
44802	// launched in a transform job. The default value is 1.
44803	MaxConcurrentTransforms *int64 `type:"integer"`
44804
44805	// The maximum payload size, in MB, used in the transform job.
44806	MaxPayloadInMB *int64 `type:"integer"`
44807
44808	// The timeout and maximum number of retries for processing a transform job
44809	// invocation.
44810	ModelClientConfig *ModelClientConfig `type:"structure"`
44811
44812	// The name of the model used in the transform job.
44813	//
44814	// ModelName is a required field
44815	ModelName *string `type:"string" required:"true"`
44816
44817	// Indicates when the transform job has been completed, or has stopped or failed.
44818	// You are billed for the time interval between this time and the value of TransformStartTime.
44819	TransformEndTime *time.Time `type:"timestamp"`
44820
44821	// Describes the dataset to be transformed and the Amazon S3 location where
44822	// it is stored.
44823	//
44824	// TransformInput is a required field
44825	TransformInput *TransformInput `type:"structure" required:"true"`
44826
44827	// The Amazon Resource Name (ARN) of the transform job.
44828	//
44829	// TransformJobArn is a required field
44830	TransformJobArn *string `type:"string" required:"true"`
44831
44832	// The name of the transform job.
44833	//
44834	// TransformJobName is a required field
44835	TransformJobName *string `min:"1" type:"string" required:"true"`
44836
44837	// The status of the transform job. If the transform job failed, the reason
44838	// is returned in the FailureReason field.
44839	//
44840	// TransformJobStatus is a required field
44841	TransformJobStatus *string `type:"string" required:"true" enum:"TransformJobStatus"`
44842
44843	// Identifies the Amazon S3 location where you want Amazon SageMaker to save
44844	// the results from the transform job.
44845	TransformOutput *TransformOutput `type:"structure"`
44846
44847	// Describes the resources, including ML instance types and ML instance count,
44848	// to use for the transform job.
44849	//
44850	// TransformResources is a required field
44851	TransformResources *TransformResources `type:"structure" required:"true"`
44852
44853	// Indicates when the transform job starts on ML instances. You are billed for
44854	// the time interval between this time and the value of TransformEndTime.
44855	TransformStartTime *time.Time `type:"timestamp"`
44856}
44857
44858// String returns the string representation
44859func (s DescribeTransformJobOutput) String() string {
44860	return awsutil.Prettify(s)
44861}
44862
44863// GoString returns the string representation
44864func (s DescribeTransformJobOutput) GoString() string {
44865	return s.String()
44866}
44867
44868// SetAutoMLJobArn sets the AutoMLJobArn field's value.
44869func (s *DescribeTransformJobOutput) SetAutoMLJobArn(v string) *DescribeTransformJobOutput {
44870	s.AutoMLJobArn = &v
44871	return s
44872}
44873
44874// SetBatchStrategy sets the BatchStrategy field's value.
44875func (s *DescribeTransformJobOutput) SetBatchStrategy(v string) *DescribeTransformJobOutput {
44876	s.BatchStrategy = &v
44877	return s
44878}
44879
44880// SetCreationTime sets the CreationTime field's value.
44881func (s *DescribeTransformJobOutput) SetCreationTime(v time.Time) *DescribeTransformJobOutput {
44882	s.CreationTime = &v
44883	return s
44884}
44885
44886// SetDataProcessing sets the DataProcessing field's value.
44887func (s *DescribeTransformJobOutput) SetDataProcessing(v *DataProcessing) *DescribeTransformJobOutput {
44888	s.DataProcessing = v
44889	return s
44890}
44891
44892// SetEnvironment sets the Environment field's value.
44893func (s *DescribeTransformJobOutput) SetEnvironment(v map[string]*string) *DescribeTransformJobOutput {
44894	s.Environment = v
44895	return s
44896}
44897
44898// SetExperimentConfig sets the ExperimentConfig field's value.
44899func (s *DescribeTransformJobOutput) SetExperimentConfig(v *ExperimentConfig) *DescribeTransformJobOutput {
44900	s.ExperimentConfig = v
44901	return s
44902}
44903
44904// SetFailureReason sets the FailureReason field's value.
44905func (s *DescribeTransformJobOutput) SetFailureReason(v string) *DescribeTransformJobOutput {
44906	s.FailureReason = &v
44907	return s
44908}
44909
44910// SetLabelingJobArn sets the LabelingJobArn field's value.
44911func (s *DescribeTransformJobOutput) SetLabelingJobArn(v string) *DescribeTransformJobOutput {
44912	s.LabelingJobArn = &v
44913	return s
44914}
44915
44916// SetMaxConcurrentTransforms sets the MaxConcurrentTransforms field's value.
44917func (s *DescribeTransformJobOutput) SetMaxConcurrentTransforms(v int64) *DescribeTransformJobOutput {
44918	s.MaxConcurrentTransforms = &v
44919	return s
44920}
44921
44922// SetMaxPayloadInMB sets the MaxPayloadInMB field's value.
44923func (s *DescribeTransformJobOutput) SetMaxPayloadInMB(v int64) *DescribeTransformJobOutput {
44924	s.MaxPayloadInMB = &v
44925	return s
44926}
44927
44928// SetModelClientConfig sets the ModelClientConfig field's value.
44929func (s *DescribeTransformJobOutput) SetModelClientConfig(v *ModelClientConfig) *DescribeTransformJobOutput {
44930	s.ModelClientConfig = v
44931	return s
44932}
44933
44934// SetModelName sets the ModelName field's value.
44935func (s *DescribeTransformJobOutput) SetModelName(v string) *DescribeTransformJobOutput {
44936	s.ModelName = &v
44937	return s
44938}
44939
44940// SetTransformEndTime sets the TransformEndTime field's value.
44941func (s *DescribeTransformJobOutput) SetTransformEndTime(v time.Time) *DescribeTransformJobOutput {
44942	s.TransformEndTime = &v
44943	return s
44944}
44945
44946// SetTransformInput sets the TransformInput field's value.
44947func (s *DescribeTransformJobOutput) SetTransformInput(v *TransformInput) *DescribeTransformJobOutput {
44948	s.TransformInput = v
44949	return s
44950}
44951
44952// SetTransformJobArn sets the TransformJobArn field's value.
44953func (s *DescribeTransformJobOutput) SetTransformJobArn(v string) *DescribeTransformJobOutput {
44954	s.TransformJobArn = &v
44955	return s
44956}
44957
44958// SetTransformJobName sets the TransformJobName field's value.
44959func (s *DescribeTransformJobOutput) SetTransformJobName(v string) *DescribeTransformJobOutput {
44960	s.TransformJobName = &v
44961	return s
44962}
44963
44964// SetTransformJobStatus sets the TransformJobStatus field's value.
44965func (s *DescribeTransformJobOutput) SetTransformJobStatus(v string) *DescribeTransformJobOutput {
44966	s.TransformJobStatus = &v
44967	return s
44968}
44969
44970// SetTransformOutput sets the TransformOutput field's value.
44971func (s *DescribeTransformJobOutput) SetTransformOutput(v *TransformOutput) *DescribeTransformJobOutput {
44972	s.TransformOutput = v
44973	return s
44974}
44975
44976// SetTransformResources sets the TransformResources field's value.
44977func (s *DescribeTransformJobOutput) SetTransformResources(v *TransformResources) *DescribeTransformJobOutput {
44978	s.TransformResources = v
44979	return s
44980}
44981
44982// SetTransformStartTime sets the TransformStartTime field's value.
44983func (s *DescribeTransformJobOutput) SetTransformStartTime(v time.Time) *DescribeTransformJobOutput {
44984	s.TransformStartTime = &v
44985	return s
44986}
44987
44988type DescribeTrialComponentInput struct {
44989	_ struct{} `type:"structure"`
44990
44991	// The name of the trial component to describe.
44992	//
44993	// TrialComponentName is a required field
44994	TrialComponentName *string `min:"1" type:"string" required:"true"`
44995}
44996
44997// String returns the string representation
44998func (s DescribeTrialComponentInput) String() string {
44999	return awsutil.Prettify(s)
45000}
45001
45002// GoString returns the string representation
45003func (s DescribeTrialComponentInput) GoString() string {
45004	return s.String()
45005}
45006
45007// Validate inspects the fields of the type to determine if they are valid.
45008func (s *DescribeTrialComponentInput) Validate() error {
45009	invalidParams := request.ErrInvalidParams{Context: "DescribeTrialComponentInput"}
45010	if s.TrialComponentName == nil {
45011		invalidParams.Add(request.NewErrParamRequired("TrialComponentName"))
45012	}
45013	if s.TrialComponentName != nil && len(*s.TrialComponentName) < 1 {
45014		invalidParams.Add(request.NewErrParamMinLen("TrialComponentName", 1))
45015	}
45016
45017	if invalidParams.Len() > 0 {
45018		return invalidParams
45019	}
45020	return nil
45021}
45022
45023// SetTrialComponentName sets the TrialComponentName field's value.
45024func (s *DescribeTrialComponentInput) SetTrialComponentName(v string) *DescribeTrialComponentInput {
45025	s.TrialComponentName = &v
45026	return s
45027}
45028
45029type DescribeTrialComponentOutput struct {
45030	_ struct{} `type:"structure"`
45031
45032	// Who created the component.
45033	CreatedBy *UserContext `type:"structure"`
45034
45035	// When the component was created.
45036	CreationTime *time.Time `type:"timestamp"`
45037
45038	// The name of the component as displayed. If DisplayName isn't specified, TrialComponentName
45039	// is displayed.
45040	DisplayName *string `min:"1" type:"string"`
45041
45042	// When the component ended.
45043	EndTime *time.Time `type:"timestamp"`
45044
45045	// The input artifacts of the component.
45046	InputArtifacts map[string]*TrialComponentArtifact `type:"map"`
45047
45048	// Who last modified the component.
45049	LastModifiedBy *UserContext `type:"structure"`
45050
45051	// When the component was last modified.
45052	LastModifiedTime *time.Time `type:"timestamp"`
45053
45054	// Metadata properties of the tracking entity, trial, or trial component.
45055	MetadataProperties *MetadataProperties `type:"structure"`
45056
45057	// The metrics for the component.
45058	Metrics []*TrialComponentMetricSummary `type:"list"`
45059
45060	// The output artifacts of the component.
45061	OutputArtifacts map[string]*TrialComponentArtifact `type:"map"`
45062
45063	// The hyperparameters of the component.
45064	Parameters map[string]*TrialComponentParameterValue `type:"map"`
45065
45066	// The Amazon Resource Name (ARN) of the source and, optionally, the job type.
45067	Source *TrialComponentSource `type:"structure"`
45068
45069	// When the component started.
45070	StartTime *time.Time `type:"timestamp"`
45071
45072	// The status of the component. States include:
45073	//
45074	//    * InProgress
45075	//
45076	//    * Completed
45077	//
45078	//    * Failed
45079	Status *TrialComponentStatus `type:"structure"`
45080
45081	// The Amazon Resource Name (ARN) of the trial component.
45082	TrialComponentArn *string `type:"string"`
45083
45084	// The name of the trial component.
45085	TrialComponentName *string `min:"1" type:"string"`
45086}
45087
45088// String returns the string representation
45089func (s DescribeTrialComponentOutput) String() string {
45090	return awsutil.Prettify(s)
45091}
45092
45093// GoString returns the string representation
45094func (s DescribeTrialComponentOutput) GoString() string {
45095	return s.String()
45096}
45097
45098// SetCreatedBy sets the CreatedBy field's value.
45099func (s *DescribeTrialComponentOutput) SetCreatedBy(v *UserContext) *DescribeTrialComponentOutput {
45100	s.CreatedBy = v
45101	return s
45102}
45103
45104// SetCreationTime sets the CreationTime field's value.
45105func (s *DescribeTrialComponentOutput) SetCreationTime(v time.Time) *DescribeTrialComponentOutput {
45106	s.CreationTime = &v
45107	return s
45108}
45109
45110// SetDisplayName sets the DisplayName field's value.
45111func (s *DescribeTrialComponentOutput) SetDisplayName(v string) *DescribeTrialComponentOutput {
45112	s.DisplayName = &v
45113	return s
45114}
45115
45116// SetEndTime sets the EndTime field's value.
45117func (s *DescribeTrialComponentOutput) SetEndTime(v time.Time) *DescribeTrialComponentOutput {
45118	s.EndTime = &v
45119	return s
45120}
45121
45122// SetInputArtifacts sets the InputArtifacts field's value.
45123func (s *DescribeTrialComponentOutput) SetInputArtifacts(v map[string]*TrialComponentArtifact) *DescribeTrialComponentOutput {
45124	s.InputArtifacts = v
45125	return s
45126}
45127
45128// SetLastModifiedBy sets the LastModifiedBy field's value.
45129func (s *DescribeTrialComponentOutput) SetLastModifiedBy(v *UserContext) *DescribeTrialComponentOutput {
45130	s.LastModifiedBy = v
45131	return s
45132}
45133
45134// SetLastModifiedTime sets the LastModifiedTime field's value.
45135func (s *DescribeTrialComponentOutput) SetLastModifiedTime(v time.Time) *DescribeTrialComponentOutput {
45136	s.LastModifiedTime = &v
45137	return s
45138}
45139
45140// SetMetadataProperties sets the MetadataProperties field's value.
45141func (s *DescribeTrialComponentOutput) SetMetadataProperties(v *MetadataProperties) *DescribeTrialComponentOutput {
45142	s.MetadataProperties = v
45143	return s
45144}
45145
45146// SetMetrics sets the Metrics field's value.
45147func (s *DescribeTrialComponentOutput) SetMetrics(v []*TrialComponentMetricSummary) *DescribeTrialComponentOutput {
45148	s.Metrics = v
45149	return s
45150}
45151
45152// SetOutputArtifacts sets the OutputArtifacts field's value.
45153func (s *DescribeTrialComponentOutput) SetOutputArtifacts(v map[string]*TrialComponentArtifact) *DescribeTrialComponentOutput {
45154	s.OutputArtifacts = v
45155	return s
45156}
45157
45158// SetParameters sets the Parameters field's value.
45159func (s *DescribeTrialComponentOutput) SetParameters(v map[string]*TrialComponentParameterValue) *DescribeTrialComponentOutput {
45160	s.Parameters = v
45161	return s
45162}
45163
45164// SetSource sets the Source field's value.
45165func (s *DescribeTrialComponentOutput) SetSource(v *TrialComponentSource) *DescribeTrialComponentOutput {
45166	s.Source = v
45167	return s
45168}
45169
45170// SetStartTime sets the StartTime field's value.
45171func (s *DescribeTrialComponentOutput) SetStartTime(v time.Time) *DescribeTrialComponentOutput {
45172	s.StartTime = &v
45173	return s
45174}
45175
45176// SetStatus sets the Status field's value.
45177func (s *DescribeTrialComponentOutput) SetStatus(v *TrialComponentStatus) *DescribeTrialComponentOutput {
45178	s.Status = v
45179	return s
45180}
45181
45182// SetTrialComponentArn sets the TrialComponentArn field's value.
45183func (s *DescribeTrialComponentOutput) SetTrialComponentArn(v string) *DescribeTrialComponentOutput {
45184	s.TrialComponentArn = &v
45185	return s
45186}
45187
45188// SetTrialComponentName sets the TrialComponentName field's value.
45189func (s *DescribeTrialComponentOutput) SetTrialComponentName(v string) *DescribeTrialComponentOutput {
45190	s.TrialComponentName = &v
45191	return s
45192}
45193
45194type DescribeTrialInput struct {
45195	_ struct{} `type:"structure"`
45196
45197	// The name of the trial to describe.
45198	//
45199	// TrialName is a required field
45200	TrialName *string `min:"1" type:"string" required:"true"`
45201}
45202
45203// String returns the string representation
45204func (s DescribeTrialInput) String() string {
45205	return awsutil.Prettify(s)
45206}
45207
45208// GoString returns the string representation
45209func (s DescribeTrialInput) GoString() string {
45210	return s.String()
45211}
45212
45213// Validate inspects the fields of the type to determine if they are valid.
45214func (s *DescribeTrialInput) Validate() error {
45215	invalidParams := request.ErrInvalidParams{Context: "DescribeTrialInput"}
45216	if s.TrialName == nil {
45217		invalidParams.Add(request.NewErrParamRequired("TrialName"))
45218	}
45219	if s.TrialName != nil && len(*s.TrialName) < 1 {
45220		invalidParams.Add(request.NewErrParamMinLen("TrialName", 1))
45221	}
45222
45223	if invalidParams.Len() > 0 {
45224		return invalidParams
45225	}
45226	return nil
45227}
45228
45229// SetTrialName sets the TrialName field's value.
45230func (s *DescribeTrialInput) SetTrialName(v string) *DescribeTrialInput {
45231	s.TrialName = &v
45232	return s
45233}
45234
45235type DescribeTrialOutput struct {
45236	_ struct{} `type:"structure"`
45237
45238	// Who created the trial.
45239	CreatedBy *UserContext `type:"structure"`
45240
45241	// When the trial was created.
45242	CreationTime *time.Time `type:"timestamp"`
45243
45244	// The name of the trial as displayed. If DisplayName isn't specified, TrialName
45245	// is displayed.
45246	DisplayName *string `min:"1" type:"string"`
45247
45248	// The name of the experiment the trial is part of.
45249	ExperimentName *string `min:"1" type:"string"`
45250
45251	// Who last modified the trial.
45252	LastModifiedBy *UserContext `type:"structure"`
45253
45254	// When the trial was last modified.
45255	LastModifiedTime *time.Time `type:"timestamp"`
45256
45257	// Metadata properties of the tracking entity, trial, or trial component.
45258	MetadataProperties *MetadataProperties `type:"structure"`
45259
45260	// The Amazon Resource Name (ARN) of the source and, optionally, the job type.
45261	Source *TrialSource `type:"structure"`
45262
45263	// The Amazon Resource Name (ARN) of the trial.
45264	TrialArn *string `type:"string"`
45265
45266	// The name of the trial.
45267	TrialName *string `min:"1" type:"string"`
45268}
45269
45270// String returns the string representation
45271func (s DescribeTrialOutput) String() string {
45272	return awsutil.Prettify(s)
45273}
45274
45275// GoString returns the string representation
45276func (s DescribeTrialOutput) GoString() string {
45277	return s.String()
45278}
45279
45280// SetCreatedBy sets the CreatedBy field's value.
45281func (s *DescribeTrialOutput) SetCreatedBy(v *UserContext) *DescribeTrialOutput {
45282	s.CreatedBy = v
45283	return s
45284}
45285
45286// SetCreationTime sets the CreationTime field's value.
45287func (s *DescribeTrialOutput) SetCreationTime(v time.Time) *DescribeTrialOutput {
45288	s.CreationTime = &v
45289	return s
45290}
45291
45292// SetDisplayName sets the DisplayName field's value.
45293func (s *DescribeTrialOutput) SetDisplayName(v string) *DescribeTrialOutput {
45294	s.DisplayName = &v
45295	return s
45296}
45297
45298// SetExperimentName sets the ExperimentName field's value.
45299func (s *DescribeTrialOutput) SetExperimentName(v string) *DescribeTrialOutput {
45300	s.ExperimentName = &v
45301	return s
45302}
45303
45304// SetLastModifiedBy sets the LastModifiedBy field's value.
45305func (s *DescribeTrialOutput) SetLastModifiedBy(v *UserContext) *DescribeTrialOutput {
45306	s.LastModifiedBy = v
45307	return s
45308}
45309
45310// SetLastModifiedTime sets the LastModifiedTime field's value.
45311func (s *DescribeTrialOutput) SetLastModifiedTime(v time.Time) *DescribeTrialOutput {
45312	s.LastModifiedTime = &v
45313	return s
45314}
45315
45316// SetMetadataProperties sets the MetadataProperties field's value.
45317func (s *DescribeTrialOutput) SetMetadataProperties(v *MetadataProperties) *DescribeTrialOutput {
45318	s.MetadataProperties = v
45319	return s
45320}
45321
45322// SetSource sets the Source field's value.
45323func (s *DescribeTrialOutput) SetSource(v *TrialSource) *DescribeTrialOutput {
45324	s.Source = v
45325	return s
45326}
45327
45328// SetTrialArn sets the TrialArn field's value.
45329func (s *DescribeTrialOutput) SetTrialArn(v string) *DescribeTrialOutput {
45330	s.TrialArn = &v
45331	return s
45332}
45333
45334// SetTrialName sets the TrialName field's value.
45335func (s *DescribeTrialOutput) SetTrialName(v string) *DescribeTrialOutput {
45336	s.TrialName = &v
45337	return s
45338}
45339
45340type DescribeUserProfileInput struct {
45341	_ struct{} `type:"structure"`
45342
45343	// The domain ID.
45344	//
45345	// DomainId is a required field
45346	DomainId *string `type:"string" required:"true"`
45347
45348	// The user profile name.
45349	//
45350	// UserProfileName is a required field
45351	UserProfileName *string `type:"string" required:"true"`
45352}
45353
45354// String returns the string representation
45355func (s DescribeUserProfileInput) String() string {
45356	return awsutil.Prettify(s)
45357}
45358
45359// GoString returns the string representation
45360func (s DescribeUserProfileInput) GoString() string {
45361	return s.String()
45362}
45363
45364// Validate inspects the fields of the type to determine if they are valid.
45365func (s *DescribeUserProfileInput) Validate() error {
45366	invalidParams := request.ErrInvalidParams{Context: "DescribeUserProfileInput"}
45367	if s.DomainId == nil {
45368		invalidParams.Add(request.NewErrParamRequired("DomainId"))
45369	}
45370	if s.UserProfileName == nil {
45371		invalidParams.Add(request.NewErrParamRequired("UserProfileName"))
45372	}
45373
45374	if invalidParams.Len() > 0 {
45375		return invalidParams
45376	}
45377	return nil
45378}
45379
45380// SetDomainId sets the DomainId field's value.
45381func (s *DescribeUserProfileInput) SetDomainId(v string) *DescribeUserProfileInput {
45382	s.DomainId = &v
45383	return s
45384}
45385
45386// SetUserProfileName sets the UserProfileName field's value.
45387func (s *DescribeUserProfileInput) SetUserProfileName(v string) *DescribeUserProfileInput {
45388	s.UserProfileName = &v
45389	return s
45390}
45391
45392type DescribeUserProfileOutput struct {
45393	_ struct{} `type:"structure"`
45394
45395	// The creation time.
45396	CreationTime *time.Time `type:"timestamp"`
45397
45398	// The ID of the domain that contains the profile.
45399	DomainId *string `type:"string"`
45400
45401	// The failure reason.
45402	FailureReason *string `type:"string"`
45403
45404	// The ID of the user's profile in the Amazon Elastic File System (EFS) volume.
45405	HomeEfsFileSystemUid *string `type:"string"`
45406
45407	// The last modified time.
45408	LastModifiedTime *time.Time `type:"timestamp"`
45409
45410	// The SSO user identifier.
45411	SingleSignOnUserIdentifier *string `type:"string"`
45412
45413	// The SSO user value.
45414	SingleSignOnUserValue *string `type:"string"`
45415
45416	// The status.
45417	Status *string `type:"string" enum:"UserProfileStatus"`
45418
45419	// The user profile Amazon Resource Name (ARN).
45420	UserProfileArn *string `type:"string"`
45421
45422	// The user profile name.
45423	UserProfileName *string `type:"string"`
45424
45425	// A collection of settings.
45426	UserSettings *UserSettings `type:"structure"`
45427}
45428
45429// String returns the string representation
45430func (s DescribeUserProfileOutput) String() string {
45431	return awsutil.Prettify(s)
45432}
45433
45434// GoString returns the string representation
45435func (s DescribeUserProfileOutput) GoString() string {
45436	return s.String()
45437}
45438
45439// SetCreationTime sets the CreationTime field's value.
45440func (s *DescribeUserProfileOutput) SetCreationTime(v time.Time) *DescribeUserProfileOutput {
45441	s.CreationTime = &v
45442	return s
45443}
45444
45445// SetDomainId sets the DomainId field's value.
45446func (s *DescribeUserProfileOutput) SetDomainId(v string) *DescribeUserProfileOutput {
45447	s.DomainId = &v
45448	return s
45449}
45450
45451// SetFailureReason sets the FailureReason field's value.
45452func (s *DescribeUserProfileOutput) SetFailureReason(v string) *DescribeUserProfileOutput {
45453	s.FailureReason = &v
45454	return s
45455}
45456
45457// SetHomeEfsFileSystemUid sets the HomeEfsFileSystemUid field's value.
45458func (s *DescribeUserProfileOutput) SetHomeEfsFileSystemUid(v string) *DescribeUserProfileOutput {
45459	s.HomeEfsFileSystemUid = &v
45460	return s
45461}
45462
45463// SetLastModifiedTime sets the LastModifiedTime field's value.
45464func (s *DescribeUserProfileOutput) SetLastModifiedTime(v time.Time) *DescribeUserProfileOutput {
45465	s.LastModifiedTime = &v
45466	return s
45467}
45468
45469// SetSingleSignOnUserIdentifier sets the SingleSignOnUserIdentifier field's value.
45470func (s *DescribeUserProfileOutput) SetSingleSignOnUserIdentifier(v string) *DescribeUserProfileOutput {
45471	s.SingleSignOnUserIdentifier = &v
45472	return s
45473}
45474
45475// SetSingleSignOnUserValue sets the SingleSignOnUserValue field's value.
45476func (s *DescribeUserProfileOutput) SetSingleSignOnUserValue(v string) *DescribeUserProfileOutput {
45477	s.SingleSignOnUserValue = &v
45478	return s
45479}
45480
45481// SetStatus sets the Status field's value.
45482func (s *DescribeUserProfileOutput) SetStatus(v string) *DescribeUserProfileOutput {
45483	s.Status = &v
45484	return s
45485}
45486
45487// SetUserProfileArn sets the UserProfileArn field's value.
45488func (s *DescribeUserProfileOutput) SetUserProfileArn(v string) *DescribeUserProfileOutput {
45489	s.UserProfileArn = &v
45490	return s
45491}
45492
45493// SetUserProfileName sets the UserProfileName field's value.
45494func (s *DescribeUserProfileOutput) SetUserProfileName(v string) *DescribeUserProfileOutput {
45495	s.UserProfileName = &v
45496	return s
45497}
45498
45499// SetUserSettings sets the UserSettings field's value.
45500func (s *DescribeUserProfileOutput) SetUserSettings(v *UserSettings) *DescribeUserProfileOutput {
45501	s.UserSettings = v
45502	return s
45503}
45504
45505type DescribeWorkforceInput struct {
45506	_ struct{} `type:"structure"`
45507
45508	// The name of the private workforce whose access you want to restrict. WorkforceName
45509	// is automatically set to default when a workforce is created and cannot be
45510	// modified.
45511	//
45512	// WorkforceName is a required field
45513	WorkforceName *string `min:"1" type:"string" required:"true"`
45514}
45515
45516// String returns the string representation
45517func (s DescribeWorkforceInput) String() string {
45518	return awsutil.Prettify(s)
45519}
45520
45521// GoString returns the string representation
45522func (s DescribeWorkforceInput) GoString() string {
45523	return s.String()
45524}
45525
45526// Validate inspects the fields of the type to determine if they are valid.
45527func (s *DescribeWorkforceInput) Validate() error {
45528	invalidParams := request.ErrInvalidParams{Context: "DescribeWorkforceInput"}
45529	if s.WorkforceName == nil {
45530		invalidParams.Add(request.NewErrParamRequired("WorkforceName"))
45531	}
45532	if s.WorkforceName != nil && len(*s.WorkforceName) < 1 {
45533		invalidParams.Add(request.NewErrParamMinLen("WorkforceName", 1))
45534	}
45535
45536	if invalidParams.Len() > 0 {
45537		return invalidParams
45538	}
45539	return nil
45540}
45541
45542// SetWorkforceName sets the WorkforceName field's value.
45543func (s *DescribeWorkforceInput) SetWorkforceName(v string) *DescribeWorkforceInput {
45544	s.WorkforceName = &v
45545	return s
45546}
45547
45548type DescribeWorkforceOutput struct {
45549	_ struct{} `type:"structure"`
45550
45551	// A single private workforce, which is automatically created when you create
45552	// your first private work team. You can create one private work force in each
45553	// AWS Region. By default, any workforce-related API operation used in a specific
45554	// region will apply to the workforce created in that region. To learn how to
45555	// create a private workforce, see Create a Private Workforce (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-workforce-create-private.html).
45556	//
45557	// Workforce is a required field
45558	Workforce *Workforce `type:"structure" required:"true"`
45559}
45560
45561// String returns the string representation
45562func (s DescribeWorkforceOutput) String() string {
45563	return awsutil.Prettify(s)
45564}
45565
45566// GoString returns the string representation
45567func (s DescribeWorkforceOutput) GoString() string {
45568	return s.String()
45569}
45570
45571// SetWorkforce sets the Workforce field's value.
45572func (s *DescribeWorkforceOutput) SetWorkforce(v *Workforce) *DescribeWorkforceOutput {
45573	s.Workforce = v
45574	return s
45575}
45576
45577type DescribeWorkteamInput struct {
45578	_ struct{} `type:"structure"`
45579
45580	// The name of the work team to return a description of.
45581	//
45582	// WorkteamName is a required field
45583	WorkteamName *string `min:"1" type:"string" required:"true"`
45584}
45585
45586// String returns the string representation
45587func (s DescribeWorkteamInput) String() string {
45588	return awsutil.Prettify(s)
45589}
45590
45591// GoString returns the string representation
45592func (s DescribeWorkteamInput) GoString() string {
45593	return s.String()
45594}
45595
45596// Validate inspects the fields of the type to determine if they are valid.
45597func (s *DescribeWorkteamInput) Validate() error {
45598	invalidParams := request.ErrInvalidParams{Context: "DescribeWorkteamInput"}
45599	if s.WorkteamName == nil {
45600		invalidParams.Add(request.NewErrParamRequired("WorkteamName"))
45601	}
45602	if s.WorkteamName != nil && len(*s.WorkteamName) < 1 {
45603		invalidParams.Add(request.NewErrParamMinLen("WorkteamName", 1))
45604	}
45605
45606	if invalidParams.Len() > 0 {
45607		return invalidParams
45608	}
45609	return nil
45610}
45611
45612// SetWorkteamName sets the WorkteamName field's value.
45613func (s *DescribeWorkteamInput) SetWorkteamName(v string) *DescribeWorkteamInput {
45614	s.WorkteamName = &v
45615	return s
45616}
45617
45618type DescribeWorkteamOutput struct {
45619	_ struct{} `type:"structure"`
45620
45621	// A Workteam instance that contains information about the work team.
45622	//
45623	// Workteam is a required field
45624	Workteam *Workteam `type:"structure" required:"true"`
45625}
45626
45627// String returns the string representation
45628func (s DescribeWorkteamOutput) String() string {
45629	return awsutil.Prettify(s)
45630}
45631
45632// GoString returns the string representation
45633func (s DescribeWorkteamOutput) GoString() string {
45634	return s.String()
45635}
45636
45637// SetWorkteam sets the Workteam field's value.
45638func (s *DescribeWorkteamOutput) SetWorkteam(v *Workteam) *DescribeWorkteamOutput {
45639	s.Workteam = v
45640	return s
45641}
45642
45643// Specifies weight and capacity values for a production variant.
45644type DesiredWeightAndCapacity struct {
45645	_ struct{} `type:"structure"`
45646
45647	// The variant's capacity.
45648	DesiredInstanceCount *int64 `min:"1" type:"integer"`
45649
45650	// The variant's weight.
45651	DesiredWeight *float64 `type:"float"`
45652
45653	// The name of the variant to update.
45654	//
45655	// VariantName is a required field
45656	VariantName *string `type:"string" required:"true"`
45657}
45658
45659// String returns the string representation
45660func (s DesiredWeightAndCapacity) String() string {
45661	return awsutil.Prettify(s)
45662}
45663
45664// GoString returns the string representation
45665func (s DesiredWeightAndCapacity) GoString() string {
45666	return s.String()
45667}
45668
45669// Validate inspects the fields of the type to determine if they are valid.
45670func (s *DesiredWeightAndCapacity) Validate() error {
45671	invalidParams := request.ErrInvalidParams{Context: "DesiredWeightAndCapacity"}
45672	if s.DesiredInstanceCount != nil && *s.DesiredInstanceCount < 1 {
45673		invalidParams.Add(request.NewErrParamMinValue("DesiredInstanceCount", 1))
45674	}
45675	if s.VariantName == nil {
45676		invalidParams.Add(request.NewErrParamRequired("VariantName"))
45677	}
45678
45679	if invalidParams.Len() > 0 {
45680		return invalidParams
45681	}
45682	return nil
45683}
45684
45685// SetDesiredInstanceCount sets the DesiredInstanceCount field's value.
45686func (s *DesiredWeightAndCapacity) SetDesiredInstanceCount(v int64) *DesiredWeightAndCapacity {
45687	s.DesiredInstanceCount = &v
45688	return s
45689}
45690
45691// SetDesiredWeight sets the DesiredWeight field's value.
45692func (s *DesiredWeightAndCapacity) SetDesiredWeight(v float64) *DesiredWeightAndCapacity {
45693	s.DesiredWeight = &v
45694	return s
45695}
45696
45697// SetVariantName sets the VariantName field's value.
45698func (s *DesiredWeightAndCapacity) SetVariantName(v string) *DesiredWeightAndCapacity {
45699	s.VariantName = &v
45700	return s
45701}
45702
45703// Information of a particular device.
45704type Device struct {
45705	_ struct{} `type:"structure"`
45706
45707	// Description of the device.
45708	Description *string `min:"1" type:"string"`
45709
45710	// The name of the device.
45711	//
45712	// DeviceName is a required field
45713	DeviceName *string `min:"1" type:"string" required:"true"`
45714
45715	// AWS Internet of Things (IoT) object name.
45716	IotThingName *string `type:"string"`
45717}
45718
45719// String returns the string representation
45720func (s Device) String() string {
45721	return awsutil.Prettify(s)
45722}
45723
45724// GoString returns the string representation
45725func (s Device) GoString() string {
45726	return s.String()
45727}
45728
45729// Validate inspects the fields of the type to determine if they are valid.
45730func (s *Device) Validate() error {
45731	invalidParams := request.ErrInvalidParams{Context: "Device"}
45732	if s.Description != nil && len(*s.Description) < 1 {
45733		invalidParams.Add(request.NewErrParamMinLen("Description", 1))
45734	}
45735	if s.DeviceName == nil {
45736		invalidParams.Add(request.NewErrParamRequired("DeviceName"))
45737	}
45738	if s.DeviceName != nil && len(*s.DeviceName) < 1 {
45739		invalidParams.Add(request.NewErrParamMinLen("DeviceName", 1))
45740	}
45741
45742	if invalidParams.Len() > 0 {
45743		return invalidParams
45744	}
45745	return nil
45746}
45747
45748// SetDescription sets the Description field's value.
45749func (s *Device) SetDescription(v string) *Device {
45750	s.Description = &v
45751	return s
45752}
45753
45754// SetDeviceName sets the DeviceName field's value.
45755func (s *Device) SetDeviceName(v string) *Device {
45756	s.DeviceName = &v
45757	return s
45758}
45759
45760// SetIotThingName sets the IotThingName field's value.
45761func (s *Device) SetIotThingName(v string) *Device {
45762	s.IotThingName = &v
45763	return s
45764}
45765
45766// Summary of the device fleet.
45767type DeviceFleetSummary struct {
45768	_ struct{} `type:"structure"`
45769
45770	// Timestamp of when the device fleet was created.
45771	CreationTime *time.Time `type:"timestamp"`
45772
45773	// Amazon Resource Name (ARN) of the device fleet.
45774	//
45775	// DeviceFleetArn is a required field
45776	DeviceFleetArn *string `type:"string" required:"true"`
45777
45778	// Name of the device fleet.
45779	//
45780	// DeviceFleetName is a required field
45781	DeviceFleetName *string `min:"1" type:"string" required:"true"`
45782
45783	// Timestamp of when the device fleet was last updated.
45784	LastModifiedTime *time.Time `type:"timestamp"`
45785}
45786
45787// String returns the string representation
45788func (s DeviceFleetSummary) String() string {
45789	return awsutil.Prettify(s)
45790}
45791
45792// GoString returns the string representation
45793func (s DeviceFleetSummary) GoString() string {
45794	return s.String()
45795}
45796
45797// SetCreationTime sets the CreationTime field's value.
45798func (s *DeviceFleetSummary) SetCreationTime(v time.Time) *DeviceFleetSummary {
45799	s.CreationTime = &v
45800	return s
45801}
45802
45803// SetDeviceFleetArn sets the DeviceFleetArn field's value.
45804func (s *DeviceFleetSummary) SetDeviceFleetArn(v string) *DeviceFleetSummary {
45805	s.DeviceFleetArn = &v
45806	return s
45807}
45808
45809// SetDeviceFleetName sets the DeviceFleetName field's value.
45810func (s *DeviceFleetSummary) SetDeviceFleetName(v string) *DeviceFleetSummary {
45811	s.DeviceFleetName = &v
45812	return s
45813}
45814
45815// SetLastModifiedTime sets the LastModifiedTime field's value.
45816func (s *DeviceFleetSummary) SetLastModifiedTime(v time.Time) *DeviceFleetSummary {
45817	s.LastModifiedTime = &v
45818	return s
45819}
45820
45821// Status of devices.
45822type DeviceStats struct {
45823	_ struct{} `type:"structure"`
45824
45825	// The number of devices connected with a heartbeat.
45826	//
45827	// ConnectedDeviceCount is a required field
45828	ConnectedDeviceCount *int64 `type:"long" required:"true"`
45829
45830	// The number of registered devices.
45831	//
45832	// RegisteredDeviceCount is a required field
45833	RegisteredDeviceCount *int64 `type:"long" required:"true"`
45834}
45835
45836// String returns the string representation
45837func (s DeviceStats) String() string {
45838	return awsutil.Prettify(s)
45839}
45840
45841// GoString returns the string representation
45842func (s DeviceStats) GoString() string {
45843	return s.String()
45844}
45845
45846// SetConnectedDeviceCount sets the ConnectedDeviceCount field's value.
45847func (s *DeviceStats) SetConnectedDeviceCount(v int64) *DeviceStats {
45848	s.ConnectedDeviceCount = &v
45849	return s
45850}
45851
45852// SetRegisteredDeviceCount sets the RegisteredDeviceCount field's value.
45853func (s *DeviceStats) SetRegisteredDeviceCount(v int64) *DeviceStats {
45854	s.RegisteredDeviceCount = &v
45855	return s
45856}
45857
45858// Summary of the device.
45859type DeviceSummary struct {
45860	_ struct{} `type:"structure"`
45861
45862	// A description of the device.
45863	Description *string `min:"1" type:"string"`
45864
45865	// Amazon Resource Name (ARN) of the device.
45866	//
45867	// DeviceArn is a required field
45868	DeviceArn *string `min:"20" type:"string" required:"true"`
45869
45870	// The name of the fleet the device belongs to.
45871	DeviceFleetName *string `min:"1" type:"string"`
45872
45873	// The unique identifier of the device.
45874	//
45875	// DeviceName is a required field
45876	DeviceName *string `min:"1" type:"string" required:"true"`
45877
45878	// The AWS Internet of Things (IoT) object thing name associated with the device..
45879	IotThingName *string `type:"string"`
45880
45881	// The last heartbeat received from the device.
45882	LatestHeartbeat *time.Time `type:"timestamp"`
45883
45884	// Models on the device.
45885	Models []*EdgeModelSummary `type:"list"`
45886
45887	// The timestamp of the last registration or de-reregistration.
45888	RegistrationTime *time.Time `type:"timestamp"`
45889}
45890
45891// String returns the string representation
45892func (s DeviceSummary) String() string {
45893	return awsutil.Prettify(s)
45894}
45895
45896// GoString returns the string representation
45897func (s DeviceSummary) GoString() string {
45898	return s.String()
45899}
45900
45901// SetDescription sets the Description field's value.
45902func (s *DeviceSummary) SetDescription(v string) *DeviceSummary {
45903	s.Description = &v
45904	return s
45905}
45906
45907// SetDeviceArn sets the DeviceArn field's value.
45908func (s *DeviceSummary) SetDeviceArn(v string) *DeviceSummary {
45909	s.DeviceArn = &v
45910	return s
45911}
45912
45913// SetDeviceFleetName sets the DeviceFleetName field's value.
45914func (s *DeviceSummary) SetDeviceFleetName(v string) *DeviceSummary {
45915	s.DeviceFleetName = &v
45916	return s
45917}
45918
45919// SetDeviceName sets the DeviceName field's value.
45920func (s *DeviceSummary) SetDeviceName(v string) *DeviceSummary {
45921	s.DeviceName = &v
45922	return s
45923}
45924
45925// SetIotThingName sets the IotThingName field's value.
45926func (s *DeviceSummary) SetIotThingName(v string) *DeviceSummary {
45927	s.IotThingName = &v
45928	return s
45929}
45930
45931// SetLatestHeartbeat sets the LatestHeartbeat field's value.
45932func (s *DeviceSummary) SetLatestHeartbeat(v time.Time) *DeviceSummary {
45933	s.LatestHeartbeat = &v
45934	return s
45935}
45936
45937// SetModels sets the Models field's value.
45938func (s *DeviceSummary) SetModels(v []*EdgeModelSummary) *DeviceSummary {
45939	s.Models = v
45940	return s
45941}
45942
45943// SetRegistrationTime sets the RegistrationTime field's value.
45944func (s *DeviceSummary) SetRegistrationTime(v time.Time) *DeviceSummary {
45945	s.RegistrationTime = &v
45946	return s
45947}
45948
45949type DisableSagemakerServicecatalogPortfolioInput struct {
45950	_ struct{} `type:"structure"`
45951}
45952
45953// String returns the string representation
45954func (s DisableSagemakerServicecatalogPortfolioInput) String() string {
45955	return awsutil.Prettify(s)
45956}
45957
45958// GoString returns the string representation
45959func (s DisableSagemakerServicecatalogPortfolioInput) GoString() string {
45960	return s.String()
45961}
45962
45963type DisableSagemakerServicecatalogPortfolioOutput struct {
45964	_ struct{} `type:"structure"`
45965}
45966
45967// String returns the string representation
45968func (s DisableSagemakerServicecatalogPortfolioOutput) String() string {
45969	return awsutil.Prettify(s)
45970}
45971
45972// GoString returns the string representation
45973func (s DisableSagemakerServicecatalogPortfolioOutput) GoString() string {
45974	return s.String()
45975}
45976
45977type DisassociateTrialComponentInput struct {
45978	_ struct{} `type:"structure"`
45979
45980	// The name of the component to disassociate from the trial.
45981	//
45982	// TrialComponentName is a required field
45983	TrialComponentName *string `min:"1" type:"string" required:"true"`
45984
45985	// The name of the trial to disassociate from.
45986	//
45987	// TrialName is a required field
45988	TrialName *string `min:"1" type:"string" required:"true"`
45989}
45990
45991// String returns the string representation
45992func (s DisassociateTrialComponentInput) String() string {
45993	return awsutil.Prettify(s)
45994}
45995
45996// GoString returns the string representation
45997func (s DisassociateTrialComponentInput) GoString() string {
45998	return s.String()
45999}
46000
46001// Validate inspects the fields of the type to determine if they are valid.
46002func (s *DisassociateTrialComponentInput) Validate() error {
46003	invalidParams := request.ErrInvalidParams{Context: "DisassociateTrialComponentInput"}
46004	if s.TrialComponentName == nil {
46005		invalidParams.Add(request.NewErrParamRequired("TrialComponentName"))
46006	}
46007	if s.TrialComponentName != nil && len(*s.TrialComponentName) < 1 {
46008		invalidParams.Add(request.NewErrParamMinLen("TrialComponentName", 1))
46009	}
46010	if s.TrialName == nil {
46011		invalidParams.Add(request.NewErrParamRequired("TrialName"))
46012	}
46013	if s.TrialName != nil && len(*s.TrialName) < 1 {
46014		invalidParams.Add(request.NewErrParamMinLen("TrialName", 1))
46015	}
46016
46017	if invalidParams.Len() > 0 {
46018		return invalidParams
46019	}
46020	return nil
46021}
46022
46023// SetTrialComponentName sets the TrialComponentName field's value.
46024func (s *DisassociateTrialComponentInput) SetTrialComponentName(v string) *DisassociateTrialComponentInput {
46025	s.TrialComponentName = &v
46026	return s
46027}
46028
46029// SetTrialName sets the TrialName field's value.
46030func (s *DisassociateTrialComponentInput) SetTrialName(v string) *DisassociateTrialComponentInput {
46031	s.TrialName = &v
46032	return s
46033}
46034
46035type DisassociateTrialComponentOutput struct {
46036	_ struct{} `type:"structure"`
46037
46038	// The Amazon Resource Name (ARN) of the trial.
46039	TrialArn *string `type:"string"`
46040
46041	// The ARN of the trial component.
46042	TrialComponentArn *string `type:"string"`
46043}
46044
46045// String returns the string representation
46046func (s DisassociateTrialComponentOutput) String() string {
46047	return awsutil.Prettify(s)
46048}
46049
46050// GoString returns the string representation
46051func (s DisassociateTrialComponentOutput) GoString() string {
46052	return s.String()
46053}
46054
46055// SetTrialArn sets the TrialArn field's value.
46056func (s *DisassociateTrialComponentOutput) SetTrialArn(v string) *DisassociateTrialComponentOutput {
46057	s.TrialArn = &v
46058	return s
46059}
46060
46061// SetTrialComponentArn sets the TrialComponentArn field's value.
46062func (s *DisassociateTrialComponentOutput) SetTrialComponentArn(v string) *DisassociateTrialComponentOutput {
46063	s.TrialComponentArn = &v
46064	return s
46065}
46066
46067// The domain's details.
46068type DomainDetails struct {
46069	_ struct{} `type:"structure"`
46070
46071	// The creation time.
46072	CreationTime *time.Time `type:"timestamp"`
46073
46074	// The domain's Amazon Resource Name (ARN).
46075	DomainArn *string `type:"string"`
46076
46077	// The domain ID.
46078	DomainId *string `type:"string"`
46079
46080	// The domain name.
46081	DomainName *string `type:"string"`
46082
46083	// The last modified time.
46084	LastModifiedTime *time.Time `type:"timestamp"`
46085
46086	// The status.
46087	Status *string `type:"string" enum:"DomainStatus"`
46088
46089	// The domain's URL.
46090	Url *string `type:"string"`
46091}
46092
46093// String returns the string representation
46094func (s DomainDetails) String() string {
46095	return awsutil.Prettify(s)
46096}
46097
46098// GoString returns the string representation
46099func (s DomainDetails) GoString() string {
46100	return s.String()
46101}
46102
46103// SetCreationTime sets the CreationTime field's value.
46104func (s *DomainDetails) SetCreationTime(v time.Time) *DomainDetails {
46105	s.CreationTime = &v
46106	return s
46107}
46108
46109// SetDomainArn sets the DomainArn field's value.
46110func (s *DomainDetails) SetDomainArn(v string) *DomainDetails {
46111	s.DomainArn = &v
46112	return s
46113}
46114
46115// SetDomainId sets the DomainId field's value.
46116func (s *DomainDetails) SetDomainId(v string) *DomainDetails {
46117	s.DomainId = &v
46118	return s
46119}
46120
46121// SetDomainName sets the DomainName field's value.
46122func (s *DomainDetails) SetDomainName(v string) *DomainDetails {
46123	s.DomainName = &v
46124	return s
46125}
46126
46127// SetLastModifiedTime sets the LastModifiedTime field's value.
46128func (s *DomainDetails) SetLastModifiedTime(v time.Time) *DomainDetails {
46129	s.LastModifiedTime = &v
46130	return s
46131}
46132
46133// SetStatus sets the Status field's value.
46134func (s *DomainDetails) SetStatus(v string) *DomainDetails {
46135	s.Status = &v
46136	return s
46137}
46138
46139// SetUrl sets the Url field's value.
46140func (s *DomainDetails) SetUrl(v string) *DomainDetails {
46141	s.Url = &v
46142	return s
46143}
46144
46145// The model on the edge device.
46146type EdgeModel struct {
46147	_ struct{} `type:"structure"`
46148
46149	// The timestamp of the last inference that was made.
46150	LatestInference *time.Time `type:"timestamp"`
46151
46152	// The timestamp of the last data sample taken.
46153	LatestSampleTime *time.Time `type:"timestamp"`
46154
46155	// The name of the model.
46156	//
46157	// ModelName is a required field
46158	ModelName *string `min:"1" type:"string" required:"true"`
46159
46160	// The model version.
46161	//
46162	// ModelVersion is a required field
46163	ModelVersion *string `min:"1" type:"string" required:"true"`
46164}
46165
46166// String returns the string representation
46167func (s EdgeModel) String() string {
46168	return awsutil.Prettify(s)
46169}
46170
46171// GoString returns the string representation
46172func (s EdgeModel) GoString() string {
46173	return s.String()
46174}
46175
46176// SetLatestInference sets the LatestInference field's value.
46177func (s *EdgeModel) SetLatestInference(v time.Time) *EdgeModel {
46178	s.LatestInference = &v
46179	return s
46180}
46181
46182// SetLatestSampleTime sets the LatestSampleTime field's value.
46183func (s *EdgeModel) SetLatestSampleTime(v time.Time) *EdgeModel {
46184	s.LatestSampleTime = &v
46185	return s
46186}
46187
46188// SetModelName sets the ModelName field's value.
46189func (s *EdgeModel) SetModelName(v string) *EdgeModel {
46190	s.ModelName = &v
46191	return s
46192}
46193
46194// SetModelVersion sets the ModelVersion field's value.
46195func (s *EdgeModel) SetModelVersion(v string) *EdgeModel {
46196	s.ModelVersion = &v
46197	return s
46198}
46199
46200// Status of edge devices with this model.
46201type EdgeModelStat struct {
46202	_ struct{} `type:"structure"`
46203
46204	// The number of devices that have this model version, a heart beat, and are
46205	// currently running.
46206	//
46207	// ActiveDeviceCount is a required field
46208	ActiveDeviceCount *int64 `type:"long" required:"true"`
46209
46210	// The number of devices that have this model version and have a heart beat.
46211	//
46212	// ConnectedDeviceCount is a required field
46213	ConnectedDeviceCount *int64 `type:"long" required:"true"`
46214
46215	// The name of the model.
46216	//
46217	// ModelName is a required field
46218	ModelName *string `min:"1" type:"string" required:"true"`
46219
46220	// The model version.
46221	//
46222	// ModelVersion is a required field
46223	ModelVersion *string `min:"1" type:"string" required:"true"`
46224
46225	// The number of devices that have this model version and do not have a heart
46226	// beat.
46227	//
46228	// OfflineDeviceCount is a required field
46229	OfflineDeviceCount *int64 `type:"long" required:"true"`
46230
46231	// The number of devices with this model version and are producing sample data.
46232	//
46233	// SamplingDeviceCount is a required field
46234	SamplingDeviceCount *int64 `type:"long" required:"true"`
46235}
46236
46237// String returns the string representation
46238func (s EdgeModelStat) String() string {
46239	return awsutil.Prettify(s)
46240}
46241
46242// GoString returns the string representation
46243func (s EdgeModelStat) GoString() string {
46244	return s.String()
46245}
46246
46247// SetActiveDeviceCount sets the ActiveDeviceCount field's value.
46248func (s *EdgeModelStat) SetActiveDeviceCount(v int64) *EdgeModelStat {
46249	s.ActiveDeviceCount = &v
46250	return s
46251}
46252
46253// SetConnectedDeviceCount sets the ConnectedDeviceCount field's value.
46254func (s *EdgeModelStat) SetConnectedDeviceCount(v int64) *EdgeModelStat {
46255	s.ConnectedDeviceCount = &v
46256	return s
46257}
46258
46259// SetModelName sets the ModelName field's value.
46260func (s *EdgeModelStat) SetModelName(v string) *EdgeModelStat {
46261	s.ModelName = &v
46262	return s
46263}
46264
46265// SetModelVersion sets the ModelVersion field's value.
46266func (s *EdgeModelStat) SetModelVersion(v string) *EdgeModelStat {
46267	s.ModelVersion = &v
46268	return s
46269}
46270
46271// SetOfflineDeviceCount sets the OfflineDeviceCount field's value.
46272func (s *EdgeModelStat) SetOfflineDeviceCount(v int64) *EdgeModelStat {
46273	s.OfflineDeviceCount = &v
46274	return s
46275}
46276
46277// SetSamplingDeviceCount sets the SamplingDeviceCount field's value.
46278func (s *EdgeModelStat) SetSamplingDeviceCount(v int64) *EdgeModelStat {
46279	s.SamplingDeviceCount = &v
46280	return s
46281}
46282
46283// Summary of model on edge device.
46284type EdgeModelSummary struct {
46285	_ struct{} `type:"structure"`
46286
46287	// The name of the model.
46288	//
46289	// ModelName is a required field
46290	ModelName *string `min:"1" type:"string" required:"true"`
46291
46292	// The version model.
46293	//
46294	// ModelVersion is a required field
46295	ModelVersion *string `min:"1" type:"string" required:"true"`
46296}
46297
46298// String returns the string representation
46299func (s EdgeModelSummary) String() string {
46300	return awsutil.Prettify(s)
46301}
46302
46303// GoString returns the string representation
46304func (s EdgeModelSummary) GoString() string {
46305	return s.String()
46306}
46307
46308// SetModelName sets the ModelName field's value.
46309func (s *EdgeModelSummary) SetModelName(v string) *EdgeModelSummary {
46310	s.ModelName = &v
46311	return s
46312}
46313
46314// SetModelVersion sets the ModelVersion field's value.
46315func (s *EdgeModelSummary) SetModelVersion(v string) *EdgeModelSummary {
46316	s.ModelVersion = &v
46317	return s
46318}
46319
46320// The output configuration.
46321type EdgeOutputConfig struct {
46322	_ struct{} `type:"structure"`
46323
46324	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
46325	// encrypt data on the storage volume after compilation job. If you don't provide
46326	// a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon S3 for
46327	// your role's account.
46328	KmsKeyId *string `type:"string"`
46329
46330	// The Amazon Simple Storage (S3) bucker URI.
46331	//
46332	// S3OutputLocation is a required field
46333	S3OutputLocation *string `type:"string" required:"true"`
46334}
46335
46336// String returns the string representation
46337func (s EdgeOutputConfig) String() string {
46338	return awsutil.Prettify(s)
46339}
46340
46341// GoString returns the string representation
46342func (s EdgeOutputConfig) GoString() string {
46343	return s.String()
46344}
46345
46346// Validate inspects the fields of the type to determine if they are valid.
46347func (s *EdgeOutputConfig) Validate() error {
46348	invalidParams := request.ErrInvalidParams{Context: "EdgeOutputConfig"}
46349	if s.S3OutputLocation == nil {
46350		invalidParams.Add(request.NewErrParamRequired("S3OutputLocation"))
46351	}
46352
46353	if invalidParams.Len() > 0 {
46354		return invalidParams
46355	}
46356	return nil
46357}
46358
46359// SetKmsKeyId sets the KmsKeyId field's value.
46360func (s *EdgeOutputConfig) SetKmsKeyId(v string) *EdgeOutputConfig {
46361	s.KmsKeyId = &v
46362	return s
46363}
46364
46365// SetS3OutputLocation sets the S3OutputLocation field's value.
46366func (s *EdgeOutputConfig) SetS3OutputLocation(v string) *EdgeOutputConfig {
46367	s.S3OutputLocation = &v
46368	return s
46369}
46370
46371// Summary of edge packaging job.
46372type EdgePackagingJobSummary struct {
46373	_ struct{} `type:"structure"`
46374
46375	// The name of the SageMaker Neo compilation job.
46376	CompilationJobName *string `min:"1" type:"string"`
46377
46378	// The timestamp of when the job was created.
46379	CreationTime *time.Time `type:"timestamp"`
46380
46381	// The Amazon Resource Name (ARN) of the edge packaging job.
46382	//
46383	// EdgePackagingJobArn is a required field
46384	EdgePackagingJobArn *string `min:"20" type:"string" required:"true"`
46385
46386	// The name of the edge packaging job.
46387	//
46388	// EdgePackagingJobName is a required field
46389	EdgePackagingJobName *string `min:"1" type:"string" required:"true"`
46390
46391	// The status of the edge packaging job.
46392	//
46393	// EdgePackagingJobStatus is a required field
46394	EdgePackagingJobStatus *string `type:"string" required:"true" enum:"EdgePackagingJobStatus"`
46395
46396	// The timestamp of when the edge packaging job was last updated.
46397	LastModifiedTime *time.Time `type:"timestamp"`
46398
46399	// The name of the model.
46400	ModelName *string `min:"1" type:"string"`
46401
46402	// The version of the model.
46403	ModelVersion *string `min:"1" type:"string"`
46404}
46405
46406// String returns the string representation
46407func (s EdgePackagingJobSummary) String() string {
46408	return awsutil.Prettify(s)
46409}
46410
46411// GoString returns the string representation
46412func (s EdgePackagingJobSummary) GoString() string {
46413	return s.String()
46414}
46415
46416// SetCompilationJobName sets the CompilationJobName field's value.
46417func (s *EdgePackagingJobSummary) SetCompilationJobName(v string) *EdgePackagingJobSummary {
46418	s.CompilationJobName = &v
46419	return s
46420}
46421
46422// SetCreationTime sets the CreationTime field's value.
46423func (s *EdgePackagingJobSummary) SetCreationTime(v time.Time) *EdgePackagingJobSummary {
46424	s.CreationTime = &v
46425	return s
46426}
46427
46428// SetEdgePackagingJobArn sets the EdgePackagingJobArn field's value.
46429func (s *EdgePackagingJobSummary) SetEdgePackagingJobArn(v string) *EdgePackagingJobSummary {
46430	s.EdgePackagingJobArn = &v
46431	return s
46432}
46433
46434// SetEdgePackagingJobName sets the EdgePackagingJobName field's value.
46435func (s *EdgePackagingJobSummary) SetEdgePackagingJobName(v string) *EdgePackagingJobSummary {
46436	s.EdgePackagingJobName = &v
46437	return s
46438}
46439
46440// SetEdgePackagingJobStatus sets the EdgePackagingJobStatus field's value.
46441func (s *EdgePackagingJobSummary) SetEdgePackagingJobStatus(v string) *EdgePackagingJobSummary {
46442	s.EdgePackagingJobStatus = &v
46443	return s
46444}
46445
46446// SetLastModifiedTime sets the LastModifiedTime field's value.
46447func (s *EdgePackagingJobSummary) SetLastModifiedTime(v time.Time) *EdgePackagingJobSummary {
46448	s.LastModifiedTime = &v
46449	return s
46450}
46451
46452// SetModelName sets the ModelName field's value.
46453func (s *EdgePackagingJobSummary) SetModelName(v string) *EdgePackagingJobSummary {
46454	s.ModelName = &v
46455	return s
46456}
46457
46458// SetModelVersion sets the ModelVersion field's value.
46459func (s *EdgePackagingJobSummary) SetModelVersion(v string) *EdgePackagingJobSummary {
46460	s.ModelVersion = &v
46461	return s
46462}
46463
46464type EnableSagemakerServicecatalogPortfolioInput struct {
46465	_ struct{} `type:"structure"`
46466}
46467
46468// String returns the string representation
46469func (s EnableSagemakerServicecatalogPortfolioInput) String() string {
46470	return awsutil.Prettify(s)
46471}
46472
46473// GoString returns the string representation
46474func (s EnableSagemakerServicecatalogPortfolioInput) GoString() string {
46475	return s.String()
46476}
46477
46478type EnableSagemakerServicecatalogPortfolioOutput struct {
46479	_ struct{} `type:"structure"`
46480}
46481
46482// String returns the string representation
46483func (s EnableSagemakerServicecatalogPortfolioOutput) String() string {
46484	return awsutil.Prettify(s)
46485}
46486
46487// GoString returns the string representation
46488func (s EnableSagemakerServicecatalogPortfolioOutput) GoString() string {
46489	return s.String()
46490}
46491
46492// A hosted endpoint for real-time inference.
46493type Endpoint struct {
46494	_ struct{} `type:"structure"`
46495
46496	// The time that the endpoint was created.
46497	//
46498	// CreationTime is a required field
46499	CreationTime *time.Time `type:"timestamp" required:"true"`
46500
46501	DataCaptureConfig *DataCaptureConfigSummary `type:"structure"`
46502
46503	// The Amazon Resource Name (ARN) of the endpoint.
46504	//
46505	// EndpointArn is a required field
46506	EndpointArn *string `min:"20" type:"string" required:"true"`
46507
46508	// The endpoint configuration associated with the endpoint.
46509	//
46510	// EndpointConfigName is a required field
46511	EndpointConfigName *string `type:"string" required:"true"`
46512
46513	// The name of the endpoint.
46514	//
46515	// EndpointName is a required field
46516	EndpointName *string `type:"string" required:"true"`
46517
46518	// The status of the endpoint.
46519	//
46520	// EndpointStatus is a required field
46521	EndpointStatus *string `type:"string" required:"true" enum:"EndpointStatus"`
46522
46523	// If the endpoint failed, the reason it failed.
46524	FailureReason *string `type:"string"`
46525
46526	// The last time the endpoint was modified.
46527	//
46528	// LastModifiedTime is a required field
46529	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
46530
46531	// A list of monitoring schedules for the endpoint. For information about model
46532	// monitoring, see Amazon SageMaker Model Monitor (https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor.html).
46533	MonitoringSchedules []*MonitoringSchedule `type:"list"`
46534
46535	// A list of the production variants hosted on the endpoint. Each production
46536	// variant is a model.
46537	ProductionVariants []*ProductionVariantSummary `min:"1" type:"list"`
46538
46539	// A list of the tags associated with the endpoint. For more information, see
46540	// Tagging AWS resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html)
46541	// in the AWS General Reference Guide.
46542	Tags []*Tag `type:"list"`
46543}
46544
46545// String returns the string representation
46546func (s Endpoint) String() string {
46547	return awsutil.Prettify(s)
46548}
46549
46550// GoString returns the string representation
46551func (s Endpoint) GoString() string {
46552	return s.String()
46553}
46554
46555// SetCreationTime sets the CreationTime field's value.
46556func (s *Endpoint) SetCreationTime(v time.Time) *Endpoint {
46557	s.CreationTime = &v
46558	return s
46559}
46560
46561// SetDataCaptureConfig sets the DataCaptureConfig field's value.
46562func (s *Endpoint) SetDataCaptureConfig(v *DataCaptureConfigSummary) *Endpoint {
46563	s.DataCaptureConfig = v
46564	return s
46565}
46566
46567// SetEndpointArn sets the EndpointArn field's value.
46568func (s *Endpoint) SetEndpointArn(v string) *Endpoint {
46569	s.EndpointArn = &v
46570	return s
46571}
46572
46573// SetEndpointConfigName sets the EndpointConfigName field's value.
46574func (s *Endpoint) SetEndpointConfigName(v string) *Endpoint {
46575	s.EndpointConfigName = &v
46576	return s
46577}
46578
46579// SetEndpointName sets the EndpointName field's value.
46580func (s *Endpoint) SetEndpointName(v string) *Endpoint {
46581	s.EndpointName = &v
46582	return s
46583}
46584
46585// SetEndpointStatus sets the EndpointStatus field's value.
46586func (s *Endpoint) SetEndpointStatus(v string) *Endpoint {
46587	s.EndpointStatus = &v
46588	return s
46589}
46590
46591// SetFailureReason sets the FailureReason field's value.
46592func (s *Endpoint) SetFailureReason(v string) *Endpoint {
46593	s.FailureReason = &v
46594	return s
46595}
46596
46597// SetLastModifiedTime sets the LastModifiedTime field's value.
46598func (s *Endpoint) SetLastModifiedTime(v time.Time) *Endpoint {
46599	s.LastModifiedTime = &v
46600	return s
46601}
46602
46603// SetMonitoringSchedules sets the MonitoringSchedules field's value.
46604func (s *Endpoint) SetMonitoringSchedules(v []*MonitoringSchedule) *Endpoint {
46605	s.MonitoringSchedules = v
46606	return s
46607}
46608
46609// SetProductionVariants sets the ProductionVariants field's value.
46610func (s *Endpoint) SetProductionVariants(v []*ProductionVariantSummary) *Endpoint {
46611	s.ProductionVariants = v
46612	return s
46613}
46614
46615// SetTags sets the Tags field's value.
46616func (s *Endpoint) SetTags(v []*Tag) *Endpoint {
46617	s.Tags = v
46618	return s
46619}
46620
46621// Provides summary information for an endpoint configuration.
46622type EndpointConfigSummary struct {
46623	_ struct{} `type:"structure"`
46624
46625	// A timestamp that shows when the endpoint configuration was created.
46626	//
46627	// CreationTime is a required field
46628	CreationTime *time.Time `type:"timestamp" required:"true"`
46629
46630	// The Amazon Resource Name (ARN) of the endpoint configuration.
46631	//
46632	// EndpointConfigArn is a required field
46633	EndpointConfigArn *string `min:"20" type:"string" required:"true"`
46634
46635	// The name of the endpoint configuration.
46636	//
46637	// EndpointConfigName is a required field
46638	EndpointConfigName *string `type:"string" required:"true"`
46639}
46640
46641// String returns the string representation
46642func (s EndpointConfigSummary) String() string {
46643	return awsutil.Prettify(s)
46644}
46645
46646// GoString returns the string representation
46647func (s EndpointConfigSummary) GoString() string {
46648	return s.String()
46649}
46650
46651// SetCreationTime sets the CreationTime field's value.
46652func (s *EndpointConfigSummary) SetCreationTime(v time.Time) *EndpointConfigSummary {
46653	s.CreationTime = &v
46654	return s
46655}
46656
46657// SetEndpointConfigArn sets the EndpointConfigArn field's value.
46658func (s *EndpointConfigSummary) SetEndpointConfigArn(v string) *EndpointConfigSummary {
46659	s.EndpointConfigArn = &v
46660	return s
46661}
46662
46663// SetEndpointConfigName sets the EndpointConfigName field's value.
46664func (s *EndpointConfigSummary) SetEndpointConfigName(v string) *EndpointConfigSummary {
46665	s.EndpointConfigName = &v
46666	return s
46667}
46668
46669// Input object for the endpoint
46670type EndpointInput struct {
46671	_ struct{} `type:"structure"`
46672
46673	// If specified, monitoring jobs substract this time from the end time. For
46674	// information about using offsets for scheduling monitoring jobs, see Schedule
46675	// Model Quality Monitoring Jobs (https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor-model-quality-schedule.html).
46676	EndTimeOffset *string `min:"1" type:"string"`
46677
46678	// An endpoint in customer's account which has enabled DataCaptureConfig enabled.
46679	//
46680	// EndpointName is a required field
46681	EndpointName *string `type:"string" required:"true"`
46682
46683	// The attributes of the input data that are the input features.
46684	FeaturesAttribute *string `type:"string"`
46685
46686	// The attribute of the input data that represents the ground truth label.
46687	InferenceAttribute *string `type:"string"`
46688
46689	// Path to the filesystem where the endpoint data is available to the container.
46690	//
46691	// LocalPath is a required field
46692	LocalPath *string `type:"string" required:"true"`
46693
46694	// In a classification problem, the attribute that represents the class probability.
46695	ProbabilityAttribute *string `type:"string"`
46696
46697	// The threshold for the class probability to be evaluated as a positive result.
46698	ProbabilityThresholdAttribute *float64 `type:"double"`
46699
46700	// Whether input data distributed in Amazon S3 is fully replicated or sharded
46701	// by an S3 key. Defauts to FullyReplicated
46702	S3DataDistributionType *string `type:"string" enum:"ProcessingS3DataDistributionType"`
46703
46704	// Whether the Pipe or File is used as the input mode for transfering data for
46705	// the monitoring job. Pipe mode is recommended for large datasets. File mode
46706	// is useful for small files that fit in memory. Defaults to File.
46707	S3InputMode *string `type:"string" enum:"ProcessingS3InputMode"`
46708
46709	// If specified, monitoring jobs substract this time from the start time. For
46710	// information about using offsets for scheduling monitoring jobs, see Schedule
46711	// Model Quality Monitoring Jobs (https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor-model-quality-schedule.html).
46712	StartTimeOffset *string `min:"1" type:"string"`
46713}
46714
46715// String returns the string representation
46716func (s EndpointInput) String() string {
46717	return awsutil.Prettify(s)
46718}
46719
46720// GoString returns the string representation
46721func (s EndpointInput) GoString() string {
46722	return s.String()
46723}
46724
46725// Validate inspects the fields of the type to determine if they are valid.
46726func (s *EndpointInput) Validate() error {
46727	invalidParams := request.ErrInvalidParams{Context: "EndpointInput"}
46728	if s.EndTimeOffset != nil && len(*s.EndTimeOffset) < 1 {
46729		invalidParams.Add(request.NewErrParamMinLen("EndTimeOffset", 1))
46730	}
46731	if s.EndpointName == nil {
46732		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
46733	}
46734	if s.LocalPath == nil {
46735		invalidParams.Add(request.NewErrParamRequired("LocalPath"))
46736	}
46737	if s.StartTimeOffset != nil && len(*s.StartTimeOffset) < 1 {
46738		invalidParams.Add(request.NewErrParamMinLen("StartTimeOffset", 1))
46739	}
46740
46741	if invalidParams.Len() > 0 {
46742		return invalidParams
46743	}
46744	return nil
46745}
46746
46747// SetEndTimeOffset sets the EndTimeOffset field's value.
46748func (s *EndpointInput) SetEndTimeOffset(v string) *EndpointInput {
46749	s.EndTimeOffset = &v
46750	return s
46751}
46752
46753// SetEndpointName sets the EndpointName field's value.
46754func (s *EndpointInput) SetEndpointName(v string) *EndpointInput {
46755	s.EndpointName = &v
46756	return s
46757}
46758
46759// SetFeaturesAttribute sets the FeaturesAttribute field's value.
46760func (s *EndpointInput) SetFeaturesAttribute(v string) *EndpointInput {
46761	s.FeaturesAttribute = &v
46762	return s
46763}
46764
46765// SetInferenceAttribute sets the InferenceAttribute field's value.
46766func (s *EndpointInput) SetInferenceAttribute(v string) *EndpointInput {
46767	s.InferenceAttribute = &v
46768	return s
46769}
46770
46771// SetLocalPath sets the LocalPath field's value.
46772func (s *EndpointInput) SetLocalPath(v string) *EndpointInput {
46773	s.LocalPath = &v
46774	return s
46775}
46776
46777// SetProbabilityAttribute sets the ProbabilityAttribute field's value.
46778func (s *EndpointInput) SetProbabilityAttribute(v string) *EndpointInput {
46779	s.ProbabilityAttribute = &v
46780	return s
46781}
46782
46783// SetProbabilityThresholdAttribute sets the ProbabilityThresholdAttribute field's value.
46784func (s *EndpointInput) SetProbabilityThresholdAttribute(v float64) *EndpointInput {
46785	s.ProbabilityThresholdAttribute = &v
46786	return s
46787}
46788
46789// SetS3DataDistributionType sets the S3DataDistributionType field's value.
46790func (s *EndpointInput) SetS3DataDistributionType(v string) *EndpointInput {
46791	s.S3DataDistributionType = &v
46792	return s
46793}
46794
46795// SetS3InputMode sets the S3InputMode field's value.
46796func (s *EndpointInput) SetS3InputMode(v string) *EndpointInput {
46797	s.S3InputMode = &v
46798	return s
46799}
46800
46801// SetStartTimeOffset sets the StartTimeOffset field's value.
46802func (s *EndpointInput) SetStartTimeOffset(v string) *EndpointInput {
46803	s.StartTimeOffset = &v
46804	return s
46805}
46806
46807// Provides summary information for an endpoint.
46808type EndpointSummary struct {
46809	_ struct{} `type:"structure"`
46810
46811	// A timestamp that shows when the endpoint was created.
46812	//
46813	// CreationTime is a required field
46814	CreationTime *time.Time `type:"timestamp" required:"true"`
46815
46816	// The Amazon Resource Name (ARN) of the endpoint.
46817	//
46818	// EndpointArn is a required field
46819	EndpointArn *string `min:"20" type:"string" required:"true"`
46820
46821	// The name of the endpoint.
46822	//
46823	// EndpointName is a required field
46824	EndpointName *string `type:"string" required:"true"`
46825
46826	// The status of the endpoint.
46827	//
46828	//    * OutOfService: Endpoint is not available to take incoming requests.
46829	//
46830	//    * Creating: CreateEndpoint is executing.
46831	//
46832	//    * Updating: UpdateEndpoint or UpdateEndpointWeightsAndCapacities is executing.
46833	//
46834	//    * SystemUpdating: Endpoint is undergoing maintenance and cannot be updated
46835	//    or deleted or re-scaled until it has completed. This maintenance operation
46836	//    does not change any customer-specified values such as VPC config, KMS
46837	//    encryption, model, instance type, or instance count.
46838	//
46839	//    * RollingBack: Endpoint fails to scale up or down or change its variant
46840	//    weight and is in the process of rolling back to its previous configuration.
46841	//    Once the rollback completes, endpoint returns to an InService status.
46842	//    This transitional status only applies to an endpoint that has autoscaling
46843	//    enabled and is undergoing variant weight or capacity changes as part of
46844	//    an UpdateEndpointWeightsAndCapacities call or when the UpdateEndpointWeightsAndCapacities
46845	//    operation is called explicitly.
46846	//
46847	//    * InService: Endpoint is available to process incoming requests.
46848	//
46849	//    * Deleting: DeleteEndpoint is executing.
46850	//
46851	//    * Failed: Endpoint could not be created, updated, or re-scaled. Use DescribeEndpointOutput$FailureReason
46852	//    for information about the failure. DeleteEndpoint is the only operation
46853	//    that can be performed on a failed endpoint.
46854	//
46855	// To get a list of endpoints with a specified status, use the ListEndpointsInput$StatusEquals
46856	// filter.
46857	//
46858	// EndpointStatus is a required field
46859	EndpointStatus *string `type:"string" required:"true" enum:"EndpointStatus"`
46860
46861	// A timestamp that shows when the endpoint was last modified.
46862	//
46863	// LastModifiedTime is a required field
46864	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
46865}
46866
46867// String returns the string representation
46868func (s EndpointSummary) String() string {
46869	return awsutil.Prettify(s)
46870}
46871
46872// GoString returns the string representation
46873func (s EndpointSummary) GoString() string {
46874	return s.String()
46875}
46876
46877// SetCreationTime sets the CreationTime field's value.
46878func (s *EndpointSummary) SetCreationTime(v time.Time) *EndpointSummary {
46879	s.CreationTime = &v
46880	return s
46881}
46882
46883// SetEndpointArn sets the EndpointArn field's value.
46884func (s *EndpointSummary) SetEndpointArn(v string) *EndpointSummary {
46885	s.EndpointArn = &v
46886	return s
46887}
46888
46889// SetEndpointName sets the EndpointName field's value.
46890func (s *EndpointSummary) SetEndpointName(v string) *EndpointSummary {
46891	s.EndpointName = &v
46892	return s
46893}
46894
46895// SetEndpointStatus sets the EndpointStatus field's value.
46896func (s *EndpointSummary) SetEndpointStatus(v string) *EndpointSummary {
46897	s.EndpointStatus = &v
46898	return s
46899}
46900
46901// SetLastModifiedTime sets the LastModifiedTime field's value.
46902func (s *EndpointSummary) SetLastModifiedTime(v time.Time) *EndpointSummary {
46903	s.LastModifiedTime = &v
46904	return s
46905}
46906
46907// The properties of an experiment as returned by the Search API.
46908type Experiment struct {
46909	_ struct{} `type:"structure"`
46910
46911	// Information about the user who created or modified an experiment, trial,
46912	// or trial component.
46913	CreatedBy *UserContext `type:"structure"`
46914
46915	// When the experiment was created.
46916	CreationTime *time.Time `type:"timestamp"`
46917
46918	// The description of the experiment.
46919	Description *string `type:"string"`
46920
46921	// The name of the experiment as displayed. If DisplayName isn't specified,
46922	// ExperimentName is displayed.
46923	DisplayName *string `min:"1" type:"string"`
46924
46925	// The Amazon Resource Name (ARN) of the experiment.
46926	ExperimentArn *string `type:"string"`
46927
46928	// The name of the experiment.
46929	ExperimentName *string `min:"1" type:"string"`
46930
46931	// Information about the user who created or modified an experiment, trial,
46932	// or trial component.
46933	LastModifiedBy *UserContext `type:"structure"`
46934
46935	// When the experiment was last modified.
46936	LastModifiedTime *time.Time `type:"timestamp"`
46937
46938	// The source of the experiment.
46939	Source *ExperimentSource `type:"structure"`
46940
46941	// The list of tags that are associated with the experiment. You can use Search
46942	// API to search on the tags.
46943	Tags []*Tag `type:"list"`
46944}
46945
46946// String returns the string representation
46947func (s Experiment) String() string {
46948	return awsutil.Prettify(s)
46949}
46950
46951// GoString returns the string representation
46952func (s Experiment) GoString() string {
46953	return s.String()
46954}
46955
46956// SetCreatedBy sets the CreatedBy field's value.
46957func (s *Experiment) SetCreatedBy(v *UserContext) *Experiment {
46958	s.CreatedBy = v
46959	return s
46960}
46961
46962// SetCreationTime sets the CreationTime field's value.
46963func (s *Experiment) SetCreationTime(v time.Time) *Experiment {
46964	s.CreationTime = &v
46965	return s
46966}
46967
46968// SetDescription sets the Description field's value.
46969func (s *Experiment) SetDescription(v string) *Experiment {
46970	s.Description = &v
46971	return s
46972}
46973
46974// SetDisplayName sets the DisplayName field's value.
46975func (s *Experiment) SetDisplayName(v string) *Experiment {
46976	s.DisplayName = &v
46977	return s
46978}
46979
46980// SetExperimentArn sets the ExperimentArn field's value.
46981func (s *Experiment) SetExperimentArn(v string) *Experiment {
46982	s.ExperimentArn = &v
46983	return s
46984}
46985
46986// SetExperimentName sets the ExperimentName field's value.
46987func (s *Experiment) SetExperimentName(v string) *Experiment {
46988	s.ExperimentName = &v
46989	return s
46990}
46991
46992// SetLastModifiedBy sets the LastModifiedBy field's value.
46993func (s *Experiment) SetLastModifiedBy(v *UserContext) *Experiment {
46994	s.LastModifiedBy = v
46995	return s
46996}
46997
46998// SetLastModifiedTime sets the LastModifiedTime field's value.
46999func (s *Experiment) SetLastModifiedTime(v time.Time) *Experiment {
47000	s.LastModifiedTime = &v
47001	return s
47002}
47003
47004// SetSource sets the Source field's value.
47005func (s *Experiment) SetSource(v *ExperimentSource) *Experiment {
47006	s.Source = v
47007	return s
47008}
47009
47010// SetTags sets the Tags field's value.
47011func (s *Experiment) SetTags(v []*Tag) *Experiment {
47012	s.Tags = v
47013	return s
47014}
47015
47016// Associates a SageMaker job as a trial component with an experiment and trial.
47017// Specified when you call the following APIs:
47018//
47019//    * CreateProcessingJob
47020//
47021//    * CreateTrainingJob
47022//
47023//    * CreateTransformJob
47024type ExperimentConfig struct {
47025	_ struct{} `type:"structure"`
47026
47027	// The name of an existing experiment to associate the trial component with.
47028	ExperimentName *string `min:"1" type:"string"`
47029
47030	// The display name for the trial component. If this key isn't specified, the
47031	// display name is the trial component name.
47032	TrialComponentDisplayName *string `min:"1" type:"string"`
47033
47034	// The name of an existing trial to associate the trial component with. If not
47035	// specified, a new trial is created.
47036	TrialName *string `min:"1" type:"string"`
47037}
47038
47039// String returns the string representation
47040func (s ExperimentConfig) String() string {
47041	return awsutil.Prettify(s)
47042}
47043
47044// GoString returns the string representation
47045func (s ExperimentConfig) GoString() string {
47046	return s.String()
47047}
47048
47049// Validate inspects the fields of the type to determine if they are valid.
47050func (s *ExperimentConfig) Validate() error {
47051	invalidParams := request.ErrInvalidParams{Context: "ExperimentConfig"}
47052	if s.ExperimentName != nil && len(*s.ExperimentName) < 1 {
47053		invalidParams.Add(request.NewErrParamMinLen("ExperimentName", 1))
47054	}
47055	if s.TrialComponentDisplayName != nil && len(*s.TrialComponentDisplayName) < 1 {
47056		invalidParams.Add(request.NewErrParamMinLen("TrialComponentDisplayName", 1))
47057	}
47058	if s.TrialName != nil && len(*s.TrialName) < 1 {
47059		invalidParams.Add(request.NewErrParamMinLen("TrialName", 1))
47060	}
47061
47062	if invalidParams.Len() > 0 {
47063		return invalidParams
47064	}
47065	return nil
47066}
47067
47068// SetExperimentName sets the ExperimentName field's value.
47069func (s *ExperimentConfig) SetExperimentName(v string) *ExperimentConfig {
47070	s.ExperimentName = &v
47071	return s
47072}
47073
47074// SetTrialComponentDisplayName sets the TrialComponentDisplayName field's value.
47075func (s *ExperimentConfig) SetTrialComponentDisplayName(v string) *ExperimentConfig {
47076	s.TrialComponentDisplayName = &v
47077	return s
47078}
47079
47080// SetTrialName sets the TrialName field's value.
47081func (s *ExperimentConfig) SetTrialName(v string) *ExperimentConfig {
47082	s.TrialName = &v
47083	return s
47084}
47085
47086// The source of the experiment.
47087type ExperimentSource struct {
47088	_ struct{} `type:"structure"`
47089
47090	// The Amazon Resource Name (ARN) of the source.
47091	//
47092	// SourceArn is a required field
47093	SourceArn *string `type:"string" required:"true"`
47094
47095	// The source type.
47096	SourceType *string `type:"string"`
47097}
47098
47099// String returns the string representation
47100func (s ExperimentSource) String() string {
47101	return awsutil.Prettify(s)
47102}
47103
47104// GoString returns the string representation
47105func (s ExperimentSource) GoString() string {
47106	return s.String()
47107}
47108
47109// SetSourceArn sets the SourceArn field's value.
47110func (s *ExperimentSource) SetSourceArn(v string) *ExperimentSource {
47111	s.SourceArn = &v
47112	return s
47113}
47114
47115// SetSourceType sets the SourceType field's value.
47116func (s *ExperimentSource) SetSourceType(v string) *ExperimentSource {
47117	s.SourceType = &v
47118	return s
47119}
47120
47121// A summary of the properties of an experiment. To get the complete set of
47122// properties, call the DescribeExperiment API and provide the ExperimentName.
47123type ExperimentSummary struct {
47124	_ struct{} `type:"structure"`
47125
47126	// When the experiment was created.
47127	CreationTime *time.Time `type:"timestamp"`
47128
47129	// The name of the experiment as displayed. If DisplayName isn't specified,
47130	// ExperimentName is displayed.
47131	DisplayName *string `min:"1" type:"string"`
47132
47133	// The Amazon Resource Name (ARN) of the experiment.
47134	ExperimentArn *string `type:"string"`
47135
47136	// The name of the experiment.
47137	ExperimentName *string `min:"1" type:"string"`
47138
47139	// The source of the experiment.
47140	ExperimentSource *ExperimentSource `type:"structure"`
47141
47142	// When the experiment was last modified.
47143	LastModifiedTime *time.Time `type:"timestamp"`
47144}
47145
47146// String returns the string representation
47147func (s ExperimentSummary) String() string {
47148	return awsutil.Prettify(s)
47149}
47150
47151// GoString returns the string representation
47152func (s ExperimentSummary) GoString() string {
47153	return s.String()
47154}
47155
47156// SetCreationTime sets the CreationTime field's value.
47157func (s *ExperimentSummary) SetCreationTime(v time.Time) *ExperimentSummary {
47158	s.CreationTime = &v
47159	return s
47160}
47161
47162// SetDisplayName sets the DisplayName field's value.
47163func (s *ExperimentSummary) SetDisplayName(v string) *ExperimentSummary {
47164	s.DisplayName = &v
47165	return s
47166}
47167
47168// SetExperimentArn sets the ExperimentArn field's value.
47169func (s *ExperimentSummary) SetExperimentArn(v string) *ExperimentSummary {
47170	s.ExperimentArn = &v
47171	return s
47172}
47173
47174// SetExperimentName sets the ExperimentName field's value.
47175func (s *ExperimentSummary) SetExperimentName(v string) *ExperimentSummary {
47176	s.ExperimentName = &v
47177	return s
47178}
47179
47180// SetExperimentSource sets the ExperimentSource field's value.
47181func (s *ExperimentSummary) SetExperimentSource(v *ExperimentSource) *ExperimentSummary {
47182	s.ExperimentSource = v
47183	return s
47184}
47185
47186// SetLastModifiedTime sets the LastModifiedTime field's value.
47187func (s *ExperimentSummary) SetLastModifiedTime(v time.Time) *ExperimentSummary {
47188	s.LastModifiedTime = &v
47189	return s
47190}
47191
47192// Contains explainability metrics for a model.
47193type Explainability struct {
47194	_ struct{} `type:"structure"`
47195
47196	// The explainability report for a model.
47197	Report *MetricsSource `type:"structure"`
47198}
47199
47200// String returns the string representation
47201func (s Explainability) String() string {
47202	return awsutil.Prettify(s)
47203}
47204
47205// GoString returns the string representation
47206func (s Explainability) GoString() string {
47207	return s.String()
47208}
47209
47210// Validate inspects the fields of the type to determine if they are valid.
47211func (s *Explainability) Validate() error {
47212	invalidParams := request.ErrInvalidParams{Context: "Explainability"}
47213	if s.Report != nil {
47214		if err := s.Report.Validate(); err != nil {
47215			invalidParams.AddNested("Report", err.(request.ErrInvalidParams))
47216		}
47217	}
47218
47219	if invalidParams.Len() > 0 {
47220		return invalidParams
47221	}
47222	return nil
47223}
47224
47225// SetReport sets the Report field's value.
47226func (s *Explainability) SetReport(v *MetricsSource) *Explainability {
47227	s.Report = v
47228	return s
47229}
47230
47231// A list of features. You must include FeatureName and FeatureType. Valid feature
47232// FeatureTypes are Integral, Fractional and String.
47233type FeatureDefinition struct {
47234	_ struct{} `type:"structure"`
47235
47236	// The name of a feature. The type must be a string. FeatureName cannot be any
47237	// of the following: is_deleted, write_time, api_invocation_time.
47238	FeatureName *string `min:"1" type:"string"`
47239
47240	// The value type of a feature. Valid values are Integral, Fractional, or String.
47241	FeatureType *string `type:"string" enum:"FeatureType"`
47242}
47243
47244// String returns the string representation
47245func (s FeatureDefinition) String() string {
47246	return awsutil.Prettify(s)
47247}
47248
47249// GoString returns the string representation
47250func (s FeatureDefinition) GoString() string {
47251	return s.String()
47252}
47253
47254// Validate inspects the fields of the type to determine if they are valid.
47255func (s *FeatureDefinition) Validate() error {
47256	invalidParams := request.ErrInvalidParams{Context: "FeatureDefinition"}
47257	if s.FeatureName != nil && len(*s.FeatureName) < 1 {
47258		invalidParams.Add(request.NewErrParamMinLen("FeatureName", 1))
47259	}
47260
47261	if invalidParams.Len() > 0 {
47262		return invalidParams
47263	}
47264	return nil
47265}
47266
47267// SetFeatureName sets the FeatureName field's value.
47268func (s *FeatureDefinition) SetFeatureName(v string) *FeatureDefinition {
47269	s.FeatureName = &v
47270	return s
47271}
47272
47273// SetFeatureType sets the FeatureType field's value.
47274func (s *FeatureDefinition) SetFeatureType(v string) *FeatureDefinition {
47275	s.FeatureType = &v
47276	return s
47277}
47278
47279// Amazon SageMaker Feature Store stores features in a collection called Feature
47280// Group. A Feature Group can be visualized as a table which has rows, with
47281// a unique identifier for each row where each column in the table is a feature.
47282// In principle, a Feature Group is composed of features and values per features.
47283type FeatureGroup struct {
47284	_ struct{} `type:"structure"`
47285
47286	// The time a FeatureGroup was created.
47287	CreationTime *time.Time `type:"timestamp"`
47288
47289	// A free form description of a FeatureGroup.
47290	Description *string `type:"string"`
47291
47292	// The name of the feature that stores the EventTime of a Record in a FeatureGroup.
47293	//
47294	// A EventTime is point in time when a new event occurs that corresponds to
47295	// the creation or update of a Record in FeatureGroup. All Records in the FeatureGroup
47296	// must have a corresponding EventTime.
47297	EventTimeFeatureName *string `min:"1" type:"string"`
47298
47299	// The reason that the FeatureGroup failed to be replicated in the OfflineStore.
47300	// This is failure may be due to a failure to create a FeatureGroup in or delete
47301	// a FeatureGroup from the OfflineStore.
47302	FailureReason *string `type:"string"`
47303
47304	// A list of Features. Each Feature must include a FeatureName and a FeatureType.
47305	//
47306	// Valid FeatureTypes are Integral, Fractional and String.
47307	//
47308	// FeatureNames cannot be any of the following: is_deleted, write_time, api_invocation_time.
47309	//
47310	// You can create up to 2,500 FeatureDefinitions per FeatureGroup.
47311	FeatureDefinitions []*FeatureDefinition `min:"1" type:"list"`
47312
47313	// The Amazon Resource Name (ARN) of a FeatureGroup.
47314	FeatureGroupArn *string `type:"string"`
47315
47316	// The name of the FeatureGroup.
47317	FeatureGroupName *string `min:"1" type:"string"`
47318
47319	// A FeatureGroup status.
47320	FeatureGroupStatus *string `type:"string" enum:"FeatureGroupStatus"`
47321
47322	// The configuration of an OfflineStore.
47323	//
47324	// Provide an OfflineStoreConfig in a request to CreateFeatureGroup to create
47325	// an OfflineStore.
47326	//
47327	// To encrypt an OfflineStore using at rest data encryption, specify AWS Key
47328	// Management Service (KMS) key ID, or KMSKeyId, in S3StorageConfig.
47329	OfflineStoreConfig *OfflineStoreConfig `type:"structure"`
47330
47331	// The status of OfflineStore.
47332	OfflineStoreStatus *OfflineStoreStatus `type:"structure"`
47333
47334	// Use this to specify the AWS Key Management Service (KMS) Key ID, or KMSKeyId,
47335	// for at rest data encryption. You can turn OnlineStore on or off by specifying
47336	// the EnableOnlineStore flag at General Assembly; the default value is False.
47337	OnlineStoreConfig *OnlineStoreConfig `type:"structure"`
47338
47339	// The name of the Feature whose value uniquely identifies a Record defined
47340	// in the FeatureGroup FeatureDefinitions.
47341	RecordIdentifierFeatureName *string `min:"1" type:"string"`
47342
47343	// The Amazon Resource Name (ARN) of the IAM execution role used to create the
47344	// feature group.
47345	RoleArn *string `min:"20" type:"string"`
47346
47347	// Tags used to define a FeatureGroup.
47348	Tags []*Tag `type:"list"`
47349}
47350
47351// String returns the string representation
47352func (s FeatureGroup) String() string {
47353	return awsutil.Prettify(s)
47354}
47355
47356// GoString returns the string representation
47357func (s FeatureGroup) GoString() string {
47358	return s.String()
47359}
47360
47361// SetCreationTime sets the CreationTime field's value.
47362func (s *FeatureGroup) SetCreationTime(v time.Time) *FeatureGroup {
47363	s.CreationTime = &v
47364	return s
47365}
47366
47367// SetDescription sets the Description field's value.
47368func (s *FeatureGroup) SetDescription(v string) *FeatureGroup {
47369	s.Description = &v
47370	return s
47371}
47372
47373// SetEventTimeFeatureName sets the EventTimeFeatureName field's value.
47374func (s *FeatureGroup) SetEventTimeFeatureName(v string) *FeatureGroup {
47375	s.EventTimeFeatureName = &v
47376	return s
47377}
47378
47379// SetFailureReason sets the FailureReason field's value.
47380func (s *FeatureGroup) SetFailureReason(v string) *FeatureGroup {
47381	s.FailureReason = &v
47382	return s
47383}
47384
47385// SetFeatureDefinitions sets the FeatureDefinitions field's value.
47386func (s *FeatureGroup) SetFeatureDefinitions(v []*FeatureDefinition) *FeatureGroup {
47387	s.FeatureDefinitions = v
47388	return s
47389}
47390
47391// SetFeatureGroupArn sets the FeatureGroupArn field's value.
47392func (s *FeatureGroup) SetFeatureGroupArn(v string) *FeatureGroup {
47393	s.FeatureGroupArn = &v
47394	return s
47395}
47396
47397// SetFeatureGroupName sets the FeatureGroupName field's value.
47398func (s *FeatureGroup) SetFeatureGroupName(v string) *FeatureGroup {
47399	s.FeatureGroupName = &v
47400	return s
47401}
47402
47403// SetFeatureGroupStatus sets the FeatureGroupStatus field's value.
47404func (s *FeatureGroup) SetFeatureGroupStatus(v string) *FeatureGroup {
47405	s.FeatureGroupStatus = &v
47406	return s
47407}
47408
47409// SetOfflineStoreConfig sets the OfflineStoreConfig field's value.
47410func (s *FeatureGroup) SetOfflineStoreConfig(v *OfflineStoreConfig) *FeatureGroup {
47411	s.OfflineStoreConfig = v
47412	return s
47413}
47414
47415// SetOfflineStoreStatus sets the OfflineStoreStatus field's value.
47416func (s *FeatureGroup) SetOfflineStoreStatus(v *OfflineStoreStatus) *FeatureGroup {
47417	s.OfflineStoreStatus = v
47418	return s
47419}
47420
47421// SetOnlineStoreConfig sets the OnlineStoreConfig field's value.
47422func (s *FeatureGroup) SetOnlineStoreConfig(v *OnlineStoreConfig) *FeatureGroup {
47423	s.OnlineStoreConfig = v
47424	return s
47425}
47426
47427// SetRecordIdentifierFeatureName sets the RecordIdentifierFeatureName field's value.
47428func (s *FeatureGroup) SetRecordIdentifierFeatureName(v string) *FeatureGroup {
47429	s.RecordIdentifierFeatureName = &v
47430	return s
47431}
47432
47433// SetRoleArn sets the RoleArn field's value.
47434func (s *FeatureGroup) SetRoleArn(v string) *FeatureGroup {
47435	s.RoleArn = &v
47436	return s
47437}
47438
47439// SetTags sets the Tags field's value.
47440func (s *FeatureGroup) SetTags(v []*Tag) *FeatureGroup {
47441	s.Tags = v
47442	return s
47443}
47444
47445// The name, Arn, CreationTime, FeatureGroup values, LastUpdatedTime and EnableOnlineStorage
47446// status of a FeatureGroup.
47447type FeatureGroupSummary struct {
47448	_ struct{} `type:"structure"`
47449
47450	// A timestamp indicating the time of creation time of the FeatureGroup.
47451	//
47452	// CreationTime is a required field
47453	CreationTime *time.Time `type:"timestamp" required:"true"`
47454
47455	// Unique identifier for the FeatureGroup.
47456	//
47457	// FeatureGroupArn is a required field
47458	FeatureGroupArn *string `type:"string" required:"true"`
47459
47460	// The name of FeatureGroup.
47461	//
47462	// FeatureGroupName is a required field
47463	FeatureGroupName *string `min:"1" type:"string" required:"true"`
47464
47465	// The status of a FeatureGroup. The status can be any of the following: Creating,
47466	// Created, CreateFail, Deleting or DetailFail.
47467	FeatureGroupStatus *string `type:"string" enum:"FeatureGroupStatus"`
47468
47469	// Notifies you if replicating data into the OfflineStore has failed. Returns
47470	// either: Active or Blocked.
47471	OfflineStoreStatus *OfflineStoreStatus `type:"structure"`
47472}
47473
47474// String returns the string representation
47475func (s FeatureGroupSummary) String() string {
47476	return awsutil.Prettify(s)
47477}
47478
47479// GoString returns the string representation
47480func (s FeatureGroupSummary) GoString() string {
47481	return s.String()
47482}
47483
47484// SetCreationTime sets the CreationTime field's value.
47485func (s *FeatureGroupSummary) SetCreationTime(v time.Time) *FeatureGroupSummary {
47486	s.CreationTime = &v
47487	return s
47488}
47489
47490// SetFeatureGroupArn sets the FeatureGroupArn field's value.
47491func (s *FeatureGroupSummary) SetFeatureGroupArn(v string) *FeatureGroupSummary {
47492	s.FeatureGroupArn = &v
47493	return s
47494}
47495
47496// SetFeatureGroupName sets the FeatureGroupName field's value.
47497func (s *FeatureGroupSummary) SetFeatureGroupName(v string) *FeatureGroupSummary {
47498	s.FeatureGroupName = &v
47499	return s
47500}
47501
47502// SetFeatureGroupStatus sets the FeatureGroupStatus field's value.
47503func (s *FeatureGroupSummary) SetFeatureGroupStatus(v string) *FeatureGroupSummary {
47504	s.FeatureGroupStatus = &v
47505	return s
47506}
47507
47508// SetOfflineStoreStatus sets the OfflineStoreStatus field's value.
47509func (s *FeatureGroupSummary) SetOfflineStoreStatus(v *OfflineStoreStatus) *FeatureGroupSummary {
47510	s.OfflineStoreStatus = v
47511	return s
47512}
47513
47514// The Amazon Elastic File System (EFS) storage configuration for a SageMaker
47515// image.
47516type FileSystemConfig struct {
47517	_ struct{} `type:"structure"`
47518
47519	// The default POSIX group ID (GID). If not specified, defaults to 100.
47520	DefaultGid *int64 `type:"integer"`
47521
47522	// The default POSIX user ID (UID). If not specified, defaults to 1000.
47523	DefaultUid *int64 `type:"integer"`
47524
47525	// The path within the image to mount the user's EFS home directory. The directory
47526	// should be empty. If not specified, defaults to /home/sagemaker-user.
47527	MountPath *string `type:"string"`
47528}
47529
47530// String returns the string representation
47531func (s FileSystemConfig) String() string {
47532	return awsutil.Prettify(s)
47533}
47534
47535// GoString returns the string representation
47536func (s FileSystemConfig) GoString() string {
47537	return s.String()
47538}
47539
47540// SetDefaultGid sets the DefaultGid field's value.
47541func (s *FileSystemConfig) SetDefaultGid(v int64) *FileSystemConfig {
47542	s.DefaultGid = &v
47543	return s
47544}
47545
47546// SetDefaultUid sets the DefaultUid field's value.
47547func (s *FileSystemConfig) SetDefaultUid(v int64) *FileSystemConfig {
47548	s.DefaultUid = &v
47549	return s
47550}
47551
47552// SetMountPath sets the MountPath field's value.
47553func (s *FileSystemConfig) SetMountPath(v string) *FileSystemConfig {
47554	s.MountPath = &v
47555	return s
47556}
47557
47558// Specifies a file system data source for a channel.
47559type FileSystemDataSource struct {
47560	_ struct{} `type:"structure"`
47561
47562	// The full path to the directory to associate with the channel.
47563	//
47564	// DirectoryPath is a required field
47565	DirectoryPath *string `type:"string" required:"true"`
47566
47567	// The access mode of the mount of the directory associated with the channel.
47568	// A directory can be mounted either in ro (read-only) or rw (read-write) mode.
47569	//
47570	// FileSystemAccessMode is a required field
47571	FileSystemAccessMode *string `type:"string" required:"true" enum:"FileSystemAccessMode"`
47572
47573	// The file system id.
47574	//
47575	// FileSystemId is a required field
47576	FileSystemId *string `min:"11" type:"string" required:"true"`
47577
47578	// The file system type.
47579	//
47580	// FileSystemType is a required field
47581	FileSystemType *string `type:"string" required:"true" enum:"FileSystemType"`
47582}
47583
47584// String returns the string representation
47585func (s FileSystemDataSource) String() string {
47586	return awsutil.Prettify(s)
47587}
47588
47589// GoString returns the string representation
47590func (s FileSystemDataSource) GoString() string {
47591	return s.String()
47592}
47593
47594// Validate inspects the fields of the type to determine if they are valid.
47595func (s *FileSystemDataSource) Validate() error {
47596	invalidParams := request.ErrInvalidParams{Context: "FileSystemDataSource"}
47597	if s.DirectoryPath == nil {
47598		invalidParams.Add(request.NewErrParamRequired("DirectoryPath"))
47599	}
47600	if s.FileSystemAccessMode == nil {
47601		invalidParams.Add(request.NewErrParamRequired("FileSystemAccessMode"))
47602	}
47603	if s.FileSystemId == nil {
47604		invalidParams.Add(request.NewErrParamRequired("FileSystemId"))
47605	}
47606	if s.FileSystemId != nil && len(*s.FileSystemId) < 11 {
47607		invalidParams.Add(request.NewErrParamMinLen("FileSystemId", 11))
47608	}
47609	if s.FileSystemType == nil {
47610		invalidParams.Add(request.NewErrParamRequired("FileSystemType"))
47611	}
47612
47613	if invalidParams.Len() > 0 {
47614		return invalidParams
47615	}
47616	return nil
47617}
47618
47619// SetDirectoryPath sets the DirectoryPath field's value.
47620func (s *FileSystemDataSource) SetDirectoryPath(v string) *FileSystemDataSource {
47621	s.DirectoryPath = &v
47622	return s
47623}
47624
47625// SetFileSystemAccessMode sets the FileSystemAccessMode field's value.
47626func (s *FileSystemDataSource) SetFileSystemAccessMode(v string) *FileSystemDataSource {
47627	s.FileSystemAccessMode = &v
47628	return s
47629}
47630
47631// SetFileSystemId sets the FileSystemId field's value.
47632func (s *FileSystemDataSource) SetFileSystemId(v string) *FileSystemDataSource {
47633	s.FileSystemId = &v
47634	return s
47635}
47636
47637// SetFileSystemType sets the FileSystemType field's value.
47638func (s *FileSystemDataSource) SetFileSystemType(v string) *FileSystemDataSource {
47639	s.FileSystemType = &v
47640	return s
47641}
47642
47643// A conditional statement for a search expression that includes a resource
47644// property, a Boolean operator, and a value. Resources that match the statement
47645// are returned in the results from the Search API.
47646//
47647// If you specify a Value, but not an Operator, Amazon SageMaker uses the equals
47648// operator.
47649//
47650// In search, there are several property types:
47651//
47652// Metrics
47653//
47654// To define a metric filter, enter a value using the form "Metrics.<name>",
47655// where <name> is a metric name. For example, the following filter searches
47656// for training jobs with an "accuracy" metric greater than "0.9":
47657//
47658// {
47659//
47660// "Name": "Metrics.accuracy",
47661//
47662// "Operator": "GreaterThan",
47663//
47664// "Value": "0.9"
47665//
47666// }
47667//
47668// HyperParameters
47669//
47670// To define a hyperparameter filter, enter a value with the form "HyperParameters.<name>".
47671// Decimal hyperparameter values are treated as a decimal in a comparison if
47672// the specified Value is also a decimal value. If the specified Value is an
47673// integer, the decimal hyperparameter values are treated as integers. For example,
47674// the following filter is satisfied by training jobs with a "learning_rate"
47675// hyperparameter that is less than "0.5":
47676//
47677// {
47678//
47679// "Name": "HyperParameters.learning_rate",
47680//
47681// "Operator": "LessThan",
47682//
47683// "Value": "0.5"
47684//
47685// }
47686//
47687// Tags
47688//
47689// To define a tag filter, enter a value with the form Tags.<key>.
47690type Filter struct {
47691	_ struct{} `type:"structure"`
47692
47693	// A resource property name. For example, TrainingJobName. For valid property
47694	// names, see SearchRecord. You must specify a valid property for the resource.
47695	//
47696	// Name is a required field
47697	Name *string `min:"1" type:"string" required:"true"`
47698
47699	// A Boolean binary operator that is used to evaluate the filter. The operator
47700	// field contains one of the following values:
47701	//
47702	// Equals
47703	//
47704	// The value of Name equals Value.
47705	//
47706	// NotEquals
47707	//
47708	// The value of Name doesn't equal Value.
47709	//
47710	// Exists
47711	//
47712	// The Name property exists.
47713	//
47714	// NotExists
47715	//
47716	// The Name property does not exist.
47717	//
47718	// GreaterThan
47719	//
47720	// The value of Name is greater than Value. Not supported for text properties.
47721	//
47722	// GreaterThanOrEqualTo
47723	//
47724	// The value of Name is greater than or equal to Value. Not supported for text
47725	// properties.
47726	//
47727	// LessThan
47728	//
47729	// The value of Name is less than Value. Not supported for text properties.
47730	//
47731	// LessThanOrEqualTo
47732	//
47733	// The value of Name is less than or equal to Value. Not supported for text
47734	// properties.
47735	//
47736	// In
47737	//
47738	// The value of Name is one of the comma delimited strings in Value. Only supported
47739	// for text properties.
47740	//
47741	// Contains
47742	//
47743	// The value of Name contains the string Value. Only supported for text properties.
47744	//
47745	// A SearchExpression can include the Contains operator multiple times when
47746	// the value of Name is one of the following:
47747	//
47748	//    * Experiment.DisplayName
47749	//
47750	//    * Experiment.ExperimentName
47751	//
47752	//    * Experiment.Tags
47753	//
47754	//    * Trial.DisplayName
47755	//
47756	//    * Trial.TrialName
47757	//
47758	//    * Trial.Tags
47759	//
47760	//    * TrialComponent.DisplayName
47761	//
47762	//    * TrialComponent.TrialComponentName
47763	//
47764	//    * TrialComponent.Tags
47765	//
47766	//    * TrialComponent.InputArtifacts
47767	//
47768	//    * TrialComponent.OutputArtifacts
47769	//
47770	// A SearchExpression can include only one Contains operator for all other values
47771	// of Name. In these cases, if you include multiple Contains operators in the
47772	// SearchExpression, the result is the following error message: "'CONTAINS'
47773	// operator usage limit of 1 exceeded."
47774	Operator *string `type:"string" enum:"Operator"`
47775
47776	// A value used with Name and Operator to determine which resources satisfy
47777	// the filter's condition. For numerical properties, Value must be an integer
47778	// or floating-point decimal. For timestamp properties, Value must be an ISO
47779	// 8601 date-time string of the following format: YYYY-mm-dd'T'HH:MM:SS.
47780	Value *string `min:"1" type:"string"`
47781}
47782
47783// String returns the string representation
47784func (s Filter) String() string {
47785	return awsutil.Prettify(s)
47786}
47787
47788// GoString returns the string representation
47789func (s Filter) GoString() string {
47790	return s.String()
47791}
47792
47793// Validate inspects the fields of the type to determine if they are valid.
47794func (s *Filter) Validate() error {
47795	invalidParams := request.ErrInvalidParams{Context: "Filter"}
47796	if s.Name == nil {
47797		invalidParams.Add(request.NewErrParamRequired("Name"))
47798	}
47799	if s.Name != nil && len(*s.Name) < 1 {
47800		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
47801	}
47802	if s.Value != nil && len(*s.Value) < 1 {
47803		invalidParams.Add(request.NewErrParamMinLen("Value", 1))
47804	}
47805
47806	if invalidParams.Len() > 0 {
47807		return invalidParams
47808	}
47809	return nil
47810}
47811
47812// SetName sets the Name field's value.
47813func (s *Filter) SetName(v string) *Filter {
47814	s.Name = &v
47815	return s
47816}
47817
47818// SetOperator sets the Operator field's value.
47819func (s *Filter) SetOperator(v string) *Filter {
47820	s.Operator = &v
47821	return s
47822}
47823
47824// SetValue sets the Value field's value.
47825func (s *Filter) SetValue(v string) *Filter {
47826	s.Value = &v
47827	return s
47828}
47829
47830// The best candidate result from an AutoML training job.
47831type FinalAutoMLJobObjectiveMetric struct {
47832	_ struct{} `type:"structure"`
47833
47834	// The name of the metric with the best result. For a description of the possible
47835	// objective metrics, see AutoMLJobObjective$MetricName.
47836	//
47837	// MetricName is a required field
47838	MetricName *string `type:"string" required:"true" enum:"AutoMLMetricEnum"`
47839
47840	// The type of metric with the best result.
47841	Type *string `type:"string" enum:"AutoMLJobObjectiveType"`
47842
47843	// The value of the metric with the best result.
47844	//
47845	// Value is a required field
47846	Value *float64 `type:"float" required:"true"`
47847}
47848
47849// String returns the string representation
47850func (s FinalAutoMLJobObjectiveMetric) String() string {
47851	return awsutil.Prettify(s)
47852}
47853
47854// GoString returns the string representation
47855func (s FinalAutoMLJobObjectiveMetric) GoString() string {
47856	return s.String()
47857}
47858
47859// SetMetricName sets the MetricName field's value.
47860func (s *FinalAutoMLJobObjectiveMetric) SetMetricName(v string) *FinalAutoMLJobObjectiveMetric {
47861	s.MetricName = &v
47862	return s
47863}
47864
47865// SetType sets the Type field's value.
47866func (s *FinalAutoMLJobObjectiveMetric) SetType(v string) *FinalAutoMLJobObjectiveMetric {
47867	s.Type = &v
47868	return s
47869}
47870
47871// SetValue sets the Value field's value.
47872func (s *FinalAutoMLJobObjectiveMetric) SetValue(v float64) *FinalAutoMLJobObjectiveMetric {
47873	s.Value = &v
47874	return s
47875}
47876
47877// Shows the final value for the objective metric for a training job that was
47878// launched by a hyperparameter tuning job. You define the objective metric
47879// in the HyperParameterTuningJobObjective parameter of HyperParameterTuningJobConfig.
47880type FinalHyperParameterTuningJobObjectiveMetric struct {
47881	_ struct{} `type:"structure"`
47882
47883	// The name of the objective metric.
47884	//
47885	// MetricName is a required field
47886	MetricName *string `min:"1" type:"string" required:"true"`
47887
47888	// Whether to minimize or maximize the objective metric. Valid values are Minimize
47889	// and Maximize.
47890	Type *string `type:"string" enum:"HyperParameterTuningJobObjectiveType"`
47891
47892	// The value of the objective metric.
47893	//
47894	// Value is a required field
47895	Value *float64 `type:"float" required:"true"`
47896}
47897
47898// String returns the string representation
47899func (s FinalHyperParameterTuningJobObjectiveMetric) String() string {
47900	return awsutil.Prettify(s)
47901}
47902
47903// GoString returns the string representation
47904func (s FinalHyperParameterTuningJobObjectiveMetric) GoString() string {
47905	return s.String()
47906}
47907
47908// SetMetricName sets the MetricName field's value.
47909func (s *FinalHyperParameterTuningJobObjectiveMetric) SetMetricName(v string) *FinalHyperParameterTuningJobObjectiveMetric {
47910	s.MetricName = &v
47911	return s
47912}
47913
47914// SetType sets the Type field's value.
47915func (s *FinalHyperParameterTuningJobObjectiveMetric) SetType(v string) *FinalHyperParameterTuningJobObjectiveMetric {
47916	s.Type = &v
47917	return s
47918}
47919
47920// SetValue sets the Value field's value.
47921func (s *FinalHyperParameterTuningJobObjectiveMetric) SetValue(v float64) *FinalHyperParameterTuningJobObjectiveMetric {
47922	s.Value = &v
47923	return s
47924}
47925
47926// Contains information about where human output will be stored.
47927type FlowDefinitionOutputConfig struct {
47928	_ struct{} `type:"structure"`
47929
47930	// The Amazon Key Management Service (KMS) key ID for server-side encryption.
47931	KmsKeyId *string `type:"string"`
47932
47933	// The Amazon S3 path where the object containing human output will be made
47934	// available.
47935	//
47936	// To learn more about the format of Amazon A2I output data, see Amazon A2I
47937	// Output Data (https://docs.aws.amazon.com/sagemaker/latest/dg/a2i-output-data.html).
47938	//
47939	// S3OutputPath is a required field
47940	S3OutputPath *string `type:"string" required:"true"`
47941}
47942
47943// String returns the string representation
47944func (s FlowDefinitionOutputConfig) String() string {
47945	return awsutil.Prettify(s)
47946}
47947
47948// GoString returns the string representation
47949func (s FlowDefinitionOutputConfig) GoString() string {
47950	return s.String()
47951}
47952
47953// Validate inspects the fields of the type to determine if they are valid.
47954func (s *FlowDefinitionOutputConfig) Validate() error {
47955	invalidParams := request.ErrInvalidParams{Context: "FlowDefinitionOutputConfig"}
47956	if s.S3OutputPath == nil {
47957		invalidParams.Add(request.NewErrParamRequired("S3OutputPath"))
47958	}
47959
47960	if invalidParams.Len() > 0 {
47961		return invalidParams
47962	}
47963	return nil
47964}
47965
47966// SetKmsKeyId sets the KmsKeyId field's value.
47967func (s *FlowDefinitionOutputConfig) SetKmsKeyId(v string) *FlowDefinitionOutputConfig {
47968	s.KmsKeyId = &v
47969	return s
47970}
47971
47972// SetS3OutputPath sets the S3OutputPath field's value.
47973func (s *FlowDefinitionOutputConfig) SetS3OutputPath(v string) *FlowDefinitionOutputConfig {
47974	s.S3OutputPath = &v
47975	return s
47976}
47977
47978// Contains summary information about the flow definition.
47979type FlowDefinitionSummary struct {
47980	_ struct{} `type:"structure"`
47981
47982	// The timestamp when SageMaker created the flow definition.
47983	//
47984	// CreationTime is a required field
47985	CreationTime *time.Time `type:"timestamp" required:"true"`
47986
47987	// The reason why the flow definition creation failed. A failure reason is returned
47988	// only when the flow definition status is Failed.
47989	FailureReason *string `type:"string"`
47990
47991	// The Amazon Resource Name (ARN) of the flow definition.
47992	//
47993	// FlowDefinitionArn is a required field
47994	FlowDefinitionArn *string `type:"string" required:"true"`
47995
47996	// The name of the flow definition.
47997	//
47998	// FlowDefinitionName is a required field
47999	FlowDefinitionName *string `min:"1" type:"string" required:"true"`
48000
48001	// The status of the flow definition. Valid values:
48002	//
48003	// FlowDefinitionStatus is a required field
48004	FlowDefinitionStatus *string `type:"string" required:"true" enum:"FlowDefinitionStatus"`
48005}
48006
48007// String returns the string representation
48008func (s FlowDefinitionSummary) String() string {
48009	return awsutil.Prettify(s)
48010}
48011
48012// GoString returns the string representation
48013func (s FlowDefinitionSummary) GoString() string {
48014	return s.String()
48015}
48016
48017// SetCreationTime sets the CreationTime field's value.
48018func (s *FlowDefinitionSummary) SetCreationTime(v time.Time) *FlowDefinitionSummary {
48019	s.CreationTime = &v
48020	return s
48021}
48022
48023// SetFailureReason sets the FailureReason field's value.
48024func (s *FlowDefinitionSummary) SetFailureReason(v string) *FlowDefinitionSummary {
48025	s.FailureReason = &v
48026	return s
48027}
48028
48029// SetFlowDefinitionArn sets the FlowDefinitionArn field's value.
48030func (s *FlowDefinitionSummary) SetFlowDefinitionArn(v string) *FlowDefinitionSummary {
48031	s.FlowDefinitionArn = &v
48032	return s
48033}
48034
48035// SetFlowDefinitionName sets the FlowDefinitionName field's value.
48036func (s *FlowDefinitionSummary) SetFlowDefinitionName(v string) *FlowDefinitionSummary {
48037	s.FlowDefinitionName = &v
48038	return s
48039}
48040
48041// SetFlowDefinitionStatus sets the FlowDefinitionStatus field's value.
48042func (s *FlowDefinitionSummary) SetFlowDefinitionStatus(v string) *FlowDefinitionSummary {
48043	s.FlowDefinitionStatus = &v
48044	return s
48045}
48046
48047type GetDeviceFleetReportInput struct {
48048	_ struct{} `type:"structure"`
48049
48050	// The name of the fleet.
48051	//
48052	// DeviceFleetName is a required field
48053	DeviceFleetName *string `min:"1" type:"string" required:"true"`
48054}
48055
48056// String returns the string representation
48057func (s GetDeviceFleetReportInput) String() string {
48058	return awsutil.Prettify(s)
48059}
48060
48061// GoString returns the string representation
48062func (s GetDeviceFleetReportInput) GoString() string {
48063	return s.String()
48064}
48065
48066// Validate inspects the fields of the type to determine if they are valid.
48067func (s *GetDeviceFleetReportInput) Validate() error {
48068	invalidParams := request.ErrInvalidParams{Context: "GetDeviceFleetReportInput"}
48069	if s.DeviceFleetName == nil {
48070		invalidParams.Add(request.NewErrParamRequired("DeviceFleetName"))
48071	}
48072	if s.DeviceFleetName != nil && len(*s.DeviceFleetName) < 1 {
48073		invalidParams.Add(request.NewErrParamMinLen("DeviceFleetName", 1))
48074	}
48075
48076	if invalidParams.Len() > 0 {
48077		return invalidParams
48078	}
48079	return nil
48080}
48081
48082// SetDeviceFleetName sets the DeviceFleetName field's value.
48083func (s *GetDeviceFleetReportInput) SetDeviceFleetName(v string) *GetDeviceFleetReportInput {
48084	s.DeviceFleetName = &v
48085	return s
48086}
48087
48088type GetDeviceFleetReportOutput struct {
48089	_ struct{} `type:"structure"`
48090
48091	// The versions of Edge Manager agent deployed on the fleet.
48092	AgentVersions []*AgentVersion `type:"list"`
48093
48094	// Description of the fleet.
48095	Description *string `min:"1" type:"string"`
48096
48097	// The Amazon Resource Name (ARN) of the device.
48098	//
48099	// DeviceFleetArn is a required field
48100	DeviceFleetArn *string `type:"string" required:"true"`
48101
48102	// The name of the fleet.
48103	//
48104	// DeviceFleetName is a required field
48105	DeviceFleetName *string `min:"1" type:"string" required:"true"`
48106
48107	// Status of devices.
48108	DeviceStats *DeviceStats `type:"structure"`
48109
48110	// Status of model on device.
48111	ModelStats []*EdgeModelStat `type:"list"`
48112
48113	// The output configuration for storing sample data collected by the fleet.
48114	OutputConfig *EdgeOutputConfig `type:"structure"`
48115
48116	// Timestamp of when the report was generated.
48117	ReportGenerated *time.Time `type:"timestamp"`
48118}
48119
48120// String returns the string representation
48121func (s GetDeviceFleetReportOutput) String() string {
48122	return awsutil.Prettify(s)
48123}
48124
48125// GoString returns the string representation
48126func (s GetDeviceFleetReportOutput) GoString() string {
48127	return s.String()
48128}
48129
48130// SetAgentVersions sets the AgentVersions field's value.
48131func (s *GetDeviceFleetReportOutput) SetAgentVersions(v []*AgentVersion) *GetDeviceFleetReportOutput {
48132	s.AgentVersions = v
48133	return s
48134}
48135
48136// SetDescription sets the Description field's value.
48137func (s *GetDeviceFleetReportOutput) SetDescription(v string) *GetDeviceFleetReportOutput {
48138	s.Description = &v
48139	return s
48140}
48141
48142// SetDeviceFleetArn sets the DeviceFleetArn field's value.
48143func (s *GetDeviceFleetReportOutput) SetDeviceFleetArn(v string) *GetDeviceFleetReportOutput {
48144	s.DeviceFleetArn = &v
48145	return s
48146}
48147
48148// SetDeviceFleetName sets the DeviceFleetName field's value.
48149func (s *GetDeviceFleetReportOutput) SetDeviceFleetName(v string) *GetDeviceFleetReportOutput {
48150	s.DeviceFleetName = &v
48151	return s
48152}
48153
48154// SetDeviceStats sets the DeviceStats field's value.
48155func (s *GetDeviceFleetReportOutput) SetDeviceStats(v *DeviceStats) *GetDeviceFleetReportOutput {
48156	s.DeviceStats = v
48157	return s
48158}
48159
48160// SetModelStats sets the ModelStats field's value.
48161func (s *GetDeviceFleetReportOutput) SetModelStats(v []*EdgeModelStat) *GetDeviceFleetReportOutput {
48162	s.ModelStats = v
48163	return s
48164}
48165
48166// SetOutputConfig sets the OutputConfig field's value.
48167func (s *GetDeviceFleetReportOutput) SetOutputConfig(v *EdgeOutputConfig) *GetDeviceFleetReportOutput {
48168	s.OutputConfig = v
48169	return s
48170}
48171
48172// SetReportGenerated sets the ReportGenerated field's value.
48173func (s *GetDeviceFleetReportOutput) SetReportGenerated(v time.Time) *GetDeviceFleetReportOutput {
48174	s.ReportGenerated = &v
48175	return s
48176}
48177
48178type GetModelPackageGroupPolicyInput struct {
48179	_ struct{} `type:"structure"`
48180
48181	// The name of the model group for which to get the resource policy.
48182	//
48183	// ModelPackageGroupName is a required field
48184	ModelPackageGroupName *string `min:"1" type:"string" required:"true"`
48185}
48186
48187// String returns the string representation
48188func (s GetModelPackageGroupPolicyInput) String() string {
48189	return awsutil.Prettify(s)
48190}
48191
48192// GoString returns the string representation
48193func (s GetModelPackageGroupPolicyInput) GoString() string {
48194	return s.String()
48195}
48196
48197// Validate inspects the fields of the type to determine if they are valid.
48198func (s *GetModelPackageGroupPolicyInput) Validate() error {
48199	invalidParams := request.ErrInvalidParams{Context: "GetModelPackageGroupPolicyInput"}
48200	if s.ModelPackageGroupName == nil {
48201		invalidParams.Add(request.NewErrParamRequired("ModelPackageGroupName"))
48202	}
48203	if s.ModelPackageGroupName != nil && len(*s.ModelPackageGroupName) < 1 {
48204		invalidParams.Add(request.NewErrParamMinLen("ModelPackageGroupName", 1))
48205	}
48206
48207	if invalidParams.Len() > 0 {
48208		return invalidParams
48209	}
48210	return nil
48211}
48212
48213// SetModelPackageGroupName sets the ModelPackageGroupName field's value.
48214func (s *GetModelPackageGroupPolicyInput) SetModelPackageGroupName(v string) *GetModelPackageGroupPolicyInput {
48215	s.ModelPackageGroupName = &v
48216	return s
48217}
48218
48219type GetModelPackageGroupPolicyOutput struct {
48220	_ struct{} `type:"structure"`
48221
48222	// The resource policy for the model group.
48223	//
48224	// ResourcePolicy is a required field
48225	ResourcePolicy *string `min:"1" type:"string" required:"true"`
48226}
48227
48228// String returns the string representation
48229func (s GetModelPackageGroupPolicyOutput) String() string {
48230	return awsutil.Prettify(s)
48231}
48232
48233// GoString returns the string representation
48234func (s GetModelPackageGroupPolicyOutput) GoString() string {
48235	return s.String()
48236}
48237
48238// SetResourcePolicy sets the ResourcePolicy field's value.
48239func (s *GetModelPackageGroupPolicyOutput) SetResourcePolicy(v string) *GetModelPackageGroupPolicyOutput {
48240	s.ResourcePolicy = &v
48241	return s
48242}
48243
48244type GetSagemakerServicecatalogPortfolioStatusInput struct {
48245	_ struct{} `type:"structure"`
48246}
48247
48248// String returns the string representation
48249func (s GetSagemakerServicecatalogPortfolioStatusInput) String() string {
48250	return awsutil.Prettify(s)
48251}
48252
48253// GoString returns the string representation
48254func (s GetSagemakerServicecatalogPortfolioStatusInput) GoString() string {
48255	return s.String()
48256}
48257
48258type GetSagemakerServicecatalogPortfolioStatusOutput struct {
48259	_ struct{} `type:"structure"`
48260
48261	// Whether Service Catalog is enabled or disabled in SageMaker.
48262	Status *string `type:"string" enum:"SagemakerServicecatalogStatus"`
48263}
48264
48265// String returns the string representation
48266func (s GetSagemakerServicecatalogPortfolioStatusOutput) String() string {
48267	return awsutil.Prettify(s)
48268}
48269
48270// GoString returns the string representation
48271func (s GetSagemakerServicecatalogPortfolioStatusOutput) GoString() string {
48272	return s.String()
48273}
48274
48275// SetStatus sets the Status field's value.
48276func (s *GetSagemakerServicecatalogPortfolioStatusOutput) SetStatus(v string) *GetSagemakerServicecatalogPortfolioStatusOutput {
48277	s.Status = &v
48278	return s
48279}
48280
48281type GetSearchSuggestionsInput struct {
48282	_ struct{} `type:"structure"`
48283
48284	// The name of the Amazon SageMaker resource to search for.
48285	//
48286	// Resource is a required field
48287	Resource *string `type:"string" required:"true" enum:"ResourceType"`
48288
48289	// Limits the property names that are included in the response.
48290	SuggestionQuery *SuggestionQuery `type:"structure"`
48291}
48292
48293// String returns the string representation
48294func (s GetSearchSuggestionsInput) String() string {
48295	return awsutil.Prettify(s)
48296}
48297
48298// GoString returns the string representation
48299func (s GetSearchSuggestionsInput) GoString() string {
48300	return s.String()
48301}
48302
48303// Validate inspects the fields of the type to determine if they are valid.
48304func (s *GetSearchSuggestionsInput) Validate() error {
48305	invalidParams := request.ErrInvalidParams{Context: "GetSearchSuggestionsInput"}
48306	if s.Resource == nil {
48307		invalidParams.Add(request.NewErrParamRequired("Resource"))
48308	}
48309	if s.SuggestionQuery != nil {
48310		if err := s.SuggestionQuery.Validate(); err != nil {
48311			invalidParams.AddNested("SuggestionQuery", err.(request.ErrInvalidParams))
48312		}
48313	}
48314
48315	if invalidParams.Len() > 0 {
48316		return invalidParams
48317	}
48318	return nil
48319}
48320
48321// SetResource sets the Resource field's value.
48322func (s *GetSearchSuggestionsInput) SetResource(v string) *GetSearchSuggestionsInput {
48323	s.Resource = &v
48324	return s
48325}
48326
48327// SetSuggestionQuery sets the SuggestionQuery field's value.
48328func (s *GetSearchSuggestionsInput) SetSuggestionQuery(v *SuggestionQuery) *GetSearchSuggestionsInput {
48329	s.SuggestionQuery = v
48330	return s
48331}
48332
48333type GetSearchSuggestionsOutput struct {
48334	_ struct{} `type:"structure"`
48335
48336	// A list of property names for a Resource that match a SuggestionQuery.
48337	PropertyNameSuggestions []*PropertyNameSuggestion `type:"list"`
48338}
48339
48340// String returns the string representation
48341func (s GetSearchSuggestionsOutput) String() string {
48342	return awsutil.Prettify(s)
48343}
48344
48345// GoString returns the string representation
48346func (s GetSearchSuggestionsOutput) GoString() string {
48347	return s.String()
48348}
48349
48350// SetPropertyNameSuggestions sets the PropertyNameSuggestions field's value.
48351func (s *GetSearchSuggestionsOutput) SetPropertyNameSuggestions(v []*PropertyNameSuggestion) *GetSearchSuggestionsOutput {
48352	s.PropertyNameSuggestions = v
48353	return s
48354}
48355
48356// Specifies configuration details for a Git repository in your AWS account.
48357type GitConfig struct {
48358	_ struct{} `type:"structure"`
48359
48360	// The default branch for the Git repository.
48361	Branch *string `min:"1" type:"string"`
48362
48363	// The URL where the Git repository is located.
48364	//
48365	// RepositoryUrl is a required field
48366	RepositoryUrl *string `type:"string" required:"true"`
48367
48368	// The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains
48369	// the credentials used to access the git repository. The secret must have a
48370	// staging label of AWSCURRENT and must be in the following format:
48371	//
48372	// {"username": UserName, "password": Password}
48373	SecretArn *string `min:"1" type:"string"`
48374}
48375
48376// String returns the string representation
48377func (s GitConfig) String() string {
48378	return awsutil.Prettify(s)
48379}
48380
48381// GoString returns the string representation
48382func (s GitConfig) GoString() string {
48383	return s.String()
48384}
48385
48386// Validate inspects the fields of the type to determine if they are valid.
48387func (s *GitConfig) Validate() error {
48388	invalidParams := request.ErrInvalidParams{Context: "GitConfig"}
48389	if s.Branch != nil && len(*s.Branch) < 1 {
48390		invalidParams.Add(request.NewErrParamMinLen("Branch", 1))
48391	}
48392	if s.RepositoryUrl == nil {
48393		invalidParams.Add(request.NewErrParamRequired("RepositoryUrl"))
48394	}
48395	if s.SecretArn != nil && len(*s.SecretArn) < 1 {
48396		invalidParams.Add(request.NewErrParamMinLen("SecretArn", 1))
48397	}
48398
48399	if invalidParams.Len() > 0 {
48400		return invalidParams
48401	}
48402	return nil
48403}
48404
48405// SetBranch sets the Branch field's value.
48406func (s *GitConfig) SetBranch(v string) *GitConfig {
48407	s.Branch = &v
48408	return s
48409}
48410
48411// SetRepositoryUrl sets the RepositoryUrl field's value.
48412func (s *GitConfig) SetRepositoryUrl(v string) *GitConfig {
48413	s.RepositoryUrl = &v
48414	return s
48415}
48416
48417// SetSecretArn sets the SecretArn field's value.
48418func (s *GitConfig) SetSecretArn(v string) *GitConfig {
48419	s.SecretArn = &v
48420	return s
48421}
48422
48423// Specifies configuration details for a Git repository when the repository
48424// is updated.
48425type GitConfigForUpdate struct {
48426	_ struct{} `type:"structure"`
48427
48428	// The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains
48429	// the credentials used to access the git repository. The secret must have a
48430	// staging label of AWSCURRENT and must be in the following format:
48431	//
48432	// {"username": UserName, "password": Password}
48433	SecretArn *string `min:"1" type:"string"`
48434}
48435
48436// String returns the string representation
48437func (s GitConfigForUpdate) String() string {
48438	return awsutil.Prettify(s)
48439}
48440
48441// GoString returns the string representation
48442func (s GitConfigForUpdate) GoString() string {
48443	return s.String()
48444}
48445
48446// Validate inspects the fields of the type to determine if they are valid.
48447func (s *GitConfigForUpdate) Validate() error {
48448	invalidParams := request.ErrInvalidParams{Context: "GitConfigForUpdate"}
48449	if s.SecretArn != nil && len(*s.SecretArn) < 1 {
48450		invalidParams.Add(request.NewErrParamMinLen("SecretArn", 1))
48451	}
48452
48453	if invalidParams.Len() > 0 {
48454		return invalidParams
48455	}
48456	return nil
48457}
48458
48459// SetSecretArn sets the SecretArn field's value.
48460func (s *GitConfigForUpdate) SetSecretArn(v string) *GitConfigForUpdate {
48461	s.SecretArn = &v
48462	return s
48463}
48464
48465// Defines under what conditions SageMaker creates a human loop. Used within
48466// . See for the required format of activation conditions.
48467type HumanLoopActivationConditionsConfig struct {
48468	_ struct{} `type:"structure"`
48469
48470	// JSON expressing use-case specific conditions declaratively. If any condition
48471	// is matched, atomic tasks are created against the configured work team. The
48472	// set of conditions is different for Rekognition and Textract. For more information
48473	// about how to structure the JSON, see JSON Schema for Human Loop Activation
48474	// Conditions in Amazon Augmented AI (https://docs.aws.amazon.com/sagemaker/latest/dg/a2i-human-fallback-conditions-json-schema.html)
48475	// in the Amazon SageMaker Developer Guide.
48476	//
48477	// HumanLoopActivationConditions is a required field
48478	HumanLoopActivationConditions aws.JSONValue `type:"jsonvalue" required:"true"`
48479}
48480
48481// String returns the string representation
48482func (s HumanLoopActivationConditionsConfig) String() string {
48483	return awsutil.Prettify(s)
48484}
48485
48486// GoString returns the string representation
48487func (s HumanLoopActivationConditionsConfig) GoString() string {
48488	return s.String()
48489}
48490
48491// Validate inspects the fields of the type to determine if they are valid.
48492func (s *HumanLoopActivationConditionsConfig) Validate() error {
48493	invalidParams := request.ErrInvalidParams{Context: "HumanLoopActivationConditionsConfig"}
48494	if s.HumanLoopActivationConditions == nil {
48495		invalidParams.Add(request.NewErrParamRequired("HumanLoopActivationConditions"))
48496	}
48497
48498	if invalidParams.Len() > 0 {
48499		return invalidParams
48500	}
48501	return nil
48502}
48503
48504// SetHumanLoopActivationConditions sets the HumanLoopActivationConditions field's value.
48505func (s *HumanLoopActivationConditionsConfig) SetHumanLoopActivationConditions(v aws.JSONValue) *HumanLoopActivationConditionsConfig {
48506	s.HumanLoopActivationConditions = v
48507	return s
48508}
48509
48510// Provides information about how and under what conditions SageMaker creates
48511// a human loop. If HumanLoopActivationConfig is not given, then all requests
48512// go to humans.
48513type HumanLoopActivationConfig struct {
48514	_ struct{} `type:"structure"`
48515
48516	// Container structure for defining under what conditions SageMaker creates
48517	// a human loop.
48518	//
48519	// HumanLoopActivationConditionsConfig is a required field
48520	HumanLoopActivationConditionsConfig *HumanLoopActivationConditionsConfig `type:"structure" required:"true"`
48521}
48522
48523// String returns the string representation
48524func (s HumanLoopActivationConfig) String() string {
48525	return awsutil.Prettify(s)
48526}
48527
48528// GoString returns the string representation
48529func (s HumanLoopActivationConfig) GoString() string {
48530	return s.String()
48531}
48532
48533// Validate inspects the fields of the type to determine if they are valid.
48534func (s *HumanLoopActivationConfig) Validate() error {
48535	invalidParams := request.ErrInvalidParams{Context: "HumanLoopActivationConfig"}
48536	if s.HumanLoopActivationConditionsConfig == nil {
48537		invalidParams.Add(request.NewErrParamRequired("HumanLoopActivationConditionsConfig"))
48538	}
48539	if s.HumanLoopActivationConditionsConfig != nil {
48540		if err := s.HumanLoopActivationConditionsConfig.Validate(); err != nil {
48541			invalidParams.AddNested("HumanLoopActivationConditionsConfig", err.(request.ErrInvalidParams))
48542		}
48543	}
48544
48545	if invalidParams.Len() > 0 {
48546		return invalidParams
48547	}
48548	return nil
48549}
48550
48551// SetHumanLoopActivationConditionsConfig sets the HumanLoopActivationConditionsConfig field's value.
48552func (s *HumanLoopActivationConfig) SetHumanLoopActivationConditionsConfig(v *HumanLoopActivationConditionsConfig) *HumanLoopActivationConfig {
48553	s.HumanLoopActivationConditionsConfig = v
48554	return s
48555}
48556
48557// Describes the work to be performed by human workers.
48558type HumanLoopConfig struct {
48559	_ struct{} `type:"structure"`
48560
48561	// The Amazon Resource Name (ARN) of the human task user interface.
48562	//
48563	// You can use standard HTML and Crowd HTML Elements to create a custom worker
48564	// task template. You use this template to create a human task UI.
48565	//
48566	// To learn how to create a custom HTML template, see Create Custom Worker Task
48567	// Template (https://docs.aws.amazon.com/sagemaker/latest/dg/a2i-custom-templates.html).
48568	//
48569	// To learn how to create a human task UI, which is a worker task template that
48570	// can be used in a flow definition, see Create and Delete a Worker Task Templates
48571	// (https://docs.aws.amazon.com/sagemaker/latest/dg/a2i-worker-template-console.html).
48572	//
48573	// HumanTaskUiArn is a required field
48574	HumanTaskUiArn *string `type:"string" required:"true"`
48575
48576	// Defines the amount of money paid to an Amazon Mechanical Turk worker for
48577	// each task performed.
48578	//
48579	// Use one of the following prices for bounding box tasks. Prices are in US
48580	// dollars and should be based on the complexity of the task; the longer it
48581	// takes in your initial testing, the more you should offer.
48582	//
48583	//    * 0.036
48584	//
48585	//    * 0.048
48586	//
48587	//    * 0.060
48588	//
48589	//    * 0.072
48590	//
48591	//    * 0.120
48592	//
48593	//    * 0.240
48594	//
48595	//    * 0.360
48596	//
48597	//    * 0.480
48598	//
48599	//    * 0.600
48600	//
48601	//    * 0.720
48602	//
48603	//    * 0.840
48604	//
48605	//    * 0.960
48606	//
48607	//    * 1.080
48608	//
48609	//    * 1.200
48610	//
48611	// Use one of the following prices for image classification, text classification,
48612	// and custom tasks. Prices are in US dollars.
48613	//
48614	//    * 0.012
48615	//
48616	//    * 0.024
48617	//
48618	//    * 0.036
48619	//
48620	//    * 0.048
48621	//
48622	//    * 0.060
48623	//
48624	//    * 0.072
48625	//
48626	//    * 0.120
48627	//
48628	//    * 0.240
48629	//
48630	//    * 0.360
48631	//
48632	//    * 0.480
48633	//
48634	//    * 0.600
48635	//
48636	//    * 0.720
48637	//
48638	//    * 0.840
48639	//
48640	//    * 0.960
48641	//
48642	//    * 1.080
48643	//
48644	//    * 1.200
48645	//
48646	// Use one of the following prices for semantic segmentation tasks. Prices are
48647	// in US dollars.
48648	//
48649	//    * 0.840
48650	//
48651	//    * 0.960
48652	//
48653	//    * 1.080
48654	//
48655	//    * 1.200
48656	//
48657	// Use one of the following prices for Textract AnalyzeDocument Important Form
48658	// Key Amazon Augmented AI review tasks. Prices are in US dollars.
48659	//
48660	//    * 2.400
48661	//
48662	//    * 2.280
48663	//
48664	//    * 2.160
48665	//
48666	//    * 2.040
48667	//
48668	//    * 1.920
48669	//
48670	//    * 1.800
48671	//
48672	//    * 1.680
48673	//
48674	//    * 1.560
48675	//
48676	//    * 1.440
48677	//
48678	//    * 1.320
48679	//
48680	//    * 1.200
48681	//
48682	//    * 1.080
48683	//
48684	//    * 0.960
48685	//
48686	//    * 0.840
48687	//
48688	//    * 0.720
48689	//
48690	//    * 0.600
48691	//
48692	//    * 0.480
48693	//
48694	//    * 0.360
48695	//
48696	//    * 0.240
48697	//
48698	//    * 0.120
48699	//
48700	//    * 0.072
48701	//
48702	//    * 0.060
48703	//
48704	//    * 0.048
48705	//
48706	//    * 0.036
48707	//
48708	//    * 0.024
48709	//
48710	//    * 0.012
48711	//
48712	// Use one of the following prices for Rekognition DetectModerationLabels Amazon
48713	// Augmented AI review tasks. Prices are in US dollars.
48714	//
48715	//    * 1.200
48716	//
48717	//    * 1.080
48718	//
48719	//    * 0.960
48720	//
48721	//    * 0.840
48722	//
48723	//    * 0.720
48724	//
48725	//    * 0.600
48726	//
48727	//    * 0.480
48728	//
48729	//    * 0.360
48730	//
48731	//    * 0.240
48732	//
48733	//    * 0.120
48734	//
48735	//    * 0.072
48736	//
48737	//    * 0.060
48738	//
48739	//    * 0.048
48740	//
48741	//    * 0.036
48742	//
48743	//    * 0.024
48744	//
48745	//    * 0.012
48746	//
48747	// Use one of the following prices for Amazon Augmented AI custom human review
48748	// tasks. Prices are in US dollars.
48749	//
48750	//    * 1.200
48751	//
48752	//    * 1.080
48753	//
48754	//    * 0.960
48755	//
48756	//    * 0.840
48757	//
48758	//    * 0.720
48759	//
48760	//    * 0.600
48761	//
48762	//    * 0.480
48763	//
48764	//    * 0.360
48765	//
48766	//    * 0.240
48767	//
48768	//    * 0.120
48769	//
48770	//    * 0.072
48771	//
48772	//    * 0.060
48773	//
48774	//    * 0.048
48775	//
48776	//    * 0.036
48777	//
48778	//    * 0.024
48779	//
48780	//    * 0.012
48781	PublicWorkforceTaskPrice *PublicWorkforceTaskPrice `type:"structure"`
48782
48783	// The length of time that a task remains available for review by human workers.
48784	TaskAvailabilityLifetimeInSeconds *int64 `min:"1" type:"integer"`
48785
48786	// The number of distinct workers who will perform the same task on each object.
48787	// For example, if TaskCount is set to 3 for an image classification labeling
48788	// job, three workers will classify each input image. Increasing TaskCount can
48789	// improve label accuracy.
48790	//
48791	// TaskCount is a required field
48792	TaskCount *int64 `min:"1" type:"integer" required:"true"`
48793
48794	// A description for the human worker task.
48795	//
48796	// TaskDescription is a required field
48797	TaskDescription *string `min:"1" type:"string" required:"true"`
48798
48799	// Keywords used to describe the task so that workers can discover the task.
48800	TaskKeywords []*string `min:"1" type:"list"`
48801
48802	// The amount of time that a worker has to complete a task. The default value
48803	// is 3,600 seconds (1 hour).
48804	TaskTimeLimitInSeconds *int64 `min:"30" type:"integer"`
48805
48806	// A title for the human worker task.
48807	//
48808	// TaskTitle is a required field
48809	TaskTitle *string `min:"1" type:"string" required:"true"`
48810
48811	// Amazon Resource Name (ARN) of a team of workers. To learn more about the
48812	// types of workforces and work teams you can create and use with Amazon A2I,
48813	// see Create and Manage Workforces (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-workforce-management.html).
48814	//
48815	// WorkteamArn is a required field
48816	WorkteamArn *string `type:"string" required:"true"`
48817}
48818
48819// String returns the string representation
48820func (s HumanLoopConfig) String() string {
48821	return awsutil.Prettify(s)
48822}
48823
48824// GoString returns the string representation
48825func (s HumanLoopConfig) GoString() string {
48826	return s.String()
48827}
48828
48829// Validate inspects the fields of the type to determine if they are valid.
48830func (s *HumanLoopConfig) Validate() error {
48831	invalidParams := request.ErrInvalidParams{Context: "HumanLoopConfig"}
48832	if s.HumanTaskUiArn == nil {
48833		invalidParams.Add(request.NewErrParamRequired("HumanTaskUiArn"))
48834	}
48835	if s.TaskAvailabilityLifetimeInSeconds != nil && *s.TaskAvailabilityLifetimeInSeconds < 1 {
48836		invalidParams.Add(request.NewErrParamMinValue("TaskAvailabilityLifetimeInSeconds", 1))
48837	}
48838	if s.TaskCount == nil {
48839		invalidParams.Add(request.NewErrParamRequired("TaskCount"))
48840	}
48841	if s.TaskCount != nil && *s.TaskCount < 1 {
48842		invalidParams.Add(request.NewErrParamMinValue("TaskCount", 1))
48843	}
48844	if s.TaskDescription == nil {
48845		invalidParams.Add(request.NewErrParamRequired("TaskDescription"))
48846	}
48847	if s.TaskDescription != nil && len(*s.TaskDescription) < 1 {
48848		invalidParams.Add(request.NewErrParamMinLen("TaskDescription", 1))
48849	}
48850	if s.TaskKeywords != nil && len(s.TaskKeywords) < 1 {
48851		invalidParams.Add(request.NewErrParamMinLen("TaskKeywords", 1))
48852	}
48853	if s.TaskTimeLimitInSeconds != nil && *s.TaskTimeLimitInSeconds < 30 {
48854		invalidParams.Add(request.NewErrParamMinValue("TaskTimeLimitInSeconds", 30))
48855	}
48856	if s.TaskTitle == nil {
48857		invalidParams.Add(request.NewErrParamRequired("TaskTitle"))
48858	}
48859	if s.TaskTitle != nil && len(*s.TaskTitle) < 1 {
48860		invalidParams.Add(request.NewErrParamMinLen("TaskTitle", 1))
48861	}
48862	if s.WorkteamArn == nil {
48863		invalidParams.Add(request.NewErrParamRequired("WorkteamArn"))
48864	}
48865
48866	if invalidParams.Len() > 0 {
48867		return invalidParams
48868	}
48869	return nil
48870}
48871
48872// SetHumanTaskUiArn sets the HumanTaskUiArn field's value.
48873func (s *HumanLoopConfig) SetHumanTaskUiArn(v string) *HumanLoopConfig {
48874	s.HumanTaskUiArn = &v
48875	return s
48876}
48877
48878// SetPublicWorkforceTaskPrice sets the PublicWorkforceTaskPrice field's value.
48879func (s *HumanLoopConfig) SetPublicWorkforceTaskPrice(v *PublicWorkforceTaskPrice) *HumanLoopConfig {
48880	s.PublicWorkforceTaskPrice = v
48881	return s
48882}
48883
48884// SetTaskAvailabilityLifetimeInSeconds sets the TaskAvailabilityLifetimeInSeconds field's value.
48885func (s *HumanLoopConfig) SetTaskAvailabilityLifetimeInSeconds(v int64) *HumanLoopConfig {
48886	s.TaskAvailabilityLifetimeInSeconds = &v
48887	return s
48888}
48889
48890// SetTaskCount sets the TaskCount field's value.
48891func (s *HumanLoopConfig) SetTaskCount(v int64) *HumanLoopConfig {
48892	s.TaskCount = &v
48893	return s
48894}
48895
48896// SetTaskDescription sets the TaskDescription field's value.
48897func (s *HumanLoopConfig) SetTaskDescription(v string) *HumanLoopConfig {
48898	s.TaskDescription = &v
48899	return s
48900}
48901
48902// SetTaskKeywords sets the TaskKeywords field's value.
48903func (s *HumanLoopConfig) SetTaskKeywords(v []*string) *HumanLoopConfig {
48904	s.TaskKeywords = v
48905	return s
48906}
48907
48908// SetTaskTimeLimitInSeconds sets the TaskTimeLimitInSeconds field's value.
48909func (s *HumanLoopConfig) SetTaskTimeLimitInSeconds(v int64) *HumanLoopConfig {
48910	s.TaskTimeLimitInSeconds = &v
48911	return s
48912}
48913
48914// SetTaskTitle sets the TaskTitle field's value.
48915func (s *HumanLoopConfig) SetTaskTitle(v string) *HumanLoopConfig {
48916	s.TaskTitle = &v
48917	return s
48918}
48919
48920// SetWorkteamArn sets the WorkteamArn field's value.
48921func (s *HumanLoopConfig) SetWorkteamArn(v string) *HumanLoopConfig {
48922	s.WorkteamArn = &v
48923	return s
48924}
48925
48926// Container for configuring the source of human task requests.
48927type HumanLoopRequestSource struct {
48928	_ struct{} `type:"structure"`
48929
48930	// Specifies whether Amazon Rekognition or Amazon Textract are used as the integration
48931	// source. The default field settings and JSON parsing rules are different based
48932	// on the integration source. Valid values:
48933	//
48934	// AwsManagedHumanLoopRequestSource is a required field
48935	AwsManagedHumanLoopRequestSource *string `type:"string" required:"true" enum:"AwsManagedHumanLoopRequestSource"`
48936}
48937
48938// String returns the string representation
48939func (s HumanLoopRequestSource) String() string {
48940	return awsutil.Prettify(s)
48941}
48942
48943// GoString returns the string representation
48944func (s HumanLoopRequestSource) GoString() string {
48945	return s.String()
48946}
48947
48948// Validate inspects the fields of the type to determine if they are valid.
48949func (s *HumanLoopRequestSource) Validate() error {
48950	invalidParams := request.ErrInvalidParams{Context: "HumanLoopRequestSource"}
48951	if s.AwsManagedHumanLoopRequestSource == nil {
48952		invalidParams.Add(request.NewErrParamRequired("AwsManagedHumanLoopRequestSource"))
48953	}
48954
48955	if invalidParams.Len() > 0 {
48956		return invalidParams
48957	}
48958	return nil
48959}
48960
48961// SetAwsManagedHumanLoopRequestSource sets the AwsManagedHumanLoopRequestSource field's value.
48962func (s *HumanLoopRequestSource) SetAwsManagedHumanLoopRequestSource(v string) *HumanLoopRequestSource {
48963	s.AwsManagedHumanLoopRequestSource = &v
48964	return s
48965}
48966
48967// Information required for human workers to complete a labeling task.
48968type HumanTaskConfig struct {
48969	_ struct{} `type:"structure"`
48970
48971	// Configures how labels are consolidated across human workers.
48972	//
48973	// AnnotationConsolidationConfig is a required field
48974	AnnotationConsolidationConfig *AnnotationConsolidationConfig `type:"structure" required:"true"`
48975
48976	// Defines the maximum number of data objects that can be labeled by human workers
48977	// at the same time. Also referred to as batch size. Each object may have more
48978	// than one worker at one time. The default value is 1000 objects.
48979	MaxConcurrentTaskCount *int64 `min:"1" type:"integer"`
48980
48981	// The number of human workers that will label an object.
48982	//
48983	// NumberOfHumanWorkersPerDataObject is a required field
48984	NumberOfHumanWorkersPerDataObject *int64 `min:"1" type:"integer" required:"true"`
48985
48986	// The Amazon Resource Name (ARN) of a Lambda function that is run before a
48987	// data object is sent to a human worker. Use this function to provide input
48988	// to a custom labeling job.
48989	//
48990	// For built-in task types (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-task-types.html),
48991	// use one of the following Amazon SageMaker Ground Truth Lambda function ARNs
48992	// for PreHumanTaskLambdaArn. For custom labeling workflows, see Pre-annotation
48993	// Lambda (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-custom-templates-step3.html#sms-custom-templates-step3-prelambda).
48994	//
48995	// Bounding box - Finds the most similar boxes from different workers based
48996	// on the Jaccard index of the boxes.
48997	//
48998	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-BoundingBox
48999	//
49000	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-BoundingBox
49001	//
49002	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-BoundingBox
49003	//
49004	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-BoundingBox
49005	//
49006	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-BoundingBox
49007	//
49008	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-BoundingBox
49009	//
49010	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-BoundingBox
49011	//
49012	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-BoundingBox
49013	//
49014	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-BoundingBox
49015	//
49016	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-BoundingBox
49017	//
49018	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-BoundingBox
49019	//
49020	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-BoundingBox
49021	//
49022	// Image classification - Uses a variant of the Expectation Maximization approach
49023	// to estimate the true class of an image based on annotations from individual
49024	// workers.
49025	//
49026	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-ImageMultiClass
49027	//
49028	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-ImageMultiClass
49029	//
49030	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-ImageMultiClass
49031	//
49032	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-ImageMultiClass
49033	//
49034	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-ImageMultiClass
49035	//
49036	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-ImageMultiClass
49037	//
49038	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-ImageMultiClass
49039	//
49040	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-ImageMultiClass
49041	//
49042	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-ImageMultiClass
49043	//
49044	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-ImageMultiClass
49045	//
49046	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-ImageMultiClass
49047	//
49048	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-ImageMultiClass
49049	//
49050	// Multi-label image classification - Uses a variant of the Expectation Maximization
49051	// approach to estimate the true classes of an image based on annotations from
49052	// individual workers.
49053	//
49054	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-ImageMultiClassMultiLabel
49055	//
49056	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-ImageMultiClassMultiLabel
49057	//
49058	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-ImageMultiClassMultiLabel
49059	//
49060	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-ImageMultiClassMultiLabel
49061	//
49062	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-ImageMultiClassMultiLabel
49063	//
49064	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-ImageMultiClassMultiLabel
49065	//
49066	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-ImageMultiClassMultiLabel
49067	//
49068	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-ImageMultiClassMultiLabel
49069	//
49070	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-ImageMultiClassMultiLabel
49071	//
49072	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-ImageMultiClassMultiLabel
49073	//
49074	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-ImageMultiClassMultiLabel
49075	//
49076	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-ImageMultiClassMultiLabel
49077	//
49078	// Semantic segmentation - Treats each pixel in an image as a multi-class classification
49079	// and treats pixel annotations from workers as "votes" for the correct label.
49080	//
49081	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-SemanticSegmentation
49082	//
49083	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-SemanticSegmentation
49084	//
49085	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-SemanticSegmentation
49086	//
49087	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-SemanticSegmentation
49088	//
49089	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-SemanticSegmentation
49090	//
49091	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-SemanticSegmentation
49092	//
49093	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-SemanticSegmentation
49094	//
49095	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-SemanticSegmentation
49096	//
49097	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-SemanticSegmentation
49098	//
49099	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-SemanticSegmentation
49100	//
49101	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-SemanticSegmentation
49102	//
49103	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-SemanticSegmentation
49104	//
49105	// Text classification - Uses a variant of the Expectation Maximization approach
49106	// to estimate the true class of text based on annotations from individual workers.
49107	//
49108	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-TextMultiClass
49109	//
49110	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-TextMultiClass
49111	//
49112	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-TextMultiClass
49113	//
49114	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-TextMultiClass
49115	//
49116	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-TextMultiClass
49117	//
49118	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-TextMultiClass
49119	//
49120	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-TextMultiClass
49121	//
49122	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-TextMultiClass
49123	//
49124	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-TextMultiClass
49125	//
49126	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-TextMultiClass
49127	//
49128	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-TextMultiClass
49129	//
49130	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-TextMultiClass
49131	//
49132	// Multi-label text classification - Uses a variant of the Expectation Maximization
49133	// approach to estimate the true classes of text based on annotations from individual
49134	// workers.
49135	//
49136	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-TextMultiClassMultiLabel
49137	//
49138	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-TextMultiClassMultiLabel
49139	//
49140	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-TextMultiClassMultiLabel
49141	//
49142	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-TextMultiClassMultiLabel
49143	//
49144	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-TextMultiClassMultiLabel
49145	//
49146	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-TextMultiClassMultiLabel
49147	//
49148	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-TextMultiClassMultiLabel
49149	//
49150	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-TextMultiClassMultiLabel
49151	//
49152	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-TextMultiClassMultiLabel
49153	//
49154	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-TextMultiClassMultiLabel
49155	//
49156	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-TextMultiClassMultiLabel
49157	//
49158	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-TextMultiClassMultiLabel
49159	//
49160	// Named entity recognition - Groups similar selections and calculates aggregate
49161	// boundaries, resolving to most-assigned label.
49162	//
49163	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-NamedEntityRecognition
49164	//
49165	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-NamedEntityRecognition
49166	//
49167	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-NamedEntityRecognition
49168	//
49169	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-NamedEntityRecognition
49170	//
49171	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-NamedEntityRecognition
49172	//
49173	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-NamedEntityRecognition
49174	//
49175	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-NamedEntityRecognition
49176	//
49177	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-NamedEntityRecognition
49178	//
49179	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-NamedEntityRecognition
49180	//
49181	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-NamedEntityRecognition
49182	//
49183	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-NamedEntityRecognition
49184	//
49185	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-NamedEntityRecognition
49186	//
49187	// Video Classification - Use this task type when you need workers to classify
49188	// videos using predefined labels that you specify. Workers are shown videos
49189	// and are asked to choose one label for each video.
49190	//
49191	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-VideoMultiClass
49192	//
49193	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-VideoMultiClass
49194	//
49195	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-VideoMultiClass
49196	//
49197	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-VideoMultiClass
49198	//
49199	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-VideoMultiClass
49200	//
49201	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-VideoMultiClass
49202	//
49203	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-VideoMultiClass
49204	//
49205	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-VideoMultiClass
49206	//
49207	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-VideoMultiClass
49208	//
49209	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-VideoMultiClass
49210	//
49211	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-VideoMultiClass
49212	//
49213	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-VideoMultiClass
49214	//
49215	// Video Frame Object Detection - Use this task type to have workers identify
49216	// and locate objects in a sequence of video frames (images extracted from a
49217	// video) using bounding boxes. For example, you can use this task to ask workers
49218	// to identify and localize various objects in a series of video frames, such
49219	// as cars, bikes, and pedestrians.
49220	//
49221	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-VideoObjectDetection
49222	//
49223	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-VideoObjectDetection
49224	//
49225	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-VideoObjectDetection
49226	//
49227	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-VideoObjectDetection
49228	//
49229	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-VideoObjectDetection
49230	//
49231	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-VideoObjectDetection
49232	//
49233	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-VideoObjectDetection
49234	//
49235	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-VideoObjectDetection
49236	//
49237	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-VideoObjectDetection
49238	//
49239	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-VideoObjectDetection
49240	//
49241	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-VideoObjectDetection
49242	//
49243	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-VideoObjectDetection
49244	//
49245	// Video Frame Object Tracking - Use this task type to have workers track the
49246	// movement of objects in a sequence of video frames (images extracted from
49247	// a video) using bounding boxes. For example, you can use this task to ask
49248	// workers to track the movement of objects, such as cars, bikes, and pedestrians.
49249	//
49250	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-VideoObjectTracking
49251	//
49252	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-VideoObjectTracking
49253	//
49254	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-VideoObjectTracking
49255	//
49256	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-VideoObjectTracking
49257	//
49258	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-VideoObjectTracking
49259	//
49260	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-VideoObjectTracking
49261	//
49262	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-VideoObjectTracking
49263	//
49264	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-VideoObjectTracking
49265	//
49266	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-VideoObjectTracking
49267	//
49268	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-VideoObjectTracking
49269	//
49270	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-VideoObjectTracking
49271	//
49272	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-VideoObjectTracking
49273	//
49274	// 3D Point Cloud Modalities
49275	//
49276	// Use the following pre-annotation lambdas for 3D point cloud labeling modality
49277	// tasks. See 3D Point Cloud Task types (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-point-cloud-task-types.html)
49278	// to learn more.
49279	//
49280	// 3D Point Cloud Object Detection - Use this task type when you want workers
49281	// to classify objects in a 3D point cloud by drawing 3D cuboids around objects.
49282	// For example, you can use this task type to ask workers to identify different
49283	// types of objects in a point cloud, such as cars, bikes, and pedestrians.
49284	//
49285	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-3DPointCloudObjectDetection
49286	//
49287	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-3DPointCloudObjectDetection
49288	//
49289	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-3DPointCloudObjectDetection
49290	//
49291	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-3DPointCloudObjectDetection
49292	//
49293	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-3DPointCloudObjectDetection
49294	//
49295	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-3DPointCloudObjectDetection
49296	//
49297	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-3DPointCloudObjectDetection
49298	//
49299	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-3DPointCloudObjectDetection
49300	//
49301	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-3DPointCloudObjectDetection
49302	//
49303	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-3DPointCloudObjectDetection
49304	//
49305	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-3DPointCloudObjectDetection
49306	//
49307	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-3DPointCloudObjectDetection
49308	//
49309	// 3D Point Cloud Object Tracking - Use this task type when you want workers
49310	// to draw 3D cuboids around objects that appear in a sequence of 3D point cloud
49311	// frames. For example, you can use this task type to ask workers to track the
49312	// movement of vehicles across multiple point cloud frames.
49313	//
49314	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-3DPointCloudObjectTracking
49315	//
49316	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-3DPointCloudObjectTracking
49317	//
49318	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-3DPointCloudObjectTracking
49319	//
49320	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-3DPointCloudObjectTracking
49321	//
49322	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-3DPointCloudObjectTracking
49323	//
49324	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-3DPointCloudObjectTracking
49325	//
49326	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-3DPointCloudObjectTracking
49327	//
49328	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-3DPointCloudObjectTracking
49329	//
49330	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-3DPointCloudObjectTracking
49331	//
49332	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-3DPointCloudObjectTracking
49333	//
49334	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-3DPointCloudObjectTracking
49335	//
49336	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-3DPointCloudObjectTracking
49337	//
49338	// 3D Point Cloud Semantic Segmentation - Use this task type when you want workers
49339	// to create a point-level semantic segmentation masks by painting objects in
49340	// a 3D point cloud using different colors where each color is assigned to one
49341	// of the classes you specify.
49342	//
49343	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-3DPointCloudSemanticSegmentation
49344	//
49345	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-3DPointCloudSemanticSegmentation
49346	//
49347	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-3DPointCloudSemanticSegmentation
49348	//
49349	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-3DPointCloudSemanticSegmentation
49350	//
49351	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-3DPointCloudSemanticSegmentation
49352	//
49353	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-3DPointCloudSemanticSegmentation
49354	//
49355	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-3DPointCloudSemanticSegmentation
49356	//
49357	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-3DPointCloudSemanticSegmentation
49358	//
49359	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-3DPointCloudSemanticSegmentation
49360	//
49361	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-3DPointCloudSemanticSegmentation
49362	//
49363	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-3DPointCloudSemanticSegmentation
49364	//
49365	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-3DPointCloudSemanticSegmentation
49366	//
49367	// Use the following ARNs for Label Verification and Adjustment Jobs
49368	//
49369	// Use label verification and adjustment jobs to review and adjust labels. To
49370	// learn more, see Verify and Adjust Labels (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-verification-data.html).
49371	//
49372	// Bounding box verification - Uses a variant of the Expectation Maximization
49373	// approach to estimate the true class of verification judgement for bounding
49374	// box labels based on annotations from individual workers.
49375	//
49376	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-VerificationBoundingBox
49377	//
49378	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-VerificationBoundingBox
49379	//
49380	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-VerificationBoundingBox
49381	//
49382	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-VerificationBoundingBox
49383	//
49384	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-VerificationBoundingBox
49385	//
49386	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-VerificationBoundingBox
49387	//
49388	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-VerificationBoundingBox
49389	//
49390	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-VerificationBoundingBox
49391	//
49392	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-VerificationBoundingBox
49393	//
49394	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-VerificationBoundingBox
49395	//
49396	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-VerificationBoundingBox
49397	//
49398	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-VerificationBoundingBox
49399	//
49400	// Bounding box adjustment - Finds the most similar boxes from different workers
49401	// based on the Jaccard index of the adjusted annotations.
49402	//
49403	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-AdjustmentBoundingBox
49404	//
49405	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-AdjustmentBoundingBox
49406	//
49407	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-AdjustmentBoundingBox
49408	//
49409	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-AdjustmentBoundingBox
49410	//
49411	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-AdjustmentBoundingBox
49412	//
49413	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-AdjustmentBoundingBox
49414	//
49415	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-AdjustmentBoundingBox
49416	//
49417	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-AdjustmentBoundingBox
49418	//
49419	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-AdjustmentBoundingBox
49420	//
49421	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-AdjustmentBoundingBox
49422	//
49423	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-AdjustmentBoundingBox
49424	//
49425	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-AdjustmentBoundingBox
49426	//
49427	// Semantic segmentation verification - Uses a variant of the Expectation Maximization
49428	// approach to estimate the true class of verification judgment for semantic
49429	// segmentation labels based on annotations from individual workers.
49430	//
49431	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-VerificationSemanticSegmentation
49432	//
49433	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-VerificationSemanticSegmentation
49434	//
49435	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-VerificationSemanticSegmentation
49436	//
49437	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-VerificationSemanticSegmentation
49438	//
49439	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-VerificationSemanticSegmentation
49440	//
49441	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-VerificationSemanticSegmentation
49442	//
49443	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-VerificationSemanticSegmentation
49444	//
49445	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-VerificationSemanticSegmentation
49446	//
49447	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-VerificationSemanticSegmentation
49448	//
49449	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-VerificationSemanticSegmentation
49450	//
49451	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-VerificationSemanticSegmentation
49452	//
49453	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-VerificationSemanticSegmentation
49454	//
49455	// Semantic segmentation adjustment - Treats each pixel in an image as a multi-class
49456	// classification and treats pixel adjusted annotations from workers as "votes"
49457	// for the correct label.
49458	//
49459	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-AdjustmentSemanticSegmentation
49460	//
49461	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-AdjustmentSemanticSegmentation
49462	//
49463	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-AdjustmentSemanticSegmentation
49464	//
49465	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-AdjustmentSemanticSegmentation
49466	//
49467	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-AdjustmentSemanticSegmentation
49468	//
49469	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-AdjustmentSemanticSegmentation
49470	//
49471	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-AdjustmentSemanticSegmentation
49472	//
49473	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-AdjustmentSemanticSegmentation
49474	//
49475	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-AdjustmentSemanticSegmentation
49476	//
49477	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-AdjustmentSemanticSegmentation
49478	//
49479	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-AdjustmentSemanticSegmentation
49480	//
49481	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-AdjustmentSemanticSegmentation
49482	//
49483	// Video Frame Object Detection Adjustment - Use this task type when you want
49484	// workers to adjust bounding boxes that workers have added to video frames
49485	// to classify and localize objects in a sequence of video frames.
49486	//
49487	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-AdjustmentVideoObjectDetection
49488	//
49489	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-AdjustmentVideoObjectDetection
49490	//
49491	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-AdjustmentVideoObjectDetection
49492	//
49493	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-AdjustmentVideoObjectDetection
49494	//
49495	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-AdjustmentVideoObjectDetection
49496	//
49497	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-AdjustmentVideoObjectDetection
49498	//
49499	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-AdjustmentVideoObjectDetection
49500	//
49501	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-AdjustmentVideoObjectDetection
49502	//
49503	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-AdjustmentVideoObjectDetection
49504	//
49505	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-AdjustmentVideoObjectDetection
49506	//
49507	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-AdjustmentVideoObjectDetection
49508	//
49509	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-AdjustmentVideoObjectDetection
49510	//
49511	// Video Frame Object Tracking Adjustment - Use this task type when you want
49512	// workers to adjust bounding boxes that workers have added to video frames
49513	// to track object movement across a sequence of video frames.
49514	//
49515	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-AdjustmentVideoObjectTracking
49516	//
49517	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-AdjustmentVideoObjectTracking
49518	//
49519	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-AdjustmentVideoObjectTracking
49520	//
49521	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-AdjustmentVideoObjectTracking
49522	//
49523	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-AdjustmentVideoObjectTracking
49524	//
49525	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-AdjustmentVideoObjectTracking
49526	//
49527	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-AdjustmentVideoObjectTracking
49528	//
49529	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-AdjustmentVideoObjectTracking
49530	//
49531	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-AdjustmentVideoObjectTracking
49532	//
49533	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-AdjustmentVideoObjectTracking
49534	//
49535	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-AdjustmentVideoObjectTracking
49536	//
49537	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-AdjustmentVideoObjectTracking
49538	//
49539	// 3D point cloud object detection adjustment - Adjust 3D cuboids in a point
49540	// cloud frame.
49541	//
49542	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-Adjustment3DPointCloudObjectDetection
49543	//
49544	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-Adjustment3DPointCloudObjectDetection
49545	//
49546	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-Adjustment3DPointCloudObjectDetection
49547	//
49548	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-Adjustment3DPointCloudObjectDetection
49549	//
49550	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-Adjustment3DPointCloudObjectDetection
49551	//
49552	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-Adjustment3DPointCloudObjectDetection
49553	//
49554	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-Adjustment3DPointCloudObjectDetection
49555	//
49556	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-Adjustment3DPointCloudObjectDetection
49557	//
49558	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-Adjustment3DPointCloudObjectDetection
49559	//
49560	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-Adjustment3DPointCloudObjectDetection
49561	//
49562	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-Adjustment3DPointCloudObjectDetection
49563	//
49564	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-Adjustment3DPointCloudObjectDetection
49565	//
49566	// 3D point cloud object tracking adjustment - Adjust 3D cuboids across a sequence
49567	// of point cloud frames.
49568	//
49569	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-Adjustment3DPointCloudObjectTracking
49570	//
49571	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-Adjustment3DPointCloudObjectTracking
49572	//
49573	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-Adjustment3DPointCloudObjectTracking
49574	//
49575	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-Adjustment3DPointCloudObjectTracking
49576	//
49577	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-Adjustment3DPointCloudObjectTracking
49578	//
49579	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-Adjustment3DPointCloudObjectTracking
49580	//
49581	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-Adjustment3DPointCloudObjectTracking
49582	//
49583	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-Adjustment3DPointCloudObjectTracking
49584	//
49585	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-Adjustment3DPointCloudObjectTracking
49586	//
49587	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-Adjustment3DPointCloudObjectTracking
49588	//
49589	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-Adjustment3DPointCloudObjectTracking
49590	//
49591	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-Adjustment3DPointCloudObjectTracking
49592	//
49593	// 3D point cloud semantic segmentation adjustment - Adjust semantic segmentation
49594	// masks in a 3D point cloud.
49595	//
49596	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-Adjustment3DPointCloudSemanticSegmentation
49597	//
49598	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-Adjustment3DPointCloudSemanticSegmentation
49599	//
49600	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-Adjustment3DPointCloudSemanticSegmentation
49601	//
49602	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-Adjustment3DPointCloudSemanticSegmentation
49603	//
49604	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-Adjustment3DPointCloudSemanticSegmentation
49605	//
49606	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-Adjustment3DPointCloudSemanticSegmentation
49607	//
49608	//    * arn:aws:lambda:ap-south-1:565803892007:function:PRE-Adjustment3DPointCloudSemanticSegmentation
49609	//
49610	//    * arn:aws:lambda:eu-central-1:203001061592:function:PRE-Adjustment3DPointCloudSemanticSegmentation
49611	//
49612	//    * arn:aws:lambda:ap-northeast-2:845288260483:function:PRE-Adjustment3DPointCloudSemanticSegmentation
49613	//
49614	//    * arn:aws:lambda:eu-west-2:487402164563:function:PRE-Adjustment3DPointCloudSemanticSegmentation
49615	//
49616	//    * arn:aws:lambda:ap-southeast-1:377565633583:function:PRE-Adjustment3DPointCloudSemanticSegmentation
49617	//
49618	//    * arn:aws:lambda:ca-central-1:918755190332:function:PRE-Adjustment3DPointCloudSemanticSegmentation
49619	//
49620	// PreHumanTaskLambdaArn is a required field
49621	PreHumanTaskLambdaArn *string `type:"string" required:"true"`
49622
49623	// The price that you pay for each task performed by an Amazon Mechanical Turk
49624	// worker.
49625	PublicWorkforceTaskPrice *PublicWorkforceTaskPrice `type:"structure"`
49626
49627	// The length of time that a task remains available for labeling by human workers.
49628	// The default and maximum values for this parameter depend on the type of workforce
49629	// you use.
49630	//
49631	//    * If you choose the Amazon Mechanical Turk workforce, the maximum is 12
49632	//    hours (43,200 seconds). The default is 6 hours (21,600 seconds).
49633	//
49634	//    * If you choose a private or vendor workforce, the default value is 10
49635	//    days (864,000 seconds). For most users, the maximum is also 10 days. If
49636	//    you want to change this limit, contact AWS Support.
49637	TaskAvailabilityLifetimeInSeconds *int64 `min:"60" type:"integer"`
49638
49639	// A description of the task for your human workers.
49640	//
49641	// TaskDescription is a required field
49642	TaskDescription *string `min:"1" type:"string" required:"true"`
49643
49644	// Keywords used to describe the task so that workers on Amazon Mechanical Turk
49645	// can discover the task.
49646	TaskKeywords []*string `min:"1" type:"list"`
49647
49648	// The amount of time that a worker has to complete a task.
49649	//
49650	// If you create a custom labeling job, the maximum value for this parameter
49651	// is 8 hours (28,800 seconds).
49652	//
49653	// If you create a labeling job using a built-in task type (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-task-types.html)
49654	// the maximum for this parameter depends on the task type you use:
49655	//
49656	//    * For image (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-label-images.html)
49657	//    and text (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-label-text.html)
49658	//    labeling jobs, the maximum is 8 hours (28,800 seconds).
49659	//
49660	//    * For 3D point cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-point-cloud.html)
49661	//    and video frame (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-video.html)
49662	//    labeling jobs, the maximum is 7 days (604,800 seconds). If you want to
49663	//    change these limits, contact AWS Support.
49664	//
49665	// TaskTimeLimitInSeconds is a required field
49666	TaskTimeLimitInSeconds *int64 `min:"30" type:"integer" required:"true"`
49667
49668	// A title for the task for your human workers.
49669	//
49670	// TaskTitle is a required field
49671	TaskTitle *string `min:"1" type:"string" required:"true"`
49672
49673	// Information about the user interface that workers use to complete the labeling
49674	// task.
49675	//
49676	// UiConfig is a required field
49677	UiConfig *UiConfig `type:"structure" required:"true"`
49678
49679	// The Amazon Resource Name (ARN) of the work team assigned to complete the
49680	// tasks.
49681	//
49682	// WorkteamArn is a required field
49683	WorkteamArn *string `type:"string" required:"true"`
49684}
49685
49686// String returns the string representation
49687func (s HumanTaskConfig) String() string {
49688	return awsutil.Prettify(s)
49689}
49690
49691// GoString returns the string representation
49692func (s HumanTaskConfig) GoString() string {
49693	return s.String()
49694}
49695
49696// Validate inspects the fields of the type to determine if they are valid.
49697func (s *HumanTaskConfig) Validate() error {
49698	invalidParams := request.ErrInvalidParams{Context: "HumanTaskConfig"}
49699	if s.AnnotationConsolidationConfig == nil {
49700		invalidParams.Add(request.NewErrParamRequired("AnnotationConsolidationConfig"))
49701	}
49702	if s.MaxConcurrentTaskCount != nil && *s.MaxConcurrentTaskCount < 1 {
49703		invalidParams.Add(request.NewErrParamMinValue("MaxConcurrentTaskCount", 1))
49704	}
49705	if s.NumberOfHumanWorkersPerDataObject == nil {
49706		invalidParams.Add(request.NewErrParamRequired("NumberOfHumanWorkersPerDataObject"))
49707	}
49708	if s.NumberOfHumanWorkersPerDataObject != nil && *s.NumberOfHumanWorkersPerDataObject < 1 {
49709		invalidParams.Add(request.NewErrParamMinValue("NumberOfHumanWorkersPerDataObject", 1))
49710	}
49711	if s.PreHumanTaskLambdaArn == nil {
49712		invalidParams.Add(request.NewErrParamRequired("PreHumanTaskLambdaArn"))
49713	}
49714	if s.TaskAvailabilityLifetimeInSeconds != nil && *s.TaskAvailabilityLifetimeInSeconds < 60 {
49715		invalidParams.Add(request.NewErrParamMinValue("TaskAvailabilityLifetimeInSeconds", 60))
49716	}
49717	if s.TaskDescription == nil {
49718		invalidParams.Add(request.NewErrParamRequired("TaskDescription"))
49719	}
49720	if s.TaskDescription != nil && len(*s.TaskDescription) < 1 {
49721		invalidParams.Add(request.NewErrParamMinLen("TaskDescription", 1))
49722	}
49723	if s.TaskKeywords != nil && len(s.TaskKeywords) < 1 {
49724		invalidParams.Add(request.NewErrParamMinLen("TaskKeywords", 1))
49725	}
49726	if s.TaskTimeLimitInSeconds == nil {
49727		invalidParams.Add(request.NewErrParamRequired("TaskTimeLimitInSeconds"))
49728	}
49729	if s.TaskTimeLimitInSeconds != nil && *s.TaskTimeLimitInSeconds < 30 {
49730		invalidParams.Add(request.NewErrParamMinValue("TaskTimeLimitInSeconds", 30))
49731	}
49732	if s.TaskTitle == nil {
49733		invalidParams.Add(request.NewErrParamRequired("TaskTitle"))
49734	}
49735	if s.TaskTitle != nil && len(*s.TaskTitle) < 1 {
49736		invalidParams.Add(request.NewErrParamMinLen("TaskTitle", 1))
49737	}
49738	if s.UiConfig == nil {
49739		invalidParams.Add(request.NewErrParamRequired("UiConfig"))
49740	}
49741	if s.WorkteamArn == nil {
49742		invalidParams.Add(request.NewErrParamRequired("WorkteamArn"))
49743	}
49744	if s.AnnotationConsolidationConfig != nil {
49745		if err := s.AnnotationConsolidationConfig.Validate(); err != nil {
49746			invalidParams.AddNested("AnnotationConsolidationConfig", err.(request.ErrInvalidParams))
49747		}
49748	}
49749
49750	if invalidParams.Len() > 0 {
49751		return invalidParams
49752	}
49753	return nil
49754}
49755
49756// SetAnnotationConsolidationConfig sets the AnnotationConsolidationConfig field's value.
49757func (s *HumanTaskConfig) SetAnnotationConsolidationConfig(v *AnnotationConsolidationConfig) *HumanTaskConfig {
49758	s.AnnotationConsolidationConfig = v
49759	return s
49760}
49761
49762// SetMaxConcurrentTaskCount sets the MaxConcurrentTaskCount field's value.
49763func (s *HumanTaskConfig) SetMaxConcurrentTaskCount(v int64) *HumanTaskConfig {
49764	s.MaxConcurrentTaskCount = &v
49765	return s
49766}
49767
49768// SetNumberOfHumanWorkersPerDataObject sets the NumberOfHumanWorkersPerDataObject field's value.
49769func (s *HumanTaskConfig) SetNumberOfHumanWorkersPerDataObject(v int64) *HumanTaskConfig {
49770	s.NumberOfHumanWorkersPerDataObject = &v
49771	return s
49772}
49773
49774// SetPreHumanTaskLambdaArn sets the PreHumanTaskLambdaArn field's value.
49775func (s *HumanTaskConfig) SetPreHumanTaskLambdaArn(v string) *HumanTaskConfig {
49776	s.PreHumanTaskLambdaArn = &v
49777	return s
49778}
49779
49780// SetPublicWorkforceTaskPrice sets the PublicWorkforceTaskPrice field's value.
49781func (s *HumanTaskConfig) SetPublicWorkforceTaskPrice(v *PublicWorkforceTaskPrice) *HumanTaskConfig {
49782	s.PublicWorkforceTaskPrice = v
49783	return s
49784}
49785
49786// SetTaskAvailabilityLifetimeInSeconds sets the TaskAvailabilityLifetimeInSeconds field's value.
49787func (s *HumanTaskConfig) SetTaskAvailabilityLifetimeInSeconds(v int64) *HumanTaskConfig {
49788	s.TaskAvailabilityLifetimeInSeconds = &v
49789	return s
49790}
49791
49792// SetTaskDescription sets the TaskDescription field's value.
49793func (s *HumanTaskConfig) SetTaskDescription(v string) *HumanTaskConfig {
49794	s.TaskDescription = &v
49795	return s
49796}
49797
49798// SetTaskKeywords sets the TaskKeywords field's value.
49799func (s *HumanTaskConfig) SetTaskKeywords(v []*string) *HumanTaskConfig {
49800	s.TaskKeywords = v
49801	return s
49802}
49803
49804// SetTaskTimeLimitInSeconds sets the TaskTimeLimitInSeconds field's value.
49805func (s *HumanTaskConfig) SetTaskTimeLimitInSeconds(v int64) *HumanTaskConfig {
49806	s.TaskTimeLimitInSeconds = &v
49807	return s
49808}
49809
49810// SetTaskTitle sets the TaskTitle field's value.
49811func (s *HumanTaskConfig) SetTaskTitle(v string) *HumanTaskConfig {
49812	s.TaskTitle = &v
49813	return s
49814}
49815
49816// SetUiConfig sets the UiConfig field's value.
49817func (s *HumanTaskConfig) SetUiConfig(v *UiConfig) *HumanTaskConfig {
49818	s.UiConfig = v
49819	return s
49820}
49821
49822// SetWorkteamArn sets the WorkteamArn field's value.
49823func (s *HumanTaskConfig) SetWorkteamArn(v string) *HumanTaskConfig {
49824	s.WorkteamArn = &v
49825	return s
49826}
49827
49828// Container for human task user interface information.
49829type HumanTaskUiSummary struct {
49830	_ struct{} `type:"structure"`
49831
49832	// A timestamp when SageMaker created the human task user interface.
49833	//
49834	// CreationTime is a required field
49835	CreationTime *time.Time `type:"timestamp" required:"true"`
49836
49837	// The Amazon Resource Name (ARN) of the human task user interface.
49838	//
49839	// HumanTaskUiArn is a required field
49840	HumanTaskUiArn *string `type:"string" required:"true"`
49841
49842	// The name of the human task user interface.
49843	//
49844	// HumanTaskUiName is a required field
49845	HumanTaskUiName *string `min:"1" type:"string" required:"true"`
49846}
49847
49848// String returns the string representation
49849func (s HumanTaskUiSummary) String() string {
49850	return awsutil.Prettify(s)
49851}
49852
49853// GoString returns the string representation
49854func (s HumanTaskUiSummary) GoString() string {
49855	return s.String()
49856}
49857
49858// SetCreationTime sets the CreationTime field's value.
49859func (s *HumanTaskUiSummary) SetCreationTime(v time.Time) *HumanTaskUiSummary {
49860	s.CreationTime = &v
49861	return s
49862}
49863
49864// SetHumanTaskUiArn sets the HumanTaskUiArn field's value.
49865func (s *HumanTaskUiSummary) SetHumanTaskUiArn(v string) *HumanTaskUiSummary {
49866	s.HumanTaskUiArn = &v
49867	return s
49868}
49869
49870// SetHumanTaskUiName sets the HumanTaskUiName field's value.
49871func (s *HumanTaskUiSummary) SetHumanTaskUiName(v string) *HumanTaskUiSummary {
49872	s.HumanTaskUiName = &v
49873	return s
49874}
49875
49876// Specifies which training algorithm to use for training jobs that a hyperparameter
49877// tuning job launches and the metrics to monitor.
49878type HyperParameterAlgorithmSpecification struct {
49879	_ struct{} `type:"structure"`
49880
49881	// The name of the resource algorithm to use for the hyperparameter tuning job.
49882	// If you specify a value for this parameter, do not specify a value for TrainingImage.
49883	AlgorithmName *string `min:"1" type:"string"`
49884
49885	// An array of MetricDefinition objects that specify the metrics that the algorithm
49886	// emits.
49887	MetricDefinitions []*MetricDefinition `type:"list"`
49888
49889	// The registry path of the Docker image that contains the training algorithm.
49890	// For information about Docker registry paths for built-in algorithms, see
49891	// Algorithms Provided by Amazon SageMaker: Common Parameters (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-algo-docker-registry-paths.html).
49892	// Amazon SageMaker supports both registry/repository[:tag] and registry/repository[@digest]
49893	// image path formats. For more information, see Using Your Own Algorithms with
49894	// Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html).
49895	TrainingImage *string `type:"string"`
49896
49897	// The input mode that the algorithm supports: File or Pipe. In File input mode,
49898	// Amazon SageMaker downloads the training data from Amazon S3 to the storage
49899	// volume that is attached to the training instance and mounts the directory
49900	// to the Docker volume for the training container. In Pipe input mode, Amazon
49901	// SageMaker streams data directly from Amazon S3 to the container.
49902	//
49903	// If you specify File mode, make sure that you provision the storage volume
49904	// that is attached to the training instance with enough capacity to accommodate
49905	// the training data downloaded from Amazon S3, the model artifacts, and intermediate
49906	// information.
49907	//
49908	// For more information about input modes, see Algorithms (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html).
49909	//
49910	// TrainingInputMode is a required field
49911	TrainingInputMode *string `type:"string" required:"true" enum:"TrainingInputMode"`
49912}
49913
49914// String returns the string representation
49915func (s HyperParameterAlgorithmSpecification) String() string {
49916	return awsutil.Prettify(s)
49917}
49918
49919// GoString returns the string representation
49920func (s HyperParameterAlgorithmSpecification) GoString() string {
49921	return s.String()
49922}
49923
49924// Validate inspects the fields of the type to determine if they are valid.
49925func (s *HyperParameterAlgorithmSpecification) Validate() error {
49926	invalidParams := request.ErrInvalidParams{Context: "HyperParameterAlgorithmSpecification"}
49927	if s.AlgorithmName != nil && len(*s.AlgorithmName) < 1 {
49928		invalidParams.Add(request.NewErrParamMinLen("AlgorithmName", 1))
49929	}
49930	if s.TrainingInputMode == nil {
49931		invalidParams.Add(request.NewErrParamRequired("TrainingInputMode"))
49932	}
49933	if s.MetricDefinitions != nil {
49934		for i, v := range s.MetricDefinitions {
49935			if v == nil {
49936				continue
49937			}
49938			if err := v.Validate(); err != nil {
49939				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MetricDefinitions", i), err.(request.ErrInvalidParams))
49940			}
49941		}
49942	}
49943
49944	if invalidParams.Len() > 0 {
49945		return invalidParams
49946	}
49947	return nil
49948}
49949
49950// SetAlgorithmName sets the AlgorithmName field's value.
49951func (s *HyperParameterAlgorithmSpecification) SetAlgorithmName(v string) *HyperParameterAlgorithmSpecification {
49952	s.AlgorithmName = &v
49953	return s
49954}
49955
49956// SetMetricDefinitions sets the MetricDefinitions field's value.
49957func (s *HyperParameterAlgorithmSpecification) SetMetricDefinitions(v []*MetricDefinition) *HyperParameterAlgorithmSpecification {
49958	s.MetricDefinitions = v
49959	return s
49960}
49961
49962// SetTrainingImage sets the TrainingImage field's value.
49963func (s *HyperParameterAlgorithmSpecification) SetTrainingImage(v string) *HyperParameterAlgorithmSpecification {
49964	s.TrainingImage = &v
49965	return s
49966}
49967
49968// SetTrainingInputMode sets the TrainingInputMode field's value.
49969func (s *HyperParameterAlgorithmSpecification) SetTrainingInputMode(v string) *HyperParameterAlgorithmSpecification {
49970	s.TrainingInputMode = &v
49971	return s
49972}
49973
49974// Defines a hyperparameter to be used by an algorithm.
49975type HyperParameterSpecification struct {
49976	_ struct{} `type:"structure"`
49977
49978	// The default value for this hyperparameter. If a default value is specified,
49979	// a hyperparameter cannot be required.
49980	DefaultValue *string `type:"string"`
49981
49982	// A brief description of the hyperparameter.
49983	Description *string `type:"string"`
49984
49985	// Indicates whether this hyperparameter is required.
49986	IsRequired *bool `type:"boolean"`
49987
49988	// Indicates whether this hyperparameter is tunable in a hyperparameter tuning
49989	// job.
49990	IsTunable *bool `type:"boolean"`
49991
49992	// The name of this hyperparameter. The name must be unique.
49993	//
49994	// Name is a required field
49995	Name *string `type:"string" required:"true"`
49996
49997	// The allowed range for this hyperparameter.
49998	Range *ParameterRange `type:"structure"`
49999
50000	// The type of this hyperparameter. The valid types are Integer, Continuous,
50001	// Categorical, and FreeText.
50002	//
50003	// Type is a required field
50004	Type *string `type:"string" required:"true" enum:"ParameterType"`
50005}
50006
50007// String returns the string representation
50008func (s HyperParameterSpecification) String() string {
50009	return awsutil.Prettify(s)
50010}
50011
50012// GoString returns the string representation
50013func (s HyperParameterSpecification) GoString() string {
50014	return s.String()
50015}
50016
50017// Validate inspects the fields of the type to determine if they are valid.
50018func (s *HyperParameterSpecification) Validate() error {
50019	invalidParams := request.ErrInvalidParams{Context: "HyperParameterSpecification"}
50020	if s.Name == nil {
50021		invalidParams.Add(request.NewErrParamRequired("Name"))
50022	}
50023	if s.Type == nil {
50024		invalidParams.Add(request.NewErrParamRequired("Type"))
50025	}
50026	if s.Range != nil {
50027		if err := s.Range.Validate(); err != nil {
50028			invalidParams.AddNested("Range", err.(request.ErrInvalidParams))
50029		}
50030	}
50031
50032	if invalidParams.Len() > 0 {
50033		return invalidParams
50034	}
50035	return nil
50036}
50037
50038// SetDefaultValue sets the DefaultValue field's value.
50039func (s *HyperParameterSpecification) SetDefaultValue(v string) *HyperParameterSpecification {
50040	s.DefaultValue = &v
50041	return s
50042}
50043
50044// SetDescription sets the Description field's value.
50045func (s *HyperParameterSpecification) SetDescription(v string) *HyperParameterSpecification {
50046	s.Description = &v
50047	return s
50048}
50049
50050// SetIsRequired sets the IsRequired field's value.
50051func (s *HyperParameterSpecification) SetIsRequired(v bool) *HyperParameterSpecification {
50052	s.IsRequired = &v
50053	return s
50054}
50055
50056// SetIsTunable sets the IsTunable field's value.
50057func (s *HyperParameterSpecification) SetIsTunable(v bool) *HyperParameterSpecification {
50058	s.IsTunable = &v
50059	return s
50060}
50061
50062// SetName sets the Name field's value.
50063func (s *HyperParameterSpecification) SetName(v string) *HyperParameterSpecification {
50064	s.Name = &v
50065	return s
50066}
50067
50068// SetRange sets the Range field's value.
50069func (s *HyperParameterSpecification) SetRange(v *ParameterRange) *HyperParameterSpecification {
50070	s.Range = v
50071	return s
50072}
50073
50074// SetType sets the Type field's value.
50075func (s *HyperParameterSpecification) SetType(v string) *HyperParameterSpecification {
50076	s.Type = &v
50077	return s
50078}
50079
50080// Defines the training jobs launched by a hyperparameter tuning job.
50081type HyperParameterTrainingJobDefinition struct {
50082	_ struct{} `type:"structure"`
50083
50084	// The HyperParameterAlgorithmSpecification object that specifies the resource
50085	// algorithm to use for the training jobs that the tuning job launches.
50086	//
50087	// AlgorithmSpecification is a required field
50088	AlgorithmSpecification *HyperParameterAlgorithmSpecification `type:"structure" required:"true"`
50089
50090	// Contains information about the output location for managed spot training
50091	// checkpoint data.
50092	CheckpointConfig *CheckpointConfig `type:"structure"`
50093
50094	// The job definition name.
50095	DefinitionName *string `min:"1" type:"string"`
50096
50097	// To encrypt all communications between ML compute instances in distributed
50098	// training, choose True. Encryption provides greater security for distributed
50099	// training, but training might take longer. How long it takes depends on the
50100	// amount of communication between compute instances, especially if you use
50101	// a deep learning algorithm in distributed training.
50102	EnableInterContainerTrafficEncryption *bool `type:"boolean"`
50103
50104	// A Boolean indicating whether managed spot training is enabled (True) or not
50105	// (False).
50106	EnableManagedSpotTraining *bool `type:"boolean"`
50107
50108	// Isolates the training container. No inbound or outbound network calls can
50109	// be made, except for calls between peers within a training cluster for distributed
50110	// training. If network isolation is used for training jobs that are configured
50111	// to use a VPC, Amazon SageMaker downloads and uploads customer data and model
50112	// artifacts through the specified VPC, but the training container does not
50113	// have network access.
50114	EnableNetworkIsolation *bool `type:"boolean"`
50115
50116	// Specifies ranges of integer, continuous, and categorical hyperparameters
50117	// that a hyperparameter tuning job searches. The hyperparameter tuning job
50118	// launches training jobs with hyperparameter values within these ranges to
50119	// find the combination of values that result in the training job with the best
50120	// performance as measured by the objective metric of the hyperparameter tuning
50121	// job.
50122	//
50123	// You can specify a maximum of 20 hyperparameters that a hyperparameter tuning
50124	// job can search over. Every possible value of a categorical parameter range
50125	// counts against this limit.
50126	HyperParameterRanges *ParameterRanges `type:"structure"`
50127
50128	// An array of Channel objects that specify the input for the training jobs
50129	// that the tuning job launches.
50130	InputDataConfig []*Channel `min:"1" type:"list"`
50131
50132	// Specifies the path to the Amazon S3 bucket where you store model artifacts
50133	// from the training jobs that the tuning job launches.
50134	//
50135	// OutputDataConfig is a required field
50136	OutputDataConfig *OutputDataConfig `type:"structure" required:"true"`
50137
50138	// The resources, including the compute instances and storage volumes, to use
50139	// for the training jobs that the tuning job launches.
50140	//
50141	// Storage volumes store model artifacts and incremental states. Training algorithms
50142	// might also use storage volumes for scratch space. If you want Amazon SageMaker
50143	// to use the storage volume to store the training data, choose File as the
50144	// TrainingInputMode in the algorithm specification. For distributed training
50145	// algorithms, specify an instance count greater than 1.
50146	//
50147	// ResourceConfig is a required field
50148	ResourceConfig *ResourceConfig `type:"structure" required:"true"`
50149
50150	// The Amazon Resource Name (ARN) of the IAM role associated with the training
50151	// jobs that the tuning job launches.
50152	//
50153	// RoleArn is a required field
50154	RoleArn *string `min:"20" type:"string" required:"true"`
50155
50156	// Specifies the values of hyperparameters that do not change for the tuning
50157	// job.
50158	StaticHyperParameters map[string]*string `type:"map"`
50159
50160	// Specifies a limit to how long a model hyperparameter training job can run.
50161	// It also specifies how long you are willing to wait for a managed spot training
50162	// job to complete. When the job reaches the a limit, Amazon SageMaker ends
50163	// the training job. Use this API to cap model training costs.
50164	//
50165	// StoppingCondition is a required field
50166	StoppingCondition *StoppingCondition `type:"structure" required:"true"`
50167
50168	// Defines the objective metric for a hyperparameter tuning job. Hyperparameter
50169	// tuning uses the value of this metric to evaluate the training jobs it launches,
50170	// and returns the training job that results in either the highest or lowest
50171	// value for this metric, depending on the value you specify for the Type parameter.
50172	TuningObjective *HyperParameterTuningJobObjective `type:"structure"`
50173
50174	// The VpcConfig object that specifies the VPC that you want the training jobs
50175	// that this hyperparameter tuning job launches to connect to. Control access
50176	// to and from your training container by configuring the VPC. For more information,
50177	// see Protect Training Jobs by Using an Amazon Virtual Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html).
50178	VpcConfig *VpcConfig `type:"structure"`
50179}
50180
50181// String returns the string representation
50182func (s HyperParameterTrainingJobDefinition) String() string {
50183	return awsutil.Prettify(s)
50184}
50185
50186// GoString returns the string representation
50187func (s HyperParameterTrainingJobDefinition) GoString() string {
50188	return s.String()
50189}
50190
50191// Validate inspects the fields of the type to determine if they are valid.
50192func (s *HyperParameterTrainingJobDefinition) Validate() error {
50193	invalidParams := request.ErrInvalidParams{Context: "HyperParameterTrainingJobDefinition"}
50194	if s.AlgorithmSpecification == nil {
50195		invalidParams.Add(request.NewErrParamRequired("AlgorithmSpecification"))
50196	}
50197	if s.DefinitionName != nil && len(*s.DefinitionName) < 1 {
50198		invalidParams.Add(request.NewErrParamMinLen("DefinitionName", 1))
50199	}
50200	if s.InputDataConfig != nil && len(s.InputDataConfig) < 1 {
50201		invalidParams.Add(request.NewErrParamMinLen("InputDataConfig", 1))
50202	}
50203	if s.OutputDataConfig == nil {
50204		invalidParams.Add(request.NewErrParamRequired("OutputDataConfig"))
50205	}
50206	if s.ResourceConfig == nil {
50207		invalidParams.Add(request.NewErrParamRequired("ResourceConfig"))
50208	}
50209	if s.RoleArn == nil {
50210		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
50211	}
50212	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
50213		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
50214	}
50215	if s.StoppingCondition == nil {
50216		invalidParams.Add(request.NewErrParamRequired("StoppingCondition"))
50217	}
50218	if s.AlgorithmSpecification != nil {
50219		if err := s.AlgorithmSpecification.Validate(); err != nil {
50220			invalidParams.AddNested("AlgorithmSpecification", err.(request.ErrInvalidParams))
50221		}
50222	}
50223	if s.CheckpointConfig != nil {
50224		if err := s.CheckpointConfig.Validate(); err != nil {
50225			invalidParams.AddNested("CheckpointConfig", err.(request.ErrInvalidParams))
50226		}
50227	}
50228	if s.HyperParameterRanges != nil {
50229		if err := s.HyperParameterRanges.Validate(); err != nil {
50230			invalidParams.AddNested("HyperParameterRanges", err.(request.ErrInvalidParams))
50231		}
50232	}
50233	if s.InputDataConfig != nil {
50234		for i, v := range s.InputDataConfig {
50235			if v == nil {
50236				continue
50237			}
50238			if err := v.Validate(); err != nil {
50239				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputDataConfig", i), err.(request.ErrInvalidParams))
50240			}
50241		}
50242	}
50243	if s.OutputDataConfig != nil {
50244		if err := s.OutputDataConfig.Validate(); err != nil {
50245			invalidParams.AddNested("OutputDataConfig", err.(request.ErrInvalidParams))
50246		}
50247	}
50248	if s.ResourceConfig != nil {
50249		if err := s.ResourceConfig.Validate(); err != nil {
50250			invalidParams.AddNested("ResourceConfig", err.(request.ErrInvalidParams))
50251		}
50252	}
50253	if s.StoppingCondition != nil {
50254		if err := s.StoppingCondition.Validate(); err != nil {
50255			invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams))
50256		}
50257	}
50258	if s.TuningObjective != nil {
50259		if err := s.TuningObjective.Validate(); err != nil {
50260			invalidParams.AddNested("TuningObjective", err.(request.ErrInvalidParams))
50261		}
50262	}
50263	if s.VpcConfig != nil {
50264		if err := s.VpcConfig.Validate(); err != nil {
50265			invalidParams.AddNested("VpcConfig", err.(request.ErrInvalidParams))
50266		}
50267	}
50268
50269	if invalidParams.Len() > 0 {
50270		return invalidParams
50271	}
50272	return nil
50273}
50274
50275// SetAlgorithmSpecification sets the AlgorithmSpecification field's value.
50276func (s *HyperParameterTrainingJobDefinition) SetAlgorithmSpecification(v *HyperParameterAlgorithmSpecification) *HyperParameterTrainingJobDefinition {
50277	s.AlgorithmSpecification = v
50278	return s
50279}
50280
50281// SetCheckpointConfig sets the CheckpointConfig field's value.
50282func (s *HyperParameterTrainingJobDefinition) SetCheckpointConfig(v *CheckpointConfig) *HyperParameterTrainingJobDefinition {
50283	s.CheckpointConfig = v
50284	return s
50285}
50286
50287// SetDefinitionName sets the DefinitionName field's value.
50288func (s *HyperParameterTrainingJobDefinition) SetDefinitionName(v string) *HyperParameterTrainingJobDefinition {
50289	s.DefinitionName = &v
50290	return s
50291}
50292
50293// SetEnableInterContainerTrafficEncryption sets the EnableInterContainerTrafficEncryption field's value.
50294func (s *HyperParameterTrainingJobDefinition) SetEnableInterContainerTrafficEncryption(v bool) *HyperParameterTrainingJobDefinition {
50295	s.EnableInterContainerTrafficEncryption = &v
50296	return s
50297}
50298
50299// SetEnableManagedSpotTraining sets the EnableManagedSpotTraining field's value.
50300func (s *HyperParameterTrainingJobDefinition) SetEnableManagedSpotTraining(v bool) *HyperParameterTrainingJobDefinition {
50301	s.EnableManagedSpotTraining = &v
50302	return s
50303}
50304
50305// SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value.
50306func (s *HyperParameterTrainingJobDefinition) SetEnableNetworkIsolation(v bool) *HyperParameterTrainingJobDefinition {
50307	s.EnableNetworkIsolation = &v
50308	return s
50309}
50310
50311// SetHyperParameterRanges sets the HyperParameterRanges field's value.
50312func (s *HyperParameterTrainingJobDefinition) SetHyperParameterRanges(v *ParameterRanges) *HyperParameterTrainingJobDefinition {
50313	s.HyperParameterRanges = v
50314	return s
50315}
50316
50317// SetInputDataConfig sets the InputDataConfig field's value.
50318func (s *HyperParameterTrainingJobDefinition) SetInputDataConfig(v []*Channel) *HyperParameterTrainingJobDefinition {
50319	s.InputDataConfig = v
50320	return s
50321}
50322
50323// SetOutputDataConfig sets the OutputDataConfig field's value.
50324func (s *HyperParameterTrainingJobDefinition) SetOutputDataConfig(v *OutputDataConfig) *HyperParameterTrainingJobDefinition {
50325	s.OutputDataConfig = v
50326	return s
50327}
50328
50329// SetResourceConfig sets the ResourceConfig field's value.
50330func (s *HyperParameterTrainingJobDefinition) SetResourceConfig(v *ResourceConfig) *HyperParameterTrainingJobDefinition {
50331	s.ResourceConfig = v
50332	return s
50333}
50334
50335// SetRoleArn sets the RoleArn field's value.
50336func (s *HyperParameterTrainingJobDefinition) SetRoleArn(v string) *HyperParameterTrainingJobDefinition {
50337	s.RoleArn = &v
50338	return s
50339}
50340
50341// SetStaticHyperParameters sets the StaticHyperParameters field's value.
50342func (s *HyperParameterTrainingJobDefinition) SetStaticHyperParameters(v map[string]*string) *HyperParameterTrainingJobDefinition {
50343	s.StaticHyperParameters = v
50344	return s
50345}
50346
50347// SetStoppingCondition sets the StoppingCondition field's value.
50348func (s *HyperParameterTrainingJobDefinition) SetStoppingCondition(v *StoppingCondition) *HyperParameterTrainingJobDefinition {
50349	s.StoppingCondition = v
50350	return s
50351}
50352
50353// SetTuningObjective sets the TuningObjective field's value.
50354func (s *HyperParameterTrainingJobDefinition) SetTuningObjective(v *HyperParameterTuningJobObjective) *HyperParameterTrainingJobDefinition {
50355	s.TuningObjective = v
50356	return s
50357}
50358
50359// SetVpcConfig sets the VpcConfig field's value.
50360func (s *HyperParameterTrainingJobDefinition) SetVpcConfig(v *VpcConfig) *HyperParameterTrainingJobDefinition {
50361	s.VpcConfig = v
50362	return s
50363}
50364
50365// Specifies summary information about a training job.
50366type HyperParameterTrainingJobSummary struct {
50367	_ struct{} `type:"structure"`
50368
50369	// The date and time that the training job was created.
50370	//
50371	// CreationTime is a required field
50372	CreationTime *time.Time `type:"timestamp" required:"true"`
50373
50374	// The reason that the training job failed.
50375	FailureReason *string `type:"string"`
50376
50377	// The FinalHyperParameterTuningJobObjectiveMetric object that specifies the
50378	// value of the objective metric of the tuning job that launched this training
50379	// job.
50380	FinalHyperParameterTuningJobObjectiveMetric *FinalHyperParameterTuningJobObjectiveMetric `type:"structure"`
50381
50382	// The status of the objective metric for the training job:
50383	//
50384	//    * Succeeded: The final objective metric for the training job was evaluated
50385	//    by the hyperparameter tuning job and used in the hyperparameter tuning
50386	//    process.
50387	//
50388	//    * Pending: The training job is in progress and evaluation of its final
50389	//    objective metric is pending.
50390	//
50391	//    * Failed: The final objective metric for the training job was not evaluated,
50392	//    and was not used in the hyperparameter tuning process. This typically
50393	//    occurs when the training job failed or did not emit an objective metric.
50394	ObjectiveStatus *string `type:"string" enum:"ObjectiveStatus"`
50395
50396	// Specifies the time when the training job ends on training instances. You
50397	// are billed for the time interval between the value of TrainingStartTime and
50398	// this time. For successful jobs and stopped jobs, this is the time after model
50399	// artifacts are uploaded. For failed jobs, this is the time when Amazon SageMaker
50400	// detects a job failure.
50401	TrainingEndTime *time.Time `type:"timestamp"`
50402
50403	// The Amazon Resource Name (ARN) of the training job.
50404	//
50405	// TrainingJobArn is a required field
50406	TrainingJobArn *string `type:"string" required:"true"`
50407
50408	// The training job definition name.
50409	TrainingJobDefinitionName *string `min:"1" type:"string"`
50410
50411	// The name of the training job.
50412	//
50413	// TrainingJobName is a required field
50414	TrainingJobName *string `min:"1" type:"string" required:"true"`
50415
50416	// The status of the training job.
50417	//
50418	// TrainingJobStatus is a required field
50419	TrainingJobStatus *string `type:"string" required:"true" enum:"TrainingJobStatus"`
50420
50421	// The date and time that the training job started.
50422	TrainingStartTime *time.Time `type:"timestamp"`
50423
50424	// A list of the hyperparameters for which you specified ranges to search.
50425	//
50426	// TunedHyperParameters is a required field
50427	TunedHyperParameters map[string]*string `type:"map" required:"true"`
50428
50429	// The HyperParameter tuning job that launched the training job.
50430	TuningJobName *string `min:"1" type:"string"`
50431}
50432
50433// String returns the string representation
50434func (s HyperParameterTrainingJobSummary) String() string {
50435	return awsutil.Prettify(s)
50436}
50437
50438// GoString returns the string representation
50439func (s HyperParameterTrainingJobSummary) GoString() string {
50440	return s.String()
50441}
50442
50443// SetCreationTime sets the CreationTime field's value.
50444func (s *HyperParameterTrainingJobSummary) SetCreationTime(v time.Time) *HyperParameterTrainingJobSummary {
50445	s.CreationTime = &v
50446	return s
50447}
50448
50449// SetFailureReason sets the FailureReason field's value.
50450func (s *HyperParameterTrainingJobSummary) SetFailureReason(v string) *HyperParameterTrainingJobSummary {
50451	s.FailureReason = &v
50452	return s
50453}
50454
50455// SetFinalHyperParameterTuningJobObjectiveMetric sets the FinalHyperParameterTuningJobObjectiveMetric field's value.
50456func (s *HyperParameterTrainingJobSummary) SetFinalHyperParameterTuningJobObjectiveMetric(v *FinalHyperParameterTuningJobObjectiveMetric) *HyperParameterTrainingJobSummary {
50457	s.FinalHyperParameterTuningJobObjectiveMetric = v
50458	return s
50459}
50460
50461// SetObjectiveStatus sets the ObjectiveStatus field's value.
50462func (s *HyperParameterTrainingJobSummary) SetObjectiveStatus(v string) *HyperParameterTrainingJobSummary {
50463	s.ObjectiveStatus = &v
50464	return s
50465}
50466
50467// SetTrainingEndTime sets the TrainingEndTime field's value.
50468func (s *HyperParameterTrainingJobSummary) SetTrainingEndTime(v time.Time) *HyperParameterTrainingJobSummary {
50469	s.TrainingEndTime = &v
50470	return s
50471}
50472
50473// SetTrainingJobArn sets the TrainingJobArn field's value.
50474func (s *HyperParameterTrainingJobSummary) SetTrainingJobArn(v string) *HyperParameterTrainingJobSummary {
50475	s.TrainingJobArn = &v
50476	return s
50477}
50478
50479// SetTrainingJobDefinitionName sets the TrainingJobDefinitionName field's value.
50480func (s *HyperParameterTrainingJobSummary) SetTrainingJobDefinitionName(v string) *HyperParameterTrainingJobSummary {
50481	s.TrainingJobDefinitionName = &v
50482	return s
50483}
50484
50485// SetTrainingJobName sets the TrainingJobName field's value.
50486func (s *HyperParameterTrainingJobSummary) SetTrainingJobName(v string) *HyperParameterTrainingJobSummary {
50487	s.TrainingJobName = &v
50488	return s
50489}
50490
50491// SetTrainingJobStatus sets the TrainingJobStatus field's value.
50492func (s *HyperParameterTrainingJobSummary) SetTrainingJobStatus(v string) *HyperParameterTrainingJobSummary {
50493	s.TrainingJobStatus = &v
50494	return s
50495}
50496
50497// SetTrainingStartTime sets the TrainingStartTime field's value.
50498func (s *HyperParameterTrainingJobSummary) SetTrainingStartTime(v time.Time) *HyperParameterTrainingJobSummary {
50499	s.TrainingStartTime = &v
50500	return s
50501}
50502
50503// SetTunedHyperParameters sets the TunedHyperParameters field's value.
50504func (s *HyperParameterTrainingJobSummary) SetTunedHyperParameters(v map[string]*string) *HyperParameterTrainingJobSummary {
50505	s.TunedHyperParameters = v
50506	return s
50507}
50508
50509// SetTuningJobName sets the TuningJobName field's value.
50510func (s *HyperParameterTrainingJobSummary) SetTuningJobName(v string) *HyperParameterTrainingJobSummary {
50511	s.TuningJobName = &v
50512	return s
50513}
50514
50515// Configures a hyperparameter tuning job.
50516type HyperParameterTuningJobConfig struct {
50517	_ struct{} `type:"structure"`
50518
50519	// The HyperParameterTuningJobObjective object that specifies the objective
50520	// metric for this tuning job.
50521	HyperParameterTuningJobObjective *HyperParameterTuningJobObjective `type:"structure"`
50522
50523	// The ParameterRanges object that specifies the ranges of hyperparameters that
50524	// this tuning job searches.
50525	ParameterRanges *ParameterRanges `type:"structure"`
50526
50527	// The ResourceLimits object that specifies the maximum number of training jobs
50528	// and parallel training jobs for this tuning job.
50529	//
50530	// ResourceLimits is a required field
50531	ResourceLimits *ResourceLimits `type:"structure" required:"true"`
50532
50533	// Specifies how hyperparameter tuning chooses the combinations of hyperparameter
50534	// values to use for the training job it launches. To use the Bayesian search
50535	// strategy, set this to Bayesian. To randomly search, set it to Random. For
50536	// information about search strategies, see How Hyperparameter Tuning Works
50537	// (https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-how-it-works.html).
50538	//
50539	// Strategy is a required field
50540	Strategy *string `type:"string" required:"true" enum:"HyperParameterTuningJobStrategyType"`
50541
50542	// Specifies whether to use early stopping for training jobs launched by the
50543	// hyperparameter tuning job. This can be one of the following values (the default
50544	// value is OFF):
50545	//
50546	// OFF
50547	//
50548	// Training jobs launched by the hyperparameter tuning job do not use early
50549	// stopping.
50550	//
50551	// AUTO
50552	//
50553	// Amazon SageMaker stops training jobs launched by the hyperparameter tuning
50554	// job when they are unlikely to perform better than previously completed training
50555	// jobs. For more information, see Stop Training Jobs Early (https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-early-stopping.html).
50556	TrainingJobEarlyStoppingType *string `type:"string" enum:"TrainingJobEarlyStoppingType"`
50557
50558	// The tuning job's completion criteria.
50559	TuningJobCompletionCriteria *TuningJobCompletionCriteria `type:"structure"`
50560}
50561
50562// String returns the string representation
50563func (s HyperParameterTuningJobConfig) String() string {
50564	return awsutil.Prettify(s)
50565}
50566
50567// GoString returns the string representation
50568func (s HyperParameterTuningJobConfig) GoString() string {
50569	return s.String()
50570}
50571
50572// Validate inspects the fields of the type to determine if they are valid.
50573func (s *HyperParameterTuningJobConfig) Validate() error {
50574	invalidParams := request.ErrInvalidParams{Context: "HyperParameterTuningJobConfig"}
50575	if s.ResourceLimits == nil {
50576		invalidParams.Add(request.NewErrParamRequired("ResourceLimits"))
50577	}
50578	if s.Strategy == nil {
50579		invalidParams.Add(request.NewErrParamRequired("Strategy"))
50580	}
50581	if s.HyperParameterTuningJobObjective != nil {
50582		if err := s.HyperParameterTuningJobObjective.Validate(); err != nil {
50583			invalidParams.AddNested("HyperParameterTuningJobObjective", err.(request.ErrInvalidParams))
50584		}
50585	}
50586	if s.ParameterRanges != nil {
50587		if err := s.ParameterRanges.Validate(); err != nil {
50588			invalidParams.AddNested("ParameterRanges", err.(request.ErrInvalidParams))
50589		}
50590	}
50591	if s.ResourceLimits != nil {
50592		if err := s.ResourceLimits.Validate(); err != nil {
50593			invalidParams.AddNested("ResourceLimits", err.(request.ErrInvalidParams))
50594		}
50595	}
50596	if s.TuningJobCompletionCriteria != nil {
50597		if err := s.TuningJobCompletionCriteria.Validate(); err != nil {
50598			invalidParams.AddNested("TuningJobCompletionCriteria", err.(request.ErrInvalidParams))
50599		}
50600	}
50601
50602	if invalidParams.Len() > 0 {
50603		return invalidParams
50604	}
50605	return nil
50606}
50607
50608// SetHyperParameterTuningJobObjective sets the HyperParameterTuningJobObjective field's value.
50609func (s *HyperParameterTuningJobConfig) SetHyperParameterTuningJobObjective(v *HyperParameterTuningJobObjective) *HyperParameterTuningJobConfig {
50610	s.HyperParameterTuningJobObjective = v
50611	return s
50612}
50613
50614// SetParameterRanges sets the ParameterRanges field's value.
50615func (s *HyperParameterTuningJobConfig) SetParameterRanges(v *ParameterRanges) *HyperParameterTuningJobConfig {
50616	s.ParameterRanges = v
50617	return s
50618}
50619
50620// SetResourceLimits sets the ResourceLimits field's value.
50621func (s *HyperParameterTuningJobConfig) SetResourceLimits(v *ResourceLimits) *HyperParameterTuningJobConfig {
50622	s.ResourceLimits = v
50623	return s
50624}
50625
50626// SetStrategy sets the Strategy field's value.
50627func (s *HyperParameterTuningJobConfig) SetStrategy(v string) *HyperParameterTuningJobConfig {
50628	s.Strategy = &v
50629	return s
50630}
50631
50632// SetTrainingJobEarlyStoppingType sets the TrainingJobEarlyStoppingType field's value.
50633func (s *HyperParameterTuningJobConfig) SetTrainingJobEarlyStoppingType(v string) *HyperParameterTuningJobConfig {
50634	s.TrainingJobEarlyStoppingType = &v
50635	return s
50636}
50637
50638// SetTuningJobCompletionCriteria sets the TuningJobCompletionCriteria field's value.
50639func (s *HyperParameterTuningJobConfig) SetTuningJobCompletionCriteria(v *TuningJobCompletionCriteria) *HyperParameterTuningJobConfig {
50640	s.TuningJobCompletionCriteria = v
50641	return s
50642}
50643
50644// Defines the objective metric for a hyperparameter tuning job. Hyperparameter
50645// tuning uses the value of this metric to evaluate the training jobs it launches,
50646// and returns the training job that results in either the highest or lowest
50647// value for this metric, depending on the value you specify for the Type parameter.
50648type HyperParameterTuningJobObjective struct {
50649	_ struct{} `type:"structure"`
50650
50651	// The name of the metric to use for the objective metric.
50652	//
50653	// MetricName is a required field
50654	MetricName *string `min:"1" type:"string" required:"true"`
50655
50656	// Whether to minimize or maximize the objective metric.
50657	//
50658	// Type is a required field
50659	Type *string `type:"string" required:"true" enum:"HyperParameterTuningJobObjectiveType"`
50660}
50661
50662// String returns the string representation
50663func (s HyperParameterTuningJobObjective) String() string {
50664	return awsutil.Prettify(s)
50665}
50666
50667// GoString returns the string representation
50668func (s HyperParameterTuningJobObjective) GoString() string {
50669	return s.String()
50670}
50671
50672// Validate inspects the fields of the type to determine if they are valid.
50673func (s *HyperParameterTuningJobObjective) Validate() error {
50674	invalidParams := request.ErrInvalidParams{Context: "HyperParameterTuningJobObjective"}
50675	if s.MetricName == nil {
50676		invalidParams.Add(request.NewErrParamRequired("MetricName"))
50677	}
50678	if s.MetricName != nil && len(*s.MetricName) < 1 {
50679		invalidParams.Add(request.NewErrParamMinLen("MetricName", 1))
50680	}
50681	if s.Type == nil {
50682		invalidParams.Add(request.NewErrParamRequired("Type"))
50683	}
50684
50685	if invalidParams.Len() > 0 {
50686		return invalidParams
50687	}
50688	return nil
50689}
50690
50691// SetMetricName sets the MetricName field's value.
50692func (s *HyperParameterTuningJobObjective) SetMetricName(v string) *HyperParameterTuningJobObjective {
50693	s.MetricName = &v
50694	return s
50695}
50696
50697// SetType sets the Type field's value.
50698func (s *HyperParameterTuningJobObjective) SetType(v string) *HyperParameterTuningJobObjective {
50699	s.Type = &v
50700	return s
50701}
50702
50703// Provides summary information about a hyperparameter tuning job.
50704type HyperParameterTuningJobSummary struct {
50705	_ struct{} `type:"structure"`
50706
50707	// The date and time that the tuning job was created.
50708	//
50709	// CreationTime is a required field
50710	CreationTime *time.Time `type:"timestamp" required:"true"`
50711
50712	// The date and time that the tuning job ended.
50713	HyperParameterTuningEndTime *time.Time `type:"timestamp"`
50714
50715	// The Amazon Resource Name (ARN) of the tuning job.
50716	//
50717	// HyperParameterTuningJobArn is a required field
50718	HyperParameterTuningJobArn *string `type:"string" required:"true"`
50719
50720	// The name of the tuning job.
50721	//
50722	// HyperParameterTuningJobName is a required field
50723	HyperParameterTuningJobName *string `min:"1" type:"string" required:"true"`
50724
50725	// The status of the tuning job.
50726	//
50727	// HyperParameterTuningJobStatus is a required field
50728	HyperParameterTuningJobStatus *string `type:"string" required:"true" enum:"HyperParameterTuningJobStatus"`
50729
50730	// The date and time that the tuning job was modified.
50731	LastModifiedTime *time.Time `type:"timestamp"`
50732
50733	// The ObjectiveStatusCounters object that specifies the numbers of training
50734	// jobs, categorized by objective metric status, that this tuning job launched.
50735	//
50736	// ObjectiveStatusCounters is a required field
50737	ObjectiveStatusCounters *ObjectiveStatusCounters `type:"structure" required:"true"`
50738
50739	// The ResourceLimits object that specifies the maximum number of training jobs
50740	// and parallel training jobs allowed for this tuning job.
50741	ResourceLimits *ResourceLimits `type:"structure"`
50742
50743	// Specifies the search strategy hyperparameter tuning uses to choose which
50744	// hyperparameters to use for each iteration. Currently, the only valid value
50745	// is Bayesian.
50746	//
50747	// Strategy is a required field
50748	Strategy *string `type:"string" required:"true" enum:"HyperParameterTuningJobStrategyType"`
50749
50750	// The TrainingJobStatusCounters object that specifies the numbers of training
50751	// jobs, categorized by status, that this tuning job launched.
50752	//
50753	// TrainingJobStatusCounters is a required field
50754	TrainingJobStatusCounters *TrainingJobStatusCounters `type:"structure" required:"true"`
50755}
50756
50757// String returns the string representation
50758func (s HyperParameterTuningJobSummary) String() string {
50759	return awsutil.Prettify(s)
50760}
50761
50762// GoString returns the string representation
50763func (s HyperParameterTuningJobSummary) GoString() string {
50764	return s.String()
50765}
50766
50767// SetCreationTime sets the CreationTime field's value.
50768func (s *HyperParameterTuningJobSummary) SetCreationTime(v time.Time) *HyperParameterTuningJobSummary {
50769	s.CreationTime = &v
50770	return s
50771}
50772
50773// SetHyperParameterTuningEndTime sets the HyperParameterTuningEndTime field's value.
50774func (s *HyperParameterTuningJobSummary) SetHyperParameterTuningEndTime(v time.Time) *HyperParameterTuningJobSummary {
50775	s.HyperParameterTuningEndTime = &v
50776	return s
50777}
50778
50779// SetHyperParameterTuningJobArn sets the HyperParameterTuningJobArn field's value.
50780func (s *HyperParameterTuningJobSummary) SetHyperParameterTuningJobArn(v string) *HyperParameterTuningJobSummary {
50781	s.HyperParameterTuningJobArn = &v
50782	return s
50783}
50784
50785// SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value.
50786func (s *HyperParameterTuningJobSummary) SetHyperParameterTuningJobName(v string) *HyperParameterTuningJobSummary {
50787	s.HyperParameterTuningJobName = &v
50788	return s
50789}
50790
50791// SetHyperParameterTuningJobStatus sets the HyperParameterTuningJobStatus field's value.
50792func (s *HyperParameterTuningJobSummary) SetHyperParameterTuningJobStatus(v string) *HyperParameterTuningJobSummary {
50793	s.HyperParameterTuningJobStatus = &v
50794	return s
50795}
50796
50797// SetLastModifiedTime sets the LastModifiedTime field's value.
50798func (s *HyperParameterTuningJobSummary) SetLastModifiedTime(v time.Time) *HyperParameterTuningJobSummary {
50799	s.LastModifiedTime = &v
50800	return s
50801}
50802
50803// SetObjectiveStatusCounters sets the ObjectiveStatusCounters field's value.
50804func (s *HyperParameterTuningJobSummary) SetObjectiveStatusCounters(v *ObjectiveStatusCounters) *HyperParameterTuningJobSummary {
50805	s.ObjectiveStatusCounters = v
50806	return s
50807}
50808
50809// SetResourceLimits sets the ResourceLimits field's value.
50810func (s *HyperParameterTuningJobSummary) SetResourceLimits(v *ResourceLimits) *HyperParameterTuningJobSummary {
50811	s.ResourceLimits = v
50812	return s
50813}
50814
50815// SetStrategy sets the Strategy field's value.
50816func (s *HyperParameterTuningJobSummary) SetStrategy(v string) *HyperParameterTuningJobSummary {
50817	s.Strategy = &v
50818	return s
50819}
50820
50821// SetTrainingJobStatusCounters sets the TrainingJobStatusCounters field's value.
50822func (s *HyperParameterTuningJobSummary) SetTrainingJobStatusCounters(v *TrainingJobStatusCounters) *HyperParameterTuningJobSummary {
50823	s.TrainingJobStatusCounters = v
50824	return s
50825}
50826
50827// Specifies the configuration for a hyperparameter tuning job that uses one
50828// or more previous hyperparameter tuning jobs as a starting point. The results
50829// of previous tuning jobs are used to inform which combinations of hyperparameters
50830// to search over in the new tuning job.
50831//
50832// All training jobs launched by the new hyperparameter tuning job are evaluated
50833// by using the objective metric, and the training job that performs the best
50834// is compared to the best training jobs from the parent tuning jobs. From these,
50835// the training job that performs the best as measured by the objective metric
50836// is returned as the overall best training job.
50837//
50838// All training jobs launched by parent hyperparameter tuning jobs and the new
50839// hyperparameter tuning jobs count against the limit of training jobs for the
50840// tuning job.
50841type HyperParameterTuningJobWarmStartConfig struct {
50842	_ struct{} `type:"structure"`
50843
50844	// An array of hyperparameter tuning jobs that are used as the starting point
50845	// for the new hyperparameter tuning job. For more information about warm starting
50846	// a hyperparameter tuning job, see Using a Previous Hyperparameter Tuning Job
50847	// as a Starting Point (https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-warm-start.html).
50848	//
50849	// Hyperparameter tuning jobs created before October 1, 2018 cannot be used
50850	// as parent jobs for warm start tuning jobs.
50851	//
50852	// ParentHyperParameterTuningJobs is a required field
50853	ParentHyperParameterTuningJobs []*ParentHyperParameterTuningJob `min:"1" type:"list" required:"true"`
50854
50855	// Specifies one of the following:
50856	//
50857	// IDENTICAL_DATA_AND_ALGORITHM
50858	//
50859	// The new hyperparameter tuning job uses the same input data and training image
50860	// as the parent tuning jobs. You can change the hyperparameter ranges to search
50861	// and the maximum number of training jobs that the hyperparameter tuning job
50862	// launches. You cannot use a new version of the training algorithm, unless
50863	// the changes in the new version do not affect the algorithm itself. For example,
50864	// changes that improve logging or adding support for a different data format
50865	// are allowed. You can also change hyperparameters from tunable to static,
50866	// and from static to tunable, but the total number of static plus tunable hyperparameters
50867	// must remain the same as it is in all parent jobs. The objective metric for
50868	// the new tuning job must be the same as for all parent jobs.
50869	//
50870	// TRANSFER_LEARNING
50871	//
50872	// The new hyperparameter tuning job can include input data, hyperparameter
50873	// ranges, maximum number of concurrent training jobs, and maximum number of
50874	// training jobs that are different than those of its parent hyperparameter
50875	// tuning jobs. The training image can also be a different version from the
50876	// version used in the parent hyperparameter tuning job. You can also change
50877	// hyperparameters from tunable to static, and from static to tunable, but the
50878	// total number of static plus tunable hyperparameters must remain the same
50879	// as it is in all parent jobs. The objective metric for the new tuning job
50880	// must be the same as for all parent jobs.
50881	//
50882	// WarmStartType is a required field
50883	WarmStartType *string `type:"string" required:"true" enum:"HyperParameterTuningJobWarmStartType"`
50884}
50885
50886// String returns the string representation
50887func (s HyperParameterTuningJobWarmStartConfig) String() string {
50888	return awsutil.Prettify(s)
50889}
50890
50891// GoString returns the string representation
50892func (s HyperParameterTuningJobWarmStartConfig) GoString() string {
50893	return s.String()
50894}
50895
50896// Validate inspects the fields of the type to determine if they are valid.
50897func (s *HyperParameterTuningJobWarmStartConfig) Validate() error {
50898	invalidParams := request.ErrInvalidParams{Context: "HyperParameterTuningJobWarmStartConfig"}
50899	if s.ParentHyperParameterTuningJobs == nil {
50900		invalidParams.Add(request.NewErrParamRequired("ParentHyperParameterTuningJobs"))
50901	}
50902	if s.ParentHyperParameterTuningJobs != nil && len(s.ParentHyperParameterTuningJobs) < 1 {
50903		invalidParams.Add(request.NewErrParamMinLen("ParentHyperParameterTuningJobs", 1))
50904	}
50905	if s.WarmStartType == nil {
50906		invalidParams.Add(request.NewErrParamRequired("WarmStartType"))
50907	}
50908	if s.ParentHyperParameterTuningJobs != nil {
50909		for i, v := range s.ParentHyperParameterTuningJobs {
50910			if v == nil {
50911				continue
50912			}
50913			if err := v.Validate(); err != nil {
50914				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ParentHyperParameterTuningJobs", i), err.(request.ErrInvalidParams))
50915			}
50916		}
50917	}
50918
50919	if invalidParams.Len() > 0 {
50920		return invalidParams
50921	}
50922	return nil
50923}
50924
50925// SetParentHyperParameterTuningJobs sets the ParentHyperParameterTuningJobs field's value.
50926func (s *HyperParameterTuningJobWarmStartConfig) SetParentHyperParameterTuningJobs(v []*ParentHyperParameterTuningJob) *HyperParameterTuningJobWarmStartConfig {
50927	s.ParentHyperParameterTuningJobs = v
50928	return s
50929}
50930
50931// SetWarmStartType sets the WarmStartType field's value.
50932func (s *HyperParameterTuningJobWarmStartConfig) SetWarmStartType(v string) *HyperParameterTuningJobWarmStartConfig {
50933	s.WarmStartType = &v
50934	return s
50935}
50936
50937// A SageMaker image. A SageMaker image represents a set of container images
50938// that are derived from a common base container image. Each of these container
50939// images is represented by a SageMaker ImageVersion.
50940type Image struct {
50941	_ struct{} `type:"structure"`
50942
50943	// When the image was created.
50944	//
50945	// CreationTime is a required field
50946	CreationTime *time.Time `type:"timestamp" required:"true"`
50947
50948	// The description of the image.
50949	Description *string `min:"1" type:"string"`
50950
50951	// The name of the image as displayed.
50952	DisplayName *string `min:"1" type:"string"`
50953
50954	// When a create, update, or delete operation fails, the reason for the failure.
50955	FailureReason *string `type:"string"`
50956
50957	// The Amazon Resource Name (ARN) of the image.
50958	//
50959	// ImageArn is a required field
50960	ImageArn *string `type:"string" required:"true"`
50961
50962	// The name of the image.
50963	//
50964	// ImageName is a required field
50965	ImageName *string `min:"1" type:"string" required:"true"`
50966
50967	// The status of the image.
50968	//
50969	// ImageStatus is a required field
50970	ImageStatus *string `type:"string" required:"true" enum:"ImageStatus"`
50971
50972	// When the image was last modified.
50973	//
50974	// LastModifiedTime is a required field
50975	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
50976}
50977
50978// String returns the string representation
50979func (s Image) String() string {
50980	return awsutil.Prettify(s)
50981}
50982
50983// GoString returns the string representation
50984func (s Image) GoString() string {
50985	return s.String()
50986}
50987
50988// SetCreationTime sets the CreationTime field's value.
50989func (s *Image) SetCreationTime(v time.Time) *Image {
50990	s.CreationTime = &v
50991	return s
50992}
50993
50994// SetDescription sets the Description field's value.
50995func (s *Image) SetDescription(v string) *Image {
50996	s.Description = &v
50997	return s
50998}
50999
51000// SetDisplayName sets the DisplayName field's value.
51001func (s *Image) SetDisplayName(v string) *Image {
51002	s.DisplayName = &v
51003	return s
51004}
51005
51006// SetFailureReason sets the FailureReason field's value.
51007func (s *Image) SetFailureReason(v string) *Image {
51008	s.FailureReason = &v
51009	return s
51010}
51011
51012// SetImageArn sets the ImageArn field's value.
51013func (s *Image) SetImageArn(v string) *Image {
51014	s.ImageArn = &v
51015	return s
51016}
51017
51018// SetImageName sets the ImageName field's value.
51019func (s *Image) SetImageName(v string) *Image {
51020	s.ImageName = &v
51021	return s
51022}
51023
51024// SetImageStatus sets the ImageStatus field's value.
51025func (s *Image) SetImageStatus(v string) *Image {
51026	s.ImageStatus = &v
51027	return s
51028}
51029
51030// SetLastModifiedTime sets the LastModifiedTime field's value.
51031func (s *Image) SetLastModifiedTime(v time.Time) *Image {
51032	s.LastModifiedTime = &v
51033	return s
51034}
51035
51036// Specifies whether the model container is in Amazon ECR or a private Docker
51037// registry accessible from your Amazon Virtual Private Cloud (VPC).
51038type ImageConfig struct {
51039	_ struct{} `type:"structure"`
51040
51041	// Set this to one of the following values:
51042	//
51043	//    * Platform - The model image is hosted in Amazon ECR.
51044	//
51045	//    * Vpc - The model image is hosted in a private Docker registry in your
51046	//    VPC.
51047	//
51048	// RepositoryAccessMode is a required field
51049	RepositoryAccessMode *string `type:"string" required:"true" enum:"RepositoryAccessMode"`
51050}
51051
51052// String returns the string representation
51053func (s ImageConfig) String() string {
51054	return awsutil.Prettify(s)
51055}
51056
51057// GoString returns the string representation
51058func (s ImageConfig) GoString() string {
51059	return s.String()
51060}
51061
51062// Validate inspects the fields of the type to determine if they are valid.
51063func (s *ImageConfig) Validate() error {
51064	invalidParams := request.ErrInvalidParams{Context: "ImageConfig"}
51065	if s.RepositoryAccessMode == nil {
51066		invalidParams.Add(request.NewErrParamRequired("RepositoryAccessMode"))
51067	}
51068
51069	if invalidParams.Len() > 0 {
51070		return invalidParams
51071	}
51072	return nil
51073}
51074
51075// SetRepositoryAccessMode sets the RepositoryAccessMode field's value.
51076func (s *ImageConfig) SetRepositoryAccessMode(v string) *ImageConfig {
51077	s.RepositoryAccessMode = &v
51078	return s
51079}
51080
51081// A version of a SageMaker Image. A version represents an existing container
51082// image.
51083type ImageVersion struct {
51084	_ struct{} `type:"structure"`
51085
51086	// When the version was created.
51087	//
51088	// CreationTime is a required field
51089	CreationTime *time.Time `type:"timestamp" required:"true"`
51090
51091	// When a create or delete operation fails, the reason for the failure.
51092	FailureReason *string `type:"string"`
51093
51094	// The Amazon Resource Name (ARN) of the image the version is based on.
51095	//
51096	// ImageArn is a required field
51097	ImageArn *string `type:"string" required:"true"`
51098
51099	// The ARN of the version.
51100	//
51101	// ImageVersionArn is a required field
51102	ImageVersionArn *string `type:"string" required:"true"`
51103
51104	// The status of the version.
51105	//
51106	// ImageVersionStatus is a required field
51107	ImageVersionStatus *string `type:"string" required:"true" enum:"ImageVersionStatus"`
51108
51109	// When the version was last modified.
51110	//
51111	// LastModifiedTime is a required field
51112	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
51113
51114	// The version number.
51115	//
51116	// Version is a required field
51117	Version *int64 `type:"integer" required:"true"`
51118}
51119
51120// String returns the string representation
51121func (s ImageVersion) String() string {
51122	return awsutil.Prettify(s)
51123}
51124
51125// GoString returns the string representation
51126func (s ImageVersion) GoString() string {
51127	return s.String()
51128}
51129
51130// SetCreationTime sets the CreationTime field's value.
51131func (s *ImageVersion) SetCreationTime(v time.Time) *ImageVersion {
51132	s.CreationTime = &v
51133	return s
51134}
51135
51136// SetFailureReason sets the FailureReason field's value.
51137func (s *ImageVersion) SetFailureReason(v string) *ImageVersion {
51138	s.FailureReason = &v
51139	return s
51140}
51141
51142// SetImageArn sets the ImageArn field's value.
51143func (s *ImageVersion) SetImageArn(v string) *ImageVersion {
51144	s.ImageArn = &v
51145	return s
51146}
51147
51148// SetImageVersionArn sets the ImageVersionArn field's value.
51149func (s *ImageVersion) SetImageVersionArn(v string) *ImageVersion {
51150	s.ImageVersionArn = &v
51151	return s
51152}
51153
51154// SetImageVersionStatus sets the ImageVersionStatus field's value.
51155func (s *ImageVersion) SetImageVersionStatus(v string) *ImageVersion {
51156	s.ImageVersionStatus = &v
51157	return s
51158}
51159
51160// SetLastModifiedTime sets the LastModifiedTime field's value.
51161func (s *ImageVersion) SetLastModifiedTime(v time.Time) *ImageVersion {
51162	s.LastModifiedTime = &v
51163	return s
51164}
51165
51166// SetVersion sets the Version field's value.
51167func (s *ImageVersion) SetVersion(v int64) *ImageVersion {
51168	s.Version = &v
51169	return s
51170}
51171
51172// Specifies details about how containers in a multi-container are run.
51173type InferenceExecutionConfig struct {
51174	_ struct{} `type:"structure"`
51175
51176	// How containers in a multi-container are run. The following values are valid.
51177	//
51178	//    * SERIAL - Containers run as a serial pipeline.
51179	//
51180	//    * DIRECT - Only the individual container that you specify is run.
51181	//
51182	// Mode is a required field
51183	Mode *string `type:"string" required:"true" enum:"InferenceExecutionMode"`
51184}
51185
51186// String returns the string representation
51187func (s InferenceExecutionConfig) String() string {
51188	return awsutil.Prettify(s)
51189}
51190
51191// GoString returns the string representation
51192func (s InferenceExecutionConfig) GoString() string {
51193	return s.String()
51194}
51195
51196// Validate inspects the fields of the type to determine if they are valid.
51197func (s *InferenceExecutionConfig) Validate() error {
51198	invalidParams := request.ErrInvalidParams{Context: "InferenceExecutionConfig"}
51199	if s.Mode == nil {
51200		invalidParams.Add(request.NewErrParamRequired("Mode"))
51201	}
51202
51203	if invalidParams.Len() > 0 {
51204		return invalidParams
51205	}
51206	return nil
51207}
51208
51209// SetMode sets the Mode field's value.
51210func (s *InferenceExecutionConfig) SetMode(v string) *InferenceExecutionConfig {
51211	s.Mode = &v
51212	return s
51213}
51214
51215// Defines how to perform inference generation after a training job is run.
51216type InferenceSpecification struct {
51217	_ struct{} `type:"structure"`
51218
51219	// The Amazon ECR registry path of the Docker image that contains the inference
51220	// code.
51221	//
51222	// Containers is a required field
51223	Containers []*ModelPackageContainerDefinition `min:"1" type:"list" required:"true"`
51224
51225	// The supported MIME types for the input data.
51226	//
51227	// SupportedContentTypes is a required field
51228	SupportedContentTypes []*string `type:"list" required:"true"`
51229
51230	// A list of the instance types that are used to generate inferences in real-time.
51231	//
51232	// This parameter is required for unversioned models, and optional for versioned
51233	// models.
51234	SupportedRealtimeInferenceInstanceTypes []*string `type:"list"`
51235
51236	// The supported MIME types for the output data.
51237	//
51238	// SupportedResponseMIMETypes is a required field
51239	SupportedResponseMIMETypes []*string `type:"list" required:"true"`
51240
51241	// A list of the instance types on which a transformation job can be run or
51242	// on which an endpoint can be deployed.
51243	//
51244	// This parameter is required for unversioned models, and optional for versioned
51245	// models.
51246	SupportedTransformInstanceTypes []*string `min:"1" type:"list"`
51247}
51248
51249// String returns the string representation
51250func (s InferenceSpecification) String() string {
51251	return awsutil.Prettify(s)
51252}
51253
51254// GoString returns the string representation
51255func (s InferenceSpecification) GoString() string {
51256	return s.String()
51257}
51258
51259// Validate inspects the fields of the type to determine if they are valid.
51260func (s *InferenceSpecification) Validate() error {
51261	invalidParams := request.ErrInvalidParams{Context: "InferenceSpecification"}
51262	if s.Containers == nil {
51263		invalidParams.Add(request.NewErrParamRequired("Containers"))
51264	}
51265	if s.Containers != nil && len(s.Containers) < 1 {
51266		invalidParams.Add(request.NewErrParamMinLen("Containers", 1))
51267	}
51268	if s.SupportedContentTypes == nil {
51269		invalidParams.Add(request.NewErrParamRequired("SupportedContentTypes"))
51270	}
51271	if s.SupportedResponseMIMETypes == nil {
51272		invalidParams.Add(request.NewErrParamRequired("SupportedResponseMIMETypes"))
51273	}
51274	if s.SupportedTransformInstanceTypes != nil && len(s.SupportedTransformInstanceTypes) < 1 {
51275		invalidParams.Add(request.NewErrParamMinLen("SupportedTransformInstanceTypes", 1))
51276	}
51277	if s.Containers != nil {
51278		for i, v := range s.Containers {
51279			if v == nil {
51280				continue
51281			}
51282			if err := v.Validate(); err != nil {
51283				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Containers", i), err.(request.ErrInvalidParams))
51284			}
51285		}
51286	}
51287
51288	if invalidParams.Len() > 0 {
51289		return invalidParams
51290	}
51291	return nil
51292}
51293
51294// SetContainers sets the Containers field's value.
51295func (s *InferenceSpecification) SetContainers(v []*ModelPackageContainerDefinition) *InferenceSpecification {
51296	s.Containers = v
51297	return s
51298}
51299
51300// SetSupportedContentTypes sets the SupportedContentTypes field's value.
51301func (s *InferenceSpecification) SetSupportedContentTypes(v []*string) *InferenceSpecification {
51302	s.SupportedContentTypes = v
51303	return s
51304}
51305
51306// SetSupportedRealtimeInferenceInstanceTypes sets the SupportedRealtimeInferenceInstanceTypes field's value.
51307func (s *InferenceSpecification) SetSupportedRealtimeInferenceInstanceTypes(v []*string) *InferenceSpecification {
51308	s.SupportedRealtimeInferenceInstanceTypes = v
51309	return s
51310}
51311
51312// SetSupportedResponseMIMETypes sets the SupportedResponseMIMETypes field's value.
51313func (s *InferenceSpecification) SetSupportedResponseMIMETypes(v []*string) *InferenceSpecification {
51314	s.SupportedResponseMIMETypes = v
51315	return s
51316}
51317
51318// SetSupportedTransformInstanceTypes sets the SupportedTransformInstanceTypes field's value.
51319func (s *InferenceSpecification) SetSupportedTransformInstanceTypes(v []*string) *InferenceSpecification {
51320	s.SupportedTransformInstanceTypes = v
51321	return s
51322}
51323
51324// Contains information about the location of input model artifacts, the name
51325// and shape of the expected data inputs, and the framework in which the model
51326// was trained.
51327type InputConfig struct {
51328	_ struct{} `type:"structure"`
51329
51330	// Specifies the name and shape of the expected data inputs for your trained
51331	// model with a JSON dictionary form. The data inputs are InputConfig$Framework
51332	// specific.
51333	//
51334	//    * TensorFlow: You must specify the name and shape (NHWC format) of the
51335	//    expected data inputs using a dictionary format for your trained model.
51336	//    The dictionary formats required for the console and CLI are different.
51337	//    Examples for one input: If using the console, {"input":[1,1024,1024,3]}
51338	//    If using the CLI, {\"input\":[1,1024,1024,3]} Examples for two inputs:
51339	//    If using the console, {"data1": [1,28,28,1], "data2":[1,28,28,1]} If using
51340	//    the CLI, {\"data1\": [1,28,28,1], \"data2\":[1,28,28,1]}
51341	//
51342	//    * KERAS: You must specify the name and shape (NCHW format) of expected
51343	//    data inputs using a dictionary format for your trained model. Note that
51344	//    while Keras model artifacts should be uploaded in NHWC (channel-last)
51345	//    format, DataInputConfig should be specified in NCHW (channel-first) format.
51346	//    The dictionary formats required for the console and CLI are different.
51347	//    Examples for one input: If using the console, {"input_1":[1,3,224,224]}
51348	//    If using the CLI, {\"input_1\":[1,3,224,224]} Examples for two inputs:
51349	//    If using the console, {"input_1": [1,3,224,224], "input_2":[1,3,224,224]}
51350	//    If using the CLI, {\"input_1\": [1,3,224,224], \"input_2\":[1,3,224,224]}
51351	//
51352	//    * MXNET/ONNX/DARKNET: You must specify the name and shape (NCHW format)
51353	//    of the expected data inputs in order using a dictionary format for your
51354	//    trained model. The dictionary formats required for the console and CLI
51355	//    are different. Examples for one input: If using the console, {"data":[1,3,1024,1024]}
51356	//    If using the CLI, {\"data\":[1,3,1024,1024]} Examples for two inputs:
51357	//    If using the console, {"var1": [1,1,28,28], "var2":[1,1,28,28]} If using
51358	//    the CLI, {\"var1\": [1,1,28,28], \"var2\":[1,1,28,28]}
51359	//
51360	//    * PyTorch: You can either specify the name and shape (NCHW format) of
51361	//    expected data inputs in order using a dictionary format for your trained
51362	//    model or you can specify the shape only using a list format. The dictionary
51363	//    formats required for the console and CLI are different. The list formats
51364	//    for the console and CLI are the same. Examples for one input in dictionary
51365	//    format: If using the console, {"input0":[1,3,224,224]} If using the CLI,
51366	//    {\"input0\":[1,3,224,224]} Example for one input in list format: [[1,3,224,224]]
51367	//    Examples for two inputs in dictionary format: If using the console, {"input0":[1,3,224,224],
51368	//    "input1":[1,3,224,224]} If using the CLI, {\"input0\":[1,3,224,224], \"input1\":[1,3,224,224]}
51369	//    Example for two inputs in list format: [[1,3,224,224], [1,3,224,224]]
51370	//
51371	//    * XGBOOST: input data name and shape are not needed.
51372	//
51373	// DataInputConfig supports the following parameters for CoreML OutputConfig$TargetDevice
51374	// (ML Model format):
51375	//
51376	//    * shape: Input shape, for example {"input_1": {"shape": [1,224,224,3]}}.
51377	//    In addition to static input shapes, CoreML converter supports Flexible
51378	//    input shapes: Range Dimension. You can use the Range Dimension feature
51379	//    if you know the input shape will be within some specific interval in that
51380	//    dimension, for example: {"input_1": {"shape": ["1..10", 224, 224, 3]}}
51381	//    Enumerated shapes. Sometimes, the models are trained to work only on a
51382	//    select set of inputs. You can enumerate all supported input shapes, for
51383	//    example: {"input_1": {"shape": [[1, 224, 224, 3], [1, 160, 160, 3]]}}
51384	//
51385	//    * default_shape: Default input shape. You can set a default shape during
51386	//    conversion for both Range Dimension and Enumerated Shapes. For example
51387	//    {"input_1": {"shape": ["1..10", 224, 224, 3], "default_shape": [1, 224,
51388	//    224, 3]}}
51389	//
51390	//    * type: Input type. Allowed values: Image and Tensor. By default, the
51391	//    converter generates an ML Model with inputs of type Tensor (MultiArray).
51392	//    User can set input type to be Image. Image input type requires additional
51393	//    input parameters such as bias and scale.
51394	//
51395	//    * bias: If the input type is an Image, you need to provide the bias vector.
51396	//
51397	//    * scale: If the input type is an Image, you need to provide a scale factor.
51398	//
51399	// CoreML ClassifierConfig parameters can be specified using OutputConfig$CompilerOptions.
51400	// CoreML converter supports Tensorflow and PyTorch models. CoreML conversion
51401	// examples:
51402	//
51403	//    * Tensor type input: "DataInputConfig": {"input_1": {"shape": [[1,224,224,3],
51404	//    [1,160,160,3]], "default_shape": [1,224,224,3]}}
51405	//
51406	//    * Tensor type input without input name (PyTorch): "DataInputConfig": [{"shape":
51407	//    [[1,3,224,224], [1,3,160,160]], "default_shape": [1,3,224,224]}]
51408	//
51409	//    * Image type input: "DataInputConfig": {"input_1": {"shape": [[1,224,224,3],
51410	//    [1,160,160,3]], "default_shape": [1,224,224,3], "type": "Image", "bias":
51411	//    [-1,-1,-1], "scale": 0.007843137255}} "CompilerOptions": {"class_labels":
51412	//    "imagenet_labels_1000.txt"}
51413	//
51414	//    * Image type input without input name (PyTorch): "DataInputConfig": [{"shape":
51415	//    [[1,3,224,224], [1,3,160,160]], "default_shape": [1,3,224,224], "type":
51416	//    "Image", "bias": [-1,-1,-1], "scale": 0.007843137255}] "CompilerOptions":
51417	//    {"class_labels": "imagenet_labels_1000.txt"}
51418	//
51419	// DataInputConfig is a required field
51420	DataInputConfig *string `min:"1" type:"string" required:"true"`
51421
51422	// Identifies the framework in which the model was trained. For example: TENSORFLOW.
51423	//
51424	// Framework is a required field
51425	Framework *string `type:"string" required:"true" enum:"Framework"`
51426
51427	// Specifies the framework version to use.
51428	//
51429	// This API field is only supported for PyTorch framework versions 1.4, 1.5,
51430	// and 1.6 for cloud instance target devices: ml_c4, ml_c5, ml_m4, ml_m5, ml_p2,
51431	// ml_p3, and ml_g4dn.
51432	FrameworkVersion *string `min:"3" type:"string"`
51433
51434	// The S3 path where the model artifacts, which result from model training,
51435	// are stored. This path must point to a single gzip compressed tar archive
51436	// (.tar.gz suffix).
51437	//
51438	// S3Uri is a required field
51439	S3Uri *string `type:"string" required:"true"`
51440}
51441
51442// String returns the string representation
51443func (s InputConfig) String() string {
51444	return awsutil.Prettify(s)
51445}
51446
51447// GoString returns the string representation
51448func (s InputConfig) GoString() string {
51449	return s.String()
51450}
51451
51452// Validate inspects the fields of the type to determine if they are valid.
51453func (s *InputConfig) Validate() error {
51454	invalidParams := request.ErrInvalidParams{Context: "InputConfig"}
51455	if s.DataInputConfig == nil {
51456		invalidParams.Add(request.NewErrParamRequired("DataInputConfig"))
51457	}
51458	if s.DataInputConfig != nil && len(*s.DataInputConfig) < 1 {
51459		invalidParams.Add(request.NewErrParamMinLen("DataInputConfig", 1))
51460	}
51461	if s.Framework == nil {
51462		invalidParams.Add(request.NewErrParamRequired("Framework"))
51463	}
51464	if s.FrameworkVersion != nil && len(*s.FrameworkVersion) < 3 {
51465		invalidParams.Add(request.NewErrParamMinLen("FrameworkVersion", 3))
51466	}
51467	if s.S3Uri == nil {
51468		invalidParams.Add(request.NewErrParamRequired("S3Uri"))
51469	}
51470
51471	if invalidParams.Len() > 0 {
51472		return invalidParams
51473	}
51474	return nil
51475}
51476
51477// SetDataInputConfig sets the DataInputConfig field's value.
51478func (s *InputConfig) SetDataInputConfig(v string) *InputConfig {
51479	s.DataInputConfig = &v
51480	return s
51481}
51482
51483// SetFramework sets the Framework field's value.
51484func (s *InputConfig) SetFramework(v string) *InputConfig {
51485	s.Framework = &v
51486	return s
51487}
51488
51489// SetFrameworkVersion sets the FrameworkVersion field's value.
51490func (s *InputConfig) SetFrameworkVersion(v string) *InputConfig {
51491	s.FrameworkVersion = &v
51492	return s
51493}
51494
51495// SetS3Uri sets the S3Uri field's value.
51496func (s *InputConfig) SetS3Uri(v string) *InputConfig {
51497	s.S3Uri = &v
51498	return s
51499}
51500
51501// For a hyperparameter of the integer type, specifies the range that a hyperparameter
51502// tuning job searches.
51503type IntegerParameterRange struct {
51504	_ struct{} `type:"structure"`
51505
51506	// The maximum value of the hyperparameter to search.
51507	//
51508	// MaxValue is a required field
51509	MaxValue *string `type:"string" required:"true"`
51510
51511	// The minimum value of the hyperparameter to search.
51512	//
51513	// MinValue is a required field
51514	MinValue *string `type:"string" required:"true"`
51515
51516	// The name of the hyperparameter to search.
51517	//
51518	// Name is a required field
51519	Name *string `type:"string" required:"true"`
51520
51521	// The scale that hyperparameter tuning uses to search the hyperparameter range.
51522	// For information about choosing a hyperparameter scale, see Hyperparameter
51523	// Scaling (https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-define-ranges.html#scaling-type).
51524	// One of the following values:
51525	//
51526	// Auto
51527	//
51528	// Amazon SageMaker hyperparameter tuning chooses the best scale for the hyperparameter.
51529	//
51530	// Linear
51531	//
51532	// Hyperparameter tuning searches the values in the hyperparameter range by
51533	// using a linear scale.
51534	//
51535	// Logarithmic
51536	//
51537	// Hyperparameter tuning searches the values in the hyperparameter range by
51538	// using a logarithmic scale.
51539	//
51540	// Logarithmic scaling works only for ranges that have only values greater than
51541	// 0.
51542	ScalingType *string `type:"string" enum:"HyperParameterScalingType"`
51543}
51544
51545// String returns the string representation
51546func (s IntegerParameterRange) String() string {
51547	return awsutil.Prettify(s)
51548}
51549
51550// GoString returns the string representation
51551func (s IntegerParameterRange) GoString() string {
51552	return s.String()
51553}
51554
51555// Validate inspects the fields of the type to determine if they are valid.
51556func (s *IntegerParameterRange) Validate() error {
51557	invalidParams := request.ErrInvalidParams{Context: "IntegerParameterRange"}
51558	if s.MaxValue == nil {
51559		invalidParams.Add(request.NewErrParamRequired("MaxValue"))
51560	}
51561	if s.MinValue == nil {
51562		invalidParams.Add(request.NewErrParamRequired("MinValue"))
51563	}
51564	if s.Name == nil {
51565		invalidParams.Add(request.NewErrParamRequired("Name"))
51566	}
51567
51568	if invalidParams.Len() > 0 {
51569		return invalidParams
51570	}
51571	return nil
51572}
51573
51574// SetMaxValue sets the MaxValue field's value.
51575func (s *IntegerParameterRange) SetMaxValue(v string) *IntegerParameterRange {
51576	s.MaxValue = &v
51577	return s
51578}
51579
51580// SetMinValue sets the MinValue field's value.
51581func (s *IntegerParameterRange) SetMinValue(v string) *IntegerParameterRange {
51582	s.MinValue = &v
51583	return s
51584}
51585
51586// SetName sets the Name field's value.
51587func (s *IntegerParameterRange) SetName(v string) *IntegerParameterRange {
51588	s.Name = &v
51589	return s
51590}
51591
51592// SetScalingType sets the ScalingType field's value.
51593func (s *IntegerParameterRange) SetScalingType(v string) *IntegerParameterRange {
51594	s.ScalingType = &v
51595	return s
51596}
51597
51598// Defines the possible values for an integer hyperparameter.
51599type IntegerParameterRangeSpecification struct {
51600	_ struct{} `type:"structure"`
51601
51602	// The maximum integer value allowed.
51603	//
51604	// MaxValue is a required field
51605	MaxValue *string `type:"string" required:"true"`
51606
51607	// The minimum integer value allowed.
51608	//
51609	// MinValue is a required field
51610	MinValue *string `type:"string" required:"true"`
51611}
51612
51613// String returns the string representation
51614func (s IntegerParameterRangeSpecification) String() string {
51615	return awsutil.Prettify(s)
51616}
51617
51618// GoString returns the string representation
51619func (s IntegerParameterRangeSpecification) GoString() string {
51620	return s.String()
51621}
51622
51623// Validate inspects the fields of the type to determine if they are valid.
51624func (s *IntegerParameterRangeSpecification) Validate() error {
51625	invalidParams := request.ErrInvalidParams{Context: "IntegerParameterRangeSpecification"}
51626	if s.MaxValue == nil {
51627		invalidParams.Add(request.NewErrParamRequired("MaxValue"))
51628	}
51629	if s.MinValue == nil {
51630		invalidParams.Add(request.NewErrParamRequired("MinValue"))
51631	}
51632
51633	if invalidParams.Len() > 0 {
51634		return invalidParams
51635	}
51636	return nil
51637}
51638
51639// SetMaxValue sets the MaxValue field's value.
51640func (s *IntegerParameterRangeSpecification) SetMaxValue(v string) *IntegerParameterRangeSpecification {
51641	s.MaxValue = &v
51642	return s
51643}
51644
51645// SetMinValue sets the MinValue field's value.
51646func (s *IntegerParameterRangeSpecification) SetMinValue(v string) *IntegerParameterRangeSpecification {
51647	s.MinValue = &v
51648	return s
51649}
51650
51651// The JupyterServer app settings.
51652type JupyterServerAppSettings struct {
51653	_ struct{} `type:"structure"`
51654
51655	// The default instance type and the Amazon Resource Name (ARN) of the default
51656	// SageMaker image used by the JupyterServer app.
51657	DefaultResourceSpec *ResourceSpec `type:"structure"`
51658}
51659
51660// String returns the string representation
51661func (s JupyterServerAppSettings) String() string {
51662	return awsutil.Prettify(s)
51663}
51664
51665// GoString returns the string representation
51666func (s JupyterServerAppSettings) GoString() string {
51667	return s.String()
51668}
51669
51670// SetDefaultResourceSpec sets the DefaultResourceSpec field's value.
51671func (s *JupyterServerAppSettings) SetDefaultResourceSpec(v *ResourceSpec) *JupyterServerAppSettings {
51672	s.DefaultResourceSpec = v
51673	return s
51674}
51675
51676// The KernelGateway app settings.
51677type KernelGatewayAppSettings struct {
51678	_ struct{} `type:"structure"`
51679
51680	// A list of custom SageMaker images that are configured to run as a KernelGateway
51681	// app.
51682	CustomImages []*CustomImage `type:"list"`
51683
51684	// The default instance type and the Amazon Resource Name (ARN) of the default
51685	// SageMaker image used by the KernelGateway app.
51686	DefaultResourceSpec *ResourceSpec `type:"structure"`
51687}
51688
51689// String returns the string representation
51690func (s KernelGatewayAppSettings) String() string {
51691	return awsutil.Prettify(s)
51692}
51693
51694// GoString returns the string representation
51695func (s KernelGatewayAppSettings) GoString() string {
51696	return s.String()
51697}
51698
51699// Validate inspects the fields of the type to determine if they are valid.
51700func (s *KernelGatewayAppSettings) Validate() error {
51701	invalidParams := request.ErrInvalidParams{Context: "KernelGatewayAppSettings"}
51702	if s.CustomImages != nil {
51703		for i, v := range s.CustomImages {
51704			if v == nil {
51705				continue
51706			}
51707			if err := v.Validate(); err != nil {
51708				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CustomImages", i), err.(request.ErrInvalidParams))
51709			}
51710		}
51711	}
51712
51713	if invalidParams.Len() > 0 {
51714		return invalidParams
51715	}
51716	return nil
51717}
51718
51719// SetCustomImages sets the CustomImages field's value.
51720func (s *KernelGatewayAppSettings) SetCustomImages(v []*CustomImage) *KernelGatewayAppSettings {
51721	s.CustomImages = v
51722	return s
51723}
51724
51725// SetDefaultResourceSpec sets the DefaultResourceSpec field's value.
51726func (s *KernelGatewayAppSettings) SetDefaultResourceSpec(v *ResourceSpec) *KernelGatewayAppSettings {
51727	s.DefaultResourceSpec = v
51728	return s
51729}
51730
51731// The configuration for the file system and kernels in a SageMaker image running
51732// as a KernelGateway app.
51733type KernelGatewayImageConfig struct {
51734	_ struct{} `type:"structure"`
51735
51736	// The Amazon Elastic File System (EFS) storage configuration for a SageMaker
51737	// image.
51738	FileSystemConfig *FileSystemConfig `type:"structure"`
51739
51740	// The specification of the Jupyter kernels in the image.
51741	//
51742	// KernelSpecs is a required field
51743	KernelSpecs []*KernelSpec `min:"1" type:"list" required:"true"`
51744}
51745
51746// String returns the string representation
51747func (s KernelGatewayImageConfig) String() string {
51748	return awsutil.Prettify(s)
51749}
51750
51751// GoString returns the string representation
51752func (s KernelGatewayImageConfig) GoString() string {
51753	return s.String()
51754}
51755
51756// Validate inspects the fields of the type to determine if they are valid.
51757func (s *KernelGatewayImageConfig) Validate() error {
51758	invalidParams := request.ErrInvalidParams{Context: "KernelGatewayImageConfig"}
51759	if s.KernelSpecs == nil {
51760		invalidParams.Add(request.NewErrParamRequired("KernelSpecs"))
51761	}
51762	if s.KernelSpecs != nil && len(s.KernelSpecs) < 1 {
51763		invalidParams.Add(request.NewErrParamMinLen("KernelSpecs", 1))
51764	}
51765	if s.KernelSpecs != nil {
51766		for i, v := range s.KernelSpecs {
51767			if v == nil {
51768				continue
51769			}
51770			if err := v.Validate(); err != nil {
51771				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "KernelSpecs", i), err.(request.ErrInvalidParams))
51772			}
51773		}
51774	}
51775
51776	if invalidParams.Len() > 0 {
51777		return invalidParams
51778	}
51779	return nil
51780}
51781
51782// SetFileSystemConfig sets the FileSystemConfig field's value.
51783func (s *KernelGatewayImageConfig) SetFileSystemConfig(v *FileSystemConfig) *KernelGatewayImageConfig {
51784	s.FileSystemConfig = v
51785	return s
51786}
51787
51788// SetKernelSpecs sets the KernelSpecs field's value.
51789func (s *KernelGatewayImageConfig) SetKernelSpecs(v []*KernelSpec) *KernelGatewayImageConfig {
51790	s.KernelSpecs = v
51791	return s
51792}
51793
51794// The specification of a Jupyter kernel.
51795type KernelSpec struct {
51796	_ struct{} `type:"structure"`
51797
51798	// The display name of the kernel.
51799	DisplayName *string `type:"string"`
51800
51801	// The name of the kernel.
51802	//
51803	// Name is a required field
51804	Name *string `type:"string" required:"true"`
51805}
51806
51807// String returns the string representation
51808func (s KernelSpec) String() string {
51809	return awsutil.Prettify(s)
51810}
51811
51812// GoString returns the string representation
51813func (s KernelSpec) GoString() string {
51814	return s.String()
51815}
51816
51817// Validate inspects the fields of the type to determine if they are valid.
51818func (s *KernelSpec) Validate() error {
51819	invalidParams := request.ErrInvalidParams{Context: "KernelSpec"}
51820	if s.Name == nil {
51821		invalidParams.Add(request.NewErrParamRequired("Name"))
51822	}
51823
51824	if invalidParams.Len() > 0 {
51825		return invalidParams
51826	}
51827	return nil
51828}
51829
51830// SetDisplayName sets the DisplayName field's value.
51831func (s *KernelSpec) SetDisplayName(v string) *KernelSpec {
51832	s.DisplayName = &v
51833	return s
51834}
51835
51836// SetName sets the Name field's value.
51837func (s *KernelSpec) SetName(v string) *KernelSpec {
51838	s.Name = &v
51839	return s
51840}
51841
51842// Provides a breakdown of the number of objects labeled.
51843type LabelCounters struct {
51844	_ struct{} `type:"structure"`
51845
51846	// The total number of objects that could not be labeled due to an error.
51847	FailedNonRetryableError *int64 `type:"integer"`
51848
51849	// The total number of objects labeled by a human worker.
51850	HumanLabeled *int64 `type:"integer"`
51851
51852	// The total number of objects labeled by automated data labeling.
51853	MachineLabeled *int64 `type:"integer"`
51854
51855	// The total number of objects labeled.
51856	TotalLabeled *int64 `type:"integer"`
51857
51858	// The total number of objects not yet labeled.
51859	Unlabeled *int64 `type:"integer"`
51860}
51861
51862// String returns the string representation
51863func (s LabelCounters) String() string {
51864	return awsutil.Prettify(s)
51865}
51866
51867// GoString returns the string representation
51868func (s LabelCounters) GoString() string {
51869	return s.String()
51870}
51871
51872// SetFailedNonRetryableError sets the FailedNonRetryableError field's value.
51873func (s *LabelCounters) SetFailedNonRetryableError(v int64) *LabelCounters {
51874	s.FailedNonRetryableError = &v
51875	return s
51876}
51877
51878// SetHumanLabeled sets the HumanLabeled field's value.
51879func (s *LabelCounters) SetHumanLabeled(v int64) *LabelCounters {
51880	s.HumanLabeled = &v
51881	return s
51882}
51883
51884// SetMachineLabeled sets the MachineLabeled field's value.
51885func (s *LabelCounters) SetMachineLabeled(v int64) *LabelCounters {
51886	s.MachineLabeled = &v
51887	return s
51888}
51889
51890// SetTotalLabeled sets the TotalLabeled field's value.
51891func (s *LabelCounters) SetTotalLabeled(v int64) *LabelCounters {
51892	s.TotalLabeled = &v
51893	return s
51894}
51895
51896// SetUnlabeled sets the Unlabeled field's value.
51897func (s *LabelCounters) SetUnlabeled(v int64) *LabelCounters {
51898	s.Unlabeled = &v
51899	return s
51900}
51901
51902// Provides counts for human-labeled tasks in the labeling job.
51903type LabelCountersForWorkteam struct {
51904	_ struct{} `type:"structure"`
51905
51906	// The total number of data objects labeled by a human worker.
51907	HumanLabeled *int64 `type:"integer"`
51908
51909	// The total number of data objects that need to be labeled by a human worker.
51910	PendingHuman *int64 `type:"integer"`
51911
51912	// The total number of tasks in the labeling job.
51913	Total *int64 `type:"integer"`
51914}
51915
51916// String returns the string representation
51917func (s LabelCountersForWorkteam) String() string {
51918	return awsutil.Prettify(s)
51919}
51920
51921// GoString returns the string representation
51922func (s LabelCountersForWorkteam) GoString() string {
51923	return s.String()
51924}
51925
51926// SetHumanLabeled sets the HumanLabeled field's value.
51927func (s *LabelCountersForWorkteam) SetHumanLabeled(v int64) *LabelCountersForWorkteam {
51928	s.HumanLabeled = &v
51929	return s
51930}
51931
51932// SetPendingHuman sets the PendingHuman field's value.
51933func (s *LabelCountersForWorkteam) SetPendingHuman(v int64) *LabelCountersForWorkteam {
51934	s.PendingHuman = &v
51935	return s
51936}
51937
51938// SetTotal sets the Total field's value.
51939func (s *LabelCountersForWorkteam) SetTotal(v int64) *LabelCountersForWorkteam {
51940	s.Total = &v
51941	return s
51942}
51943
51944// Provides configuration information for auto-labeling of your data objects.
51945// A LabelingJobAlgorithmsConfig object must be supplied in order to use auto-labeling.
51946type LabelingJobAlgorithmsConfig struct {
51947	_ struct{} `type:"structure"`
51948
51949	// At the end of an auto-label job Ground Truth sends the Amazon Resource Name
51950	// (ARN) of the final model used for auto-labeling. You can use this model as
51951	// the starting point for subsequent similar jobs by providing the ARN of the
51952	// model here.
51953	InitialActiveLearningModelArn *string `min:"20" type:"string"`
51954
51955	// Specifies the Amazon Resource Name (ARN) of the algorithm used for auto-labeling.
51956	// You must select one of the following ARNs:
51957	//
51958	//    * Image classification arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/image-classification
51959	//
51960	//    * Text classification arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/text-classification
51961	//
51962	//    * Object detection arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/object-detection
51963	//
51964	//    * Semantic Segmentation arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/semantic-segmentation
51965	//
51966	// LabelingJobAlgorithmSpecificationArn is a required field
51967	LabelingJobAlgorithmSpecificationArn *string `type:"string" required:"true"`
51968
51969	// Provides configuration information for a labeling job.
51970	LabelingJobResourceConfig *LabelingJobResourceConfig `type:"structure"`
51971}
51972
51973// String returns the string representation
51974func (s LabelingJobAlgorithmsConfig) String() string {
51975	return awsutil.Prettify(s)
51976}
51977
51978// GoString returns the string representation
51979func (s LabelingJobAlgorithmsConfig) GoString() string {
51980	return s.String()
51981}
51982
51983// Validate inspects the fields of the type to determine if they are valid.
51984func (s *LabelingJobAlgorithmsConfig) Validate() error {
51985	invalidParams := request.ErrInvalidParams{Context: "LabelingJobAlgorithmsConfig"}
51986	if s.InitialActiveLearningModelArn != nil && len(*s.InitialActiveLearningModelArn) < 20 {
51987		invalidParams.Add(request.NewErrParamMinLen("InitialActiveLearningModelArn", 20))
51988	}
51989	if s.LabelingJobAlgorithmSpecificationArn == nil {
51990		invalidParams.Add(request.NewErrParamRequired("LabelingJobAlgorithmSpecificationArn"))
51991	}
51992
51993	if invalidParams.Len() > 0 {
51994		return invalidParams
51995	}
51996	return nil
51997}
51998
51999// SetInitialActiveLearningModelArn sets the InitialActiveLearningModelArn field's value.
52000func (s *LabelingJobAlgorithmsConfig) SetInitialActiveLearningModelArn(v string) *LabelingJobAlgorithmsConfig {
52001	s.InitialActiveLearningModelArn = &v
52002	return s
52003}
52004
52005// SetLabelingJobAlgorithmSpecificationArn sets the LabelingJobAlgorithmSpecificationArn field's value.
52006func (s *LabelingJobAlgorithmsConfig) SetLabelingJobAlgorithmSpecificationArn(v string) *LabelingJobAlgorithmsConfig {
52007	s.LabelingJobAlgorithmSpecificationArn = &v
52008	return s
52009}
52010
52011// SetLabelingJobResourceConfig sets the LabelingJobResourceConfig field's value.
52012func (s *LabelingJobAlgorithmsConfig) SetLabelingJobResourceConfig(v *LabelingJobResourceConfig) *LabelingJobAlgorithmsConfig {
52013	s.LabelingJobResourceConfig = v
52014	return s
52015}
52016
52017// Attributes of the data specified by the customer. Use these to describe the
52018// data to be labeled.
52019type LabelingJobDataAttributes struct {
52020	_ struct{} `type:"structure"`
52021
52022	// Declares that your content is free of personally identifiable information
52023	// or adult content. Amazon SageMaker may restrict the Amazon Mechanical Turk
52024	// workers that can view your task based on this information.
52025	ContentClassifiers []*string `type:"list"`
52026}
52027
52028// String returns the string representation
52029func (s LabelingJobDataAttributes) String() string {
52030	return awsutil.Prettify(s)
52031}
52032
52033// GoString returns the string representation
52034func (s LabelingJobDataAttributes) GoString() string {
52035	return s.String()
52036}
52037
52038// SetContentClassifiers sets the ContentClassifiers field's value.
52039func (s *LabelingJobDataAttributes) SetContentClassifiers(v []*string) *LabelingJobDataAttributes {
52040	s.ContentClassifiers = v
52041	return s
52042}
52043
52044// Provides information about the location of input data.
52045//
52046// You must specify at least one of the following: S3DataSource or SnsDataSource.
52047//
52048// Use SnsDataSource to specify an SNS input topic for a streaming labeling
52049// job. If you do not specify and SNS input topic ARN, Ground Truth will create
52050// a one-time labeling job.
52051//
52052// Use S3DataSource to specify an input manifest file for both streaming and
52053// one-time labeling jobs. Adding an S3DataSource is optional if you use SnsDataSource
52054// to create a streaming labeling job.
52055type LabelingJobDataSource struct {
52056	_ struct{} `type:"structure"`
52057
52058	// The Amazon S3 location of the input data objects.
52059	S3DataSource *LabelingJobS3DataSource `type:"structure"`
52060
52061	// An Amazon SNS data source used for streaming labeling jobs.
52062	SnsDataSource *LabelingJobSnsDataSource `type:"structure"`
52063}
52064
52065// String returns the string representation
52066func (s LabelingJobDataSource) String() string {
52067	return awsutil.Prettify(s)
52068}
52069
52070// GoString returns the string representation
52071func (s LabelingJobDataSource) GoString() string {
52072	return s.String()
52073}
52074
52075// Validate inspects the fields of the type to determine if they are valid.
52076func (s *LabelingJobDataSource) Validate() error {
52077	invalidParams := request.ErrInvalidParams{Context: "LabelingJobDataSource"}
52078	if s.S3DataSource != nil {
52079		if err := s.S3DataSource.Validate(); err != nil {
52080			invalidParams.AddNested("S3DataSource", err.(request.ErrInvalidParams))
52081		}
52082	}
52083	if s.SnsDataSource != nil {
52084		if err := s.SnsDataSource.Validate(); err != nil {
52085			invalidParams.AddNested("SnsDataSource", err.(request.ErrInvalidParams))
52086		}
52087	}
52088
52089	if invalidParams.Len() > 0 {
52090		return invalidParams
52091	}
52092	return nil
52093}
52094
52095// SetS3DataSource sets the S3DataSource field's value.
52096func (s *LabelingJobDataSource) SetS3DataSource(v *LabelingJobS3DataSource) *LabelingJobDataSource {
52097	s.S3DataSource = v
52098	return s
52099}
52100
52101// SetSnsDataSource sets the SnsDataSource field's value.
52102func (s *LabelingJobDataSource) SetSnsDataSource(v *LabelingJobSnsDataSource) *LabelingJobDataSource {
52103	s.SnsDataSource = v
52104	return s
52105}
52106
52107// Provides summary information for a work team.
52108type LabelingJobForWorkteamSummary struct {
52109	_ struct{} `type:"structure"`
52110
52111	// The date and time that the labeling job was created.
52112	//
52113	// CreationTime is a required field
52114	CreationTime *time.Time `type:"timestamp" required:"true"`
52115
52116	// A unique identifier for a labeling job. You can use this to refer to a specific
52117	// labeling job.
52118	//
52119	// JobReferenceCode is a required field
52120	JobReferenceCode *string `min:"1" type:"string" required:"true"`
52121
52122	// Provides information about the progress of a labeling job.
52123	LabelCounters *LabelCountersForWorkteam `type:"structure"`
52124
52125	// The name of the labeling job that the work team is assigned to.
52126	LabelingJobName *string `min:"1" type:"string"`
52127
52128	// The configured number of workers per data object.
52129	NumberOfHumanWorkersPerDataObject *int64 `min:"1" type:"integer"`
52130
52131	// WorkRequesterAccountId is a required field
52132	WorkRequesterAccountId *string `type:"string" required:"true"`
52133}
52134
52135// String returns the string representation
52136func (s LabelingJobForWorkteamSummary) String() string {
52137	return awsutil.Prettify(s)
52138}
52139
52140// GoString returns the string representation
52141func (s LabelingJobForWorkteamSummary) GoString() string {
52142	return s.String()
52143}
52144
52145// SetCreationTime sets the CreationTime field's value.
52146func (s *LabelingJobForWorkteamSummary) SetCreationTime(v time.Time) *LabelingJobForWorkteamSummary {
52147	s.CreationTime = &v
52148	return s
52149}
52150
52151// SetJobReferenceCode sets the JobReferenceCode field's value.
52152func (s *LabelingJobForWorkteamSummary) SetJobReferenceCode(v string) *LabelingJobForWorkteamSummary {
52153	s.JobReferenceCode = &v
52154	return s
52155}
52156
52157// SetLabelCounters sets the LabelCounters field's value.
52158func (s *LabelingJobForWorkteamSummary) SetLabelCounters(v *LabelCountersForWorkteam) *LabelingJobForWorkteamSummary {
52159	s.LabelCounters = v
52160	return s
52161}
52162
52163// SetLabelingJobName sets the LabelingJobName field's value.
52164func (s *LabelingJobForWorkteamSummary) SetLabelingJobName(v string) *LabelingJobForWorkteamSummary {
52165	s.LabelingJobName = &v
52166	return s
52167}
52168
52169// SetNumberOfHumanWorkersPerDataObject sets the NumberOfHumanWorkersPerDataObject field's value.
52170func (s *LabelingJobForWorkteamSummary) SetNumberOfHumanWorkersPerDataObject(v int64) *LabelingJobForWorkteamSummary {
52171	s.NumberOfHumanWorkersPerDataObject = &v
52172	return s
52173}
52174
52175// SetWorkRequesterAccountId sets the WorkRequesterAccountId field's value.
52176func (s *LabelingJobForWorkteamSummary) SetWorkRequesterAccountId(v string) *LabelingJobForWorkteamSummary {
52177	s.WorkRequesterAccountId = &v
52178	return s
52179}
52180
52181// Input configuration information for a labeling job.
52182type LabelingJobInputConfig struct {
52183	_ struct{} `type:"structure"`
52184
52185	// Attributes of the data specified by the customer.
52186	DataAttributes *LabelingJobDataAttributes `type:"structure"`
52187
52188	// The location of the input data.
52189	//
52190	// DataSource is a required field
52191	DataSource *LabelingJobDataSource `type:"structure" required:"true"`
52192}
52193
52194// String returns the string representation
52195func (s LabelingJobInputConfig) String() string {
52196	return awsutil.Prettify(s)
52197}
52198
52199// GoString returns the string representation
52200func (s LabelingJobInputConfig) GoString() string {
52201	return s.String()
52202}
52203
52204// Validate inspects the fields of the type to determine if they are valid.
52205func (s *LabelingJobInputConfig) Validate() error {
52206	invalidParams := request.ErrInvalidParams{Context: "LabelingJobInputConfig"}
52207	if s.DataSource == nil {
52208		invalidParams.Add(request.NewErrParamRequired("DataSource"))
52209	}
52210	if s.DataSource != nil {
52211		if err := s.DataSource.Validate(); err != nil {
52212			invalidParams.AddNested("DataSource", err.(request.ErrInvalidParams))
52213		}
52214	}
52215
52216	if invalidParams.Len() > 0 {
52217		return invalidParams
52218	}
52219	return nil
52220}
52221
52222// SetDataAttributes sets the DataAttributes field's value.
52223func (s *LabelingJobInputConfig) SetDataAttributes(v *LabelingJobDataAttributes) *LabelingJobInputConfig {
52224	s.DataAttributes = v
52225	return s
52226}
52227
52228// SetDataSource sets the DataSource field's value.
52229func (s *LabelingJobInputConfig) SetDataSource(v *LabelingJobDataSource) *LabelingJobInputConfig {
52230	s.DataSource = v
52231	return s
52232}
52233
52234// Specifies the location of the output produced by the labeling job.
52235type LabelingJobOutput struct {
52236	_ struct{} `type:"structure"`
52237
52238	// The Amazon Resource Name (ARN) for the most recent Amazon SageMaker model
52239	// trained as part of automated data labeling.
52240	FinalActiveLearningModelArn *string `min:"20" type:"string"`
52241
52242	// The Amazon S3 bucket location of the manifest file for labeled data.
52243	//
52244	// OutputDatasetS3Uri is a required field
52245	OutputDatasetS3Uri *string `type:"string" required:"true"`
52246}
52247
52248// String returns the string representation
52249func (s LabelingJobOutput) String() string {
52250	return awsutil.Prettify(s)
52251}
52252
52253// GoString returns the string representation
52254func (s LabelingJobOutput) GoString() string {
52255	return s.String()
52256}
52257
52258// SetFinalActiveLearningModelArn sets the FinalActiveLearningModelArn field's value.
52259func (s *LabelingJobOutput) SetFinalActiveLearningModelArn(v string) *LabelingJobOutput {
52260	s.FinalActiveLearningModelArn = &v
52261	return s
52262}
52263
52264// SetOutputDatasetS3Uri sets the OutputDatasetS3Uri field's value.
52265func (s *LabelingJobOutput) SetOutputDatasetS3Uri(v string) *LabelingJobOutput {
52266	s.OutputDatasetS3Uri = &v
52267	return s
52268}
52269
52270// Output configuration information for a labeling job.
52271type LabelingJobOutputConfig struct {
52272	_ struct{} `type:"structure"`
52273
52274	// The AWS Key Management Service ID of the key used to encrypt the output data,
52275	// if any.
52276	//
52277	// If you use a KMS key ID or an alias of your master key, the Amazon SageMaker
52278	// execution role must include permissions to call kms:Encrypt. If you don't
52279	// provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon
52280	// S3 for your role's account. Amazon SageMaker uses server-side encryption
52281	// with KMS-managed keys for LabelingJobOutputConfig. If you use a bucket policy
52282	// with an s3:PutObject permission that only allows objects with server-side
52283	// encryption, set the condition key of s3:x-amz-server-side-encryption to "aws:kms".
52284	// For more information, see KMS-Managed Encryption Keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html)
52285	// in the Amazon Simple Storage Service Developer Guide.
52286	//
52287	// The KMS key policy must grant permission to the IAM role that you specify
52288	// in your CreateLabelingJob request. For more information, see Using Key Policies
52289	// in AWS KMS (http://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html)
52290	// in the AWS Key Management Service Developer Guide.
52291	KmsKeyId *string `type:"string"`
52292
52293	// The Amazon S3 location to write output data.
52294	//
52295	// S3OutputPath is a required field
52296	S3OutputPath *string `type:"string" required:"true"`
52297
52298	// An Amazon Simple Notification Service (Amazon SNS) output topic ARN.
52299	//
52300	// When workers complete labeling tasks, Ground Truth will send labeling task
52301	// output data to the SNS output topic you specify here.
52302	//
52303	// You must provide a value for this parameter if you provide an Amazon SNS
52304	// input topic in SnsDataSource in InputConfig.
52305	SnsTopicArn *string `type:"string"`
52306}
52307
52308// String returns the string representation
52309func (s LabelingJobOutputConfig) String() string {
52310	return awsutil.Prettify(s)
52311}
52312
52313// GoString returns the string representation
52314func (s LabelingJobOutputConfig) GoString() string {
52315	return s.String()
52316}
52317
52318// Validate inspects the fields of the type to determine if they are valid.
52319func (s *LabelingJobOutputConfig) Validate() error {
52320	invalidParams := request.ErrInvalidParams{Context: "LabelingJobOutputConfig"}
52321	if s.S3OutputPath == nil {
52322		invalidParams.Add(request.NewErrParamRequired("S3OutputPath"))
52323	}
52324
52325	if invalidParams.Len() > 0 {
52326		return invalidParams
52327	}
52328	return nil
52329}
52330
52331// SetKmsKeyId sets the KmsKeyId field's value.
52332func (s *LabelingJobOutputConfig) SetKmsKeyId(v string) *LabelingJobOutputConfig {
52333	s.KmsKeyId = &v
52334	return s
52335}
52336
52337// SetS3OutputPath sets the S3OutputPath field's value.
52338func (s *LabelingJobOutputConfig) SetS3OutputPath(v string) *LabelingJobOutputConfig {
52339	s.S3OutputPath = &v
52340	return s
52341}
52342
52343// SetSnsTopicArn sets the SnsTopicArn field's value.
52344func (s *LabelingJobOutputConfig) SetSnsTopicArn(v string) *LabelingJobOutputConfig {
52345	s.SnsTopicArn = &v
52346	return s
52347}
52348
52349// Provides configuration information for labeling jobs.
52350type LabelingJobResourceConfig struct {
52351	_ struct{} `type:"structure"`
52352
52353	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
52354	// encrypt data on the storage volume attached to the ML compute instance(s)
52355	// that run the training job. The VolumeKmsKeyId can be any of the following
52356	// formats:
52357	//
52358	//    * // KMS Key ID "1234abcd-12ab-34cd-56ef-1234567890ab"
52359	//
52360	//    * // Amazon Resource Name (ARN) of a KMS Key "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
52361	VolumeKmsKeyId *string `type:"string"`
52362}
52363
52364// String returns the string representation
52365func (s LabelingJobResourceConfig) String() string {
52366	return awsutil.Prettify(s)
52367}
52368
52369// GoString returns the string representation
52370func (s LabelingJobResourceConfig) GoString() string {
52371	return s.String()
52372}
52373
52374// SetVolumeKmsKeyId sets the VolumeKmsKeyId field's value.
52375func (s *LabelingJobResourceConfig) SetVolumeKmsKeyId(v string) *LabelingJobResourceConfig {
52376	s.VolumeKmsKeyId = &v
52377	return s
52378}
52379
52380// The Amazon S3 location of the input data objects.
52381type LabelingJobS3DataSource struct {
52382	_ struct{} `type:"structure"`
52383
52384	// The Amazon S3 location of the manifest file that describes the input data
52385	// objects.
52386	//
52387	// The input manifest file referenced in ManifestS3Uri must contain one of the
52388	// following keys: source-ref or source. The value of the keys are interpreted
52389	// as follows:
52390	//
52391	//    * source-ref: The source of the object is the Amazon S3 object specified
52392	//    in the value. Use this value when the object is a binary object, such
52393	//    as an image.
52394	//
52395	//    * source: The source of the object is the value. Use this value when the
52396	//    object is a text value.
52397	//
52398	// If you are a new user of Ground Truth, it is recommended you review Use an
52399	// Input Manifest File (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-input-data-input-manifest.html)
52400	// in the Amazon SageMaker Developer Guide to learn how to create an input manifest
52401	// file.
52402	//
52403	// ManifestS3Uri is a required field
52404	ManifestS3Uri *string `type:"string" required:"true"`
52405}
52406
52407// String returns the string representation
52408func (s LabelingJobS3DataSource) String() string {
52409	return awsutil.Prettify(s)
52410}
52411
52412// GoString returns the string representation
52413func (s LabelingJobS3DataSource) GoString() string {
52414	return s.String()
52415}
52416
52417// Validate inspects the fields of the type to determine if they are valid.
52418func (s *LabelingJobS3DataSource) Validate() error {
52419	invalidParams := request.ErrInvalidParams{Context: "LabelingJobS3DataSource"}
52420	if s.ManifestS3Uri == nil {
52421		invalidParams.Add(request.NewErrParamRequired("ManifestS3Uri"))
52422	}
52423
52424	if invalidParams.Len() > 0 {
52425		return invalidParams
52426	}
52427	return nil
52428}
52429
52430// SetManifestS3Uri sets the ManifestS3Uri field's value.
52431func (s *LabelingJobS3DataSource) SetManifestS3Uri(v string) *LabelingJobS3DataSource {
52432	s.ManifestS3Uri = &v
52433	return s
52434}
52435
52436// An Amazon SNS data source used for streaming labeling jobs.
52437type LabelingJobSnsDataSource struct {
52438	_ struct{} `type:"structure"`
52439
52440	// The Amazon SNS input topic Amazon Resource Name (ARN). Specify the ARN of
52441	// the input topic you will use to send new data objects to a streaming labeling
52442	// job.
52443	//
52444	// If you specify an input topic for SnsTopicArn in InputConfig, you must specify
52445	// a value for SnsTopicArn in OutputConfig.
52446	//
52447	// SnsTopicArn is a required field
52448	SnsTopicArn *string `type:"string" required:"true"`
52449}
52450
52451// String returns the string representation
52452func (s LabelingJobSnsDataSource) String() string {
52453	return awsutil.Prettify(s)
52454}
52455
52456// GoString returns the string representation
52457func (s LabelingJobSnsDataSource) GoString() string {
52458	return s.String()
52459}
52460
52461// Validate inspects the fields of the type to determine if they are valid.
52462func (s *LabelingJobSnsDataSource) Validate() error {
52463	invalidParams := request.ErrInvalidParams{Context: "LabelingJobSnsDataSource"}
52464	if s.SnsTopicArn == nil {
52465		invalidParams.Add(request.NewErrParamRequired("SnsTopicArn"))
52466	}
52467
52468	if invalidParams.Len() > 0 {
52469		return invalidParams
52470	}
52471	return nil
52472}
52473
52474// SetSnsTopicArn sets the SnsTopicArn field's value.
52475func (s *LabelingJobSnsDataSource) SetSnsTopicArn(v string) *LabelingJobSnsDataSource {
52476	s.SnsTopicArn = &v
52477	return s
52478}
52479
52480// A set of conditions for stopping a labeling job. If any of the conditions
52481// are met, the job is automatically stopped. You can use these conditions to
52482// control the cost of data labeling.
52483//
52484// Labeling jobs fail after 30 days with an appropriate client error message.
52485type LabelingJobStoppingConditions struct {
52486	_ struct{} `type:"structure"`
52487
52488	// The maximum number of objects that can be labeled by human workers.
52489	MaxHumanLabeledObjectCount *int64 `min:"1" type:"integer"`
52490
52491	// The maximum number of input data objects that should be labeled.
52492	MaxPercentageOfInputDatasetLabeled *int64 `min:"1" type:"integer"`
52493}
52494
52495// String returns the string representation
52496func (s LabelingJobStoppingConditions) String() string {
52497	return awsutil.Prettify(s)
52498}
52499
52500// GoString returns the string representation
52501func (s LabelingJobStoppingConditions) GoString() string {
52502	return s.String()
52503}
52504
52505// Validate inspects the fields of the type to determine if they are valid.
52506func (s *LabelingJobStoppingConditions) Validate() error {
52507	invalidParams := request.ErrInvalidParams{Context: "LabelingJobStoppingConditions"}
52508	if s.MaxHumanLabeledObjectCount != nil && *s.MaxHumanLabeledObjectCount < 1 {
52509		invalidParams.Add(request.NewErrParamMinValue("MaxHumanLabeledObjectCount", 1))
52510	}
52511	if s.MaxPercentageOfInputDatasetLabeled != nil && *s.MaxPercentageOfInputDatasetLabeled < 1 {
52512		invalidParams.Add(request.NewErrParamMinValue("MaxPercentageOfInputDatasetLabeled", 1))
52513	}
52514
52515	if invalidParams.Len() > 0 {
52516		return invalidParams
52517	}
52518	return nil
52519}
52520
52521// SetMaxHumanLabeledObjectCount sets the MaxHumanLabeledObjectCount field's value.
52522func (s *LabelingJobStoppingConditions) SetMaxHumanLabeledObjectCount(v int64) *LabelingJobStoppingConditions {
52523	s.MaxHumanLabeledObjectCount = &v
52524	return s
52525}
52526
52527// SetMaxPercentageOfInputDatasetLabeled sets the MaxPercentageOfInputDatasetLabeled field's value.
52528func (s *LabelingJobStoppingConditions) SetMaxPercentageOfInputDatasetLabeled(v int64) *LabelingJobStoppingConditions {
52529	s.MaxPercentageOfInputDatasetLabeled = &v
52530	return s
52531}
52532
52533// Provides summary information about a labeling job.
52534type LabelingJobSummary struct {
52535	_ struct{} `type:"structure"`
52536
52537	// The Amazon Resource Name (ARN) of the Lambda function used to consolidate
52538	// the annotations from individual workers into a label for a data object. For
52539	// more information, see Annotation Consolidation (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-annotation-consolidation.html).
52540	AnnotationConsolidationLambdaArn *string `type:"string"`
52541
52542	// The date and time that the job was created (timestamp).
52543	//
52544	// CreationTime is a required field
52545	CreationTime *time.Time `type:"timestamp" required:"true"`
52546
52547	// If the LabelingJobStatus field is Failed, this field contains a description
52548	// of the error.
52549	FailureReason *string `type:"string"`
52550
52551	// Input configuration for the labeling job.
52552	InputConfig *LabelingJobInputConfig `type:"structure"`
52553
52554	// Counts showing the progress of the labeling job.
52555	//
52556	// LabelCounters is a required field
52557	LabelCounters *LabelCounters `type:"structure" required:"true"`
52558
52559	// The Amazon Resource Name (ARN) assigned to the labeling job when it was created.
52560	//
52561	// LabelingJobArn is a required field
52562	LabelingJobArn *string `type:"string" required:"true"`
52563
52564	// The name of the labeling job.
52565	//
52566	// LabelingJobName is a required field
52567	LabelingJobName *string `min:"1" type:"string" required:"true"`
52568
52569	// The location of the output produced by the labeling job.
52570	LabelingJobOutput *LabelingJobOutput `type:"structure"`
52571
52572	// The current status of the labeling job.
52573	//
52574	// LabelingJobStatus is a required field
52575	LabelingJobStatus *string `type:"string" required:"true" enum:"LabelingJobStatus"`
52576
52577	// The date and time that the job was last modified (timestamp).
52578	//
52579	// LastModifiedTime is a required field
52580	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
52581
52582	// The Amazon Resource Name (ARN) of a Lambda function. The function is run
52583	// before each data object is sent to a worker.
52584	//
52585	// PreHumanTaskLambdaArn is a required field
52586	PreHumanTaskLambdaArn *string `type:"string" required:"true"`
52587
52588	// The Amazon Resource Name (ARN) of the work team assigned to the job.
52589	//
52590	// WorkteamArn is a required field
52591	WorkteamArn *string `type:"string" required:"true"`
52592}
52593
52594// String returns the string representation
52595func (s LabelingJobSummary) String() string {
52596	return awsutil.Prettify(s)
52597}
52598
52599// GoString returns the string representation
52600func (s LabelingJobSummary) GoString() string {
52601	return s.String()
52602}
52603
52604// SetAnnotationConsolidationLambdaArn sets the AnnotationConsolidationLambdaArn field's value.
52605func (s *LabelingJobSummary) SetAnnotationConsolidationLambdaArn(v string) *LabelingJobSummary {
52606	s.AnnotationConsolidationLambdaArn = &v
52607	return s
52608}
52609
52610// SetCreationTime sets the CreationTime field's value.
52611func (s *LabelingJobSummary) SetCreationTime(v time.Time) *LabelingJobSummary {
52612	s.CreationTime = &v
52613	return s
52614}
52615
52616// SetFailureReason sets the FailureReason field's value.
52617func (s *LabelingJobSummary) SetFailureReason(v string) *LabelingJobSummary {
52618	s.FailureReason = &v
52619	return s
52620}
52621
52622// SetInputConfig sets the InputConfig field's value.
52623func (s *LabelingJobSummary) SetInputConfig(v *LabelingJobInputConfig) *LabelingJobSummary {
52624	s.InputConfig = v
52625	return s
52626}
52627
52628// SetLabelCounters sets the LabelCounters field's value.
52629func (s *LabelingJobSummary) SetLabelCounters(v *LabelCounters) *LabelingJobSummary {
52630	s.LabelCounters = v
52631	return s
52632}
52633
52634// SetLabelingJobArn sets the LabelingJobArn field's value.
52635func (s *LabelingJobSummary) SetLabelingJobArn(v string) *LabelingJobSummary {
52636	s.LabelingJobArn = &v
52637	return s
52638}
52639
52640// SetLabelingJobName sets the LabelingJobName field's value.
52641func (s *LabelingJobSummary) SetLabelingJobName(v string) *LabelingJobSummary {
52642	s.LabelingJobName = &v
52643	return s
52644}
52645
52646// SetLabelingJobOutput sets the LabelingJobOutput field's value.
52647func (s *LabelingJobSummary) SetLabelingJobOutput(v *LabelingJobOutput) *LabelingJobSummary {
52648	s.LabelingJobOutput = v
52649	return s
52650}
52651
52652// SetLabelingJobStatus sets the LabelingJobStatus field's value.
52653func (s *LabelingJobSummary) SetLabelingJobStatus(v string) *LabelingJobSummary {
52654	s.LabelingJobStatus = &v
52655	return s
52656}
52657
52658// SetLastModifiedTime sets the LastModifiedTime field's value.
52659func (s *LabelingJobSummary) SetLastModifiedTime(v time.Time) *LabelingJobSummary {
52660	s.LastModifiedTime = &v
52661	return s
52662}
52663
52664// SetPreHumanTaskLambdaArn sets the PreHumanTaskLambdaArn field's value.
52665func (s *LabelingJobSummary) SetPreHumanTaskLambdaArn(v string) *LabelingJobSummary {
52666	s.PreHumanTaskLambdaArn = &v
52667	return s
52668}
52669
52670// SetWorkteamArn sets the WorkteamArn field's value.
52671func (s *LabelingJobSummary) SetWorkteamArn(v string) *LabelingJobSummary {
52672	s.WorkteamArn = &v
52673	return s
52674}
52675
52676type ListActionsInput struct {
52677	_ struct{} `type:"structure"`
52678
52679	// A filter that returns only actions of the specified type.
52680	ActionType *string `type:"string"`
52681
52682	// A filter that returns only actions created on or after the specified time.
52683	CreatedAfter *time.Time `type:"timestamp"`
52684
52685	// A filter that returns only actions created on or before the specified time.
52686	CreatedBefore *time.Time `type:"timestamp"`
52687
52688	// The maximum number of actions to return in the response. The default value
52689	// is 10.
52690	MaxResults *int64 `min:"1" type:"integer"`
52691
52692	// If the previous call to ListActions didn't return the full set of actions,
52693	// the call returns a token for getting the next set of actions.
52694	NextToken *string `type:"string"`
52695
52696	// The property used to sort results. The default value is CreationTime.
52697	SortBy *string `type:"string" enum:"SortActionsBy"`
52698
52699	// The sort order. The default value is Descending.
52700	SortOrder *string `type:"string" enum:"SortOrder"`
52701
52702	// A filter that returns only actions with the specified source URI.
52703	SourceUri *string `type:"string"`
52704}
52705
52706// String returns the string representation
52707func (s ListActionsInput) String() string {
52708	return awsutil.Prettify(s)
52709}
52710
52711// GoString returns the string representation
52712func (s ListActionsInput) GoString() string {
52713	return s.String()
52714}
52715
52716// Validate inspects the fields of the type to determine if they are valid.
52717func (s *ListActionsInput) Validate() error {
52718	invalidParams := request.ErrInvalidParams{Context: "ListActionsInput"}
52719	if s.MaxResults != nil && *s.MaxResults < 1 {
52720		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
52721	}
52722
52723	if invalidParams.Len() > 0 {
52724		return invalidParams
52725	}
52726	return nil
52727}
52728
52729// SetActionType sets the ActionType field's value.
52730func (s *ListActionsInput) SetActionType(v string) *ListActionsInput {
52731	s.ActionType = &v
52732	return s
52733}
52734
52735// SetCreatedAfter sets the CreatedAfter field's value.
52736func (s *ListActionsInput) SetCreatedAfter(v time.Time) *ListActionsInput {
52737	s.CreatedAfter = &v
52738	return s
52739}
52740
52741// SetCreatedBefore sets the CreatedBefore field's value.
52742func (s *ListActionsInput) SetCreatedBefore(v time.Time) *ListActionsInput {
52743	s.CreatedBefore = &v
52744	return s
52745}
52746
52747// SetMaxResults sets the MaxResults field's value.
52748func (s *ListActionsInput) SetMaxResults(v int64) *ListActionsInput {
52749	s.MaxResults = &v
52750	return s
52751}
52752
52753// SetNextToken sets the NextToken field's value.
52754func (s *ListActionsInput) SetNextToken(v string) *ListActionsInput {
52755	s.NextToken = &v
52756	return s
52757}
52758
52759// SetSortBy sets the SortBy field's value.
52760func (s *ListActionsInput) SetSortBy(v string) *ListActionsInput {
52761	s.SortBy = &v
52762	return s
52763}
52764
52765// SetSortOrder sets the SortOrder field's value.
52766func (s *ListActionsInput) SetSortOrder(v string) *ListActionsInput {
52767	s.SortOrder = &v
52768	return s
52769}
52770
52771// SetSourceUri sets the SourceUri field's value.
52772func (s *ListActionsInput) SetSourceUri(v string) *ListActionsInput {
52773	s.SourceUri = &v
52774	return s
52775}
52776
52777type ListActionsOutput struct {
52778	_ struct{} `type:"structure"`
52779
52780	// A list of actions and their properties.
52781	ActionSummaries []*ActionSummary `type:"list"`
52782
52783	// A token for getting the next set of actions, if there are any.
52784	NextToken *string `type:"string"`
52785}
52786
52787// String returns the string representation
52788func (s ListActionsOutput) String() string {
52789	return awsutil.Prettify(s)
52790}
52791
52792// GoString returns the string representation
52793func (s ListActionsOutput) GoString() string {
52794	return s.String()
52795}
52796
52797// SetActionSummaries sets the ActionSummaries field's value.
52798func (s *ListActionsOutput) SetActionSummaries(v []*ActionSummary) *ListActionsOutput {
52799	s.ActionSummaries = v
52800	return s
52801}
52802
52803// SetNextToken sets the NextToken field's value.
52804func (s *ListActionsOutput) SetNextToken(v string) *ListActionsOutput {
52805	s.NextToken = &v
52806	return s
52807}
52808
52809type ListAlgorithmsInput struct {
52810	_ struct{} `type:"structure"`
52811
52812	// A filter that returns only algorithms created after the specified time (timestamp).
52813	CreationTimeAfter *time.Time `type:"timestamp"`
52814
52815	// A filter that returns only algorithms created before the specified time (timestamp).
52816	CreationTimeBefore *time.Time `type:"timestamp"`
52817
52818	// The maximum number of algorithms to return in the response.
52819	MaxResults *int64 `min:"1" type:"integer"`
52820
52821	// A string in the algorithm name. This filter returns only algorithms whose
52822	// name contains the specified string.
52823	NameContains *string `type:"string"`
52824
52825	// If the response to a previous ListAlgorithms request was truncated, the response
52826	// includes a NextToken. To retrieve the next set of algorithms, use the token
52827	// in the next request.
52828	NextToken *string `type:"string"`
52829
52830	// The parameter by which to sort the results. The default is CreationTime.
52831	SortBy *string `type:"string" enum:"AlgorithmSortBy"`
52832
52833	// The sort order for the results. The default is Ascending.
52834	SortOrder *string `type:"string" enum:"SortOrder"`
52835}
52836
52837// String returns the string representation
52838func (s ListAlgorithmsInput) String() string {
52839	return awsutil.Prettify(s)
52840}
52841
52842// GoString returns the string representation
52843func (s ListAlgorithmsInput) GoString() string {
52844	return s.String()
52845}
52846
52847// Validate inspects the fields of the type to determine if they are valid.
52848func (s *ListAlgorithmsInput) Validate() error {
52849	invalidParams := request.ErrInvalidParams{Context: "ListAlgorithmsInput"}
52850	if s.MaxResults != nil && *s.MaxResults < 1 {
52851		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
52852	}
52853
52854	if invalidParams.Len() > 0 {
52855		return invalidParams
52856	}
52857	return nil
52858}
52859
52860// SetCreationTimeAfter sets the CreationTimeAfter field's value.
52861func (s *ListAlgorithmsInput) SetCreationTimeAfter(v time.Time) *ListAlgorithmsInput {
52862	s.CreationTimeAfter = &v
52863	return s
52864}
52865
52866// SetCreationTimeBefore sets the CreationTimeBefore field's value.
52867func (s *ListAlgorithmsInput) SetCreationTimeBefore(v time.Time) *ListAlgorithmsInput {
52868	s.CreationTimeBefore = &v
52869	return s
52870}
52871
52872// SetMaxResults sets the MaxResults field's value.
52873func (s *ListAlgorithmsInput) SetMaxResults(v int64) *ListAlgorithmsInput {
52874	s.MaxResults = &v
52875	return s
52876}
52877
52878// SetNameContains sets the NameContains field's value.
52879func (s *ListAlgorithmsInput) SetNameContains(v string) *ListAlgorithmsInput {
52880	s.NameContains = &v
52881	return s
52882}
52883
52884// SetNextToken sets the NextToken field's value.
52885func (s *ListAlgorithmsInput) SetNextToken(v string) *ListAlgorithmsInput {
52886	s.NextToken = &v
52887	return s
52888}
52889
52890// SetSortBy sets the SortBy field's value.
52891func (s *ListAlgorithmsInput) SetSortBy(v string) *ListAlgorithmsInput {
52892	s.SortBy = &v
52893	return s
52894}
52895
52896// SetSortOrder sets the SortOrder field's value.
52897func (s *ListAlgorithmsInput) SetSortOrder(v string) *ListAlgorithmsInput {
52898	s.SortOrder = &v
52899	return s
52900}
52901
52902type ListAlgorithmsOutput struct {
52903	_ struct{} `type:"structure"`
52904
52905	// >An array of AlgorithmSummary objects, each of which lists an algorithm.
52906	//
52907	// AlgorithmSummaryList is a required field
52908	AlgorithmSummaryList []*AlgorithmSummary `type:"list" required:"true"`
52909
52910	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
52911	// the next set of algorithms, use it in the subsequent request.
52912	NextToken *string `type:"string"`
52913}
52914
52915// String returns the string representation
52916func (s ListAlgorithmsOutput) String() string {
52917	return awsutil.Prettify(s)
52918}
52919
52920// GoString returns the string representation
52921func (s ListAlgorithmsOutput) GoString() string {
52922	return s.String()
52923}
52924
52925// SetAlgorithmSummaryList sets the AlgorithmSummaryList field's value.
52926func (s *ListAlgorithmsOutput) SetAlgorithmSummaryList(v []*AlgorithmSummary) *ListAlgorithmsOutput {
52927	s.AlgorithmSummaryList = v
52928	return s
52929}
52930
52931// SetNextToken sets the NextToken field's value.
52932func (s *ListAlgorithmsOutput) SetNextToken(v string) *ListAlgorithmsOutput {
52933	s.NextToken = &v
52934	return s
52935}
52936
52937type ListAppImageConfigsInput struct {
52938	_ struct{} `type:"structure"`
52939
52940	// A filter that returns only AppImageConfigs created on or after the specified
52941	// time.
52942	CreationTimeAfter *time.Time `type:"timestamp"`
52943
52944	// A filter that returns only AppImageConfigs created on or before the specified
52945	// time.
52946	CreationTimeBefore *time.Time `type:"timestamp"`
52947
52948	// The maximum number of AppImageConfigs to return in the response. The default
52949	// value is 10.
52950	MaxResults *int64 `min:"1" type:"integer"`
52951
52952	// A filter that returns only AppImageConfigs modified on or after the specified
52953	// time.
52954	ModifiedTimeAfter *time.Time `type:"timestamp"`
52955
52956	// A filter that returns only AppImageConfigs modified on or before the specified
52957	// time.
52958	ModifiedTimeBefore *time.Time `type:"timestamp"`
52959
52960	// A filter that returns only AppImageConfigs whose name contains the specified
52961	// string.
52962	NameContains *string `type:"string"`
52963
52964	// If the previous call to ListImages didn't return the full set of AppImageConfigs,
52965	// the call returns a token for getting the next set of AppImageConfigs.
52966	NextToken *string `type:"string"`
52967
52968	// The property used to sort results. The default value is CreationTime.
52969	SortBy *string `type:"string" enum:"AppImageConfigSortKey"`
52970
52971	// The sort order. The default value is Descending.
52972	SortOrder *string `type:"string" enum:"SortOrder"`
52973}
52974
52975// String returns the string representation
52976func (s ListAppImageConfigsInput) String() string {
52977	return awsutil.Prettify(s)
52978}
52979
52980// GoString returns the string representation
52981func (s ListAppImageConfigsInput) GoString() string {
52982	return s.String()
52983}
52984
52985// Validate inspects the fields of the type to determine if they are valid.
52986func (s *ListAppImageConfigsInput) Validate() error {
52987	invalidParams := request.ErrInvalidParams{Context: "ListAppImageConfigsInput"}
52988	if s.MaxResults != nil && *s.MaxResults < 1 {
52989		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
52990	}
52991
52992	if invalidParams.Len() > 0 {
52993		return invalidParams
52994	}
52995	return nil
52996}
52997
52998// SetCreationTimeAfter sets the CreationTimeAfter field's value.
52999func (s *ListAppImageConfigsInput) SetCreationTimeAfter(v time.Time) *ListAppImageConfigsInput {
53000	s.CreationTimeAfter = &v
53001	return s
53002}
53003
53004// SetCreationTimeBefore sets the CreationTimeBefore field's value.
53005func (s *ListAppImageConfigsInput) SetCreationTimeBefore(v time.Time) *ListAppImageConfigsInput {
53006	s.CreationTimeBefore = &v
53007	return s
53008}
53009
53010// SetMaxResults sets the MaxResults field's value.
53011func (s *ListAppImageConfigsInput) SetMaxResults(v int64) *ListAppImageConfigsInput {
53012	s.MaxResults = &v
53013	return s
53014}
53015
53016// SetModifiedTimeAfter sets the ModifiedTimeAfter field's value.
53017func (s *ListAppImageConfigsInput) SetModifiedTimeAfter(v time.Time) *ListAppImageConfigsInput {
53018	s.ModifiedTimeAfter = &v
53019	return s
53020}
53021
53022// SetModifiedTimeBefore sets the ModifiedTimeBefore field's value.
53023func (s *ListAppImageConfigsInput) SetModifiedTimeBefore(v time.Time) *ListAppImageConfigsInput {
53024	s.ModifiedTimeBefore = &v
53025	return s
53026}
53027
53028// SetNameContains sets the NameContains field's value.
53029func (s *ListAppImageConfigsInput) SetNameContains(v string) *ListAppImageConfigsInput {
53030	s.NameContains = &v
53031	return s
53032}
53033
53034// SetNextToken sets the NextToken field's value.
53035func (s *ListAppImageConfigsInput) SetNextToken(v string) *ListAppImageConfigsInput {
53036	s.NextToken = &v
53037	return s
53038}
53039
53040// SetSortBy sets the SortBy field's value.
53041func (s *ListAppImageConfigsInput) SetSortBy(v string) *ListAppImageConfigsInput {
53042	s.SortBy = &v
53043	return s
53044}
53045
53046// SetSortOrder sets the SortOrder field's value.
53047func (s *ListAppImageConfigsInput) SetSortOrder(v string) *ListAppImageConfigsInput {
53048	s.SortOrder = &v
53049	return s
53050}
53051
53052type ListAppImageConfigsOutput struct {
53053	_ struct{} `type:"structure"`
53054
53055	// A list of AppImageConfigs and their properties.
53056	AppImageConfigs []*AppImageConfigDetails `type:"list"`
53057
53058	// A token for getting the next set of AppImageConfigs, if there are any.
53059	NextToken *string `type:"string"`
53060}
53061
53062// String returns the string representation
53063func (s ListAppImageConfigsOutput) String() string {
53064	return awsutil.Prettify(s)
53065}
53066
53067// GoString returns the string representation
53068func (s ListAppImageConfigsOutput) GoString() string {
53069	return s.String()
53070}
53071
53072// SetAppImageConfigs sets the AppImageConfigs field's value.
53073func (s *ListAppImageConfigsOutput) SetAppImageConfigs(v []*AppImageConfigDetails) *ListAppImageConfigsOutput {
53074	s.AppImageConfigs = v
53075	return s
53076}
53077
53078// SetNextToken sets the NextToken field's value.
53079func (s *ListAppImageConfigsOutput) SetNextToken(v string) *ListAppImageConfigsOutput {
53080	s.NextToken = &v
53081	return s
53082}
53083
53084type ListAppsInput struct {
53085	_ struct{} `type:"structure"`
53086
53087	// A parameter to search for the domain ID.
53088	DomainIdEquals *string `type:"string"`
53089
53090	// Returns a list up to a specified limit.
53091	MaxResults *int64 `min:"1" type:"integer"`
53092
53093	// If the previous response was truncated, you will receive this token. Use
53094	// it in your next request to receive the next set of results.
53095	NextToken *string `type:"string"`
53096
53097	// The parameter by which to sort the results. The default is CreationTime.
53098	SortBy *string `type:"string" enum:"AppSortKey"`
53099
53100	// The sort order for the results. The default is Ascending.
53101	SortOrder *string `type:"string" enum:"SortOrder"`
53102
53103	// A parameter to search by user profile name.
53104	UserProfileNameEquals *string `type:"string"`
53105}
53106
53107// String returns the string representation
53108func (s ListAppsInput) String() string {
53109	return awsutil.Prettify(s)
53110}
53111
53112// GoString returns the string representation
53113func (s ListAppsInput) GoString() string {
53114	return s.String()
53115}
53116
53117// Validate inspects the fields of the type to determine if they are valid.
53118func (s *ListAppsInput) Validate() error {
53119	invalidParams := request.ErrInvalidParams{Context: "ListAppsInput"}
53120	if s.MaxResults != nil && *s.MaxResults < 1 {
53121		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
53122	}
53123
53124	if invalidParams.Len() > 0 {
53125		return invalidParams
53126	}
53127	return nil
53128}
53129
53130// SetDomainIdEquals sets the DomainIdEquals field's value.
53131func (s *ListAppsInput) SetDomainIdEquals(v string) *ListAppsInput {
53132	s.DomainIdEquals = &v
53133	return s
53134}
53135
53136// SetMaxResults sets the MaxResults field's value.
53137func (s *ListAppsInput) SetMaxResults(v int64) *ListAppsInput {
53138	s.MaxResults = &v
53139	return s
53140}
53141
53142// SetNextToken sets the NextToken field's value.
53143func (s *ListAppsInput) SetNextToken(v string) *ListAppsInput {
53144	s.NextToken = &v
53145	return s
53146}
53147
53148// SetSortBy sets the SortBy field's value.
53149func (s *ListAppsInput) SetSortBy(v string) *ListAppsInput {
53150	s.SortBy = &v
53151	return s
53152}
53153
53154// SetSortOrder sets the SortOrder field's value.
53155func (s *ListAppsInput) SetSortOrder(v string) *ListAppsInput {
53156	s.SortOrder = &v
53157	return s
53158}
53159
53160// SetUserProfileNameEquals sets the UserProfileNameEquals field's value.
53161func (s *ListAppsInput) SetUserProfileNameEquals(v string) *ListAppsInput {
53162	s.UserProfileNameEquals = &v
53163	return s
53164}
53165
53166type ListAppsOutput struct {
53167	_ struct{} `type:"structure"`
53168
53169	// The list of apps.
53170	Apps []*AppDetails `type:"list"`
53171
53172	// If the previous response was truncated, you will receive this token. Use
53173	// it in your next request to receive the next set of results.
53174	NextToken *string `type:"string"`
53175}
53176
53177// String returns the string representation
53178func (s ListAppsOutput) String() string {
53179	return awsutil.Prettify(s)
53180}
53181
53182// GoString returns the string representation
53183func (s ListAppsOutput) GoString() string {
53184	return s.String()
53185}
53186
53187// SetApps sets the Apps field's value.
53188func (s *ListAppsOutput) SetApps(v []*AppDetails) *ListAppsOutput {
53189	s.Apps = v
53190	return s
53191}
53192
53193// SetNextToken sets the NextToken field's value.
53194func (s *ListAppsOutput) SetNextToken(v string) *ListAppsOutput {
53195	s.NextToken = &v
53196	return s
53197}
53198
53199type ListArtifactsInput struct {
53200	_ struct{} `type:"structure"`
53201
53202	// A filter that returns only artifacts of the specified type.
53203	ArtifactType *string `type:"string"`
53204
53205	// A filter that returns only artifacts created on or after the specified time.
53206	CreatedAfter *time.Time `type:"timestamp"`
53207
53208	// A filter that returns only artifacts created on or before the specified time.
53209	CreatedBefore *time.Time `type:"timestamp"`
53210
53211	// The maximum number of artifacts to return in the response. The default value
53212	// is 10.
53213	MaxResults *int64 `min:"1" type:"integer"`
53214
53215	// If the previous call to ListArtifacts didn't return the full set of artifacts,
53216	// the call returns a token for getting the next set of artifacts.
53217	NextToken *string `type:"string"`
53218
53219	// The property used to sort results. The default value is CreationTime.
53220	SortBy *string `type:"string" enum:"SortArtifactsBy"`
53221
53222	// The sort order. The default value is Descending.
53223	SortOrder *string `type:"string" enum:"SortOrder"`
53224
53225	// A filter that returns only artifacts with the specified source URI.
53226	SourceUri *string `type:"string"`
53227}
53228
53229// String returns the string representation
53230func (s ListArtifactsInput) String() string {
53231	return awsutil.Prettify(s)
53232}
53233
53234// GoString returns the string representation
53235func (s ListArtifactsInput) GoString() string {
53236	return s.String()
53237}
53238
53239// Validate inspects the fields of the type to determine if they are valid.
53240func (s *ListArtifactsInput) Validate() error {
53241	invalidParams := request.ErrInvalidParams{Context: "ListArtifactsInput"}
53242	if s.MaxResults != nil && *s.MaxResults < 1 {
53243		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
53244	}
53245
53246	if invalidParams.Len() > 0 {
53247		return invalidParams
53248	}
53249	return nil
53250}
53251
53252// SetArtifactType sets the ArtifactType field's value.
53253func (s *ListArtifactsInput) SetArtifactType(v string) *ListArtifactsInput {
53254	s.ArtifactType = &v
53255	return s
53256}
53257
53258// SetCreatedAfter sets the CreatedAfter field's value.
53259func (s *ListArtifactsInput) SetCreatedAfter(v time.Time) *ListArtifactsInput {
53260	s.CreatedAfter = &v
53261	return s
53262}
53263
53264// SetCreatedBefore sets the CreatedBefore field's value.
53265func (s *ListArtifactsInput) SetCreatedBefore(v time.Time) *ListArtifactsInput {
53266	s.CreatedBefore = &v
53267	return s
53268}
53269
53270// SetMaxResults sets the MaxResults field's value.
53271func (s *ListArtifactsInput) SetMaxResults(v int64) *ListArtifactsInput {
53272	s.MaxResults = &v
53273	return s
53274}
53275
53276// SetNextToken sets the NextToken field's value.
53277func (s *ListArtifactsInput) SetNextToken(v string) *ListArtifactsInput {
53278	s.NextToken = &v
53279	return s
53280}
53281
53282// SetSortBy sets the SortBy field's value.
53283func (s *ListArtifactsInput) SetSortBy(v string) *ListArtifactsInput {
53284	s.SortBy = &v
53285	return s
53286}
53287
53288// SetSortOrder sets the SortOrder field's value.
53289func (s *ListArtifactsInput) SetSortOrder(v string) *ListArtifactsInput {
53290	s.SortOrder = &v
53291	return s
53292}
53293
53294// SetSourceUri sets the SourceUri field's value.
53295func (s *ListArtifactsInput) SetSourceUri(v string) *ListArtifactsInput {
53296	s.SourceUri = &v
53297	return s
53298}
53299
53300type ListArtifactsOutput struct {
53301	_ struct{} `type:"structure"`
53302
53303	// A list of artifacts and their properties.
53304	ArtifactSummaries []*ArtifactSummary `type:"list"`
53305
53306	// A token for getting the next set of artifacts, if there are any.
53307	NextToken *string `type:"string"`
53308}
53309
53310// String returns the string representation
53311func (s ListArtifactsOutput) String() string {
53312	return awsutil.Prettify(s)
53313}
53314
53315// GoString returns the string representation
53316func (s ListArtifactsOutput) GoString() string {
53317	return s.String()
53318}
53319
53320// SetArtifactSummaries sets the ArtifactSummaries field's value.
53321func (s *ListArtifactsOutput) SetArtifactSummaries(v []*ArtifactSummary) *ListArtifactsOutput {
53322	s.ArtifactSummaries = v
53323	return s
53324}
53325
53326// SetNextToken sets the NextToken field's value.
53327func (s *ListArtifactsOutput) SetNextToken(v string) *ListArtifactsOutput {
53328	s.NextToken = &v
53329	return s
53330}
53331
53332type ListAssociationsInput struct {
53333	_ struct{} `type:"structure"`
53334
53335	// A filter that returns only associations of the specified type.
53336	AssociationType *string `type:"string" enum:"AssociationEdgeType"`
53337
53338	// A filter that returns only associations created on or after the specified
53339	// time.
53340	CreatedAfter *time.Time `type:"timestamp"`
53341
53342	// A filter that returns only associations created on or before the specified
53343	// time.
53344	CreatedBefore *time.Time `type:"timestamp"`
53345
53346	// A filter that returns only associations with the specified destination Amazon
53347	// Resource Name (ARN).
53348	DestinationArn *string `type:"string"`
53349
53350	// A filter that returns only associations with the specified destination type.
53351	DestinationType *string `type:"string"`
53352
53353	// The maximum number of associations to return in the response. The default
53354	// value is 10.
53355	MaxResults *int64 `min:"1" type:"integer"`
53356
53357	// If the previous call to ListAssociations didn't return the full set of associations,
53358	// the call returns a token for getting the next set of associations.
53359	NextToken *string `type:"string"`
53360
53361	// The property used to sort results. The default value is CreationTime.
53362	SortBy *string `type:"string" enum:"SortAssociationsBy"`
53363
53364	// The sort order. The default value is Descending.
53365	SortOrder *string `type:"string" enum:"SortOrder"`
53366
53367	// A filter that returns only associations with the specified source ARN.
53368	SourceArn *string `type:"string"`
53369
53370	// A filter that returns only associations with the specified source type.
53371	SourceType *string `type:"string"`
53372}
53373
53374// String returns the string representation
53375func (s ListAssociationsInput) String() string {
53376	return awsutil.Prettify(s)
53377}
53378
53379// GoString returns the string representation
53380func (s ListAssociationsInput) GoString() string {
53381	return s.String()
53382}
53383
53384// Validate inspects the fields of the type to determine if they are valid.
53385func (s *ListAssociationsInput) Validate() error {
53386	invalidParams := request.ErrInvalidParams{Context: "ListAssociationsInput"}
53387	if s.MaxResults != nil && *s.MaxResults < 1 {
53388		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
53389	}
53390
53391	if invalidParams.Len() > 0 {
53392		return invalidParams
53393	}
53394	return nil
53395}
53396
53397// SetAssociationType sets the AssociationType field's value.
53398func (s *ListAssociationsInput) SetAssociationType(v string) *ListAssociationsInput {
53399	s.AssociationType = &v
53400	return s
53401}
53402
53403// SetCreatedAfter sets the CreatedAfter field's value.
53404func (s *ListAssociationsInput) SetCreatedAfter(v time.Time) *ListAssociationsInput {
53405	s.CreatedAfter = &v
53406	return s
53407}
53408
53409// SetCreatedBefore sets the CreatedBefore field's value.
53410func (s *ListAssociationsInput) SetCreatedBefore(v time.Time) *ListAssociationsInput {
53411	s.CreatedBefore = &v
53412	return s
53413}
53414
53415// SetDestinationArn sets the DestinationArn field's value.
53416func (s *ListAssociationsInput) SetDestinationArn(v string) *ListAssociationsInput {
53417	s.DestinationArn = &v
53418	return s
53419}
53420
53421// SetDestinationType sets the DestinationType field's value.
53422func (s *ListAssociationsInput) SetDestinationType(v string) *ListAssociationsInput {
53423	s.DestinationType = &v
53424	return s
53425}
53426
53427// SetMaxResults sets the MaxResults field's value.
53428func (s *ListAssociationsInput) SetMaxResults(v int64) *ListAssociationsInput {
53429	s.MaxResults = &v
53430	return s
53431}
53432
53433// SetNextToken sets the NextToken field's value.
53434func (s *ListAssociationsInput) SetNextToken(v string) *ListAssociationsInput {
53435	s.NextToken = &v
53436	return s
53437}
53438
53439// SetSortBy sets the SortBy field's value.
53440func (s *ListAssociationsInput) SetSortBy(v string) *ListAssociationsInput {
53441	s.SortBy = &v
53442	return s
53443}
53444
53445// SetSortOrder sets the SortOrder field's value.
53446func (s *ListAssociationsInput) SetSortOrder(v string) *ListAssociationsInput {
53447	s.SortOrder = &v
53448	return s
53449}
53450
53451// SetSourceArn sets the SourceArn field's value.
53452func (s *ListAssociationsInput) SetSourceArn(v string) *ListAssociationsInput {
53453	s.SourceArn = &v
53454	return s
53455}
53456
53457// SetSourceType sets the SourceType field's value.
53458func (s *ListAssociationsInput) SetSourceType(v string) *ListAssociationsInput {
53459	s.SourceType = &v
53460	return s
53461}
53462
53463type ListAssociationsOutput struct {
53464	_ struct{} `type:"structure"`
53465
53466	// A list of associations and their properties.
53467	AssociationSummaries []*AssociationSummary `type:"list"`
53468
53469	// A token for getting the next set of associations, if there are any.
53470	NextToken *string `type:"string"`
53471}
53472
53473// String returns the string representation
53474func (s ListAssociationsOutput) String() string {
53475	return awsutil.Prettify(s)
53476}
53477
53478// GoString returns the string representation
53479func (s ListAssociationsOutput) GoString() string {
53480	return s.String()
53481}
53482
53483// SetAssociationSummaries sets the AssociationSummaries field's value.
53484func (s *ListAssociationsOutput) SetAssociationSummaries(v []*AssociationSummary) *ListAssociationsOutput {
53485	s.AssociationSummaries = v
53486	return s
53487}
53488
53489// SetNextToken sets the NextToken field's value.
53490func (s *ListAssociationsOutput) SetNextToken(v string) *ListAssociationsOutput {
53491	s.NextToken = &v
53492	return s
53493}
53494
53495type ListAutoMLJobsInput struct {
53496	_ struct{} `type:"structure"`
53497
53498	// Request a list of jobs, using a filter for time.
53499	CreationTimeAfter *time.Time `type:"timestamp"`
53500
53501	// Request a list of jobs, using a filter for time.
53502	CreationTimeBefore *time.Time `type:"timestamp"`
53503
53504	// Request a list of jobs, using a filter for time.
53505	LastModifiedTimeAfter *time.Time `type:"timestamp"`
53506
53507	// Request a list of jobs, using a filter for time.
53508	LastModifiedTimeBefore *time.Time `type:"timestamp"`
53509
53510	// Request a list of jobs up to a specified limit.
53511	MaxResults *int64 `min:"1" type:"integer"`
53512
53513	// Request a list of jobs, using a search filter for name.
53514	NameContains *string `type:"string"`
53515
53516	// If the previous response was truncated, you receive this token. Use it in
53517	// your next request to receive the next set of results.
53518	NextToken *string `type:"string"`
53519
53520	// The parameter by which to sort the results. The default is AutoMLJobName.
53521	SortBy *string `type:"string" enum:"AutoMLSortBy"`
53522
53523	// The sort order for the results. The default is Descending.
53524	SortOrder *string `type:"string" enum:"AutoMLSortOrder"`
53525
53526	// Request a list of jobs, using a filter for status.
53527	StatusEquals *string `type:"string" enum:"AutoMLJobStatus"`
53528}
53529
53530// String returns the string representation
53531func (s ListAutoMLJobsInput) String() string {
53532	return awsutil.Prettify(s)
53533}
53534
53535// GoString returns the string representation
53536func (s ListAutoMLJobsInput) GoString() string {
53537	return s.String()
53538}
53539
53540// Validate inspects the fields of the type to determine if they are valid.
53541func (s *ListAutoMLJobsInput) Validate() error {
53542	invalidParams := request.ErrInvalidParams{Context: "ListAutoMLJobsInput"}
53543	if s.MaxResults != nil && *s.MaxResults < 1 {
53544		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
53545	}
53546
53547	if invalidParams.Len() > 0 {
53548		return invalidParams
53549	}
53550	return nil
53551}
53552
53553// SetCreationTimeAfter sets the CreationTimeAfter field's value.
53554func (s *ListAutoMLJobsInput) SetCreationTimeAfter(v time.Time) *ListAutoMLJobsInput {
53555	s.CreationTimeAfter = &v
53556	return s
53557}
53558
53559// SetCreationTimeBefore sets the CreationTimeBefore field's value.
53560func (s *ListAutoMLJobsInput) SetCreationTimeBefore(v time.Time) *ListAutoMLJobsInput {
53561	s.CreationTimeBefore = &v
53562	return s
53563}
53564
53565// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
53566func (s *ListAutoMLJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListAutoMLJobsInput {
53567	s.LastModifiedTimeAfter = &v
53568	return s
53569}
53570
53571// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
53572func (s *ListAutoMLJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListAutoMLJobsInput {
53573	s.LastModifiedTimeBefore = &v
53574	return s
53575}
53576
53577// SetMaxResults sets the MaxResults field's value.
53578func (s *ListAutoMLJobsInput) SetMaxResults(v int64) *ListAutoMLJobsInput {
53579	s.MaxResults = &v
53580	return s
53581}
53582
53583// SetNameContains sets the NameContains field's value.
53584func (s *ListAutoMLJobsInput) SetNameContains(v string) *ListAutoMLJobsInput {
53585	s.NameContains = &v
53586	return s
53587}
53588
53589// SetNextToken sets the NextToken field's value.
53590func (s *ListAutoMLJobsInput) SetNextToken(v string) *ListAutoMLJobsInput {
53591	s.NextToken = &v
53592	return s
53593}
53594
53595// SetSortBy sets the SortBy field's value.
53596func (s *ListAutoMLJobsInput) SetSortBy(v string) *ListAutoMLJobsInput {
53597	s.SortBy = &v
53598	return s
53599}
53600
53601// SetSortOrder sets the SortOrder field's value.
53602func (s *ListAutoMLJobsInput) SetSortOrder(v string) *ListAutoMLJobsInput {
53603	s.SortOrder = &v
53604	return s
53605}
53606
53607// SetStatusEquals sets the StatusEquals field's value.
53608func (s *ListAutoMLJobsInput) SetStatusEquals(v string) *ListAutoMLJobsInput {
53609	s.StatusEquals = &v
53610	return s
53611}
53612
53613type ListAutoMLJobsOutput struct {
53614	_ struct{} `type:"structure"`
53615
53616	// Returns a summary list of jobs.
53617	//
53618	// AutoMLJobSummaries is a required field
53619	AutoMLJobSummaries []*AutoMLJobSummary `type:"list" required:"true"`
53620
53621	// If the previous response was truncated, you receive this token. Use it in
53622	// your next request to receive the next set of results.
53623	NextToken *string `type:"string"`
53624}
53625
53626// String returns the string representation
53627func (s ListAutoMLJobsOutput) String() string {
53628	return awsutil.Prettify(s)
53629}
53630
53631// GoString returns the string representation
53632func (s ListAutoMLJobsOutput) GoString() string {
53633	return s.String()
53634}
53635
53636// SetAutoMLJobSummaries sets the AutoMLJobSummaries field's value.
53637func (s *ListAutoMLJobsOutput) SetAutoMLJobSummaries(v []*AutoMLJobSummary) *ListAutoMLJobsOutput {
53638	s.AutoMLJobSummaries = v
53639	return s
53640}
53641
53642// SetNextToken sets the NextToken field's value.
53643func (s *ListAutoMLJobsOutput) SetNextToken(v string) *ListAutoMLJobsOutput {
53644	s.NextToken = &v
53645	return s
53646}
53647
53648type ListCandidatesForAutoMLJobInput struct {
53649	_ struct{} `type:"structure"`
53650
53651	// List the Candidates created for the job by providing the job's name.
53652	//
53653	// AutoMLJobName is a required field
53654	AutoMLJobName *string `min:"1" type:"string" required:"true"`
53655
53656	// List the Candidates for the job and filter by candidate name.
53657	CandidateNameEquals *string `min:"1" type:"string"`
53658
53659	// List the job's Candidates up to a specified limit.
53660	MaxResults *int64 `min:"1" type:"integer"`
53661
53662	// If the previous response was truncated, you receive this token. Use it in
53663	// your next request to receive the next set of results.
53664	NextToken *string `type:"string"`
53665
53666	// The parameter by which to sort the results. The default is Descending.
53667	SortBy *string `type:"string" enum:"CandidateSortBy"`
53668
53669	// The sort order for the results. The default is Ascending.
53670	SortOrder *string `type:"string" enum:"AutoMLSortOrder"`
53671
53672	// List the Candidates for the job and filter by status.
53673	StatusEquals *string `type:"string" enum:"CandidateStatus"`
53674}
53675
53676// String returns the string representation
53677func (s ListCandidatesForAutoMLJobInput) String() string {
53678	return awsutil.Prettify(s)
53679}
53680
53681// GoString returns the string representation
53682func (s ListCandidatesForAutoMLJobInput) GoString() string {
53683	return s.String()
53684}
53685
53686// Validate inspects the fields of the type to determine if they are valid.
53687func (s *ListCandidatesForAutoMLJobInput) Validate() error {
53688	invalidParams := request.ErrInvalidParams{Context: "ListCandidatesForAutoMLJobInput"}
53689	if s.AutoMLJobName == nil {
53690		invalidParams.Add(request.NewErrParamRequired("AutoMLJobName"))
53691	}
53692	if s.AutoMLJobName != nil && len(*s.AutoMLJobName) < 1 {
53693		invalidParams.Add(request.NewErrParamMinLen("AutoMLJobName", 1))
53694	}
53695	if s.CandidateNameEquals != nil && len(*s.CandidateNameEquals) < 1 {
53696		invalidParams.Add(request.NewErrParamMinLen("CandidateNameEquals", 1))
53697	}
53698	if s.MaxResults != nil && *s.MaxResults < 1 {
53699		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
53700	}
53701
53702	if invalidParams.Len() > 0 {
53703		return invalidParams
53704	}
53705	return nil
53706}
53707
53708// SetAutoMLJobName sets the AutoMLJobName field's value.
53709func (s *ListCandidatesForAutoMLJobInput) SetAutoMLJobName(v string) *ListCandidatesForAutoMLJobInput {
53710	s.AutoMLJobName = &v
53711	return s
53712}
53713
53714// SetCandidateNameEquals sets the CandidateNameEquals field's value.
53715func (s *ListCandidatesForAutoMLJobInput) SetCandidateNameEquals(v string) *ListCandidatesForAutoMLJobInput {
53716	s.CandidateNameEquals = &v
53717	return s
53718}
53719
53720// SetMaxResults sets the MaxResults field's value.
53721func (s *ListCandidatesForAutoMLJobInput) SetMaxResults(v int64) *ListCandidatesForAutoMLJobInput {
53722	s.MaxResults = &v
53723	return s
53724}
53725
53726// SetNextToken sets the NextToken field's value.
53727func (s *ListCandidatesForAutoMLJobInput) SetNextToken(v string) *ListCandidatesForAutoMLJobInput {
53728	s.NextToken = &v
53729	return s
53730}
53731
53732// SetSortBy sets the SortBy field's value.
53733func (s *ListCandidatesForAutoMLJobInput) SetSortBy(v string) *ListCandidatesForAutoMLJobInput {
53734	s.SortBy = &v
53735	return s
53736}
53737
53738// SetSortOrder sets the SortOrder field's value.
53739func (s *ListCandidatesForAutoMLJobInput) SetSortOrder(v string) *ListCandidatesForAutoMLJobInput {
53740	s.SortOrder = &v
53741	return s
53742}
53743
53744// SetStatusEquals sets the StatusEquals field's value.
53745func (s *ListCandidatesForAutoMLJobInput) SetStatusEquals(v string) *ListCandidatesForAutoMLJobInput {
53746	s.StatusEquals = &v
53747	return s
53748}
53749
53750type ListCandidatesForAutoMLJobOutput struct {
53751	_ struct{} `type:"structure"`
53752
53753	// Summaries about the Candidates.
53754	//
53755	// Candidates is a required field
53756	Candidates []*AutoMLCandidate `type:"list" required:"true"`
53757
53758	// If the previous response was truncated, you receive this token. Use it in
53759	// your next request to receive the next set of results.
53760	NextToken *string `type:"string"`
53761}
53762
53763// String returns the string representation
53764func (s ListCandidatesForAutoMLJobOutput) String() string {
53765	return awsutil.Prettify(s)
53766}
53767
53768// GoString returns the string representation
53769func (s ListCandidatesForAutoMLJobOutput) GoString() string {
53770	return s.String()
53771}
53772
53773// SetCandidates sets the Candidates field's value.
53774func (s *ListCandidatesForAutoMLJobOutput) SetCandidates(v []*AutoMLCandidate) *ListCandidatesForAutoMLJobOutput {
53775	s.Candidates = v
53776	return s
53777}
53778
53779// SetNextToken sets the NextToken field's value.
53780func (s *ListCandidatesForAutoMLJobOutput) SetNextToken(v string) *ListCandidatesForAutoMLJobOutput {
53781	s.NextToken = &v
53782	return s
53783}
53784
53785type ListCodeRepositoriesInput struct {
53786	_ struct{} `type:"structure"`
53787
53788	// A filter that returns only Git repositories that were created after the specified
53789	// time.
53790	CreationTimeAfter *time.Time `type:"timestamp"`
53791
53792	// A filter that returns only Git repositories that were created before the
53793	// specified time.
53794	CreationTimeBefore *time.Time `type:"timestamp"`
53795
53796	// A filter that returns only Git repositories that were last modified after
53797	// the specified time.
53798	LastModifiedTimeAfter *time.Time `type:"timestamp"`
53799
53800	// A filter that returns only Git repositories that were last modified before
53801	// the specified time.
53802	LastModifiedTimeBefore *time.Time `type:"timestamp"`
53803
53804	// The maximum number of Git repositories to return in the response.
53805	MaxResults *int64 `min:"1" type:"integer"`
53806
53807	// A string in the Git repositories name. This filter returns only repositories
53808	// whose name contains the specified string.
53809	NameContains *string `type:"string"`
53810
53811	// If the result of a ListCodeRepositoriesOutput request was truncated, the
53812	// response includes a NextToken. To get the next set of Git repositories, use
53813	// the token in the next request.
53814	NextToken *string `type:"string"`
53815
53816	// The field to sort results by. The default is Name.
53817	SortBy *string `type:"string" enum:"CodeRepositorySortBy"`
53818
53819	// The sort order for results. The default is Ascending.
53820	SortOrder *string `type:"string" enum:"CodeRepositorySortOrder"`
53821}
53822
53823// String returns the string representation
53824func (s ListCodeRepositoriesInput) String() string {
53825	return awsutil.Prettify(s)
53826}
53827
53828// GoString returns the string representation
53829func (s ListCodeRepositoriesInput) GoString() string {
53830	return s.String()
53831}
53832
53833// Validate inspects the fields of the type to determine if they are valid.
53834func (s *ListCodeRepositoriesInput) Validate() error {
53835	invalidParams := request.ErrInvalidParams{Context: "ListCodeRepositoriesInput"}
53836	if s.MaxResults != nil && *s.MaxResults < 1 {
53837		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
53838	}
53839
53840	if invalidParams.Len() > 0 {
53841		return invalidParams
53842	}
53843	return nil
53844}
53845
53846// SetCreationTimeAfter sets the CreationTimeAfter field's value.
53847func (s *ListCodeRepositoriesInput) SetCreationTimeAfter(v time.Time) *ListCodeRepositoriesInput {
53848	s.CreationTimeAfter = &v
53849	return s
53850}
53851
53852// SetCreationTimeBefore sets the CreationTimeBefore field's value.
53853func (s *ListCodeRepositoriesInput) SetCreationTimeBefore(v time.Time) *ListCodeRepositoriesInput {
53854	s.CreationTimeBefore = &v
53855	return s
53856}
53857
53858// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
53859func (s *ListCodeRepositoriesInput) SetLastModifiedTimeAfter(v time.Time) *ListCodeRepositoriesInput {
53860	s.LastModifiedTimeAfter = &v
53861	return s
53862}
53863
53864// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
53865func (s *ListCodeRepositoriesInput) SetLastModifiedTimeBefore(v time.Time) *ListCodeRepositoriesInput {
53866	s.LastModifiedTimeBefore = &v
53867	return s
53868}
53869
53870// SetMaxResults sets the MaxResults field's value.
53871func (s *ListCodeRepositoriesInput) SetMaxResults(v int64) *ListCodeRepositoriesInput {
53872	s.MaxResults = &v
53873	return s
53874}
53875
53876// SetNameContains sets the NameContains field's value.
53877func (s *ListCodeRepositoriesInput) SetNameContains(v string) *ListCodeRepositoriesInput {
53878	s.NameContains = &v
53879	return s
53880}
53881
53882// SetNextToken sets the NextToken field's value.
53883func (s *ListCodeRepositoriesInput) SetNextToken(v string) *ListCodeRepositoriesInput {
53884	s.NextToken = &v
53885	return s
53886}
53887
53888// SetSortBy sets the SortBy field's value.
53889func (s *ListCodeRepositoriesInput) SetSortBy(v string) *ListCodeRepositoriesInput {
53890	s.SortBy = &v
53891	return s
53892}
53893
53894// SetSortOrder sets the SortOrder field's value.
53895func (s *ListCodeRepositoriesInput) SetSortOrder(v string) *ListCodeRepositoriesInput {
53896	s.SortOrder = &v
53897	return s
53898}
53899
53900type ListCodeRepositoriesOutput struct {
53901	_ struct{} `type:"structure"`
53902
53903	// Gets a list of summaries of the Git repositories. Each summary specifies
53904	// the following values for the repository:
53905	//
53906	//    * Name
53907	//
53908	//    * Amazon Resource Name (ARN)
53909	//
53910	//    * Creation time
53911	//
53912	//    * Last modified time
53913	//
53914	//    * Configuration information, including the URL location of the repository
53915	//    and the ARN of the AWS Secrets Manager secret that contains the credentials
53916	//    used to access the repository.
53917	//
53918	// CodeRepositorySummaryList is a required field
53919	CodeRepositorySummaryList []*CodeRepositorySummary `type:"list" required:"true"`
53920
53921	// If the result of a ListCodeRepositoriesOutput request was truncated, the
53922	// response includes a NextToken. To get the next set of Git repositories, use
53923	// the token in the next request.
53924	NextToken *string `type:"string"`
53925}
53926
53927// String returns the string representation
53928func (s ListCodeRepositoriesOutput) String() string {
53929	return awsutil.Prettify(s)
53930}
53931
53932// GoString returns the string representation
53933func (s ListCodeRepositoriesOutput) GoString() string {
53934	return s.String()
53935}
53936
53937// SetCodeRepositorySummaryList sets the CodeRepositorySummaryList field's value.
53938func (s *ListCodeRepositoriesOutput) SetCodeRepositorySummaryList(v []*CodeRepositorySummary) *ListCodeRepositoriesOutput {
53939	s.CodeRepositorySummaryList = v
53940	return s
53941}
53942
53943// SetNextToken sets the NextToken field's value.
53944func (s *ListCodeRepositoriesOutput) SetNextToken(v string) *ListCodeRepositoriesOutput {
53945	s.NextToken = &v
53946	return s
53947}
53948
53949type ListCompilationJobsInput struct {
53950	_ struct{} `type:"structure"`
53951
53952	// A filter that returns the model compilation jobs that were created after
53953	// a specified time.
53954	CreationTimeAfter *time.Time `type:"timestamp"`
53955
53956	// A filter that returns the model compilation jobs that were created before
53957	// a specified time.
53958	CreationTimeBefore *time.Time `type:"timestamp"`
53959
53960	// A filter that returns the model compilation jobs that were modified after
53961	// a specified time.
53962	LastModifiedTimeAfter *time.Time `type:"timestamp"`
53963
53964	// A filter that returns the model compilation jobs that were modified before
53965	// a specified time.
53966	LastModifiedTimeBefore *time.Time `type:"timestamp"`
53967
53968	// The maximum number of model compilation jobs to return in the response.
53969	MaxResults *int64 `min:"1" type:"integer"`
53970
53971	// A filter that returns the model compilation jobs whose name contains a specified
53972	// string.
53973	NameContains *string `type:"string"`
53974
53975	// If the result of the previous ListCompilationJobs request was truncated,
53976	// the response includes a NextToken. To retrieve the next set of model compilation
53977	// jobs, use the token in the next request.
53978	NextToken *string `type:"string"`
53979
53980	// The field by which to sort results. The default is CreationTime.
53981	SortBy *string `type:"string" enum:"ListCompilationJobsSortBy"`
53982
53983	// The sort order for results. The default is Ascending.
53984	SortOrder *string `type:"string" enum:"SortOrder"`
53985
53986	// A filter that retrieves model compilation jobs with a specific DescribeCompilationJobResponse$CompilationJobStatus
53987	// status.
53988	StatusEquals *string `type:"string" enum:"CompilationJobStatus"`
53989}
53990
53991// String returns the string representation
53992func (s ListCompilationJobsInput) String() string {
53993	return awsutil.Prettify(s)
53994}
53995
53996// GoString returns the string representation
53997func (s ListCompilationJobsInput) GoString() string {
53998	return s.String()
53999}
54000
54001// Validate inspects the fields of the type to determine if they are valid.
54002func (s *ListCompilationJobsInput) Validate() error {
54003	invalidParams := request.ErrInvalidParams{Context: "ListCompilationJobsInput"}
54004	if s.MaxResults != nil && *s.MaxResults < 1 {
54005		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
54006	}
54007
54008	if invalidParams.Len() > 0 {
54009		return invalidParams
54010	}
54011	return nil
54012}
54013
54014// SetCreationTimeAfter sets the CreationTimeAfter field's value.
54015func (s *ListCompilationJobsInput) SetCreationTimeAfter(v time.Time) *ListCompilationJobsInput {
54016	s.CreationTimeAfter = &v
54017	return s
54018}
54019
54020// SetCreationTimeBefore sets the CreationTimeBefore field's value.
54021func (s *ListCompilationJobsInput) SetCreationTimeBefore(v time.Time) *ListCompilationJobsInput {
54022	s.CreationTimeBefore = &v
54023	return s
54024}
54025
54026// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
54027func (s *ListCompilationJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListCompilationJobsInput {
54028	s.LastModifiedTimeAfter = &v
54029	return s
54030}
54031
54032// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
54033func (s *ListCompilationJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListCompilationJobsInput {
54034	s.LastModifiedTimeBefore = &v
54035	return s
54036}
54037
54038// SetMaxResults sets the MaxResults field's value.
54039func (s *ListCompilationJobsInput) SetMaxResults(v int64) *ListCompilationJobsInput {
54040	s.MaxResults = &v
54041	return s
54042}
54043
54044// SetNameContains sets the NameContains field's value.
54045func (s *ListCompilationJobsInput) SetNameContains(v string) *ListCompilationJobsInput {
54046	s.NameContains = &v
54047	return s
54048}
54049
54050// SetNextToken sets the NextToken field's value.
54051func (s *ListCompilationJobsInput) SetNextToken(v string) *ListCompilationJobsInput {
54052	s.NextToken = &v
54053	return s
54054}
54055
54056// SetSortBy sets the SortBy field's value.
54057func (s *ListCompilationJobsInput) SetSortBy(v string) *ListCompilationJobsInput {
54058	s.SortBy = &v
54059	return s
54060}
54061
54062// SetSortOrder sets the SortOrder field's value.
54063func (s *ListCompilationJobsInput) SetSortOrder(v string) *ListCompilationJobsInput {
54064	s.SortOrder = &v
54065	return s
54066}
54067
54068// SetStatusEquals sets the StatusEquals field's value.
54069func (s *ListCompilationJobsInput) SetStatusEquals(v string) *ListCompilationJobsInput {
54070	s.StatusEquals = &v
54071	return s
54072}
54073
54074type ListCompilationJobsOutput struct {
54075	_ struct{} `type:"structure"`
54076
54077	// An array of CompilationJobSummary objects, each describing a model compilation
54078	// job.
54079	//
54080	// CompilationJobSummaries is a required field
54081	CompilationJobSummaries []*CompilationJobSummary `type:"list" required:"true"`
54082
54083	// If the response is truncated, Amazon SageMaker returns this NextToken. To
54084	// retrieve the next set of model compilation jobs, use this token in the next
54085	// request.
54086	NextToken *string `type:"string"`
54087}
54088
54089// String returns the string representation
54090func (s ListCompilationJobsOutput) String() string {
54091	return awsutil.Prettify(s)
54092}
54093
54094// GoString returns the string representation
54095func (s ListCompilationJobsOutput) GoString() string {
54096	return s.String()
54097}
54098
54099// SetCompilationJobSummaries sets the CompilationJobSummaries field's value.
54100func (s *ListCompilationJobsOutput) SetCompilationJobSummaries(v []*CompilationJobSummary) *ListCompilationJobsOutput {
54101	s.CompilationJobSummaries = v
54102	return s
54103}
54104
54105// SetNextToken sets the NextToken field's value.
54106func (s *ListCompilationJobsOutput) SetNextToken(v string) *ListCompilationJobsOutput {
54107	s.NextToken = &v
54108	return s
54109}
54110
54111type ListContextsInput struct {
54112	_ struct{} `type:"structure"`
54113
54114	// A filter that returns only contexts of the specified type.
54115	ContextType *string `type:"string"`
54116
54117	// A filter that returns only contexts created on or after the specified time.
54118	CreatedAfter *time.Time `type:"timestamp"`
54119
54120	// A filter that returns only contexts created on or before the specified time.
54121	CreatedBefore *time.Time `type:"timestamp"`
54122
54123	// The maximum number of contexts to return in the response. The default value
54124	// is 10.
54125	MaxResults *int64 `min:"1" type:"integer"`
54126
54127	// If the previous call to ListContexts didn't return the full set of contexts,
54128	// the call returns a token for getting the next set of contexts.
54129	NextToken *string `type:"string"`
54130
54131	// The property used to sort results. The default value is CreationTime.
54132	SortBy *string `type:"string" enum:"SortContextsBy"`
54133
54134	// The sort order. The default value is Descending.
54135	SortOrder *string `type:"string" enum:"SortOrder"`
54136
54137	// A filter that returns only contexts with the specified source URI.
54138	SourceUri *string `type:"string"`
54139}
54140
54141// String returns the string representation
54142func (s ListContextsInput) String() string {
54143	return awsutil.Prettify(s)
54144}
54145
54146// GoString returns the string representation
54147func (s ListContextsInput) GoString() string {
54148	return s.String()
54149}
54150
54151// Validate inspects the fields of the type to determine if they are valid.
54152func (s *ListContextsInput) Validate() error {
54153	invalidParams := request.ErrInvalidParams{Context: "ListContextsInput"}
54154	if s.MaxResults != nil && *s.MaxResults < 1 {
54155		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
54156	}
54157
54158	if invalidParams.Len() > 0 {
54159		return invalidParams
54160	}
54161	return nil
54162}
54163
54164// SetContextType sets the ContextType field's value.
54165func (s *ListContextsInput) SetContextType(v string) *ListContextsInput {
54166	s.ContextType = &v
54167	return s
54168}
54169
54170// SetCreatedAfter sets the CreatedAfter field's value.
54171func (s *ListContextsInput) SetCreatedAfter(v time.Time) *ListContextsInput {
54172	s.CreatedAfter = &v
54173	return s
54174}
54175
54176// SetCreatedBefore sets the CreatedBefore field's value.
54177func (s *ListContextsInput) SetCreatedBefore(v time.Time) *ListContextsInput {
54178	s.CreatedBefore = &v
54179	return s
54180}
54181
54182// SetMaxResults sets the MaxResults field's value.
54183func (s *ListContextsInput) SetMaxResults(v int64) *ListContextsInput {
54184	s.MaxResults = &v
54185	return s
54186}
54187
54188// SetNextToken sets the NextToken field's value.
54189func (s *ListContextsInput) SetNextToken(v string) *ListContextsInput {
54190	s.NextToken = &v
54191	return s
54192}
54193
54194// SetSortBy sets the SortBy field's value.
54195func (s *ListContextsInput) SetSortBy(v string) *ListContextsInput {
54196	s.SortBy = &v
54197	return s
54198}
54199
54200// SetSortOrder sets the SortOrder field's value.
54201func (s *ListContextsInput) SetSortOrder(v string) *ListContextsInput {
54202	s.SortOrder = &v
54203	return s
54204}
54205
54206// SetSourceUri sets the SourceUri field's value.
54207func (s *ListContextsInput) SetSourceUri(v string) *ListContextsInput {
54208	s.SourceUri = &v
54209	return s
54210}
54211
54212type ListContextsOutput struct {
54213	_ struct{} `type:"structure"`
54214
54215	// A list of contexts and their properties.
54216	ContextSummaries []*ContextSummary `type:"list"`
54217
54218	// A token for getting the next set of contexts, if there are any.
54219	NextToken *string `type:"string"`
54220}
54221
54222// String returns the string representation
54223func (s ListContextsOutput) String() string {
54224	return awsutil.Prettify(s)
54225}
54226
54227// GoString returns the string representation
54228func (s ListContextsOutput) GoString() string {
54229	return s.String()
54230}
54231
54232// SetContextSummaries sets the ContextSummaries field's value.
54233func (s *ListContextsOutput) SetContextSummaries(v []*ContextSummary) *ListContextsOutput {
54234	s.ContextSummaries = v
54235	return s
54236}
54237
54238// SetNextToken sets the NextToken field's value.
54239func (s *ListContextsOutput) SetNextToken(v string) *ListContextsOutput {
54240	s.NextToken = &v
54241	return s
54242}
54243
54244type ListDataQualityJobDefinitionsInput struct {
54245	_ struct{} `type:"structure"`
54246
54247	// A filter that returns only data quality monitoring job definitions created
54248	// after the specified time.
54249	CreationTimeAfter *time.Time `type:"timestamp"`
54250
54251	// A filter that returns only data quality monitoring job definitions created
54252	// before the specified time.
54253	CreationTimeBefore *time.Time `type:"timestamp"`
54254
54255	// A filter that lists the data quality job definitions associated with the
54256	// specified endpoint.
54257	EndpointName *string `type:"string"`
54258
54259	// The maximum number of data quality monitoring job definitions to return in
54260	// the response.
54261	MaxResults *int64 `min:"1" type:"integer"`
54262
54263	// A string in the data quality monitoring job definition name. This filter
54264	// returns only data quality monitoring job definitions whose name contains
54265	// the specified string.
54266	NameContains *string `type:"string"`
54267
54268	// If the result of the previous ListDataQualityJobDefinitions request was truncated,
54269	// the response includes a NextToken. To retrieve the next set of transform
54270	// jobs, use the token in the next request.>
54271	NextToken *string `type:"string"`
54272
54273	// The field to sort results by. The default is CreationTime.
54274	SortBy *string `type:"string" enum:"MonitoringJobDefinitionSortKey"`
54275
54276	// The sort order for results. The default is Descending.
54277	SortOrder *string `type:"string" enum:"SortOrder"`
54278}
54279
54280// String returns the string representation
54281func (s ListDataQualityJobDefinitionsInput) String() string {
54282	return awsutil.Prettify(s)
54283}
54284
54285// GoString returns the string representation
54286func (s ListDataQualityJobDefinitionsInput) GoString() string {
54287	return s.String()
54288}
54289
54290// Validate inspects the fields of the type to determine if they are valid.
54291func (s *ListDataQualityJobDefinitionsInput) Validate() error {
54292	invalidParams := request.ErrInvalidParams{Context: "ListDataQualityJobDefinitionsInput"}
54293	if s.MaxResults != nil && *s.MaxResults < 1 {
54294		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
54295	}
54296
54297	if invalidParams.Len() > 0 {
54298		return invalidParams
54299	}
54300	return nil
54301}
54302
54303// SetCreationTimeAfter sets the CreationTimeAfter field's value.
54304func (s *ListDataQualityJobDefinitionsInput) SetCreationTimeAfter(v time.Time) *ListDataQualityJobDefinitionsInput {
54305	s.CreationTimeAfter = &v
54306	return s
54307}
54308
54309// SetCreationTimeBefore sets the CreationTimeBefore field's value.
54310func (s *ListDataQualityJobDefinitionsInput) SetCreationTimeBefore(v time.Time) *ListDataQualityJobDefinitionsInput {
54311	s.CreationTimeBefore = &v
54312	return s
54313}
54314
54315// SetEndpointName sets the EndpointName field's value.
54316func (s *ListDataQualityJobDefinitionsInput) SetEndpointName(v string) *ListDataQualityJobDefinitionsInput {
54317	s.EndpointName = &v
54318	return s
54319}
54320
54321// SetMaxResults sets the MaxResults field's value.
54322func (s *ListDataQualityJobDefinitionsInput) SetMaxResults(v int64) *ListDataQualityJobDefinitionsInput {
54323	s.MaxResults = &v
54324	return s
54325}
54326
54327// SetNameContains sets the NameContains field's value.
54328func (s *ListDataQualityJobDefinitionsInput) SetNameContains(v string) *ListDataQualityJobDefinitionsInput {
54329	s.NameContains = &v
54330	return s
54331}
54332
54333// SetNextToken sets the NextToken field's value.
54334func (s *ListDataQualityJobDefinitionsInput) SetNextToken(v string) *ListDataQualityJobDefinitionsInput {
54335	s.NextToken = &v
54336	return s
54337}
54338
54339// SetSortBy sets the SortBy field's value.
54340func (s *ListDataQualityJobDefinitionsInput) SetSortBy(v string) *ListDataQualityJobDefinitionsInput {
54341	s.SortBy = &v
54342	return s
54343}
54344
54345// SetSortOrder sets the SortOrder field's value.
54346func (s *ListDataQualityJobDefinitionsInput) SetSortOrder(v string) *ListDataQualityJobDefinitionsInput {
54347	s.SortOrder = &v
54348	return s
54349}
54350
54351type ListDataQualityJobDefinitionsOutput struct {
54352	_ struct{} `type:"structure"`
54353
54354	// A list of data quality monitoring job definitions.
54355	//
54356	// JobDefinitionSummaries is a required field
54357	JobDefinitionSummaries []*MonitoringJobDefinitionSummary `type:"list" required:"true"`
54358
54359	// If the result of the previous ListDataQualityJobDefinitions request was truncated,
54360	// the response includes a NextToken. To retrieve the next set of data quality
54361	// monitoring job definitions, use the token in the next request.
54362	NextToken *string `type:"string"`
54363}
54364
54365// String returns the string representation
54366func (s ListDataQualityJobDefinitionsOutput) String() string {
54367	return awsutil.Prettify(s)
54368}
54369
54370// GoString returns the string representation
54371func (s ListDataQualityJobDefinitionsOutput) GoString() string {
54372	return s.String()
54373}
54374
54375// SetJobDefinitionSummaries sets the JobDefinitionSummaries field's value.
54376func (s *ListDataQualityJobDefinitionsOutput) SetJobDefinitionSummaries(v []*MonitoringJobDefinitionSummary) *ListDataQualityJobDefinitionsOutput {
54377	s.JobDefinitionSummaries = v
54378	return s
54379}
54380
54381// SetNextToken sets the NextToken field's value.
54382func (s *ListDataQualityJobDefinitionsOutput) SetNextToken(v string) *ListDataQualityJobDefinitionsOutput {
54383	s.NextToken = &v
54384	return s
54385}
54386
54387type ListDeviceFleetsInput struct {
54388	_ struct{} `type:"structure"`
54389
54390	// Filter fleets where packaging job was created after specified time.
54391	CreationTimeAfter *time.Time `type:"timestamp"`
54392
54393	// Filter fleets where the edge packaging job was created before specified time.
54394	CreationTimeBefore *time.Time `type:"timestamp"`
54395
54396	// Select fleets where the job was updated after X
54397	LastModifiedTimeAfter *time.Time `type:"timestamp"`
54398
54399	// Select fleets where the job was updated before X
54400	LastModifiedTimeBefore *time.Time `type:"timestamp"`
54401
54402	// The maximum number of results to select.
54403	MaxResults *int64 `type:"integer"`
54404
54405	// Filter for fleets containing this name in their fleet device name.
54406	NameContains *string `type:"string"`
54407
54408	// The response from the last list when returning a list large enough to need
54409	// tokening.
54410	NextToken *string `type:"string"`
54411
54412	// The column to sort by.
54413	SortBy *string `type:"string" enum:"ListDeviceFleetsSortBy"`
54414
54415	// What direction to sort in.
54416	SortOrder *string `type:"string" enum:"SortOrder"`
54417}
54418
54419// String returns the string representation
54420func (s ListDeviceFleetsInput) String() string {
54421	return awsutil.Prettify(s)
54422}
54423
54424// GoString returns the string representation
54425func (s ListDeviceFleetsInput) GoString() string {
54426	return s.String()
54427}
54428
54429// SetCreationTimeAfter sets the CreationTimeAfter field's value.
54430func (s *ListDeviceFleetsInput) SetCreationTimeAfter(v time.Time) *ListDeviceFleetsInput {
54431	s.CreationTimeAfter = &v
54432	return s
54433}
54434
54435// SetCreationTimeBefore sets the CreationTimeBefore field's value.
54436func (s *ListDeviceFleetsInput) SetCreationTimeBefore(v time.Time) *ListDeviceFleetsInput {
54437	s.CreationTimeBefore = &v
54438	return s
54439}
54440
54441// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
54442func (s *ListDeviceFleetsInput) SetLastModifiedTimeAfter(v time.Time) *ListDeviceFleetsInput {
54443	s.LastModifiedTimeAfter = &v
54444	return s
54445}
54446
54447// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
54448func (s *ListDeviceFleetsInput) SetLastModifiedTimeBefore(v time.Time) *ListDeviceFleetsInput {
54449	s.LastModifiedTimeBefore = &v
54450	return s
54451}
54452
54453// SetMaxResults sets the MaxResults field's value.
54454func (s *ListDeviceFleetsInput) SetMaxResults(v int64) *ListDeviceFleetsInput {
54455	s.MaxResults = &v
54456	return s
54457}
54458
54459// SetNameContains sets the NameContains field's value.
54460func (s *ListDeviceFleetsInput) SetNameContains(v string) *ListDeviceFleetsInput {
54461	s.NameContains = &v
54462	return s
54463}
54464
54465// SetNextToken sets the NextToken field's value.
54466func (s *ListDeviceFleetsInput) SetNextToken(v string) *ListDeviceFleetsInput {
54467	s.NextToken = &v
54468	return s
54469}
54470
54471// SetSortBy sets the SortBy field's value.
54472func (s *ListDeviceFleetsInput) SetSortBy(v string) *ListDeviceFleetsInput {
54473	s.SortBy = &v
54474	return s
54475}
54476
54477// SetSortOrder sets the SortOrder field's value.
54478func (s *ListDeviceFleetsInput) SetSortOrder(v string) *ListDeviceFleetsInput {
54479	s.SortOrder = &v
54480	return s
54481}
54482
54483type ListDeviceFleetsOutput struct {
54484	_ struct{} `type:"structure"`
54485
54486	// Summary of the device fleet.
54487	//
54488	// DeviceFleetSummaries is a required field
54489	DeviceFleetSummaries []*DeviceFleetSummary `type:"list" required:"true"`
54490
54491	// The response from the last list when returning a list large enough to need
54492	// tokening.
54493	NextToken *string `type:"string"`
54494}
54495
54496// String returns the string representation
54497func (s ListDeviceFleetsOutput) String() string {
54498	return awsutil.Prettify(s)
54499}
54500
54501// GoString returns the string representation
54502func (s ListDeviceFleetsOutput) GoString() string {
54503	return s.String()
54504}
54505
54506// SetDeviceFleetSummaries sets the DeviceFleetSummaries field's value.
54507func (s *ListDeviceFleetsOutput) SetDeviceFleetSummaries(v []*DeviceFleetSummary) *ListDeviceFleetsOutput {
54508	s.DeviceFleetSummaries = v
54509	return s
54510}
54511
54512// SetNextToken sets the NextToken field's value.
54513func (s *ListDeviceFleetsOutput) SetNextToken(v string) *ListDeviceFleetsOutput {
54514	s.NextToken = &v
54515	return s
54516}
54517
54518type ListDevicesInput struct {
54519	_ struct{} `type:"structure"`
54520
54521	// Filter for fleets containing this name in their device fleet name.
54522	DeviceFleetName *string `min:"1" type:"string"`
54523
54524	// Select fleets where the job was updated after X
54525	LatestHeartbeatAfter *time.Time `type:"timestamp"`
54526
54527	// Maximum number of results to select.
54528	MaxResults *int64 `type:"integer"`
54529
54530	// A filter that searches devices that contains this name in any of their models.
54531	ModelName *string `min:"1" type:"string"`
54532
54533	// The response from the last list when returning a list large enough to need
54534	// tokening.
54535	NextToken *string `type:"string"`
54536}
54537
54538// String returns the string representation
54539func (s ListDevicesInput) String() string {
54540	return awsutil.Prettify(s)
54541}
54542
54543// GoString returns the string representation
54544func (s ListDevicesInput) GoString() string {
54545	return s.String()
54546}
54547
54548// Validate inspects the fields of the type to determine if they are valid.
54549func (s *ListDevicesInput) Validate() error {
54550	invalidParams := request.ErrInvalidParams{Context: "ListDevicesInput"}
54551	if s.DeviceFleetName != nil && len(*s.DeviceFleetName) < 1 {
54552		invalidParams.Add(request.NewErrParamMinLen("DeviceFleetName", 1))
54553	}
54554	if s.ModelName != nil && len(*s.ModelName) < 1 {
54555		invalidParams.Add(request.NewErrParamMinLen("ModelName", 1))
54556	}
54557
54558	if invalidParams.Len() > 0 {
54559		return invalidParams
54560	}
54561	return nil
54562}
54563
54564// SetDeviceFleetName sets the DeviceFleetName field's value.
54565func (s *ListDevicesInput) SetDeviceFleetName(v string) *ListDevicesInput {
54566	s.DeviceFleetName = &v
54567	return s
54568}
54569
54570// SetLatestHeartbeatAfter sets the LatestHeartbeatAfter field's value.
54571func (s *ListDevicesInput) SetLatestHeartbeatAfter(v time.Time) *ListDevicesInput {
54572	s.LatestHeartbeatAfter = &v
54573	return s
54574}
54575
54576// SetMaxResults sets the MaxResults field's value.
54577func (s *ListDevicesInput) SetMaxResults(v int64) *ListDevicesInput {
54578	s.MaxResults = &v
54579	return s
54580}
54581
54582// SetModelName sets the ModelName field's value.
54583func (s *ListDevicesInput) SetModelName(v string) *ListDevicesInput {
54584	s.ModelName = &v
54585	return s
54586}
54587
54588// SetNextToken sets the NextToken field's value.
54589func (s *ListDevicesInput) SetNextToken(v string) *ListDevicesInput {
54590	s.NextToken = &v
54591	return s
54592}
54593
54594type ListDevicesOutput struct {
54595	_ struct{} `type:"structure"`
54596
54597	// Summary of devices.
54598	//
54599	// DeviceSummaries is a required field
54600	DeviceSummaries []*DeviceSummary `type:"list" required:"true"`
54601
54602	// The response from the last list when returning a list large enough to need
54603	// tokening.
54604	NextToken *string `type:"string"`
54605}
54606
54607// String returns the string representation
54608func (s ListDevicesOutput) String() string {
54609	return awsutil.Prettify(s)
54610}
54611
54612// GoString returns the string representation
54613func (s ListDevicesOutput) GoString() string {
54614	return s.String()
54615}
54616
54617// SetDeviceSummaries sets the DeviceSummaries field's value.
54618func (s *ListDevicesOutput) SetDeviceSummaries(v []*DeviceSummary) *ListDevicesOutput {
54619	s.DeviceSummaries = v
54620	return s
54621}
54622
54623// SetNextToken sets the NextToken field's value.
54624func (s *ListDevicesOutput) SetNextToken(v string) *ListDevicesOutput {
54625	s.NextToken = &v
54626	return s
54627}
54628
54629type ListDomainsInput struct {
54630	_ struct{} `type:"structure"`
54631
54632	// Returns a list up to a specified limit.
54633	MaxResults *int64 `min:"1" type:"integer"`
54634
54635	// If the previous response was truncated, you will receive this token. Use
54636	// it in your next request to receive the next set of results.
54637	NextToken *string `type:"string"`
54638}
54639
54640// String returns the string representation
54641func (s ListDomainsInput) String() string {
54642	return awsutil.Prettify(s)
54643}
54644
54645// GoString returns the string representation
54646func (s ListDomainsInput) GoString() string {
54647	return s.String()
54648}
54649
54650// Validate inspects the fields of the type to determine if they are valid.
54651func (s *ListDomainsInput) Validate() error {
54652	invalidParams := request.ErrInvalidParams{Context: "ListDomainsInput"}
54653	if s.MaxResults != nil && *s.MaxResults < 1 {
54654		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
54655	}
54656
54657	if invalidParams.Len() > 0 {
54658		return invalidParams
54659	}
54660	return nil
54661}
54662
54663// SetMaxResults sets the MaxResults field's value.
54664func (s *ListDomainsInput) SetMaxResults(v int64) *ListDomainsInput {
54665	s.MaxResults = &v
54666	return s
54667}
54668
54669// SetNextToken sets the NextToken field's value.
54670func (s *ListDomainsInput) SetNextToken(v string) *ListDomainsInput {
54671	s.NextToken = &v
54672	return s
54673}
54674
54675type ListDomainsOutput struct {
54676	_ struct{} `type:"structure"`
54677
54678	// The list of domains.
54679	Domains []*DomainDetails `type:"list"`
54680
54681	// If the previous response was truncated, you will receive this token. Use
54682	// it in your next request to receive the next set of results.
54683	NextToken *string `type:"string"`
54684}
54685
54686// String returns the string representation
54687func (s ListDomainsOutput) String() string {
54688	return awsutil.Prettify(s)
54689}
54690
54691// GoString returns the string representation
54692func (s ListDomainsOutput) GoString() string {
54693	return s.String()
54694}
54695
54696// SetDomains sets the Domains field's value.
54697func (s *ListDomainsOutput) SetDomains(v []*DomainDetails) *ListDomainsOutput {
54698	s.Domains = v
54699	return s
54700}
54701
54702// SetNextToken sets the NextToken field's value.
54703func (s *ListDomainsOutput) SetNextToken(v string) *ListDomainsOutput {
54704	s.NextToken = &v
54705	return s
54706}
54707
54708type ListEdgePackagingJobsInput struct {
54709	_ struct{} `type:"structure"`
54710
54711	// Select jobs where the job was created after specified time.
54712	CreationTimeAfter *time.Time `type:"timestamp"`
54713
54714	// Select jobs where the job was created before specified time.
54715	CreationTimeBefore *time.Time `type:"timestamp"`
54716
54717	// Select jobs where the job was updated after specified time.
54718	LastModifiedTimeAfter *time.Time `type:"timestamp"`
54719
54720	// Select jobs where the job was updated before specified time.
54721	LastModifiedTimeBefore *time.Time `type:"timestamp"`
54722
54723	// Maximum number of results to select.
54724	MaxResults *int64 `type:"integer"`
54725
54726	// Filter for jobs where the model name contains this string.
54727	ModelNameContains *string `type:"string"`
54728
54729	// Filter for jobs containing this name in their packaging job name.
54730	NameContains *string `type:"string"`
54731
54732	// The response from the last list when returning a list large enough to need
54733	// tokening.
54734	NextToken *string `type:"string"`
54735
54736	// Use to specify what column to sort by.
54737	SortBy *string `type:"string" enum:"ListEdgePackagingJobsSortBy"`
54738
54739	// What direction to sort by.
54740	SortOrder *string `type:"string" enum:"SortOrder"`
54741
54742	// The job status to filter for.
54743	StatusEquals *string `type:"string" enum:"EdgePackagingJobStatus"`
54744}
54745
54746// String returns the string representation
54747func (s ListEdgePackagingJobsInput) String() string {
54748	return awsutil.Prettify(s)
54749}
54750
54751// GoString returns the string representation
54752func (s ListEdgePackagingJobsInput) GoString() string {
54753	return s.String()
54754}
54755
54756// SetCreationTimeAfter sets the CreationTimeAfter field's value.
54757func (s *ListEdgePackagingJobsInput) SetCreationTimeAfter(v time.Time) *ListEdgePackagingJobsInput {
54758	s.CreationTimeAfter = &v
54759	return s
54760}
54761
54762// SetCreationTimeBefore sets the CreationTimeBefore field's value.
54763func (s *ListEdgePackagingJobsInput) SetCreationTimeBefore(v time.Time) *ListEdgePackagingJobsInput {
54764	s.CreationTimeBefore = &v
54765	return s
54766}
54767
54768// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
54769func (s *ListEdgePackagingJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListEdgePackagingJobsInput {
54770	s.LastModifiedTimeAfter = &v
54771	return s
54772}
54773
54774// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
54775func (s *ListEdgePackagingJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListEdgePackagingJobsInput {
54776	s.LastModifiedTimeBefore = &v
54777	return s
54778}
54779
54780// SetMaxResults sets the MaxResults field's value.
54781func (s *ListEdgePackagingJobsInput) SetMaxResults(v int64) *ListEdgePackagingJobsInput {
54782	s.MaxResults = &v
54783	return s
54784}
54785
54786// SetModelNameContains sets the ModelNameContains field's value.
54787func (s *ListEdgePackagingJobsInput) SetModelNameContains(v string) *ListEdgePackagingJobsInput {
54788	s.ModelNameContains = &v
54789	return s
54790}
54791
54792// SetNameContains sets the NameContains field's value.
54793func (s *ListEdgePackagingJobsInput) SetNameContains(v string) *ListEdgePackagingJobsInput {
54794	s.NameContains = &v
54795	return s
54796}
54797
54798// SetNextToken sets the NextToken field's value.
54799func (s *ListEdgePackagingJobsInput) SetNextToken(v string) *ListEdgePackagingJobsInput {
54800	s.NextToken = &v
54801	return s
54802}
54803
54804// SetSortBy sets the SortBy field's value.
54805func (s *ListEdgePackagingJobsInput) SetSortBy(v string) *ListEdgePackagingJobsInput {
54806	s.SortBy = &v
54807	return s
54808}
54809
54810// SetSortOrder sets the SortOrder field's value.
54811func (s *ListEdgePackagingJobsInput) SetSortOrder(v string) *ListEdgePackagingJobsInput {
54812	s.SortOrder = &v
54813	return s
54814}
54815
54816// SetStatusEquals sets the StatusEquals field's value.
54817func (s *ListEdgePackagingJobsInput) SetStatusEquals(v string) *ListEdgePackagingJobsInput {
54818	s.StatusEquals = &v
54819	return s
54820}
54821
54822type ListEdgePackagingJobsOutput struct {
54823	_ struct{} `type:"structure"`
54824
54825	// Summaries of edge packaging jobs.
54826	//
54827	// EdgePackagingJobSummaries is a required field
54828	EdgePackagingJobSummaries []*EdgePackagingJobSummary `type:"list" required:"true"`
54829
54830	// Token to use when calling the next page of results.
54831	NextToken *string `type:"string"`
54832}
54833
54834// String returns the string representation
54835func (s ListEdgePackagingJobsOutput) String() string {
54836	return awsutil.Prettify(s)
54837}
54838
54839// GoString returns the string representation
54840func (s ListEdgePackagingJobsOutput) GoString() string {
54841	return s.String()
54842}
54843
54844// SetEdgePackagingJobSummaries sets the EdgePackagingJobSummaries field's value.
54845func (s *ListEdgePackagingJobsOutput) SetEdgePackagingJobSummaries(v []*EdgePackagingJobSummary) *ListEdgePackagingJobsOutput {
54846	s.EdgePackagingJobSummaries = v
54847	return s
54848}
54849
54850// SetNextToken sets the NextToken field's value.
54851func (s *ListEdgePackagingJobsOutput) SetNextToken(v string) *ListEdgePackagingJobsOutput {
54852	s.NextToken = &v
54853	return s
54854}
54855
54856type ListEndpointConfigsInput struct {
54857	_ struct{} `type:"structure"`
54858
54859	// A filter that returns only endpoint configurations with a creation time greater
54860	// than or equal to the specified time (timestamp).
54861	CreationTimeAfter *time.Time `type:"timestamp"`
54862
54863	// A filter that returns only endpoint configurations created before the specified
54864	// time (timestamp).
54865	CreationTimeBefore *time.Time `type:"timestamp"`
54866
54867	// The maximum number of training jobs to return in the response.
54868	MaxResults *int64 `min:"1" type:"integer"`
54869
54870	// A string in the endpoint configuration name. This filter returns only endpoint
54871	// configurations whose name contains the specified string.
54872	NameContains *string `type:"string"`
54873
54874	// If the result of the previous ListEndpointConfig request was truncated, the
54875	// response includes a NextToken. To retrieve the next set of endpoint configurations,
54876	// use the token in the next request.
54877	NextToken *string `type:"string"`
54878
54879	// The field to sort results by. The default is CreationTime.
54880	SortBy *string `type:"string" enum:"EndpointConfigSortKey"`
54881
54882	// The sort order for results. The default is Descending.
54883	SortOrder *string `type:"string" enum:"OrderKey"`
54884}
54885
54886// String returns the string representation
54887func (s ListEndpointConfigsInput) String() string {
54888	return awsutil.Prettify(s)
54889}
54890
54891// GoString returns the string representation
54892func (s ListEndpointConfigsInput) GoString() string {
54893	return s.String()
54894}
54895
54896// Validate inspects the fields of the type to determine if they are valid.
54897func (s *ListEndpointConfigsInput) Validate() error {
54898	invalidParams := request.ErrInvalidParams{Context: "ListEndpointConfigsInput"}
54899	if s.MaxResults != nil && *s.MaxResults < 1 {
54900		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
54901	}
54902
54903	if invalidParams.Len() > 0 {
54904		return invalidParams
54905	}
54906	return nil
54907}
54908
54909// SetCreationTimeAfter sets the CreationTimeAfter field's value.
54910func (s *ListEndpointConfigsInput) SetCreationTimeAfter(v time.Time) *ListEndpointConfigsInput {
54911	s.CreationTimeAfter = &v
54912	return s
54913}
54914
54915// SetCreationTimeBefore sets the CreationTimeBefore field's value.
54916func (s *ListEndpointConfigsInput) SetCreationTimeBefore(v time.Time) *ListEndpointConfigsInput {
54917	s.CreationTimeBefore = &v
54918	return s
54919}
54920
54921// SetMaxResults sets the MaxResults field's value.
54922func (s *ListEndpointConfigsInput) SetMaxResults(v int64) *ListEndpointConfigsInput {
54923	s.MaxResults = &v
54924	return s
54925}
54926
54927// SetNameContains sets the NameContains field's value.
54928func (s *ListEndpointConfigsInput) SetNameContains(v string) *ListEndpointConfigsInput {
54929	s.NameContains = &v
54930	return s
54931}
54932
54933// SetNextToken sets the NextToken field's value.
54934func (s *ListEndpointConfigsInput) SetNextToken(v string) *ListEndpointConfigsInput {
54935	s.NextToken = &v
54936	return s
54937}
54938
54939// SetSortBy sets the SortBy field's value.
54940func (s *ListEndpointConfigsInput) SetSortBy(v string) *ListEndpointConfigsInput {
54941	s.SortBy = &v
54942	return s
54943}
54944
54945// SetSortOrder sets the SortOrder field's value.
54946func (s *ListEndpointConfigsInput) SetSortOrder(v string) *ListEndpointConfigsInput {
54947	s.SortOrder = &v
54948	return s
54949}
54950
54951type ListEndpointConfigsOutput struct {
54952	_ struct{} `type:"structure"`
54953
54954	// An array of endpoint configurations.
54955	//
54956	// EndpointConfigs is a required field
54957	EndpointConfigs []*EndpointConfigSummary `type:"list" required:"true"`
54958
54959	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
54960	// the next set of endpoint configurations, use it in the subsequent request
54961	NextToken *string `type:"string"`
54962}
54963
54964// String returns the string representation
54965func (s ListEndpointConfigsOutput) String() string {
54966	return awsutil.Prettify(s)
54967}
54968
54969// GoString returns the string representation
54970func (s ListEndpointConfigsOutput) GoString() string {
54971	return s.String()
54972}
54973
54974// SetEndpointConfigs sets the EndpointConfigs field's value.
54975func (s *ListEndpointConfigsOutput) SetEndpointConfigs(v []*EndpointConfigSummary) *ListEndpointConfigsOutput {
54976	s.EndpointConfigs = v
54977	return s
54978}
54979
54980// SetNextToken sets the NextToken field's value.
54981func (s *ListEndpointConfigsOutput) SetNextToken(v string) *ListEndpointConfigsOutput {
54982	s.NextToken = &v
54983	return s
54984}
54985
54986type ListEndpointsInput struct {
54987	_ struct{} `type:"structure"`
54988
54989	// A filter that returns only endpoints with a creation time greater than or
54990	// equal to the specified time (timestamp).
54991	CreationTimeAfter *time.Time `type:"timestamp"`
54992
54993	// A filter that returns only endpoints that were created before the specified
54994	// time (timestamp).
54995	CreationTimeBefore *time.Time `type:"timestamp"`
54996
54997	// A filter that returns only endpoints that were modified after the specified
54998	// timestamp.
54999	LastModifiedTimeAfter *time.Time `type:"timestamp"`
55000
55001	// A filter that returns only endpoints that were modified before the specified
55002	// timestamp.
55003	LastModifiedTimeBefore *time.Time `type:"timestamp"`
55004
55005	// The maximum number of endpoints to return in the response.
55006	MaxResults *int64 `min:"1" type:"integer"`
55007
55008	// A string in endpoint names. This filter returns only endpoints whose name
55009	// contains the specified string.
55010	NameContains *string `type:"string"`
55011
55012	// If the result of a ListEndpoints request was truncated, the response includes
55013	// a NextToken. To retrieve the next set of endpoints, use the token in the
55014	// next request.
55015	NextToken *string `type:"string"`
55016
55017	// Sorts the list of results. The default is CreationTime.
55018	SortBy *string `type:"string" enum:"EndpointSortKey"`
55019
55020	// The sort order for results. The default is Descending.
55021	SortOrder *string `type:"string" enum:"OrderKey"`
55022
55023	// A filter that returns only endpoints with the specified status.
55024	StatusEquals *string `type:"string" enum:"EndpointStatus"`
55025}
55026
55027// String returns the string representation
55028func (s ListEndpointsInput) String() string {
55029	return awsutil.Prettify(s)
55030}
55031
55032// GoString returns the string representation
55033func (s ListEndpointsInput) GoString() string {
55034	return s.String()
55035}
55036
55037// Validate inspects the fields of the type to determine if they are valid.
55038func (s *ListEndpointsInput) Validate() error {
55039	invalidParams := request.ErrInvalidParams{Context: "ListEndpointsInput"}
55040	if s.MaxResults != nil && *s.MaxResults < 1 {
55041		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
55042	}
55043
55044	if invalidParams.Len() > 0 {
55045		return invalidParams
55046	}
55047	return nil
55048}
55049
55050// SetCreationTimeAfter sets the CreationTimeAfter field's value.
55051func (s *ListEndpointsInput) SetCreationTimeAfter(v time.Time) *ListEndpointsInput {
55052	s.CreationTimeAfter = &v
55053	return s
55054}
55055
55056// SetCreationTimeBefore sets the CreationTimeBefore field's value.
55057func (s *ListEndpointsInput) SetCreationTimeBefore(v time.Time) *ListEndpointsInput {
55058	s.CreationTimeBefore = &v
55059	return s
55060}
55061
55062// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
55063func (s *ListEndpointsInput) SetLastModifiedTimeAfter(v time.Time) *ListEndpointsInput {
55064	s.LastModifiedTimeAfter = &v
55065	return s
55066}
55067
55068// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
55069func (s *ListEndpointsInput) SetLastModifiedTimeBefore(v time.Time) *ListEndpointsInput {
55070	s.LastModifiedTimeBefore = &v
55071	return s
55072}
55073
55074// SetMaxResults sets the MaxResults field's value.
55075func (s *ListEndpointsInput) SetMaxResults(v int64) *ListEndpointsInput {
55076	s.MaxResults = &v
55077	return s
55078}
55079
55080// SetNameContains sets the NameContains field's value.
55081func (s *ListEndpointsInput) SetNameContains(v string) *ListEndpointsInput {
55082	s.NameContains = &v
55083	return s
55084}
55085
55086// SetNextToken sets the NextToken field's value.
55087func (s *ListEndpointsInput) SetNextToken(v string) *ListEndpointsInput {
55088	s.NextToken = &v
55089	return s
55090}
55091
55092// SetSortBy sets the SortBy field's value.
55093func (s *ListEndpointsInput) SetSortBy(v string) *ListEndpointsInput {
55094	s.SortBy = &v
55095	return s
55096}
55097
55098// SetSortOrder sets the SortOrder field's value.
55099func (s *ListEndpointsInput) SetSortOrder(v string) *ListEndpointsInput {
55100	s.SortOrder = &v
55101	return s
55102}
55103
55104// SetStatusEquals sets the StatusEquals field's value.
55105func (s *ListEndpointsInput) SetStatusEquals(v string) *ListEndpointsInput {
55106	s.StatusEquals = &v
55107	return s
55108}
55109
55110type ListEndpointsOutput struct {
55111	_ struct{} `type:"structure"`
55112
55113	// An array or endpoint objects.
55114	//
55115	// Endpoints is a required field
55116	Endpoints []*EndpointSummary `type:"list" required:"true"`
55117
55118	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
55119	// the next set of training jobs, use it in the subsequent request.
55120	NextToken *string `type:"string"`
55121}
55122
55123// String returns the string representation
55124func (s ListEndpointsOutput) String() string {
55125	return awsutil.Prettify(s)
55126}
55127
55128// GoString returns the string representation
55129func (s ListEndpointsOutput) GoString() string {
55130	return s.String()
55131}
55132
55133// SetEndpoints sets the Endpoints field's value.
55134func (s *ListEndpointsOutput) SetEndpoints(v []*EndpointSummary) *ListEndpointsOutput {
55135	s.Endpoints = v
55136	return s
55137}
55138
55139// SetNextToken sets the NextToken field's value.
55140func (s *ListEndpointsOutput) SetNextToken(v string) *ListEndpointsOutput {
55141	s.NextToken = &v
55142	return s
55143}
55144
55145type ListExperimentsInput struct {
55146	_ struct{} `type:"structure"`
55147
55148	// A filter that returns only experiments created after the specified time.
55149	CreatedAfter *time.Time `type:"timestamp"`
55150
55151	// A filter that returns only experiments created before the specified time.
55152	CreatedBefore *time.Time `type:"timestamp"`
55153
55154	// The maximum number of experiments to return in the response. The default
55155	// value is 10.
55156	MaxResults *int64 `min:"1" type:"integer"`
55157
55158	// If the previous call to ListExperiments didn't return the full set of experiments,
55159	// the call returns a token for getting the next set of experiments.
55160	NextToken *string `type:"string"`
55161
55162	// The property used to sort results. The default value is CreationTime.
55163	SortBy *string `type:"string" enum:"SortExperimentsBy"`
55164
55165	// The sort order. The default value is Descending.
55166	SortOrder *string `type:"string" enum:"SortOrder"`
55167}
55168
55169// String returns the string representation
55170func (s ListExperimentsInput) String() string {
55171	return awsutil.Prettify(s)
55172}
55173
55174// GoString returns the string representation
55175func (s ListExperimentsInput) GoString() string {
55176	return s.String()
55177}
55178
55179// Validate inspects the fields of the type to determine if they are valid.
55180func (s *ListExperimentsInput) Validate() error {
55181	invalidParams := request.ErrInvalidParams{Context: "ListExperimentsInput"}
55182	if s.MaxResults != nil && *s.MaxResults < 1 {
55183		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
55184	}
55185
55186	if invalidParams.Len() > 0 {
55187		return invalidParams
55188	}
55189	return nil
55190}
55191
55192// SetCreatedAfter sets the CreatedAfter field's value.
55193func (s *ListExperimentsInput) SetCreatedAfter(v time.Time) *ListExperimentsInput {
55194	s.CreatedAfter = &v
55195	return s
55196}
55197
55198// SetCreatedBefore sets the CreatedBefore field's value.
55199func (s *ListExperimentsInput) SetCreatedBefore(v time.Time) *ListExperimentsInput {
55200	s.CreatedBefore = &v
55201	return s
55202}
55203
55204// SetMaxResults sets the MaxResults field's value.
55205func (s *ListExperimentsInput) SetMaxResults(v int64) *ListExperimentsInput {
55206	s.MaxResults = &v
55207	return s
55208}
55209
55210// SetNextToken sets the NextToken field's value.
55211func (s *ListExperimentsInput) SetNextToken(v string) *ListExperimentsInput {
55212	s.NextToken = &v
55213	return s
55214}
55215
55216// SetSortBy sets the SortBy field's value.
55217func (s *ListExperimentsInput) SetSortBy(v string) *ListExperimentsInput {
55218	s.SortBy = &v
55219	return s
55220}
55221
55222// SetSortOrder sets the SortOrder field's value.
55223func (s *ListExperimentsInput) SetSortOrder(v string) *ListExperimentsInput {
55224	s.SortOrder = &v
55225	return s
55226}
55227
55228type ListExperimentsOutput struct {
55229	_ struct{} `type:"structure"`
55230
55231	// A list of the summaries of your experiments.
55232	ExperimentSummaries []*ExperimentSummary `type:"list"`
55233
55234	// A token for getting the next set of experiments, if there are any.
55235	NextToken *string `type:"string"`
55236}
55237
55238// String returns the string representation
55239func (s ListExperimentsOutput) String() string {
55240	return awsutil.Prettify(s)
55241}
55242
55243// GoString returns the string representation
55244func (s ListExperimentsOutput) GoString() string {
55245	return s.String()
55246}
55247
55248// SetExperimentSummaries sets the ExperimentSummaries field's value.
55249func (s *ListExperimentsOutput) SetExperimentSummaries(v []*ExperimentSummary) *ListExperimentsOutput {
55250	s.ExperimentSummaries = v
55251	return s
55252}
55253
55254// SetNextToken sets the NextToken field's value.
55255func (s *ListExperimentsOutput) SetNextToken(v string) *ListExperimentsOutput {
55256	s.NextToken = &v
55257	return s
55258}
55259
55260type ListFeatureGroupsInput struct {
55261	_ struct{} `type:"structure"`
55262
55263	// Use this parameter to search for FeatureGroupss created after a specific
55264	// date and time.
55265	CreationTimeAfter *time.Time `type:"timestamp"`
55266
55267	// Use this parameter to search for FeatureGroupss created before a specific
55268	// date and time.
55269	CreationTimeBefore *time.Time `type:"timestamp"`
55270
55271	// A FeatureGroup status. Filters by FeatureGroup status.
55272	FeatureGroupStatusEquals *string `type:"string" enum:"FeatureGroupStatus"`
55273
55274	// The maximum number of results returned by ListFeatureGroups.
55275	MaxResults *int64 `min:"1" type:"integer"`
55276
55277	// A string that partially matches one or more FeatureGroups names. Filters
55278	// FeatureGroups by name.
55279	NameContains *string `min:"1" type:"string"`
55280
55281	// A token to resume pagination of ListFeatureGroups results.
55282	NextToken *string `type:"string"`
55283
55284	// An OfflineStore status. Filters by OfflineStore status.
55285	OfflineStoreStatusEquals *string `type:"string" enum:"OfflineStoreStatusValue"`
55286
55287	// The value on which the feature group list is sorted.
55288	SortBy *string `type:"string" enum:"FeatureGroupSortBy"`
55289
55290	// The order in which feature groups are listed.
55291	SortOrder *string `type:"string" enum:"FeatureGroupSortOrder"`
55292}
55293
55294// String returns the string representation
55295func (s ListFeatureGroupsInput) String() string {
55296	return awsutil.Prettify(s)
55297}
55298
55299// GoString returns the string representation
55300func (s ListFeatureGroupsInput) GoString() string {
55301	return s.String()
55302}
55303
55304// Validate inspects the fields of the type to determine if they are valid.
55305func (s *ListFeatureGroupsInput) Validate() error {
55306	invalidParams := request.ErrInvalidParams{Context: "ListFeatureGroupsInput"}
55307	if s.MaxResults != nil && *s.MaxResults < 1 {
55308		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
55309	}
55310	if s.NameContains != nil && len(*s.NameContains) < 1 {
55311		invalidParams.Add(request.NewErrParamMinLen("NameContains", 1))
55312	}
55313
55314	if invalidParams.Len() > 0 {
55315		return invalidParams
55316	}
55317	return nil
55318}
55319
55320// SetCreationTimeAfter sets the CreationTimeAfter field's value.
55321func (s *ListFeatureGroupsInput) SetCreationTimeAfter(v time.Time) *ListFeatureGroupsInput {
55322	s.CreationTimeAfter = &v
55323	return s
55324}
55325
55326// SetCreationTimeBefore sets the CreationTimeBefore field's value.
55327func (s *ListFeatureGroupsInput) SetCreationTimeBefore(v time.Time) *ListFeatureGroupsInput {
55328	s.CreationTimeBefore = &v
55329	return s
55330}
55331
55332// SetFeatureGroupStatusEquals sets the FeatureGroupStatusEquals field's value.
55333func (s *ListFeatureGroupsInput) SetFeatureGroupStatusEquals(v string) *ListFeatureGroupsInput {
55334	s.FeatureGroupStatusEquals = &v
55335	return s
55336}
55337
55338// SetMaxResults sets the MaxResults field's value.
55339func (s *ListFeatureGroupsInput) SetMaxResults(v int64) *ListFeatureGroupsInput {
55340	s.MaxResults = &v
55341	return s
55342}
55343
55344// SetNameContains sets the NameContains field's value.
55345func (s *ListFeatureGroupsInput) SetNameContains(v string) *ListFeatureGroupsInput {
55346	s.NameContains = &v
55347	return s
55348}
55349
55350// SetNextToken sets the NextToken field's value.
55351func (s *ListFeatureGroupsInput) SetNextToken(v string) *ListFeatureGroupsInput {
55352	s.NextToken = &v
55353	return s
55354}
55355
55356// SetOfflineStoreStatusEquals sets the OfflineStoreStatusEquals field's value.
55357func (s *ListFeatureGroupsInput) SetOfflineStoreStatusEquals(v string) *ListFeatureGroupsInput {
55358	s.OfflineStoreStatusEquals = &v
55359	return s
55360}
55361
55362// SetSortBy sets the SortBy field's value.
55363func (s *ListFeatureGroupsInput) SetSortBy(v string) *ListFeatureGroupsInput {
55364	s.SortBy = &v
55365	return s
55366}
55367
55368// SetSortOrder sets the SortOrder field's value.
55369func (s *ListFeatureGroupsInput) SetSortOrder(v string) *ListFeatureGroupsInput {
55370	s.SortOrder = &v
55371	return s
55372}
55373
55374type ListFeatureGroupsOutput struct {
55375	_ struct{} `type:"structure"`
55376
55377	// A summary of feature groups.
55378	//
55379	// FeatureGroupSummaries is a required field
55380	FeatureGroupSummaries []*FeatureGroupSummary `type:"list" required:"true"`
55381
55382	// A token to resume pagination of ListFeatureGroups results.
55383	//
55384	// NextToken is a required field
55385	NextToken *string `type:"string" required:"true"`
55386}
55387
55388// String returns the string representation
55389func (s ListFeatureGroupsOutput) String() string {
55390	return awsutil.Prettify(s)
55391}
55392
55393// GoString returns the string representation
55394func (s ListFeatureGroupsOutput) GoString() string {
55395	return s.String()
55396}
55397
55398// SetFeatureGroupSummaries sets the FeatureGroupSummaries field's value.
55399func (s *ListFeatureGroupsOutput) SetFeatureGroupSummaries(v []*FeatureGroupSummary) *ListFeatureGroupsOutput {
55400	s.FeatureGroupSummaries = v
55401	return s
55402}
55403
55404// SetNextToken sets the NextToken field's value.
55405func (s *ListFeatureGroupsOutput) SetNextToken(v string) *ListFeatureGroupsOutput {
55406	s.NextToken = &v
55407	return s
55408}
55409
55410type ListFlowDefinitionsInput struct {
55411	_ struct{} `type:"structure"`
55412
55413	// A filter that returns only flow definitions with a creation time greater
55414	// than or equal to the specified timestamp.
55415	CreationTimeAfter *time.Time `type:"timestamp"`
55416
55417	// A filter that returns only flow definitions that were created before the
55418	// specified timestamp.
55419	CreationTimeBefore *time.Time `type:"timestamp"`
55420
55421	// The total number of items to return. If the total number of available items
55422	// is more than the value specified in MaxResults, then a NextToken will be
55423	// provided in the output that you can use to resume pagination.
55424	MaxResults *int64 `min:"1" type:"integer"`
55425
55426	// A token to resume pagination.
55427	NextToken *string `type:"string"`
55428
55429	// An optional value that specifies whether you want the results sorted in Ascending
55430	// or Descending order.
55431	SortOrder *string `type:"string" enum:"SortOrder"`
55432}
55433
55434// String returns the string representation
55435func (s ListFlowDefinitionsInput) String() string {
55436	return awsutil.Prettify(s)
55437}
55438
55439// GoString returns the string representation
55440func (s ListFlowDefinitionsInput) GoString() string {
55441	return s.String()
55442}
55443
55444// Validate inspects the fields of the type to determine if they are valid.
55445func (s *ListFlowDefinitionsInput) Validate() error {
55446	invalidParams := request.ErrInvalidParams{Context: "ListFlowDefinitionsInput"}
55447	if s.MaxResults != nil && *s.MaxResults < 1 {
55448		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
55449	}
55450
55451	if invalidParams.Len() > 0 {
55452		return invalidParams
55453	}
55454	return nil
55455}
55456
55457// SetCreationTimeAfter sets the CreationTimeAfter field's value.
55458func (s *ListFlowDefinitionsInput) SetCreationTimeAfter(v time.Time) *ListFlowDefinitionsInput {
55459	s.CreationTimeAfter = &v
55460	return s
55461}
55462
55463// SetCreationTimeBefore sets the CreationTimeBefore field's value.
55464func (s *ListFlowDefinitionsInput) SetCreationTimeBefore(v time.Time) *ListFlowDefinitionsInput {
55465	s.CreationTimeBefore = &v
55466	return s
55467}
55468
55469// SetMaxResults sets the MaxResults field's value.
55470func (s *ListFlowDefinitionsInput) SetMaxResults(v int64) *ListFlowDefinitionsInput {
55471	s.MaxResults = &v
55472	return s
55473}
55474
55475// SetNextToken sets the NextToken field's value.
55476func (s *ListFlowDefinitionsInput) SetNextToken(v string) *ListFlowDefinitionsInput {
55477	s.NextToken = &v
55478	return s
55479}
55480
55481// SetSortOrder sets the SortOrder field's value.
55482func (s *ListFlowDefinitionsInput) SetSortOrder(v string) *ListFlowDefinitionsInput {
55483	s.SortOrder = &v
55484	return s
55485}
55486
55487type ListFlowDefinitionsOutput struct {
55488	_ struct{} `type:"structure"`
55489
55490	// An array of objects describing the flow definitions.
55491	//
55492	// FlowDefinitionSummaries is a required field
55493	FlowDefinitionSummaries []*FlowDefinitionSummary `type:"list" required:"true"`
55494
55495	// A token to resume pagination.
55496	NextToken *string `type:"string"`
55497}
55498
55499// String returns the string representation
55500func (s ListFlowDefinitionsOutput) String() string {
55501	return awsutil.Prettify(s)
55502}
55503
55504// GoString returns the string representation
55505func (s ListFlowDefinitionsOutput) GoString() string {
55506	return s.String()
55507}
55508
55509// SetFlowDefinitionSummaries sets the FlowDefinitionSummaries field's value.
55510func (s *ListFlowDefinitionsOutput) SetFlowDefinitionSummaries(v []*FlowDefinitionSummary) *ListFlowDefinitionsOutput {
55511	s.FlowDefinitionSummaries = v
55512	return s
55513}
55514
55515// SetNextToken sets the NextToken field's value.
55516func (s *ListFlowDefinitionsOutput) SetNextToken(v string) *ListFlowDefinitionsOutput {
55517	s.NextToken = &v
55518	return s
55519}
55520
55521type ListHumanTaskUisInput struct {
55522	_ struct{} `type:"structure"`
55523
55524	// A filter that returns only human task user interfaces with a creation time
55525	// greater than or equal to the specified timestamp.
55526	CreationTimeAfter *time.Time `type:"timestamp"`
55527
55528	// A filter that returns only human task user interfaces that were created before
55529	// the specified timestamp.
55530	CreationTimeBefore *time.Time `type:"timestamp"`
55531
55532	// The total number of items to return. If the total number of available items
55533	// is more than the value specified in MaxResults, then a NextToken will be
55534	// provided in the output that you can use to resume pagination.
55535	MaxResults *int64 `min:"1" type:"integer"`
55536
55537	// A token to resume pagination.
55538	NextToken *string `type:"string"`
55539
55540	// An optional value that specifies whether you want the results sorted in Ascending
55541	// or Descending order.
55542	SortOrder *string `type:"string" enum:"SortOrder"`
55543}
55544
55545// String returns the string representation
55546func (s ListHumanTaskUisInput) String() string {
55547	return awsutil.Prettify(s)
55548}
55549
55550// GoString returns the string representation
55551func (s ListHumanTaskUisInput) GoString() string {
55552	return s.String()
55553}
55554
55555// Validate inspects the fields of the type to determine if they are valid.
55556func (s *ListHumanTaskUisInput) Validate() error {
55557	invalidParams := request.ErrInvalidParams{Context: "ListHumanTaskUisInput"}
55558	if s.MaxResults != nil && *s.MaxResults < 1 {
55559		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
55560	}
55561
55562	if invalidParams.Len() > 0 {
55563		return invalidParams
55564	}
55565	return nil
55566}
55567
55568// SetCreationTimeAfter sets the CreationTimeAfter field's value.
55569func (s *ListHumanTaskUisInput) SetCreationTimeAfter(v time.Time) *ListHumanTaskUisInput {
55570	s.CreationTimeAfter = &v
55571	return s
55572}
55573
55574// SetCreationTimeBefore sets the CreationTimeBefore field's value.
55575func (s *ListHumanTaskUisInput) SetCreationTimeBefore(v time.Time) *ListHumanTaskUisInput {
55576	s.CreationTimeBefore = &v
55577	return s
55578}
55579
55580// SetMaxResults sets the MaxResults field's value.
55581func (s *ListHumanTaskUisInput) SetMaxResults(v int64) *ListHumanTaskUisInput {
55582	s.MaxResults = &v
55583	return s
55584}
55585
55586// SetNextToken sets the NextToken field's value.
55587func (s *ListHumanTaskUisInput) SetNextToken(v string) *ListHumanTaskUisInput {
55588	s.NextToken = &v
55589	return s
55590}
55591
55592// SetSortOrder sets the SortOrder field's value.
55593func (s *ListHumanTaskUisInput) SetSortOrder(v string) *ListHumanTaskUisInput {
55594	s.SortOrder = &v
55595	return s
55596}
55597
55598type ListHumanTaskUisOutput struct {
55599	_ struct{} `type:"structure"`
55600
55601	// An array of objects describing the human task user interfaces.
55602	//
55603	// HumanTaskUiSummaries is a required field
55604	HumanTaskUiSummaries []*HumanTaskUiSummary `type:"list" required:"true"`
55605
55606	// A token to resume pagination.
55607	NextToken *string `type:"string"`
55608}
55609
55610// String returns the string representation
55611func (s ListHumanTaskUisOutput) String() string {
55612	return awsutil.Prettify(s)
55613}
55614
55615// GoString returns the string representation
55616func (s ListHumanTaskUisOutput) GoString() string {
55617	return s.String()
55618}
55619
55620// SetHumanTaskUiSummaries sets the HumanTaskUiSummaries field's value.
55621func (s *ListHumanTaskUisOutput) SetHumanTaskUiSummaries(v []*HumanTaskUiSummary) *ListHumanTaskUisOutput {
55622	s.HumanTaskUiSummaries = v
55623	return s
55624}
55625
55626// SetNextToken sets the NextToken field's value.
55627func (s *ListHumanTaskUisOutput) SetNextToken(v string) *ListHumanTaskUisOutput {
55628	s.NextToken = &v
55629	return s
55630}
55631
55632type ListHyperParameterTuningJobsInput struct {
55633	_ struct{} `type:"structure"`
55634
55635	// A filter that returns only tuning jobs that were created after the specified
55636	// time.
55637	CreationTimeAfter *time.Time `type:"timestamp"`
55638
55639	// A filter that returns only tuning jobs that were created before the specified
55640	// time.
55641	CreationTimeBefore *time.Time `type:"timestamp"`
55642
55643	// A filter that returns only tuning jobs that were modified after the specified
55644	// time.
55645	LastModifiedTimeAfter *time.Time `type:"timestamp"`
55646
55647	// A filter that returns only tuning jobs that were modified before the specified
55648	// time.
55649	LastModifiedTimeBefore *time.Time `type:"timestamp"`
55650
55651	// The maximum number of tuning jobs to return. The default value is 10.
55652	MaxResults *int64 `min:"1" type:"integer"`
55653
55654	// A string in the tuning job name. This filter returns only tuning jobs whose
55655	// name contains the specified string.
55656	NameContains *string `type:"string"`
55657
55658	// If the result of the previous ListHyperParameterTuningJobs request was truncated,
55659	// the response includes a NextToken. To retrieve the next set of tuning jobs,
55660	// use the token in the next request.
55661	NextToken *string `type:"string"`
55662
55663	// The field to sort results by. The default is Name.
55664	SortBy *string `type:"string" enum:"HyperParameterTuningJobSortByOptions"`
55665
55666	// The sort order for results. The default is Ascending.
55667	SortOrder *string `type:"string" enum:"SortOrder"`
55668
55669	// A filter that returns only tuning jobs with the specified status.
55670	StatusEquals *string `type:"string" enum:"HyperParameterTuningJobStatus"`
55671}
55672
55673// String returns the string representation
55674func (s ListHyperParameterTuningJobsInput) String() string {
55675	return awsutil.Prettify(s)
55676}
55677
55678// GoString returns the string representation
55679func (s ListHyperParameterTuningJobsInput) GoString() string {
55680	return s.String()
55681}
55682
55683// Validate inspects the fields of the type to determine if they are valid.
55684func (s *ListHyperParameterTuningJobsInput) Validate() error {
55685	invalidParams := request.ErrInvalidParams{Context: "ListHyperParameterTuningJobsInput"}
55686	if s.MaxResults != nil && *s.MaxResults < 1 {
55687		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
55688	}
55689
55690	if invalidParams.Len() > 0 {
55691		return invalidParams
55692	}
55693	return nil
55694}
55695
55696// SetCreationTimeAfter sets the CreationTimeAfter field's value.
55697func (s *ListHyperParameterTuningJobsInput) SetCreationTimeAfter(v time.Time) *ListHyperParameterTuningJobsInput {
55698	s.CreationTimeAfter = &v
55699	return s
55700}
55701
55702// SetCreationTimeBefore sets the CreationTimeBefore field's value.
55703func (s *ListHyperParameterTuningJobsInput) SetCreationTimeBefore(v time.Time) *ListHyperParameterTuningJobsInput {
55704	s.CreationTimeBefore = &v
55705	return s
55706}
55707
55708// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
55709func (s *ListHyperParameterTuningJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListHyperParameterTuningJobsInput {
55710	s.LastModifiedTimeAfter = &v
55711	return s
55712}
55713
55714// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
55715func (s *ListHyperParameterTuningJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListHyperParameterTuningJobsInput {
55716	s.LastModifiedTimeBefore = &v
55717	return s
55718}
55719
55720// SetMaxResults sets the MaxResults field's value.
55721func (s *ListHyperParameterTuningJobsInput) SetMaxResults(v int64) *ListHyperParameterTuningJobsInput {
55722	s.MaxResults = &v
55723	return s
55724}
55725
55726// SetNameContains sets the NameContains field's value.
55727func (s *ListHyperParameterTuningJobsInput) SetNameContains(v string) *ListHyperParameterTuningJobsInput {
55728	s.NameContains = &v
55729	return s
55730}
55731
55732// SetNextToken sets the NextToken field's value.
55733func (s *ListHyperParameterTuningJobsInput) SetNextToken(v string) *ListHyperParameterTuningJobsInput {
55734	s.NextToken = &v
55735	return s
55736}
55737
55738// SetSortBy sets the SortBy field's value.
55739func (s *ListHyperParameterTuningJobsInput) SetSortBy(v string) *ListHyperParameterTuningJobsInput {
55740	s.SortBy = &v
55741	return s
55742}
55743
55744// SetSortOrder sets the SortOrder field's value.
55745func (s *ListHyperParameterTuningJobsInput) SetSortOrder(v string) *ListHyperParameterTuningJobsInput {
55746	s.SortOrder = &v
55747	return s
55748}
55749
55750// SetStatusEquals sets the StatusEquals field's value.
55751func (s *ListHyperParameterTuningJobsInput) SetStatusEquals(v string) *ListHyperParameterTuningJobsInput {
55752	s.StatusEquals = &v
55753	return s
55754}
55755
55756type ListHyperParameterTuningJobsOutput struct {
55757	_ struct{} `type:"structure"`
55758
55759	// A list of HyperParameterTuningJobSummary objects that describe the tuning
55760	// jobs that the ListHyperParameterTuningJobs request returned.
55761	//
55762	// HyperParameterTuningJobSummaries is a required field
55763	HyperParameterTuningJobSummaries []*HyperParameterTuningJobSummary `type:"list" required:"true"`
55764
55765	// If the result of this ListHyperParameterTuningJobs request was truncated,
55766	// the response includes a NextToken. To retrieve the next set of tuning jobs,
55767	// use the token in the next request.
55768	NextToken *string `type:"string"`
55769}
55770
55771// String returns the string representation
55772func (s ListHyperParameterTuningJobsOutput) String() string {
55773	return awsutil.Prettify(s)
55774}
55775
55776// GoString returns the string representation
55777func (s ListHyperParameterTuningJobsOutput) GoString() string {
55778	return s.String()
55779}
55780
55781// SetHyperParameterTuningJobSummaries sets the HyperParameterTuningJobSummaries field's value.
55782func (s *ListHyperParameterTuningJobsOutput) SetHyperParameterTuningJobSummaries(v []*HyperParameterTuningJobSummary) *ListHyperParameterTuningJobsOutput {
55783	s.HyperParameterTuningJobSummaries = v
55784	return s
55785}
55786
55787// SetNextToken sets the NextToken field's value.
55788func (s *ListHyperParameterTuningJobsOutput) SetNextToken(v string) *ListHyperParameterTuningJobsOutput {
55789	s.NextToken = &v
55790	return s
55791}
55792
55793type ListImageVersionsInput struct {
55794	_ struct{} `type:"structure"`
55795
55796	// A filter that returns only versions created on or after the specified time.
55797	CreationTimeAfter *time.Time `type:"timestamp"`
55798
55799	// A filter that returns only versions created on or before the specified time.
55800	CreationTimeBefore *time.Time `type:"timestamp"`
55801
55802	// The name of the image to list the versions of.
55803	//
55804	// ImageName is a required field
55805	ImageName *string `min:"1" type:"string" required:"true"`
55806
55807	// A filter that returns only versions modified on or after the specified time.
55808	LastModifiedTimeAfter *time.Time `type:"timestamp"`
55809
55810	// A filter that returns only versions modified on or before the specified time.
55811	LastModifiedTimeBefore *time.Time `type:"timestamp"`
55812
55813	// The maximum number of versions to return in the response. The default value
55814	// is 10.
55815	MaxResults *int64 `min:"1" type:"integer"`
55816
55817	// If the previous call to ListImageVersions didn't return the full set of versions,
55818	// the call returns a token for getting the next set of versions.
55819	NextToken *string `type:"string"`
55820
55821	// The property used to sort results. The default value is CREATION_TIME.
55822	SortBy *string `type:"string" enum:"ImageVersionSortBy"`
55823
55824	// The sort order. The default value is DESCENDING.
55825	SortOrder *string `type:"string" enum:"ImageVersionSortOrder"`
55826}
55827
55828// String returns the string representation
55829func (s ListImageVersionsInput) String() string {
55830	return awsutil.Prettify(s)
55831}
55832
55833// GoString returns the string representation
55834func (s ListImageVersionsInput) GoString() string {
55835	return s.String()
55836}
55837
55838// Validate inspects the fields of the type to determine if they are valid.
55839func (s *ListImageVersionsInput) Validate() error {
55840	invalidParams := request.ErrInvalidParams{Context: "ListImageVersionsInput"}
55841	if s.ImageName == nil {
55842		invalidParams.Add(request.NewErrParamRequired("ImageName"))
55843	}
55844	if s.ImageName != nil && len(*s.ImageName) < 1 {
55845		invalidParams.Add(request.NewErrParamMinLen("ImageName", 1))
55846	}
55847	if s.MaxResults != nil && *s.MaxResults < 1 {
55848		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
55849	}
55850
55851	if invalidParams.Len() > 0 {
55852		return invalidParams
55853	}
55854	return nil
55855}
55856
55857// SetCreationTimeAfter sets the CreationTimeAfter field's value.
55858func (s *ListImageVersionsInput) SetCreationTimeAfter(v time.Time) *ListImageVersionsInput {
55859	s.CreationTimeAfter = &v
55860	return s
55861}
55862
55863// SetCreationTimeBefore sets the CreationTimeBefore field's value.
55864func (s *ListImageVersionsInput) SetCreationTimeBefore(v time.Time) *ListImageVersionsInput {
55865	s.CreationTimeBefore = &v
55866	return s
55867}
55868
55869// SetImageName sets the ImageName field's value.
55870func (s *ListImageVersionsInput) SetImageName(v string) *ListImageVersionsInput {
55871	s.ImageName = &v
55872	return s
55873}
55874
55875// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
55876func (s *ListImageVersionsInput) SetLastModifiedTimeAfter(v time.Time) *ListImageVersionsInput {
55877	s.LastModifiedTimeAfter = &v
55878	return s
55879}
55880
55881// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
55882func (s *ListImageVersionsInput) SetLastModifiedTimeBefore(v time.Time) *ListImageVersionsInput {
55883	s.LastModifiedTimeBefore = &v
55884	return s
55885}
55886
55887// SetMaxResults sets the MaxResults field's value.
55888func (s *ListImageVersionsInput) SetMaxResults(v int64) *ListImageVersionsInput {
55889	s.MaxResults = &v
55890	return s
55891}
55892
55893// SetNextToken sets the NextToken field's value.
55894func (s *ListImageVersionsInput) SetNextToken(v string) *ListImageVersionsInput {
55895	s.NextToken = &v
55896	return s
55897}
55898
55899// SetSortBy sets the SortBy field's value.
55900func (s *ListImageVersionsInput) SetSortBy(v string) *ListImageVersionsInput {
55901	s.SortBy = &v
55902	return s
55903}
55904
55905// SetSortOrder sets the SortOrder field's value.
55906func (s *ListImageVersionsInput) SetSortOrder(v string) *ListImageVersionsInput {
55907	s.SortOrder = &v
55908	return s
55909}
55910
55911type ListImageVersionsOutput struct {
55912	_ struct{} `type:"structure"`
55913
55914	// A list of versions and their properties.
55915	ImageVersions []*ImageVersion `type:"list"`
55916
55917	// A token for getting the next set of versions, if there are any.
55918	NextToken *string `type:"string"`
55919}
55920
55921// String returns the string representation
55922func (s ListImageVersionsOutput) String() string {
55923	return awsutil.Prettify(s)
55924}
55925
55926// GoString returns the string representation
55927func (s ListImageVersionsOutput) GoString() string {
55928	return s.String()
55929}
55930
55931// SetImageVersions sets the ImageVersions field's value.
55932func (s *ListImageVersionsOutput) SetImageVersions(v []*ImageVersion) *ListImageVersionsOutput {
55933	s.ImageVersions = v
55934	return s
55935}
55936
55937// SetNextToken sets the NextToken field's value.
55938func (s *ListImageVersionsOutput) SetNextToken(v string) *ListImageVersionsOutput {
55939	s.NextToken = &v
55940	return s
55941}
55942
55943type ListImagesInput struct {
55944	_ struct{} `type:"structure"`
55945
55946	// A filter that returns only images created on or after the specified time.
55947	CreationTimeAfter *time.Time `type:"timestamp"`
55948
55949	// A filter that returns only images created on or before the specified time.
55950	CreationTimeBefore *time.Time `type:"timestamp"`
55951
55952	// A filter that returns only images modified on or after the specified time.
55953	LastModifiedTimeAfter *time.Time `type:"timestamp"`
55954
55955	// A filter that returns only images modified on or before the specified time.
55956	LastModifiedTimeBefore *time.Time `type:"timestamp"`
55957
55958	// The maximum number of images to return in the response. The default value
55959	// is 10.
55960	MaxResults *int64 `min:"1" type:"integer"`
55961
55962	// A filter that returns only images whose name contains the specified string.
55963	NameContains *string `type:"string"`
55964
55965	// If the previous call to ListImages didn't return the full set of images,
55966	// the call returns a token for getting the next set of images.
55967	NextToken *string `type:"string"`
55968
55969	// The property used to sort results. The default value is CREATION_TIME.
55970	SortBy *string `type:"string" enum:"ImageSortBy"`
55971
55972	// The sort order. The default value is DESCENDING.
55973	SortOrder *string `type:"string" enum:"ImageSortOrder"`
55974}
55975
55976// String returns the string representation
55977func (s ListImagesInput) String() string {
55978	return awsutil.Prettify(s)
55979}
55980
55981// GoString returns the string representation
55982func (s ListImagesInput) GoString() string {
55983	return s.String()
55984}
55985
55986// Validate inspects the fields of the type to determine if they are valid.
55987func (s *ListImagesInput) Validate() error {
55988	invalidParams := request.ErrInvalidParams{Context: "ListImagesInput"}
55989	if s.MaxResults != nil && *s.MaxResults < 1 {
55990		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
55991	}
55992
55993	if invalidParams.Len() > 0 {
55994		return invalidParams
55995	}
55996	return nil
55997}
55998
55999// SetCreationTimeAfter sets the CreationTimeAfter field's value.
56000func (s *ListImagesInput) SetCreationTimeAfter(v time.Time) *ListImagesInput {
56001	s.CreationTimeAfter = &v
56002	return s
56003}
56004
56005// SetCreationTimeBefore sets the CreationTimeBefore field's value.
56006func (s *ListImagesInput) SetCreationTimeBefore(v time.Time) *ListImagesInput {
56007	s.CreationTimeBefore = &v
56008	return s
56009}
56010
56011// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
56012func (s *ListImagesInput) SetLastModifiedTimeAfter(v time.Time) *ListImagesInput {
56013	s.LastModifiedTimeAfter = &v
56014	return s
56015}
56016
56017// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
56018func (s *ListImagesInput) SetLastModifiedTimeBefore(v time.Time) *ListImagesInput {
56019	s.LastModifiedTimeBefore = &v
56020	return s
56021}
56022
56023// SetMaxResults sets the MaxResults field's value.
56024func (s *ListImagesInput) SetMaxResults(v int64) *ListImagesInput {
56025	s.MaxResults = &v
56026	return s
56027}
56028
56029// SetNameContains sets the NameContains field's value.
56030func (s *ListImagesInput) SetNameContains(v string) *ListImagesInput {
56031	s.NameContains = &v
56032	return s
56033}
56034
56035// SetNextToken sets the NextToken field's value.
56036func (s *ListImagesInput) SetNextToken(v string) *ListImagesInput {
56037	s.NextToken = &v
56038	return s
56039}
56040
56041// SetSortBy sets the SortBy field's value.
56042func (s *ListImagesInput) SetSortBy(v string) *ListImagesInput {
56043	s.SortBy = &v
56044	return s
56045}
56046
56047// SetSortOrder sets the SortOrder field's value.
56048func (s *ListImagesInput) SetSortOrder(v string) *ListImagesInput {
56049	s.SortOrder = &v
56050	return s
56051}
56052
56053type ListImagesOutput struct {
56054	_ struct{} `type:"structure"`
56055
56056	// A list of images and their properties.
56057	Images []*Image `type:"list"`
56058
56059	// A token for getting the next set of images, if there are any.
56060	NextToken *string `type:"string"`
56061}
56062
56063// String returns the string representation
56064func (s ListImagesOutput) String() string {
56065	return awsutil.Prettify(s)
56066}
56067
56068// GoString returns the string representation
56069func (s ListImagesOutput) GoString() string {
56070	return s.String()
56071}
56072
56073// SetImages sets the Images field's value.
56074func (s *ListImagesOutput) SetImages(v []*Image) *ListImagesOutput {
56075	s.Images = v
56076	return s
56077}
56078
56079// SetNextToken sets the NextToken field's value.
56080func (s *ListImagesOutput) SetNextToken(v string) *ListImagesOutput {
56081	s.NextToken = &v
56082	return s
56083}
56084
56085type ListLabelingJobsForWorkteamInput struct {
56086	_ struct{} `type:"structure"`
56087
56088	// A filter that returns only labeling jobs created after the specified time
56089	// (timestamp).
56090	CreationTimeAfter *time.Time `type:"timestamp"`
56091
56092	// A filter that returns only labeling jobs created before the specified time
56093	// (timestamp).
56094	CreationTimeBefore *time.Time `type:"timestamp"`
56095
56096	// A filter the limits jobs to only the ones whose job reference code contains
56097	// the specified string.
56098	JobReferenceCodeContains *string `min:"1" type:"string"`
56099
56100	// The maximum number of labeling jobs to return in each page of the response.
56101	MaxResults *int64 `min:"1" type:"integer"`
56102
56103	// If the result of the previous ListLabelingJobsForWorkteam request was truncated,
56104	// the response includes a NextToken. To retrieve the next set of labeling jobs,
56105	// use the token in the next request.
56106	NextToken *string `type:"string"`
56107
56108	// The field to sort results by. The default is CreationTime.
56109	SortBy *string `type:"string" enum:"ListLabelingJobsForWorkteamSortByOptions"`
56110
56111	// The sort order for results. The default is Ascending.
56112	SortOrder *string `type:"string" enum:"SortOrder"`
56113
56114	// The Amazon Resource Name (ARN) of the work team for which you want to see
56115	// labeling jobs for.
56116	//
56117	// WorkteamArn is a required field
56118	WorkteamArn *string `type:"string" required:"true"`
56119}
56120
56121// String returns the string representation
56122func (s ListLabelingJobsForWorkteamInput) String() string {
56123	return awsutil.Prettify(s)
56124}
56125
56126// GoString returns the string representation
56127func (s ListLabelingJobsForWorkteamInput) GoString() string {
56128	return s.String()
56129}
56130
56131// Validate inspects the fields of the type to determine if they are valid.
56132func (s *ListLabelingJobsForWorkteamInput) Validate() error {
56133	invalidParams := request.ErrInvalidParams{Context: "ListLabelingJobsForWorkteamInput"}
56134	if s.JobReferenceCodeContains != nil && len(*s.JobReferenceCodeContains) < 1 {
56135		invalidParams.Add(request.NewErrParamMinLen("JobReferenceCodeContains", 1))
56136	}
56137	if s.MaxResults != nil && *s.MaxResults < 1 {
56138		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
56139	}
56140	if s.WorkteamArn == nil {
56141		invalidParams.Add(request.NewErrParamRequired("WorkteamArn"))
56142	}
56143
56144	if invalidParams.Len() > 0 {
56145		return invalidParams
56146	}
56147	return nil
56148}
56149
56150// SetCreationTimeAfter sets the CreationTimeAfter field's value.
56151func (s *ListLabelingJobsForWorkteamInput) SetCreationTimeAfter(v time.Time) *ListLabelingJobsForWorkteamInput {
56152	s.CreationTimeAfter = &v
56153	return s
56154}
56155
56156// SetCreationTimeBefore sets the CreationTimeBefore field's value.
56157func (s *ListLabelingJobsForWorkteamInput) SetCreationTimeBefore(v time.Time) *ListLabelingJobsForWorkteamInput {
56158	s.CreationTimeBefore = &v
56159	return s
56160}
56161
56162// SetJobReferenceCodeContains sets the JobReferenceCodeContains field's value.
56163func (s *ListLabelingJobsForWorkteamInput) SetJobReferenceCodeContains(v string) *ListLabelingJobsForWorkteamInput {
56164	s.JobReferenceCodeContains = &v
56165	return s
56166}
56167
56168// SetMaxResults sets the MaxResults field's value.
56169func (s *ListLabelingJobsForWorkteamInput) SetMaxResults(v int64) *ListLabelingJobsForWorkteamInput {
56170	s.MaxResults = &v
56171	return s
56172}
56173
56174// SetNextToken sets the NextToken field's value.
56175func (s *ListLabelingJobsForWorkteamInput) SetNextToken(v string) *ListLabelingJobsForWorkteamInput {
56176	s.NextToken = &v
56177	return s
56178}
56179
56180// SetSortBy sets the SortBy field's value.
56181func (s *ListLabelingJobsForWorkteamInput) SetSortBy(v string) *ListLabelingJobsForWorkteamInput {
56182	s.SortBy = &v
56183	return s
56184}
56185
56186// SetSortOrder sets the SortOrder field's value.
56187func (s *ListLabelingJobsForWorkteamInput) SetSortOrder(v string) *ListLabelingJobsForWorkteamInput {
56188	s.SortOrder = &v
56189	return s
56190}
56191
56192// SetWorkteamArn sets the WorkteamArn field's value.
56193func (s *ListLabelingJobsForWorkteamInput) SetWorkteamArn(v string) *ListLabelingJobsForWorkteamInput {
56194	s.WorkteamArn = &v
56195	return s
56196}
56197
56198type ListLabelingJobsForWorkteamOutput struct {
56199	_ struct{} `type:"structure"`
56200
56201	// An array of LabelingJobSummary objects, each describing a labeling job.
56202	//
56203	// LabelingJobSummaryList is a required field
56204	LabelingJobSummaryList []*LabelingJobForWorkteamSummary `type:"list" required:"true"`
56205
56206	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
56207	// the next set of labeling jobs, use it in the subsequent request.
56208	NextToken *string `type:"string"`
56209}
56210
56211// String returns the string representation
56212func (s ListLabelingJobsForWorkteamOutput) String() string {
56213	return awsutil.Prettify(s)
56214}
56215
56216// GoString returns the string representation
56217func (s ListLabelingJobsForWorkteamOutput) GoString() string {
56218	return s.String()
56219}
56220
56221// SetLabelingJobSummaryList sets the LabelingJobSummaryList field's value.
56222func (s *ListLabelingJobsForWorkteamOutput) SetLabelingJobSummaryList(v []*LabelingJobForWorkteamSummary) *ListLabelingJobsForWorkteamOutput {
56223	s.LabelingJobSummaryList = v
56224	return s
56225}
56226
56227// SetNextToken sets the NextToken field's value.
56228func (s *ListLabelingJobsForWorkteamOutput) SetNextToken(v string) *ListLabelingJobsForWorkteamOutput {
56229	s.NextToken = &v
56230	return s
56231}
56232
56233type ListLabelingJobsInput struct {
56234	_ struct{} `type:"structure"`
56235
56236	// A filter that returns only labeling jobs created after the specified time
56237	// (timestamp).
56238	CreationTimeAfter *time.Time `type:"timestamp"`
56239
56240	// A filter that returns only labeling jobs created before the specified time
56241	// (timestamp).
56242	CreationTimeBefore *time.Time `type:"timestamp"`
56243
56244	// A filter that returns only labeling jobs modified after the specified time
56245	// (timestamp).
56246	LastModifiedTimeAfter *time.Time `type:"timestamp"`
56247
56248	// A filter that returns only labeling jobs modified before the specified time
56249	// (timestamp).
56250	LastModifiedTimeBefore *time.Time `type:"timestamp"`
56251
56252	// The maximum number of labeling jobs to return in each page of the response.
56253	MaxResults *int64 `min:"1" type:"integer"`
56254
56255	// A string in the labeling job name. This filter returns only labeling jobs
56256	// whose name contains the specified string.
56257	NameContains *string `type:"string"`
56258
56259	// If the result of the previous ListLabelingJobs request was truncated, the
56260	// response includes a NextToken. To retrieve the next set of labeling jobs,
56261	// use the token in the next request.
56262	NextToken *string `type:"string"`
56263
56264	// The field to sort results by. The default is CreationTime.
56265	SortBy *string `type:"string" enum:"SortBy"`
56266
56267	// The sort order for results. The default is Ascending.
56268	SortOrder *string `type:"string" enum:"SortOrder"`
56269
56270	// A filter that retrieves only labeling jobs with a specific status.
56271	StatusEquals *string `type:"string" enum:"LabelingJobStatus"`
56272}
56273
56274// String returns the string representation
56275func (s ListLabelingJobsInput) String() string {
56276	return awsutil.Prettify(s)
56277}
56278
56279// GoString returns the string representation
56280func (s ListLabelingJobsInput) GoString() string {
56281	return s.String()
56282}
56283
56284// Validate inspects the fields of the type to determine if they are valid.
56285func (s *ListLabelingJobsInput) Validate() error {
56286	invalidParams := request.ErrInvalidParams{Context: "ListLabelingJobsInput"}
56287	if s.MaxResults != nil && *s.MaxResults < 1 {
56288		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
56289	}
56290
56291	if invalidParams.Len() > 0 {
56292		return invalidParams
56293	}
56294	return nil
56295}
56296
56297// SetCreationTimeAfter sets the CreationTimeAfter field's value.
56298func (s *ListLabelingJobsInput) SetCreationTimeAfter(v time.Time) *ListLabelingJobsInput {
56299	s.CreationTimeAfter = &v
56300	return s
56301}
56302
56303// SetCreationTimeBefore sets the CreationTimeBefore field's value.
56304func (s *ListLabelingJobsInput) SetCreationTimeBefore(v time.Time) *ListLabelingJobsInput {
56305	s.CreationTimeBefore = &v
56306	return s
56307}
56308
56309// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
56310func (s *ListLabelingJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListLabelingJobsInput {
56311	s.LastModifiedTimeAfter = &v
56312	return s
56313}
56314
56315// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
56316func (s *ListLabelingJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListLabelingJobsInput {
56317	s.LastModifiedTimeBefore = &v
56318	return s
56319}
56320
56321// SetMaxResults sets the MaxResults field's value.
56322func (s *ListLabelingJobsInput) SetMaxResults(v int64) *ListLabelingJobsInput {
56323	s.MaxResults = &v
56324	return s
56325}
56326
56327// SetNameContains sets the NameContains field's value.
56328func (s *ListLabelingJobsInput) SetNameContains(v string) *ListLabelingJobsInput {
56329	s.NameContains = &v
56330	return s
56331}
56332
56333// SetNextToken sets the NextToken field's value.
56334func (s *ListLabelingJobsInput) SetNextToken(v string) *ListLabelingJobsInput {
56335	s.NextToken = &v
56336	return s
56337}
56338
56339// SetSortBy sets the SortBy field's value.
56340func (s *ListLabelingJobsInput) SetSortBy(v string) *ListLabelingJobsInput {
56341	s.SortBy = &v
56342	return s
56343}
56344
56345// SetSortOrder sets the SortOrder field's value.
56346func (s *ListLabelingJobsInput) SetSortOrder(v string) *ListLabelingJobsInput {
56347	s.SortOrder = &v
56348	return s
56349}
56350
56351// SetStatusEquals sets the StatusEquals field's value.
56352func (s *ListLabelingJobsInput) SetStatusEquals(v string) *ListLabelingJobsInput {
56353	s.StatusEquals = &v
56354	return s
56355}
56356
56357type ListLabelingJobsOutput struct {
56358	_ struct{} `type:"structure"`
56359
56360	// An array of LabelingJobSummary objects, each describing a labeling job.
56361	LabelingJobSummaryList []*LabelingJobSummary `type:"list"`
56362
56363	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
56364	// the next set of labeling jobs, use it in the subsequent request.
56365	NextToken *string `type:"string"`
56366}
56367
56368// String returns the string representation
56369func (s ListLabelingJobsOutput) String() string {
56370	return awsutil.Prettify(s)
56371}
56372
56373// GoString returns the string representation
56374func (s ListLabelingJobsOutput) GoString() string {
56375	return s.String()
56376}
56377
56378// SetLabelingJobSummaryList sets the LabelingJobSummaryList field's value.
56379func (s *ListLabelingJobsOutput) SetLabelingJobSummaryList(v []*LabelingJobSummary) *ListLabelingJobsOutput {
56380	s.LabelingJobSummaryList = v
56381	return s
56382}
56383
56384// SetNextToken sets the NextToken field's value.
56385func (s *ListLabelingJobsOutput) SetNextToken(v string) *ListLabelingJobsOutput {
56386	s.NextToken = &v
56387	return s
56388}
56389
56390type ListModelBiasJobDefinitionsInput struct {
56391	_ struct{} `type:"structure"`
56392
56393	// A filter that returns only model bias jobs created after a specified time.
56394	CreationTimeAfter *time.Time `type:"timestamp"`
56395
56396	// A filter that returns only model bias jobs created before a specified time.
56397	CreationTimeBefore *time.Time `type:"timestamp"`
56398
56399	// Name of the endpoint to monitor for model bias.
56400	EndpointName *string `type:"string"`
56401
56402	// The maximum number of model bias jobs to return in the response. The default
56403	// value is 10.
56404	MaxResults *int64 `min:"1" type:"integer"`
56405
56406	// Filter for model bias jobs whose name contains a specified string.
56407	NameContains *string `type:"string"`
56408
56409	// The token returned if the response is truncated. To retrieve the next set
56410	// of job executions, use it in the next request.
56411	NextToken *string `type:"string"`
56412
56413	// Whether to sort results by the Name or CreationTime field. The default is
56414	// CreationTime.
56415	SortBy *string `type:"string" enum:"MonitoringJobDefinitionSortKey"`
56416
56417	// Whether to sort the results in Ascending or Descending order. The default
56418	// is Descending.
56419	SortOrder *string `type:"string" enum:"SortOrder"`
56420}
56421
56422// String returns the string representation
56423func (s ListModelBiasJobDefinitionsInput) String() string {
56424	return awsutil.Prettify(s)
56425}
56426
56427// GoString returns the string representation
56428func (s ListModelBiasJobDefinitionsInput) GoString() string {
56429	return s.String()
56430}
56431
56432// Validate inspects the fields of the type to determine if they are valid.
56433func (s *ListModelBiasJobDefinitionsInput) Validate() error {
56434	invalidParams := request.ErrInvalidParams{Context: "ListModelBiasJobDefinitionsInput"}
56435	if s.MaxResults != nil && *s.MaxResults < 1 {
56436		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
56437	}
56438
56439	if invalidParams.Len() > 0 {
56440		return invalidParams
56441	}
56442	return nil
56443}
56444
56445// SetCreationTimeAfter sets the CreationTimeAfter field's value.
56446func (s *ListModelBiasJobDefinitionsInput) SetCreationTimeAfter(v time.Time) *ListModelBiasJobDefinitionsInput {
56447	s.CreationTimeAfter = &v
56448	return s
56449}
56450
56451// SetCreationTimeBefore sets the CreationTimeBefore field's value.
56452func (s *ListModelBiasJobDefinitionsInput) SetCreationTimeBefore(v time.Time) *ListModelBiasJobDefinitionsInput {
56453	s.CreationTimeBefore = &v
56454	return s
56455}
56456
56457// SetEndpointName sets the EndpointName field's value.
56458func (s *ListModelBiasJobDefinitionsInput) SetEndpointName(v string) *ListModelBiasJobDefinitionsInput {
56459	s.EndpointName = &v
56460	return s
56461}
56462
56463// SetMaxResults sets the MaxResults field's value.
56464func (s *ListModelBiasJobDefinitionsInput) SetMaxResults(v int64) *ListModelBiasJobDefinitionsInput {
56465	s.MaxResults = &v
56466	return s
56467}
56468
56469// SetNameContains sets the NameContains field's value.
56470func (s *ListModelBiasJobDefinitionsInput) SetNameContains(v string) *ListModelBiasJobDefinitionsInput {
56471	s.NameContains = &v
56472	return s
56473}
56474
56475// SetNextToken sets the NextToken field's value.
56476func (s *ListModelBiasJobDefinitionsInput) SetNextToken(v string) *ListModelBiasJobDefinitionsInput {
56477	s.NextToken = &v
56478	return s
56479}
56480
56481// SetSortBy sets the SortBy field's value.
56482func (s *ListModelBiasJobDefinitionsInput) SetSortBy(v string) *ListModelBiasJobDefinitionsInput {
56483	s.SortBy = &v
56484	return s
56485}
56486
56487// SetSortOrder sets the SortOrder field's value.
56488func (s *ListModelBiasJobDefinitionsInput) SetSortOrder(v string) *ListModelBiasJobDefinitionsInput {
56489	s.SortOrder = &v
56490	return s
56491}
56492
56493type ListModelBiasJobDefinitionsOutput struct {
56494	_ struct{} `type:"structure"`
56495
56496	// A JSON array in which each element is a summary for a model bias jobs.
56497	//
56498	// JobDefinitionSummaries is a required field
56499	JobDefinitionSummaries []*MonitoringJobDefinitionSummary `type:"list" required:"true"`
56500
56501	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
56502	// the next set of jobs, use it in the subsequent request.
56503	NextToken *string `type:"string"`
56504}
56505
56506// String returns the string representation
56507func (s ListModelBiasJobDefinitionsOutput) String() string {
56508	return awsutil.Prettify(s)
56509}
56510
56511// GoString returns the string representation
56512func (s ListModelBiasJobDefinitionsOutput) GoString() string {
56513	return s.String()
56514}
56515
56516// SetJobDefinitionSummaries sets the JobDefinitionSummaries field's value.
56517func (s *ListModelBiasJobDefinitionsOutput) SetJobDefinitionSummaries(v []*MonitoringJobDefinitionSummary) *ListModelBiasJobDefinitionsOutput {
56518	s.JobDefinitionSummaries = v
56519	return s
56520}
56521
56522// SetNextToken sets the NextToken field's value.
56523func (s *ListModelBiasJobDefinitionsOutput) SetNextToken(v string) *ListModelBiasJobDefinitionsOutput {
56524	s.NextToken = &v
56525	return s
56526}
56527
56528type ListModelExplainabilityJobDefinitionsInput struct {
56529	_ struct{} `type:"structure"`
56530
56531	// A filter that returns only model explainability jobs created after a specified
56532	// time.
56533	CreationTimeAfter *time.Time `type:"timestamp"`
56534
56535	// A filter that returns only model explainability jobs created before a specified
56536	// time.
56537	CreationTimeBefore *time.Time `type:"timestamp"`
56538
56539	// Name of the endpoint to monitor for model explainability.
56540	EndpointName *string `type:"string"`
56541
56542	// The maximum number of jobs to return in the response. The default value is
56543	// 10.
56544	MaxResults *int64 `min:"1" type:"integer"`
56545
56546	// Filter for model explainability jobs whose name contains a specified string.
56547	NameContains *string `type:"string"`
56548
56549	// The token returned if the response is truncated. To retrieve the next set
56550	// of job executions, use it in the next request.
56551	NextToken *string `type:"string"`
56552
56553	// Whether to sort results by the Name or CreationTime field. The default is
56554	// CreationTime.
56555	SortBy *string `type:"string" enum:"MonitoringJobDefinitionSortKey"`
56556
56557	// Whether to sort the results in Ascending or Descending order. The default
56558	// is Descending.
56559	SortOrder *string `type:"string" enum:"SortOrder"`
56560}
56561
56562// String returns the string representation
56563func (s ListModelExplainabilityJobDefinitionsInput) String() string {
56564	return awsutil.Prettify(s)
56565}
56566
56567// GoString returns the string representation
56568func (s ListModelExplainabilityJobDefinitionsInput) GoString() string {
56569	return s.String()
56570}
56571
56572// Validate inspects the fields of the type to determine if they are valid.
56573func (s *ListModelExplainabilityJobDefinitionsInput) Validate() error {
56574	invalidParams := request.ErrInvalidParams{Context: "ListModelExplainabilityJobDefinitionsInput"}
56575	if s.MaxResults != nil && *s.MaxResults < 1 {
56576		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
56577	}
56578
56579	if invalidParams.Len() > 0 {
56580		return invalidParams
56581	}
56582	return nil
56583}
56584
56585// SetCreationTimeAfter sets the CreationTimeAfter field's value.
56586func (s *ListModelExplainabilityJobDefinitionsInput) SetCreationTimeAfter(v time.Time) *ListModelExplainabilityJobDefinitionsInput {
56587	s.CreationTimeAfter = &v
56588	return s
56589}
56590
56591// SetCreationTimeBefore sets the CreationTimeBefore field's value.
56592func (s *ListModelExplainabilityJobDefinitionsInput) SetCreationTimeBefore(v time.Time) *ListModelExplainabilityJobDefinitionsInput {
56593	s.CreationTimeBefore = &v
56594	return s
56595}
56596
56597// SetEndpointName sets the EndpointName field's value.
56598func (s *ListModelExplainabilityJobDefinitionsInput) SetEndpointName(v string) *ListModelExplainabilityJobDefinitionsInput {
56599	s.EndpointName = &v
56600	return s
56601}
56602
56603// SetMaxResults sets the MaxResults field's value.
56604func (s *ListModelExplainabilityJobDefinitionsInput) SetMaxResults(v int64) *ListModelExplainabilityJobDefinitionsInput {
56605	s.MaxResults = &v
56606	return s
56607}
56608
56609// SetNameContains sets the NameContains field's value.
56610func (s *ListModelExplainabilityJobDefinitionsInput) SetNameContains(v string) *ListModelExplainabilityJobDefinitionsInput {
56611	s.NameContains = &v
56612	return s
56613}
56614
56615// SetNextToken sets the NextToken field's value.
56616func (s *ListModelExplainabilityJobDefinitionsInput) SetNextToken(v string) *ListModelExplainabilityJobDefinitionsInput {
56617	s.NextToken = &v
56618	return s
56619}
56620
56621// SetSortBy sets the SortBy field's value.
56622func (s *ListModelExplainabilityJobDefinitionsInput) SetSortBy(v string) *ListModelExplainabilityJobDefinitionsInput {
56623	s.SortBy = &v
56624	return s
56625}
56626
56627// SetSortOrder sets the SortOrder field's value.
56628func (s *ListModelExplainabilityJobDefinitionsInput) SetSortOrder(v string) *ListModelExplainabilityJobDefinitionsInput {
56629	s.SortOrder = &v
56630	return s
56631}
56632
56633type ListModelExplainabilityJobDefinitionsOutput struct {
56634	_ struct{} `type:"structure"`
56635
56636	// A JSON array in which each element is a summary for a explainability bias
56637	// jobs.
56638	//
56639	// JobDefinitionSummaries is a required field
56640	JobDefinitionSummaries []*MonitoringJobDefinitionSummary `type:"list" required:"true"`
56641
56642	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
56643	// the next set of jobs, use it in the subsequent request.
56644	NextToken *string `type:"string"`
56645}
56646
56647// String returns the string representation
56648func (s ListModelExplainabilityJobDefinitionsOutput) String() string {
56649	return awsutil.Prettify(s)
56650}
56651
56652// GoString returns the string representation
56653func (s ListModelExplainabilityJobDefinitionsOutput) GoString() string {
56654	return s.String()
56655}
56656
56657// SetJobDefinitionSummaries sets the JobDefinitionSummaries field's value.
56658func (s *ListModelExplainabilityJobDefinitionsOutput) SetJobDefinitionSummaries(v []*MonitoringJobDefinitionSummary) *ListModelExplainabilityJobDefinitionsOutput {
56659	s.JobDefinitionSummaries = v
56660	return s
56661}
56662
56663// SetNextToken sets the NextToken field's value.
56664func (s *ListModelExplainabilityJobDefinitionsOutput) SetNextToken(v string) *ListModelExplainabilityJobDefinitionsOutput {
56665	s.NextToken = &v
56666	return s
56667}
56668
56669type ListModelPackageGroupsInput struct {
56670	_ struct{} `type:"structure"`
56671
56672	// A filter that returns only model groups created after the specified time.
56673	CreationTimeAfter *time.Time `type:"timestamp"`
56674
56675	// A filter that returns only model groups created before the specified time.
56676	CreationTimeBefore *time.Time `type:"timestamp"`
56677
56678	// The maximum number of results to return in the response.
56679	MaxResults *int64 `min:"1" type:"integer"`
56680
56681	// A string in the model group name. This filter returns only model groups whose
56682	// name contains the specified string.
56683	NameContains *string `type:"string"`
56684
56685	// If the result of the previous ListModelPackageGroups request was truncated,
56686	// the response includes a NextToken. To retrieve the next set of model groups,
56687	// use the token in the next request.
56688	NextToken *string `type:"string"`
56689
56690	// The field to sort results by. The default is CreationTime.
56691	SortBy *string `type:"string" enum:"ModelPackageGroupSortBy"`
56692
56693	// The sort order for results. The default is Ascending.
56694	SortOrder *string `type:"string" enum:"SortOrder"`
56695}
56696
56697// String returns the string representation
56698func (s ListModelPackageGroupsInput) String() string {
56699	return awsutil.Prettify(s)
56700}
56701
56702// GoString returns the string representation
56703func (s ListModelPackageGroupsInput) GoString() string {
56704	return s.String()
56705}
56706
56707// Validate inspects the fields of the type to determine if they are valid.
56708func (s *ListModelPackageGroupsInput) Validate() error {
56709	invalidParams := request.ErrInvalidParams{Context: "ListModelPackageGroupsInput"}
56710	if s.MaxResults != nil && *s.MaxResults < 1 {
56711		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
56712	}
56713
56714	if invalidParams.Len() > 0 {
56715		return invalidParams
56716	}
56717	return nil
56718}
56719
56720// SetCreationTimeAfter sets the CreationTimeAfter field's value.
56721func (s *ListModelPackageGroupsInput) SetCreationTimeAfter(v time.Time) *ListModelPackageGroupsInput {
56722	s.CreationTimeAfter = &v
56723	return s
56724}
56725
56726// SetCreationTimeBefore sets the CreationTimeBefore field's value.
56727func (s *ListModelPackageGroupsInput) SetCreationTimeBefore(v time.Time) *ListModelPackageGroupsInput {
56728	s.CreationTimeBefore = &v
56729	return s
56730}
56731
56732// SetMaxResults sets the MaxResults field's value.
56733func (s *ListModelPackageGroupsInput) SetMaxResults(v int64) *ListModelPackageGroupsInput {
56734	s.MaxResults = &v
56735	return s
56736}
56737
56738// SetNameContains sets the NameContains field's value.
56739func (s *ListModelPackageGroupsInput) SetNameContains(v string) *ListModelPackageGroupsInput {
56740	s.NameContains = &v
56741	return s
56742}
56743
56744// SetNextToken sets the NextToken field's value.
56745func (s *ListModelPackageGroupsInput) SetNextToken(v string) *ListModelPackageGroupsInput {
56746	s.NextToken = &v
56747	return s
56748}
56749
56750// SetSortBy sets the SortBy field's value.
56751func (s *ListModelPackageGroupsInput) SetSortBy(v string) *ListModelPackageGroupsInput {
56752	s.SortBy = &v
56753	return s
56754}
56755
56756// SetSortOrder sets the SortOrder field's value.
56757func (s *ListModelPackageGroupsInput) SetSortOrder(v string) *ListModelPackageGroupsInput {
56758	s.SortOrder = &v
56759	return s
56760}
56761
56762type ListModelPackageGroupsOutput struct {
56763	_ struct{} `type:"structure"`
56764
56765	// A list of summaries of the model groups in your AWS account.
56766	//
56767	// ModelPackageGroupSummaryList is a required field
56768	ModelPackageGroupSummaryList []*ModelPackageGroupSummary `type:"list" required:"true"`
56769
56770	// If the response is truncated, SageMaker returns this token. To retrieve the
56771	// next set of model groups, use it in the subsequent request.
56772	NextToken *string `type:"string"`
56773}
56774
56775// String returns the string representation
56776func (s ListModelPackageGroupsOutput) String() string {
56777	return awsutil.Prettify(s)
56778}
56779
56780// GoString returns the string representation
56781func (s ListModelPackageGroupsOutput) GoString() string {
56782	return s.String()
56783}
56784
56785// SetModelPackageGroupSummaryList sets the ModelPackageGroupSummaryList field's value.
56786func (s *ListModelPackageGroupsOutput) SetModelPackageGroupSummaryList(v []*ModelPackageGroupSummary) *ListModelPackageGroupsOutput {
56787	s.ModelPackageGroupSummaryList = v
56788	return s
56789}
56790
56791// SetNextToken sets the NextToken field's value.
56792func (s *ListModelPackageGroupsOutput) SetNextToken(v string) *ListModelPackageGroupsOutput {
56793	s.NextToken = &v
56794	return s
56795}
56796
56797type ListModelPackagesInput struct {
56798	_ struct{} `type:"structure"`
56799
56800	// A filter that returns only model packages created after the specified time
56801	// (timestamp).
56802	CreationTimeAfter *time.Time `type:"timestamp"`
56803
56804	// A filter that returns only model packages created before the specified time
56805	// (timestamp).
56806	CreationTimeBefore *time.Time `type:"timestamp"`
56807
56808	// The maximum number of model packages to return in the response.
56809	MaxResults *int64 `min:"1" type:"integer"`
56810
56811	// A filter that returns only the model packages with the specified approval
56812	// status.
56813	ModelApprovalStatus *string `type:"string" enum:"ModelApprovalStatus"`
56814
56815	// A filter that returns only model versions that belong to the specified model
56816	// group.
56817	ModelPackageGroupName *string `min:"1" type:"string"`
56818
56819	// A filter that returns onlyl the model packages of the specified type. This
56820	// can be one of the following values.
56821	//
56822	//    * VERSIONED - List only versioned models.
56823	//
56824	//    * UNVERSIONED - List only unversioined models.
56825	//
56826	//    * BOTH - List both versioned and unversioned models.
56827	ModelPackageType *string `type:"string" enum:"ModelPackageType"`
56828
56829	// A string in the model package name. This filter returns only model packages
56830	// whose name contains the specified string.
56831	NameContains *string `type:"string"`
56832
56833	// If the response to a previous ListModelPackages request was truncated, the
56834	// response includes a NextToken. To retrieve the next set of model packages,
56835	// use the token in the next request.
56836	NextToken *string `type:"string"`
56837
56838	// The parameter by which to sort the results. The default is CreationTime.
56839	SortBy *string `type:"string" enum:"ModelPackageSortBy"`
56840
56841	// The sort order for the results. The default is Ascending.
56842	SortOrder *string `type:"string" enum:"SortOrder"`
56843}
56844
56845// String returns the string representation
56846func (s ListModelPackagesInput) String() string {
56847	return awsutil.Prettify(s)
56848}
56849
56850// GoString returns the string representation
56851func (s ListModelPackagesInput) GoString() string {
56852	return s.String()
56853}
56854
56855// Validate inspects the fields of the type to determine if they are valid.
56856func (s *ListModelPackagesInput) Validate() error {
56857	invalidParams := request.ErrInvalidParams{Context: "ListModelPackagesInput"}
56858	if s.MaxResults != nil && *s.MaxResults < 1 {
56859		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
56860	}
56861	if s.ModelPackageGroupName != nil && len(*s.ModelPackageGroupName) < 1 {
56862		invalidParams.Add(request.NewErrParamMinLen("ModelPackageGroupName", 1))
56863	}
56864
56865	if invalidParams.Len() > 0 {
56866		return invalidParams
56867	}
56868	return nil
56869}
56870
56871// SetCreationTimeAfter sets the CreationTimeAfter field's value.
56872func (s *ListModelPackagesInput) SetCreationTimeAfter(v time.Time) *ListModelPackagesInput {
56873	s.CreationTimeAfter = &v
56874	return s
56875}
56876
56877// SetCreationTimeBefore sets the CreationTimeBefore field's value.
56878func (s *ListModelPackagesInput) SetCreationTimeBefore(v time.Time) *ListModelPackagesInput {
56879	s.CreationTimeBefore = &v
56880	return s
56881}
56882
56883// SetMaxResults sets the MaxResults field's value.
56884func (s *ListModelPackagesInput) SetMaxResults(v int64) *ListModelPackagesInput {
56885	s.MaxResults = &v
56886	return s
56887}
56888
56889// SetModelApprovalStatus sets the ModelApprovalStatus field's value.
56890func (s *ListModelPackagesInput) SetModelApprovalStatus(v string) *ListModelPackagesInput {
56891	s.ModelApprovalStatus = &v
56892	return s
56893}
56894
56895// SetModelPackageGroupName sets the ModelPackageGroupName field's value.
56896func (s *ListModelPackagesInput) SetModelPackageGroupName(v string) *ListModelPackagesInput {
56897	s.ModelPackageGroupName = &v
56898	return s
56899}
56900
56901// SetModelPackageType sets the ModelPackageType field's value.
56902func (s *ListModelPackagesInput) SetModelPackageType(v string) *ListModelPackagesInput {
56903	s.ModelPackageType = &v
56904	return s
56905}
56906
56907// SetNameContains sets the NameContains field's value.
56908func (s *ListModelPackagesInput) SetNameContains(v string) *ListModelPackagesInput {
56909	s.NameContains = &v
56910	return s
56911}
56912
56913// SetNextToken sets the NextToken field's value.
56914func (s *ListModelPackagesInput) SetNextToken(v string) *ListModelPackagesInput {
56915	s.NextToken = &v
56916	return s
56917}
56918
56919// SetSortBy sets the SortBy field's value.
56920func (s *ListModelPackagesInput) SetSortBy(v string) *ListModelPackagesInput {
56921	s.SortBy = &v
56922	return s
56923}
56924
56925// SetSortOrder sets the SortOrder field's value.
56926func (s *ListModelPackagesInput) SetSortOrder(v string) *ListModelPackagesInput {
56927	s.SortOrder = &v
56928	return s
56929}
56930
56931type ListModelPackagesOutput struct {
56932	_ struct{} `type:"structure"`
56933
56934	// An array of ModelPackageSummary objects, each of which lists a model package.
56935	//
56936	// ModelPackageSummaryList is a required field
56937	ModelPackageSummaryList []*ModelPackageSummary `type:"list" required:"true"`
56938
56939	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
56940	// the next set of model packages, use it in the subsequent request.
56941	NextToken *string `type:"string"`
56942}
56943
56944// String returns the string representation
56945func (s ListModelPackagesOutput) String() string {
56946	return awsutil.Prettify(s)
56947}
56948
56949// GoString returns the string representation
56950func (s ListModelPackagesOutput) GoString() string {
56951	return s.String()
56952}
56953
56954// SetModelPackageSummaryList sets the ModelPackageSummaryList field's value.
56955func (s *ListModelPackagesOutput) SetModelPackageSummaryList(v []*ModelPackageSummary) *ListModelPackagesOutput {
56956	s.ModelPackageSummaryList = v
56957	return s
56958}
56959
56960// SetNextToken sets the NextToken field's value.
56961func (s *ListModelPackagesOutput) SetNextToken(v string) *ListModelPackagesOutput {
56962	s.NextToken = &v
56963	return s
56964}
56965
56966type ListModelQualityJobDefinitionsInput struct {
56967	_ struct{} `type:"structure"`
56968
56969	// A filter that returns only model quality monitoring job definitions created
56970	// after the specified time.
56971	CreationTimeAfter *time.Time `type:"timestamp"`
56972
56973	// A filter that returns only model quality monitoring job definitions created
56974	// before the specified time.
56975	CreationTimeBefore *time.Time `type:"timestamp"`
56976
56977	// A filter that returns only model quality monitoring job definitions that
56978	// are associated with the specified endpoint.
56979	EndpointName *string `type:"string"`
56980
56981	// The maximum number of results to return in a call to ListModelQualityJobDefinitions.
56982	MaxResults *int64 `min:"1" type:"integer"`
56983
56984	// A string in the transform job name. This filter returns only model quality
56985	// monitoring job definitions whose name contains the specified string.
56986	NameContains *string `type:"string"`
56987
56988	// If the result of the previous ListModelQualityJobDefinitions request was
56989	// truncated, the response includes a NextToken. To retrieve the next set of
56990	// model quality monitoring job definitions, use the token in the next request.
56991	NextToken *string `type:"string"`
56992
56993	// The field to sort results by. The default is CreationTime.
56994	SortBy *string `type:"string" enum:"MonitoringJobDefinitionSortKey"`
56995
56996	// The sort order for results. The default is Descending.
56997	SortOrder *string `type:"string" enum:"SortOrder"`
56998}
56999
57000// String returns the string representation
57001func (s ListModelQualityJobDefinitionsInput) String() string {
57002	return awsutil.Prettify(s)
57003}
57004
57005// GoString returns the string representation
57006func (s ListModelQualityJobDefinitionsInput) GoString() string {
57007	return s.String()
57008}
57009
57010// Validate inspects the fields of the type to determine if they are valid.
57011func (s *ListModelQualityJobDefinitionsInput) Validate() error {
57012	invalidParams := request.ErrInvalidParams{Context: "ListModelQualityJobDefinitionsInput"}
57013	if s.MaxResults != nil && *s.MaxResults < 1 {
57014		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
57015	}
57016
57017	if invalidParams.Len() > 0 {
57018		return invalidParams
57019	}
57020	return nil
57021}
57022
57023// SetCreationTimeAfter sets the CreationTimeAfter field's value.
57024func (s *ListModelQualityJobDefinitionsInput) SetCreationTimeAfter(v time.Time) *ListModelQualityJobDefinitionsInput {
57025	s.CreationTimeAfter = &v
57026	return s
57027}
57028
57029// SetCreationTimeBefore sets the CreationTimeBefore field's value.
57030func (s *ListModelQualityJobDefinitionsInput) SetCreationTimeBefore(v time.Time) *ListModelQualityJobDefinitionsInput {
57031	s.CreationTimeBefore = &v
57032	return s
57033}
57034
57035// SetEndpointName sets the EndpointName field's value.
57036func (s *ListModelQualityJobDefinitionsInput) SetEndpointName(v string) *ListModelQualityJobDefinitionsInput {
57037	s.EndpointName = &v
57038	return s
57039}
57040
57041// SetMaxResults sets the MaxResults field's value.
57042func (s *ListModelQualityJobDefinitionsInput) SetMaxResults(v int64) *ListModelQualityJobDefinitionsInput {
57043	s.MaxResults = &v
57044	return s
57045}
57046
57047// SetNameContains sets the NameContains field's value.
57048func (s *ListModelQualityJobDefinitionsInput) SetNameContains(v string) *ListModelQualityJobDefinitionsInput {
57049	s.NameContains = &v
57050	return s
57051}
57052
57053// SetNextToken sets the NextToken field's value.
57054func (s *ListModelQualityJobDefinitionsInput) SetNextToken(v string) *ListModelQualityJobDefinitionsInput {
57055	s.NextToken = &v
57056	return s
57057}
57058
57059// SetSortBy sets the SortBy field's value.
57060func (s *ListModelQualityJobDefinitionsInput) SetSortBy(v string) *ListModelQualityJobDefinitionsInput {
57061	s.SortBy = &v
57062	return s
57063}
57064
57065// SetSortOrder sets the SortOrder field's value.
57066func (s *ListModelQualityJobDefinitionsInput) SetSortOrder(v string) *ListModelQualityJobDefinitionsInput {
57067	s.SortOrder = &v
57068	return s
57069}
57070
57071type ListModelQualityJobDefinitionsOutput struct {
57072	_ struct{} `type:"structure"`
57073
57074	// A list of summaries of model quality monitoring job definitions.
57075	//
57076	// JobDefinitionSummaries is a required field
57077	JobDefinitionSummaries []*MonitoringJobDefinitionSummary `type:"list" required:"true"`
57078
57079	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
57080	// the next set of model quality monitoring job definitions, use it in the next
57081	// request.
57082	NextToken *string `type:"string"`
57083}
57084
57085// String returns the string representation
57086func (s ListModelQualityJobDefinitionsOutput) String() string {
57087	return awsutil.Prettify(s)
57088}
57089
57090// GoString returns the string representation
57091func (s ListModelQualityJobDefinitionsOutput) GoString() string {
57092	return s.String()
57093}
57094
57095// SetJobDefinitionSummaries sets the JobDefinitionSummaries field's value.
57096func (s *ListModelQualityJobDefinitionsOutput) SetJobDefinitionSummaries(v []*MonitoringJobDefinitionSummary) *ListModelQualityJobDefinitionsOutput {
57097	s.JobDefinitionSummaries = v
57098	return s
57099}
57100
57101// SetNextToken sets the NextToken field's value.
57102func (s *ListModelQualityJobDefinitionsOutput) SetNextToken(v string) *ListModelQualityJobDefinitionsOutput {
57103	s.NextToken = &v
57104	return s
57105}
57106
57107type ListModelsInput struct {
57108	_ struct{} `type:"structure"`
57109
57110	// A filter that returns only models with a creation time greater than or equal
57111	// to the specified time (timestamp).
57112	CreationTimeAfter *time.Time `type:"timestamp"`
57113
57114	// A filter that returns only models created before the specified time (timestamp).
57115	CreationTimeBefore *time.Time `type:"timestamp"`
57116
57117	// The maximum number of models to return in the response.
57118	MaxResults *int64 `min:"1" type:"integer"`
57119
57120	// A string in the training job name. This filter returns only models in the
57121	// training job whose name contains the specified string.
57122	NameContains *string `type:"string"`
57123
57124	// If the response to a previous ListModels request was truncated, the response
57125	// includes a NextToken. To retrieve the next set of models, use the token in
57126	// the next request.
57127	NextToken *string `type:"string"`
57128
57129	// Sorts the list of results. The default is CreationTime.
57130	SortBy *string `type:"string" enum:"ModelSortKey"`
57131
57132	// The sort order for results. The default is Descending.
57133	SortOrder *string `type:"string" enum:"OrderKey"`
57134}
57135
57136// String returns the string representation
57137func (s ListModelsInput) String() string {
57138	return awsutil.Prettify(s)
57139}
57140
57141// GoString returns the string representation
57142func (s ListModelsInput) GoString() string {
57143	return s.String()
57144}
57145
57146// Validate inspects the fields of the type to determine if they are valid.
57147func (s *ListModelsInput) Validate() error {
57148	invalidParams := request.ErrInvalidParams{Context: "ListModelsInput"}
57149	if s.MaxResults != nil && *s.MaxResults < 1 {
57150		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
57151	}
57152
57153	if invalidParams.Len() > 0 {
57154		return invalidParams
57155	}
57156	return nil
57157}
57158
57159// SetCreationTimeAfter sets the CreationTimeAfter field's value.
57160func (s *ListModelsInput) SetCreationTimeAfter(v time.Time) *ListModelsInput {
57161	s.CreationTimeAfter = &v
57162	return s
57163}
57164
57165// SetCreationTimeBefore sets the CreationTimeBefore field's value.
57166func (s *ListModelsInput) SetCreationTimeBefore(v time.Time) *ListModelsInput {
57167	s.CreationTimeBefore = &v
57168	return s
57169}
57170
57171// SetMaxResults sets the MaxResults field's value.
57172func (s *ListModelsInput) SetMaxResults(v int64) *ListModelsInput {
57173	s.MaxResults = &v
57174	return s
57175}
57176
57177// SetNameContains sets the NameContains field's value.
57178func (s *ListModelsInput) SetNameContains(v string) *ListModelsInput {
57179	s.NameContains = &v
57180	return s
57181}
57182
57183// SetNextToken sets the NextToken field's value.
57184func (s *ListModelsInput) SetNextToken(v string) *ListModelsInput {
57185	s.NextToken = &v
57186	return s
57187}
57188
57189// SetSortBy sets the SortBy field's value.
57190func (s *ListModelsInput) SetSortBy(v string) *ListModelsInput {
57191	s.SortBy = &v
57192	return s
57193}
57194
57195// SetSortOrder sets the SortOrder field's value.
57196func (s *ListModelsInput) SetSortOrder(v string) *ListModelsInput {
57197	s.SortOrder = &v
57198	return s
57199}
57200
57201type ListModelsOutput struct {
57202	_ struct{} `type:"structure"`
57203
57204	// An array of ModelSummary objects, each of which lists a model.
57205	//
57206	// Models is a required field
57207	Models []*ModelSummary `type:"list" required:"true"`
57208
57209	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
57210	// the next set of models, use it in the subsequent request.
57211	NextToken *string `type:"string"`
57212}
57213
57214// String returns the string representation
57215func (s ListModelsOutput) String() string {
57216	return awsutil.Prettify(s)
57217}
57218
57219// GoString returns the string representation
57220func (s ListModelsOutput) GoString() string {
57221	return s.String()
57222}
57223
57224// SetModels sets the Models field's value.
57225func (s *ListModelsOutput) SetModels(v []*ModelSummary) *ListModelsOutput {
57226	s.Models = v
57227	return s
57228}
57229
57230// SetNextToken sets the NextToken field's value.
57231func (s *ListModelsOutput) SetNextToken(v string) *ListModelsOutput {
57232	s.NextToken = &v
57233	return s
57234}
57235
57236type ListMonitoringExecutionsInput struct {
57237	_ struct{} `type:"structure"`
57238
57239	// A filter that returns only jobs created after a specified time.
57240	CreationTimeAfter *time.Time `type:"timestamp"`
57241
57242	// A filter that returns only jobs created before a specified time.
57243	CreationTimeBefore *time.Time `type:"timestamp"`
57244
57245	// Name of a specific endpoint to fetch jobs for.
57246	EndpointName *string `type:"string"`
57247
57248	// A filter that returns only jobs modified before a specified time.
57249	LastModifiedTimeAfter *time.Time `type:"timestamp"`
57250
57251	// A filter that returns only jobs modified after a specified time.
57252	LastModifiedTimeBefore *time.Time `type:"timestamp"`
57253
57254	// The maximum number of jobs to return in the response. The default value is
57255	// 10.
57256	MaxResults *int64 `min:"1" type:"integer"`
57257
57258	// Gets a list of the monitoring job runs of the specified monitoring job definitions.
57259	MonitoringJobDefinitionName *string `min:"1" type:"string"`
57260
57261	// Name of a specific schedule to fetch jobs for.
57262	MonitoringScheduleName *string `min:"1" type:"string"`
57263
57264	// A filter that returns only the monitoring job runs of the specified monitoring
57265	// type.
57266	MonitoringTypeEquals *string `type:"string" enum:"MonitoringType"`
57267
57268	// The token returned if the response is truncated. To retrieve the next set
57269	// of job executions, use it in the next request.
57270	NextToken *string `type:"string"`
57271
57272	// Filter for jobs scheduled after a specified time.
57273	ScheduledTimeAfter *time.Time `type:"timestamp"`
57274
57275	// Filter for jobs scheduled before a specified time.
57276	ScheduledTimeBefore *time.Time `type:"timestamp"`
57277
57278	// Whether to sort results by Status, CreationTime, ScheduledTime field. The
57279	// default is CreationTime.
57280	SortBy *string `type:"string" enum:"MonitoringExecutionSortKey"`
57281
57282	// Whether to sort the results in Ascending or Descending order. The default
57283	// is Descending.
57284	SortOrder *string `type:"string" enum:"SortOrder"`
57285
57286	// A filter that retrieves only jobs with a specific status.
57287	StatusEquals *string `type:"string" enum:"ExecutionStatus"`
57288}
57289
57290// String returns the string representation
57291func (s ListMonitoringExecutionsInput) String() string {
57292	return awsutil.Prettify(s)
57293}
57294
57295// GoString returns the string representation
57296func (s ListMonitoringExecutionsInput) GoString() string {
57297	return s.String()
57298}
57299
57300// Validate inspects the fields of the type to determine if they are valid.
57301func (s *ListMonitoringExecutionsInput) Validate() error {
57302	invalidParams := request.ErrInvalidParams{Context: "ListMonitoringExecutionsInput"}
57303	if s.MaxResults != nil && *s.MaxResults < 1 {
57304		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
57305	}
57306	if s.MonitoringJobDefinitionName != nil && len(*s.MonitoringJobDefinitionName) < 1 {
57307		invalidParams.Add(request.NewErrParamMinLen("MonitoringJobDefinitionName", 1))
57308	}
57309	if s.MonitoringScheduleName != nil && len(*s.MonitoringScheduleName) < 1 {
57310		invalidParams.Add(request.NewErrParamMinLen("MonitoringScheduleName", 1))
57311	}
57312
57313	if invalidParams.Len() > 0 {
57314		return invalidParams
57315	}
57316	return nil
57317}
57318
57319// SetCreationTimeAfter sets the CreationTimeAfter field's value.
57320func (s *ListMonitoringExecutionsInput) SetCreationTimeAfter(v time.Time) *ListMonitoringExecutionsInput {
57321	s.CreationTimeAfter = &v
57322	return s
57323}
57324
57325// SetCreationTimeBefore sets the CreationTimeBefore field's value.
57326func (s *ListMonitoringExecutionsInput) SetCreationTimeBefore(v time.Time) *ListMonitoringExecutionsInput {
57327	s.CreationTimeBefore = &v
57328	return s
57329}
57330
57331// SetEndpointName sets the EndpointName field's value.
57332func (s *ListMonitoringExecutionsInput) SetEndpointName(v string) *ListMonitoringExecutionsInput {
57333	s.EndpointName = &v
57334	return s
57335}
57336
57337// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
57338func (s *ListMonitoringExecutionsInput) SetLastModifiedTimeAfter(v time.Time) *ListMonitoringExecutionsInput {
57339	s.LastModifiedTimeAfter = &v
57340	return s
57341}
57342
57343// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
57344func (s *ListMonitoringExecutionsInput) SetLastModifiedTimeBefore(v time.Time) *ListMonitoringExecutionsInput {
57345	s.LastModifiedTimeBefore = &v
57346	return s
57347}
57348
57349// SetMaxResults sets the MaxResults field's value.
57350func (s *ListMonitoringExecutionsInput) SetMaxResults(v int64) *ListMonitoringExecutionsInput {
57351	s.MaxResults = &v
57352	return s
57353}
57354
57355// SetMonitoringJobDefinitionName sets the MonitoringJobDefinitionName field's value.
57356func (s *ListMonitoringExecutionsInput) SetMonitoringJobDefinitionName(v string) *ListMonitoringExecutionsInput {
57357	s.MonitoringJobDefinitionName = &v
57358	return s
57359}
57360
57361// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
57362func (s *ListMonitoringExecutionsInput) SetMonitoringScheduleName(v string) *ListMonitoringExecutionsInput {
57363	s.MonitoringScheduleName = &v
57364	return s
57365}
57366
57367// SetMonitoringTypeEquals sets the MonitoringTypeEquals field's value.
57368func (s *ListMonitoringExecutionsInput) SetMonitoringTypeEquals(v string) *ListMonitoringExecutionsInput {
57369	s.MonitoringTypeEquals = &v
57370	return s
57371}
57372
57373// SetNextToken sets the NextToken field's value.
57374func (s *ListMonitoringExecutionsInput) SetNextToken(v string) *ListMonitoringExecutionsInput {
57375	s.NextToken = &v
57376	return s
57377}
57378
57379// SetScheduledTimeAfter sets the ScheduledTimeAfter field's value.
57380func (s *ListMonitoringExecutionsInput) SetScheduledTimeAfter(v time.Time) *ListMonitoringExecutionsInput {
57381	s.ScheduledTimeAfter = &v
57382	return s
57383}
57384
57385// SetScheduledTimeBefore sets the ScheduledTimeBefore field's value.
57386func (s *ListMonitoringExecutionsInput) SetScheduledTimeBefore(v time.Time) *ListMonitoringExecutionsInput {
57387	s.ScheduledTimeBefore = &v
57388	return s
57389}
57390
57391// SetSortBy sets the SortBy field's value.
57392func (s *ListMonitoringExecutionsInput) SetSortBy(v string) *ListMonitoringExecutionsInput {
57393	s.SortBy = &v
57394	return s
57395}
57396
57397// SetSortOrder sets the SortOrder field's value.
57398func (s *ListMonitoringExecutionsInput) SetSortOrder(v string) *ListMonitoringExecutionsInput {
57399	s.SortOrder = &v
57400	return s
57401}
57402
57403// SetStatusEquals sets the StatusEquals field's value.
57404func (s *ListMonitoringExecutionsInput) SetStatusEquals(v string) *ListMonitoringExecutionsInput {
57405	s.StatusEquals = &v
57406	return s
57407}
57408
57409type ListMonitoringExecutionsOutput struct {
57410	_ struct{} `type:"structure"`
57411
57412	// A JSON array in which each element is a summary for a monitoring execution.
57413	//
57414	// MonitoringExecutionSummaries is a required field
57415	MonitoringExecutionSummaries []*MonitoringExecutionSummary `type:"list" required:"true"`
57416
57417	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
57418	// the next set of jobs, use it in the subsequent reques
57419	NextToken *string `type:"string"`
57420}
57421
57422// String returns the string representation
57423func (s ListMonitoringExecutionsOutput) String() string {
57424	return awsutil.Prettify(s)
57425}
57426
57427// GoString returns the string representation
57428func (s ListMonitoringExecutionsOutput) GoString() string {
57429	return s.String()
57430}
57431
57432// SetMonitoringExecutionSummaries sets the MonitoringExecutionSummaries field's value.
57433func (s *ListMonitoringExecutionsOutput) SetMonitoringExecutionSummaries(v []*MonitoringExecutionSummary) *ListMonitoringExecutionsOutput {
57434	s.MonitoringExecutionSummaries = v
57435	return s
57436}
57437
57438// SetNextToken sets the NextToken field's value.
57439func (s *ListMonitoringExecutionsOutput) SetNextToken(v string) *ListMonitoringExecutionsOutput {
57440	s.NextToken = &v
57441	return s
57442}
57443
57444type ListMonitoringSchedulesInput struct {
57445	_ struct{} `type:"structure"`
57446
57447	// A filter that returns only monitoring schedules created after a specified
57448	// time.
57449	CreationTimeAfter *time.Time `type:"timestamp"`
57450
57451	// A filter that returns only monitoring schedules created before a specified
57452	// time.
57453	CreationTimeBefore *time.Time `type:"timestamp"`
57454
57455	// Name of a specific endpoint to fetch schedules for.
57456	EndpointName *string `type:"string"`
57457
57458	// A filter that returns only monitoring schedules modified after a specified
57459	// time.
57460	LastModifiedTimeAfter *time.Time `type:"timestamp"`
57461
57462	// A filter that returns only monitoring schedules modified before a specified
57463	// time.
57464	LastModifiedTimeBefore *time.Time `type:"timestamp"`
57465
57466	// The maximum number of jobs to return in the response. The default value is
57467	// 10.
57468	MaxResults *int64 `min:"1" type:"integer"`
57469
57470	// Gets a list of the monitoring schedules for the specified monitoring job
57471	// definition.
57472	MonitoringJobDefinitionName *string `min:"1" type:"string"`
57473
57474	// A filter that returns only the monitoring schedules for the specified monitoring
57475	// type.
57476	MonitoringTypeEquals *string `type:"string" enum:"MonitoringType"`
57477
57478	// Filter for monitoring schedules whose name contains a specified string.
57479	NameContains *string `type:"string"`
57480
57481	// The token returned if the response is truncated. To retrieve the next set
57482	// of job executions, use it in the next request.
57483	NextToken *string `type:"string"`
57484
57485	// Whether to sort results by Status, CreationTime, ScheduledTime field. The
57486	// default is CreationTime.
57487	SortBy *string `type:"string" enum:"MonitoringScheduleSortKey"`
57488
57489	// Whether to sort the results in Ascending or Descending order. The default
57490	// is Descending.
57491	SortOrder *string `type:"string" enum:"SortOrder"`
57492
57493	// A filter that returns only monitoring schedules modified before a specified
57494	// time.
57495	StatusEquals *string `type:"string" enum:"ScheduleStatus"`
57496}
57497
57498// String returns the string representation
57499func (s ListMonitoringSchedulesInput) String() string {
57500	return awsutil.Prettify(s)
57501}
57502
57503// GoString returns the string representation
57504func (s ListMonitoringSchedulesInput) GoString() string {
57505	return s.String()
57506}
57507
57508// Validate inspects the fields of the type to determine if they are valid.
57509func (s *ListMonitoringSchedulesInput) Validate() error {
57510	invalidParams := request.ErrInvalidParams{Context: "ListMonitoringSchedulesInput"}
57511	if s.MaxResults != nil && *s.MaxResults < 1 {
57512		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
57513	}
57514	if s.MonitoringJobDefinitionName != nil && len(*s.MonitoringJobDefinitionName) < 1 {
57515		invalidParams.Add(request.NewErrParamMinLen("MonitoringJobDefinitionName", 1))
57516	}
57517
57518	if invalidParams.Len() > 0 {
57519		return invalidParams
57520	}
57521	return nil
57522}
57523
57524// SetCreationTimeAfter sets the CreationTimeAfter field's value.
57525func (s *ListMonitoringSchedulesInput) SetCreationTimeAfter(v time.Time) *ListMonitoringSchedulesInput {
57526	s.CreationTimeAfter = &v
57527	return s
57528}
57529
57530// SetCreationTimeBefore sets the CreationTimeBefore field's value.
57531func (s *ListMonitoringSchedulesInput) SetCreationTimeBefore(v time.Time) *ListMonitoringSchedulesInput {
57532	s.CreationTimeBefore = &v
57533	return s
57534}
57535
57536// SetEndpointName sets the EndpointName field's value.
57537func (s *ListMonitoringSchedulesInput) SetEndpointName(v string) *ListMonitoringSchedulesInput {
57538	s.EndpointName = &v
57539	return s
57540}
57541
57542// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
57543func (s *ListMonitoringSchedulesInput) SetLastModifiedTimeAfter(v time.Time) *ListMonitoringSchedulesInput {
57544	s.LastModifiedTimeAfter = &v
57545	return s
57546}
57547
57548// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
57549func (s *ListMonitoringSchedulesInput) SetLastModifiedTimeBefore(v time.Time) *ListMonitoringSchedulesInput {
57550	s.LastModifiedTimeBefore = &v
57551	return s
57552}
57553
57554// SetMaxResults sets the MaxResults field's value.
57555func (s *ListMonitoringSchedulesInput) SetMaxResults(v int64) *ListMonitoringSchedulesInput {
57556	s.MaxResults = &v
57557	return s
57558}
57559
57560// SetMonitoringJobDefinitionName sets the MonitoringJobDefinitionName field's value.
57561func (s *ListMonitoringSchedulesInput) SetMonitoringJobDefinitionName(v string) *ListMonitoringSchedulesInput {
57562	s.MonitoringJobDefinitionName = &v
57563	return s
57564}
57565
57566// SetMonitoringTypeEquals sets the MonitoringTypeEquals field's value.
57567func (s *ListMonitoringSchedulesInput) SetMonitoringTypeEquals(v string) *ListMonitoringSchedulesInput {
57568	s.MonitoringTypeEquals = &v
57569	return s
57570}
57571
57572// SetNameContains sets the NameContains field's value.
57573func (s *ListMonitoringSchedulesInput) SetNameContains(v string) *ListMonitoringSchedulesInput {
57574	s.NameContains = &v
57575	return s
57576}
57577
57578// SetNextToken sets the NextToken field's value.
57579func (s *ListMonitoringSchedulesInput) SetNextToken(v string) *ListMonitoringSchedulesInput {
57580	s.NextToken = &v
57581	return s
57582}
57583
57584// SetSortBy sets the SortBy field's value.
57585func (s *ListMonitoringSchedulesInput) SetSortBy(v string) *ListMonitoringSchedulesInput {
57586	s.SortBy = &v
57587	return s
57588}
57589
57590// SetSortOrder sets the SortOrder field's value.
57591func (s *ListMonitoringSchedulesInput) SetSortOrder(v string) *ListMonitoringSchedulesInput {
57592	s.SortOrder = &v
57593	return s
57594}
57595
57596// SetStatusEquals sets the StatusEquals field's value.
57597func (s *ListMonitoringSchedulesInput) SetStatusEquals(v string) *ListMonitoringSchedulesInput {
57598	s.StatusEquals = &v
57599	return s
57600}
57601
57602type ListMonitoringSchedulesOutput struct {
57603	_ struct{} `type:"structure"`
57604
57605	// A JSON array in which each element is a summary for a monitoring schedule.
57606	//
57607	// MonitoringScheduleSummaries is a required field
57608	MonitoringScheduleSummaries []*MonitoringScheduleSummary `type:"list" required:"true"`
57609
57610	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
57611	// the next set of jobs, use it in the subsequent request.
57612	NextToken *string `type:"string"`
57613}
57614
57615// String returns the string representation
57616func (s ListMonitoringSchedulesOutput) String() string {
57617	return awsutil.Prettify(s)
57618}
57619
57620// GoString returns the string representation
57621func (s ListMonitoringSchedulesOutput) GoString() string {
57622	return s.String()
57623}
57624
57625// SetMonitoringScheduleSummaries sets the MonitoringScheduleSummaries field's value.
57626func (s *ListMonitoringSchedulesOutput) SetMonitoringScheduleSummaries(v []*MonitoringScheduleSummary) *ListMonitoringSchedulesOutput {
57627	s.MonitoringScheduleSummaries = v
57628	return s
57629}
57630
57631// SetNextToken sets the NextToken field's value.
57632func (s *ListMonitoringSchedulesOutput) SetNextToken(v string) *ListMonitoringSchedulesOutput {
57633	s.NextToken = &v
57634	return s
57635}
57636
57637type ListNotebookInstanceLifecycleConfigsInput struct {
57638	_ struct{} `type:"structure"`
57639
57640	// A filter that returns only lifecycle configurations that were created after
57641	// the specified time (timestamp).
57642	CreationTimeAfter *time.Time `type:"timestamp"`
57643
57644	// A filter that returns only lifecycle configurations that were created before
57645	// the specified time (timestamp).
57646	CreationTimeBefore *time.Time `type:"timestamp"`
57647
57648	// A filter that returns only lifecycle configurations that were modified after
57649	// the specified time (timestamp).
57650	LastModifiedTimeAfter *time.Time `type:"timestamp"`
57651
57652	// A filter that returns only lifecycle configurations that were modified before
57653	// the specified time (timestamp).
57654	LastModifiedTimeBefore *time.Time `type:"timestamp"`
57655
57656	// The maximum number of lifecycle configurations to return in the response.
57657	MaxResults *int64 `min:"1" type:"integer"`
57658
57659	// A string in the lifecycle configuration name. This filter returns only lifecycle
57660	// configurations whose name contains the specified string.
57661	NameContains *string `type:"string"`
57662
57663	// If the result of a ListNotebookInstanceLifecycleConfigs request was truncated,
57664	// the response includes a NextToken. To get the next set of lifecycle configurations,
57665	// use the token in the next request.
57666	NextToken *string `type:"string"`
57667
57668	// Sorts the list of results. The default is CreationTime.
57669	SortBy *string `type:"string" enum:"NotebookInstanceLifecycleConfigSortKey"`
57670
57671	// The sort order for results.
57672	SortOrder *string `type:"string" enum:"NotebookInstanceLifecycleConfigSortOrder"`
57673}
57674
57675// String returns the string representation
57676func (s ListNotebookInstanceLifecycleConfigsInput) String() string {
57677	return awsutil.Prettify(s)
57678}
57679
57680// GoString returns the string representation
57681func (s ListNotebookInstanceLifecycleConfigsInput) GoString() string {
57682	return s.String()
57683}
57684
57685// Validate inspects the fields of the type to determine if they are valid.
57686func (s *ListNotebookInstanceLifecycleConfigsInput) Validate() error {
57687	invalidParams := request.ErrInvalidParams{Context: "ListNotebookInstanceLifecycleConfigsInput"}
57688	if s.MaxResults != nil && *s.MaxResults < 1 {
57689		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
57690	}
57691
57692	if invalidParams.Len() > 0 {
57693		return invalidParams
57694	}
57695	return nil
57696}
57697
57698// SetCreationTimeAfter sets the CreationTimeAfter field's value.
57699func (s *ListNotebookInstanceLifecycleConfigsInput) SetCreationTimeAfter(v time.Time) *ListNotebookInstanceLifecycleConfigsInput {
57700	s.CreationTimeAfter = &v
57701	return s
57702}
57703
57704// SetCreationTimeBefore sets the CreationTimeBefore field's value.
57705func (s *ListNotebookInstanceLifecycleConfigsInput) SetCreationTimeBefore(v time.Time) *ListNotebookInstanceLifecycleConfigsInput {
57706	s.CreationTimeBefore = &v
57707	return s
57708}
57709
57710// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
57711func (s *ListNotebookInstanceLifecycleConfigsInput) SetLastModifiedTimeAfter(v time.Time) *ListNotebookInstanceLifecycleConfigsInput {
57712	s.LastModifiedTimeAfter = &v
57713	return s
57714}
57715
57716// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
57717func (s *ListNotebookInstanceLifecycleConfigsInput) SetLastModifiedTimeBefore(v time.Time) *ListNotebookInstanceLifecycleConfigsInput {
57718	s.LastModifiedTimeBefore = &v
57719	return s
57720}
57721
57722// SetMaxResults sets the MaxResults field's value.
57723func (s *ListNotebookInstanceLifecycleConfigsInput) SetMaxResults(v int64) *ListNotebookInstanceLifecycleConfigsInput {
57724	s.MaxResults = &v
57725	return s
57726}
57727
57728// SetNameContains sets the NameContains field's value.
57729func (s *ListNotebookInstanceLifecycleConfigsInput) SetNameContains(v string) *ListNotebookInstanceLifecycleConfigsInput {
57730	s.NameContains = &v
57731	return s
57732}
57733
57734// SetNextToken sets the NextToken field's value.
57735func (s *ListNotebookInstanceLifecycleConfigsInput) SetNextToken(v string) *ListNotebookInstanceLifecycleConfigsInput {
57736	s.NextToken = &v
57737	return s
57738}
57739
57740// SetSortBy sets the SortBy field's value.
57741func (s *ListNotebookInstanceLifecycleConfigsInput) SetSortBy(v string) *ListNotebookInstanceLifecycleConfigsInput {
57742	s.SortBy = &v
57743	return s
57744}
57745
57746// SetSortOrder sets the SortOrder field's value.
57747func (s *ListNotebookInstanceLifecycleConfigsInput) SetSortOrder(v string) *ListNotebookInstanceLifecycleConfigsInput {
57748	s.SortOrder = &v
57749	return s
57750}
57751
57752type ListNotebookInstanceLifecycleConfigsOutput struct {
57753	_ struct{} `type:"structure"`
57754
57755	// If the response is truncated, Amazon SageMaker returns this token. To get
57756	// the next set of lifecycle configurations, use it in the next request.
57757	NextToken *string `type:"string"`
57758
57759	// An array of NotebookInstanceLifecycleConfiguration objects, each listing
57760	// a lifecycle configuration.
57761	NotebookInstanceLifecycleConfigs []*NotebookInstanceLifecycleConfigSummary `type:"list"`
57762}
57763
57764// String returns the string representation
57765func (s ListNotebookInstanceLifecycleConfigsOutput) String() string {
57766	return awsutil.Prettify(s)
57767}
57768
57769// GoString returns the string representation
57770func (s ListNotebookInstanceLifecycleConfigsOutput) GoString() string {
57771	return s.String()
57772}
57773
57774// SetNextToken sets the NextToken field's value.
57775func (s *ListNotebookInstanceLifecycleConfigsOutput) SetNextToken(v string) *ListNotebookInstanceLifecycleConfigsOutput {
57776	s.NextToken = &v
57777	return s
57778}
57779
57780// SetNotebookInstanceLifecycleConfigs sets the NotebookInstanceLifecycleConfigs field's value.
57781func (s *ListNotebookInstanceLifecycleConfigsOutput) SetNotebookInstanceLifecycleConfigs(v []*NotebookInstanceLifecycleConfigSummary) *ListNotebookInstanceLifecycleConfigsOutput {
57782	s.NotebookInstanceLifecycleConfigs = v
57783	return s
57784}
57785
57786type ListNotebookInstancesInput struct {
57787	_ struct{} `type:"structure"`
57788
57789	// A filter that returns only notebook instances with associated with the specified
57790	// git repository.
57791	AdditionalCodeRepositoryEquals *string `min:"1" type:"string"`
57792
57793	// A filter that returns only notebook instances that were created after the
57794	// specified time (timestamp).
57795	CreationTimeAfter *time.Time `type:"timestamp"`
57796
57797	// A filter that returns only notebook instances that were created before the
57798	// specified time (timestamp).
57799	CreationTimeBefore *time.Time `type:"timestamp"`
57800
57801	// A string in the name or URL of a Git repository associated with this notebook
57802	// instance. This filter returns only notebook instances associated with a git
57803	// repository with a name that contains the specified string.
57804	DefaultCodeRepositoryContains *string `type:"string"`
57805
57806	// A filter that returns only notebook instances that were modified after the
57807	// specified time (timestamp).
57808	LastModifiedTimeAfter *time.Time `type:"timestamp"`
57809
57810	// A filter that returns only notebook instances that were modified before the
57811	// specified time (timestamp).
57812	LastModifiedTimeBefore *time.Time `type:"timestamp"`
57813
57814	// The maximum number of notebook instances to return.
57815	MaxResults *int64 `min:"1" type:"integer"`
57816
57817	// A string in the notebook instances' name. This filter returns only notebook
57818	// instances whose name contains the specified string.
57819	NameContains *string `type:"string"`
57820
57821	// If the previous call to the ListNotebookInstances is truncated, the response
57822	// includes a NextToken. You can use this token in your subsequent ListNotebookInstances
57823	// request to fetch the next set of notebook instances.
57824	//
57825	// You might specify a filter or a sort order in your request. When response
57826	// is truncated, you must use the same values for the filer and sort order in
57827	// the next request.
57828	NextToken *string `type:"string"`
57829
57830	// A string in the name of a notebook instances lifecycle configuration associated
57831	// with this notebook instance. This filter returns only notebook instances
57832	// associated with a lifecycle configuration with a name that contains the specified
57833	// string.
57834	NotebookInstanceLifecycleConfigNameContains *string `type:"string"`
57835
57836	// The field to sort results by. The default is Name.
57837	SortBy *string `type:"string" enum:"NotebookInstanceSortKey"`
57838
57839	// The sort order for results.
57840	SortOrder *string `type:"string" enum:"NotebookInstanceSortOrder"`
57841
57842	// A filter that returns only notebook instances with the specified status.
57843	StatusEquals *string `type:"string" enum:"NotebookInstanceStatus"`
57844}
57845
57846// String returns the string representation
57847func (s ListNotebookInstancesInput) String() string {
57848	return awsutil.Prettify(s)
57849}
57850
57851// GoString returns the string representation
57852func (s ListNotebookInstancesInput) GoString() string {
57853	return s.String()
57854}
57855
57856// Validate inspects the fields of the type to determine if they are valid.
57857func (s *ListNotebookInstancesInput) Validate() error {
57858	invalidParams := request.ErrInvalidParams{Context: "ListNotebookInstancesInput"}
57859	if s.AdditionalCodeRepositoryEquals != nil && len(*s.AdditionalCodeRepositoryEquals) < 1 {
57860		invalidParams.Add(request.NewErrParamMinLen("AdditionalCodeRepositoryEquals", 1))
57861	}
57862	if s.MaxResults != nil && *s.MaxResults < 1 {
57863		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
57864	}
57865
57866	if invalidParams.Len() > 0 {
57867		return invalidParams
57868	}
57869	return nil
57870}
57871
57872// SetAdditionalCodeRepositoryEquals sets the AdditionalCodeRepositoryEquals field's value.
57873func (s *ListNotebookInstancesInput) SetAdditionalCodeRepositoryEquals(v string) *ListNotebookInstancesInput {
57874	s.AdditionalCodeRepositoryEquals = &v
57875	return s
57876}
57877
57878// SetCreationTimeAfter sets the CreationTimeAfter field's value.
57879func (s *ListNotebookInstancesInput) SetCreationTimeAfter(v time.Time) *ListNotebookInstancesInput {
57880	s.CreationTimeAfter = &v
57881	return s
57882}
57883
57884// SetCreationTimeBefore sets the CreationTimeBefore field's value.
57885func (s *ListNotebookInstancesInput) SetCreationTimeBefore(v time.Time) *ListNotebookInstancesInput {
57886	s.CreationTimeBefore = &v
57887	return s
57888}
57889
57890// SetDefaultCodeRepositoryContains sets the DefaultCodeRepositoryContains field's value.
57891func (s *ListNotebookInstancesInput) SetDefaultCodeRepositoryContains(v string) *ListNotebookInstancesInput {
57892	s.DefaultCodeRepositoryContains = &v
57893	return s
57894}
57895
57896// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
57897func (s *ListNotebookInstancesInput) SetLastModifiedTimeAfter(v time.Time) *ListNotebookInstancesInput {
57898	s.LastModifiedTimeAfter = &v
57899	return s
57900}
57901
57902// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
57903func (s *ListNotebookInstancesInput) SetLastModifiedTimeBefore(v time.Time) *ListNotebookInstancesInput {
57904	s.LastModifiedTimeBefore = &v
57905	return s
57906}
57907
57908// SetMaxResults sets the MaxResults field's value.
57909func (s *ListNotebookInstancesInput) SetMaxResults(v int64) *ListNotebookInstancesInput {
57910	s.MaxResults = &v
57911	return s
57912}
57913
57914// SetNameContains sets the NameContains field's value.
57915func (s *ListNotebookInstancesInput) SetNameContains(v string) *ListNotebookInstancesInput {
57916	s.NameContains = &v
57917	return s
57918}
57919
57920// SetNextToken sets the NextToken field's value.
57921func (s *ListNotebookInstancesInput) SetNextToken(v string) *ListNotebookInstancesInput {
57922	s.NextToken = &v
57923	return s
57924}
57925
57926// SetNotebookInstanceLifecycleConfigNameContains sets the NotebookInstanceLifecycleConfigNameContains field's value.
57927func (s *ListNotebookInstancesInput) SetNotebookInstanceLifecycleConfigNameContains(v string) *ListNotebookInstancesInput {
57928	s.NotebookInstanceLifecycleConfigNameContains = &v
57929	return s
57930}
57931
57932// SetSortBy sets the SortBy field's value.
57933func (s *ListNotebookInstancesInput) SetSortBy(v string) *ListNotebookInstancesInput {
57934	s.SortBy = &v
57935	return s
57936}
57937
57938// SetSortOrder sets the SortOrder field's value.
57939func (s *ListNotebookInstancesInput) SetSortOrder(v string) *ListNotebookInstancesInput {
57940	s.SortOrder = &v
57941	return s
57942}
57943
57944// SetStatusEquals sets the StatusEquals field's value.
57945func (s *ListNotebookInstancesInput) SetStatusEquals(v string) *ListNotebookInstancesInput {
57946	s.StatusEquals = &v
57947	return s
57948}
57949
57950type ListNotebookInstancesOutput struct {
57951	_ struct{} `type:"structure"`
57952
57953	// If the response to the previous ListNotebookInstances request was truncated,
57954	// Amazon SageMaker returns this token. To retrieve the next set of notebook
57955	// instances, use the token in the next request.
57956	NextToken *string `type:"string"`
57957
57958	// An array of NotebookInstanceSummary objects, one for each notebook instance.
57959	NotebookInstances []*NotebookInstanceSummary `type:"list"`
57960}
57961
57962// String returns the string representation
57963func (s ListNotebookInstancesOutput) String() string {
57964	return awsutil.Prettify(s)
57965}
57966
57967// GoString returns the string representation
57968func (s ListNotebookInstancesOutput) GoString() string {
57969	return s.String()
57970}
57971
57972// SetNextToken sets the NextToken field's value.
57973func (s *ListNotebookInstancesOutput) SetNextToken(v string) *ListNotebookInstancesOutput {
57974	s.NextToken = &v
57975	return s
57976}
57977
57978// SetNotebookInstances sets the NotebookInstances field's value.
57979func (s *ListNotebookInstancesOutput) SetNotebookInstances(v []*NotebookInstanceSummary) *ListNotebookInstancesOutput {
57980	s.NotebookInstances = v
57981	return s
57982}
57983
57984type ListPipelineExecutionStepsInput struct {
57985	_ struct{} `type:"structure"`
57986
57987	// The maximum number of pipeline execution steps to return in the response.
57988	MaxResults *int64 `min:"1" type:"integer"`
57989
57990	// If the result of the previous ListPipelineExecutionSteps request was truncated,
57991	// the response includes a NextToken. To retrieve the next set of pipeline execution
57992	// steps, use the token in the next request.
57993	NextToken *string `type:"string"`
57994
57995	// The Amazon Resource Name (ARN) of the pipeline execution.
57996	PipelineExecutionArn *string `type:"string"`
57997
57998	// The field by which to sort results. The default is CreatedTime.
57999	SortOrder *string `type:"string" enum:"SortOrder"`
58000}
58001
58002// String returns the string representation
58003func (s ListPipelineExecutionStepsInput) String() string {
58004	return awsutil.Prettify(s)
58005}
58006
58007// GoString returns the string representation
58008func (s ListPipelineExecutionStepsInput) GoString() string {
58009	return s.String()
58010}
58011
58012// Validate inspects the fields of the type to determine if they are valid.
58013func (s *ListPipelineExecutionStepsInput) Validate() error {
58014	invalidParams := request.ErrInvalidParams{Context: "ListPipelineExecutionStepsInput"}
58015	if s.MaxResults != nil && *s.MaxResults < 1 {
58016		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
58017	}
58018
58019	if invalidParams.Len() > 0 {
58020		return invalidParams
58021	}
58022	return nil
58023}
58024
58025// SetMaxResults sets the MaxResults field's value.
58026func (s *ListPipelineExecutionStepsInput) SetMaxResults(v int64) *ListPipelineExecutionStepsInput {
58027	s.MaxResults = &v
58028	return s
58029}
58030
58031// SetNextToken sets the NextToken field's value.
58032func (s *ListPipelineExecutionStepsInput) SetNextToken(v string) *ListPipelineExecutionStepsInput {
58033	s.NextToken = &v
58034	return s
58035}
58036
58037// SetPipelineExecutionArn sets the PipelineExecutionArn field's value.
58038func (s *ListPipelineExecutionStepsInput) SetPipelineExecutionArn(v string) *ListPipelineExecutionStepsInput {
58039	s.PipelineExecutionArn = &v
58040	return s
58041}
58042
58043// SetSortOrder sets the SortOrder field's value.
58044func (s *ListPipelineExecutionStepsInput) SetSortOrder(v string) *ListPipelineExecutionStepsInput {
58045	s.SortOrder = &v
58046	return s
58047}
58048
58049type ListPipelineExecutionStepsOutput struct {
58050	_ struct{} `type:"structure"`
58051
58052	// If the result of the previous ListPipelineExecutionSteps request was truncated,
58053	// the response includes a NextToken. To retrieve the next set of pipeline execution
58054	// steps, use the token in the next request.
58055	NextToken *string `type:"string"`
58056
58057	// A list of PipeLineExecutionStep objects. Each PipeLineExecutionStep consists
58058	// of StepName, StartTime, EndTime, StepStatus, and Metadata. Metadata is an
58059	// object with properties for each job that contains relevant information about
58060	// the job created by the step.
58061	PipelineExecutionSteps []*PipelineExecutionStep `type:"list"`
58062}
58063
58064// String returns the string representation
58065func (s ListPipelineExecutionStepsOutput) String() string {
58066	return awsutil.Prettify(s)
58067}
58068
58069// GoString returns the string representation
58070func (s ListPipelineExecutionStepsOutput) GoString() string {
58071	return s.String()
58072}
58073
58074// SetNextToken sets the NextToken field's value.
58075func (s *ListPipelineExecutionStepsOutput) SetNextToken(v string) *ListPipelineExecutionStepsOutput {
58076	s.NextToken = &v
58077	return s
58078}
58079
58080// SetPipelineExecutionSteps sets the PipelineExecutionSteps field's value.
58081func (s *ListPipelineExecutionStepsOutput) SetPipelineExecutionSteps(v []*PipelineExecutionStep) *ListPipelineExecutionStepsOutput {
58082	s.PipelineExecutionSteps = v
58083	return s
58084}
58085
58086type ListPipelineExecutionsInput struct {
58087	_ struct{} `type:"structure"`
58088
58089	// A filter that returns the pipeline executions that were created after a specified
58090	// time.
58091	CreatedAfter *time.Time `type:"timestamp"`
58092
58093	// A filter that returns the pipeline executions that were created before a
58094	// specified time.
58095	CreatedBefore *time.Time `type:"timestamp"`
58096
58097	// The maximum number of pipeline executions to return in the response.
58098	MaxResults *int64 `min:"1" type:"integer"`
58099
58100	// If the result of the previous ListPipelineExecutions request was truncated,
58101	// the response includes a NextToken. To retrieve the next set of pipeline executions,
58102	// use the token in the next request.
58103	NextToken *string `type:"string"`
58104
58105	// The name of the pipeline.
58106	//
58107	// PipelineName is a required field
58108	PipelineName *string `min:"1" type:"string" required:"true"`
58109
58110	// The field by which to sort results. The default is CreatedTime.
58111	SortBy *string `type:"string" enum:"SortPipelineExecutionsBy"`
58112
58113	// The sort order for results.
58114	SortOrder *string `type:"string" enum:"SortOrder"`
58115}
58116
58117// String returns the string representation
58118func (s ListPipelineExecutionsInput) String() string {
58119	return awsutil.Prettify(s)
58120}
58121
58122// GoString returns the string representation
58123func (s ListPipelineExecutionsInput) GoString() string {
58124	return s.String()
58125}
58126
58127// Validate inspects the fields of the type to determine if they are valid.
58128func (s *ListPipelineExecutionsInput) Validate() error {
58129	invalidParams := request.ErrInvalidParams{Context: "ListPipelineExecutionsInput"}
58130	if s.MaxResults != nil && *s.MaxResults < 1 {
58131		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
58132	}
58133	if s.PipelineName == nil {
58134		invalidParams.Add(request.NewErrParamRequired("PipelineName"))
58135	}
58136	if s.PipelineName != nil && len(*s.PipelineName) < 1 {
58137		invalidParams.Add(request.NewErrParamMinLen("PipelineName", 1))
58138	}
58139
58140	if invalidParams.Len() > 0 {
58141		return invalidParams
58142	}
58143	return nil
58144}
58145
58146// SetCreatedAfter sets the CreatedAfter field's value.
58147func (s *ListPipelineExecutionsInput) SetCreatedAfter(v time.Time) *ListPipelineExecutionsInput {
58148	s.CreatedAfter = &v
58149	return s
58150}
58151
58152// SetCreatedBefore sets the CreatedBefore field's value.
58153func (s *ListPipelineExecutionsInput) SetCreatedBefore(v time.Time) *ListPipelineExecutionsInput {
58154	s.CreatedBefore = &v
58155	return s
58156}
58157
58158// SetMaxResults sets the MaxResults field's value.
58159func (s *ListPipelineExecutionsInput) SetMaxResults(v int64) *ListPipelineExecutionsInput {
58160	s.MaxResults = &v
58161	return s
58162}
58163
58164// SetNextToken sets the NextToken field's value.
58165func (s *ListPipelineExecutionsInput) SetNextToken(v string) *ListPipelineExecutionsInput {
58166	s.NextToken = &v
58167	return s
58168}
58169
58170// SetPipelineName sets the PipelineName field's value.
58171func (s *ListPipelineExecutionsInput) SetPipelineName(v string) *ListPipelineExecutionsInput {
58172	s.PipelineName = &v
58173	return s
58174}
58175
58176// SetSortBy sets the SortBy field's value.
58177func (s *ListPipelineExecutionsInput) SetSortBy(v string) *ListPipelineExecutionsInput {
58178	s.SortBy = &v
58179	return s
58180}
58181
58182// SetSortOrder sets the SortOrder field's value.
58183func (s *ListPipelineExecutionsInput) SetSortOrder(v string) *ListPipelineExecutionsInput {
58184	s.SortOrder = &v
58185	return s
58186}
58187
58188type ListPipelineExecutionsOutput struct {
58189	_ struct{} `type:"structure"`
58190
58191	// If the result of the previous ListPipelineExecutions request was truncated,
58192	// the response includes a NextToken. To retrieve the next set of pipeline executions,
58193	// use the token in the next request.
58194	NextToken *string `type:"string"`
58195
58196	// Contains a sorted list of pipeline execution summary objects matching the
58197	// specified filters. Each run summary includes the Amazon Resource Name (ARN)
58198	// of the pipeline execution, the run date, and the status. This list can be
58199	// empty.
58200	PipelineExecutionSummaries []*PipelineExecutionSummary `type:"list"`
58201}
58202
58203// String returns the string representation
58204func (s ListPipelineExecutionsOutput) String() string {
58205	return awsutil.Prettify(s)
58206}
58207
58208// GoString returns the string representation
58209func (s ListPipelineExecutionsOutput) GoString() string {
58210	return s.String()
58211}
58212
58213// SetNextToken sets the NextToken field's value.
58214func (s *ListPipelineExecutionsOutput) SetNextToken(v string) *ListPipelineExecutionsOutput {
58215	s.NextToken = &v
58216	return s
58217}
58218
58219// SetPipelineExecutionSummaries sets the PipelineExecutionSummaries field's value.
58220func (s *ListPipelineExecutionsOutput) SetPipelineExecutionSummaries(v []*PipelineExecutionSummary) *ListPipelineExecutionsOutput {
58221	s.PipelineExecutionSummaries = v
58222	return s
58223}
58224
58225type ListPipelineParametersForExecutionInput struct {
58226	_ struct{} `type:"structure"`
58227
58228	// The maximum number of parameters to return in the response.
58229	MaxResults *int64 `min:"1" type:"integer"`
58230
58231	// If the result of the previous ListPipelineParametersForExecution request
58232	// was truncated, the response includes a NextToken. To retrieve the next set
58233	// of parameters, use the token in the next request.
58234	NextToken *string `type:"string"`
58235
58236	// The Amazon Resource Name (ARN) of the pipeline execution.
58237	//
58238	// PipelineExecutionArn is a required field
58239	PipelineExecutionArn *string `type:"string" required:"true"`
58240}
58241
58242// String returns the string representation
58243func (s ListPipelineParametersForExecutionInput) String() string {
58244	return awsutil.Prettify(s)
58245}
58246
58247// GoString returns the string representation
58248func (s ListPipelineParametersForExecutionInput) GoString() string {
58249	return s.String()
58250}
58251
58252// Validate inspects the fields of the type to determine if they are valid.
58253func (s *ListPipelineParametersForExecutionInput) Validate() error {
58254	invalidParams := request.ErrInvalidParams{Context: "ListPipelineParametersForExecutionInput"}
58255	if s.MaxResults != nil && *s.MaxResults < 1 {
58256		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
58257	}
58258	if s.PipelineExecutionArn == nil {
58259		invalidParams.Add(request.NewErrParamRequired("PipelineExecutionArn"))
58260	}
58261
58262	if invalidParams.Len() > 0 {
58263		return invalidParams
58264	}
58265	return nil
58266}
58267
58268// SetMaxResults sets the MaxResults field's value.
58269func (s *ListPipelineParametersForExecutionInput) SetMaxResults(v int64) *ListPipelineParametersForExecutionInput {
58270	s.MaxResults = &v
58271	return s
58272}
58273
58274// SetNextToken sets the NextToken field's value.
58275func (s *ListPipelineParametersForExecutionInput) SetNextToken(v string) *ListPipelineParametersForExecutionInput {
58276	s.NextToken = &v
58277	return s
58278}
58279
58280// SetPipelineExecutionArn sets the PipelineExecutionArn field's value.
58281func (s *ListPipelineParametersForExecutionInput) SetPipelineExecutionArn(v string) *ListPipelineParametersForExecutionInput {
58282	s.PipelineExecutionArn = &v
58283	return s
58284}
58285
58286type ListPipelineParametersForExecutionOutput struct {
58287	_ struct{} `type:"structure"`
58288
58289	// If the result of the previous ListPipelineParametersForExecution request
58290	// was truncated, the response includes a NextToken. To retrieve the next set
58291	// of parameters, use the token in the next request.
58292	NextToken *string `type:"string"`
58293
58294	// Contains a list of pipeline parameters. This list can be empty.
58295	PipelineParameters []*Parameter `type:"list"`
58296}
58297
58298// String returns the string representation
58299func (s ListPipelineParametersForExecutionOutput) String() string {
58300	return awsutil.Prettify(s)
58301}
58302
58303// GoString returns the string representation
58304func (s ListPipelineParametersForExecutionOutput) GoString() string {
58305	return s.String()
58306}
58307
58308// SetNextToken sets the NextToken field's value.
58309func (s *ListPipelineParametersForExecutionOutput) SetNextToken(v string) *ListPipelineParametersForExecutionOutput {
58310	s.NextToken = &v
58311	return s
58312}
58313
58314// SetPipelineParameters sets the PipelineParameters field's value.
58315func (s *ListPipelineParametersForExecutionOutput) SetPipelineParameters(v []*Parameter) *ListPipelineParametersForExecutionOutput {
58316	s.PipelineParameters = v
58317	return s
58318}
58319
58320type ListPipelinesInput struct {
58321	_ struct{} `type:"structure"`
58322
58323	// A filter that returns the pipelines that were created after a specified time.
58324	CreatedAfter *time.Time `type:"timestamp"`
58325
58326	// A filter that returns the pipelines that were created before a specified
58327	// time.
58328	CreatedBefore *time.Time `type:"timestamp"`
58329
58330	// The maximum number of pipelines to return in the response.
58331	MaxResults *int64 `min:"1" type:"integer"`
58332
58333	// If the result of the previous ListPipelines request was truncated, the response
58334	// includes a NextToken. To retrieve the next set of pipelines, use the token
58335	// in the next request.
58336	NextToken *string `type:"string"`
58337
58338	// The prefix of the pipeline name.
58339	PipelineNamePrefix *string `min:"1" type:"string"`
58340
58341	// The field by which to sort results. The default is CreatedTime.
58342	SortBy *string `type:"string" enum:"SortPipelinesBy"`
58343
58344	// The sort order for results.
58345	SortOrder *string `type:"string" enum:"SortOrder"`
58346}
58347
58348// String returns the string representation
58349func (s ListPipelinesInput) String() string {
58350	return awsutil.Prettify(s)
58351}
58352
58353// GoString returns the string representation
58354func (s ListPipelinesInput) GoString() string {
58355	return s.String()
58356}
58357
58358// Validate inspects the fields of the type to determine if they are valid.
58359func (s *ListPipelinesInput) Validate() error {
58360	invalidParams := request.ErrInvalidParams{Context: "ListPipelinesInput"}
58361	if s.MaxResults != nil && *s.MaxResults < 1 {
58362		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
58363	}
58364	if s.PipelineNamePrefix != nil && len(*s.PipelineNamePrefix) < 1 {
58365		invalidParams.Add(request.NewErrParamMinLen("PipelineNamePrefix", 1))
58366	}
58367
58368	if invalidParams.Len() > 0 {
58369		return invalidParams
58370	}
58371	return nil
58372}
58373
58374// SetCreatedAfter sets the CreatedAfter field's value.
58375func (s *ListPipelinesInput) SetCreatedAfter(v time.Time) *ListPipelinesInput {
58376	s.CreatedAfter = &v
58377	return s
58378}
58379
58380// SetCreatedBefore sets the CreatedBefore field's value.
58381func (s *ListPipelinesInput) SetCreatedBefore(v time.Time) *ListPipelinesInput {
58382	s.CreatedBefore = &v
58383	return s
58384}
58385
58386// SetMaxResults sets the MaxResults field's value.
58387func (s *ListPipelinesInput) SetMaxResults(v int64) *ListPipelinesInput {
58388	s.MaxResults = &v
58389	return s
58390}
58391
58392// SetNextToken sets the NextToken field's value.
58393func (s *ListPipelinesInput) SetNextToken(v string) *ListPipelinesInput {
58394	s.NextToken = &v
58395	return s
58396}
58397
58398// SetPipelineNamePrefix sets the PipelineNamePrefix field's value.
58399func (s *ListPipelinesInput) SetPipelineNamePrefix(v string) *ListPipelinesInput {
58400	s.PipelineNamePrefix = &v
58401	return s
58402}
58403
58404// SetSortBy sets the SortBy field's value.
58405func (s *ListPipelinesInput) SetSortBy(v string) *ListPipelinesInput {
58406	s.SortBy = &v
58407	return s
58408}
58409
58410// SetSortOrder sets the SortOrder field's value.
58411func (s *ListPipelinesInput) SetSortOrder(v string) *ListPipelinesInput {
58412	s.SortOrder = &v
58413	return s
58414}
58415
58416type ListPipelinesOutput struct {
58417	_ struct{} `type:"structure"`
58418
58419	// If the result of the previous ListPipelines request was truncated, the response
58420	// includes a NextToken. To retrieve the next set of pipelines, use the token
58421	// in the next request.
58422	NextToken *string `type:"string"`
58423
58424	// Contains a sorted list of PipelineSummary objects matching the specified
58425	// filters. Each PipelineSummary consists of PipelineArn, PipelineName, ExperimentName,
58426	// PipelineDescription, CreationTime, LastModifiedTime, LastRunTime, and RoleArn.
58427	// This list can be empty.
58428	PipelineSummaries []*PipelineSummary `type:"list"`
58429}
58430
58431// String returns the string representation
58432func (s ListPipelinesOutput) String() string {
58433	return awsutil.Prettify(s)
58434}
58435
58436// GoString returns the string representation
58437func (s ListPipelinesOutput) GoString() string {
58438	return s.String()
58439}
58440
58441// SetNextToken sets the NextToken field's value.
58442func (s *ListPipelinesOutput) SetNextToken(v string) *ListPipelinesOutput {
58443	s.NextToken = &v
58444	return s
58445}
58446
58447// SetPipelineSummaries sets the PipelineSummaries field's value.
58448func (s *ListPipelinesOutput) SetPipelineSummaries(v []*PipelineSummary) *ListPipelinesOutput {
58449	s.PipelineSummaries = v
58450	return s
58451}
58452
58453type ListProcessingJobsInput struct {
58454	_ struct{} `type:"structure"`
58455
58456	// A filter that returns only processing jobs created after the specified time.
58457	CreationTimeAfter *time.Time `type:"timestamp"`
58458
58459	// A filter that returns only processing jobs created after the specified time.
58460	CreationTimeBefore *time.Time `type:"timestamp"`
58461
58462	// A filter that returns only processing jobs modified after the specified time.
58463	LastModifiedTimeAfter *time.Time `type:"timestamp"`
58464
58465	// A filter that returns only processing jobs modified before the specified
58466	// time.
58467	LastModifiedTimeBefore *time.Time `type:"timestamp"`
58468
58469	// The maximum number of processing jobs to return in the response.
58470	MaxResults *int64 `min:"1" type:"integer"`
58471
58472	// A string in the processing job name. This filter returns only processing
58473	// jobs whose name contains the specified string.
58474	NameContains *string `type:"string"`
58475
58476	// If the result of the previous ListProcessingJobs request was truncated, the
58477	// response includes a NextToken. To retrieve the next set of processing jobs,
58478	// use the token in the next request.
58479	NextToken *string `type:"string"`
58480
58481	// The field to sort results by. The default is CreationTime.
58482	SortBy *string `type:"string" enum:"SortBy"`
58483
58484	// The sort order for results. The default is Ascending.
58485	SortOrder *string `type:"string" enum:"SortOrder"`
58486
58487	// A filter that retrieves only processing jobs with a specific status.
58488	StatusEquals *string `type:"string" enum:"ProcessingJobStatus"`
58489}
58490
58491// String returns the string representation
58492func (s ListProcessingJobsInput) String() string {
58493	return awsutil.Prettify(s)
58494}
58495
58496// GoString returns the string representation
58497func (s ListProcessingJobsInput) GoString() string {
58498	return s.String()
58499}
58500
58501// Validate inspects the fields of the type to determine if they are valid.
58502func (s *ListProcessingJobsInput) Validate() error {
58503	invalidParams := request.ErrInvalidParams{Context: "ListProcessingJobsInput"}
58504	if s.MaxResults != nil && *s.MaxResults < 1 {
58505		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
58506	}
58507
58508	if invalidParams.Len() > 0 {
58509		return invalidParams
58510	}
58511	return nil
58512}
58513
58514// SetCreationTimeAfter sets the CreationTimeAfter field's value.
58515func (s *ListProcessingJobsInput) SetCreationTimeAfter(v time.Time) *ListProcessingJobsInput {
58516	s.CreationTimeAfter = &v
58517	return s
58518}
58519
58520// SetCreationTimeBefore sets the CreationTimeBefore field's value.
58521func (s *ListProcessingJobsInput) SetCreationTimeBefore(v time.Time) *ListProcessingJobsInput {
58522	s.CreationTimeBefore = &v
58523	return s
58524}
58525
58526// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
58527func (s *ListProcessingJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListProcessingJobsInput {
58528	s.LastModifiedTimeAfter = &v
58529	return s
58530}
58531
58532// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
58533func (s *ListProcessingJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListProcessingJobsInput {
58534	s.LastModifiedTimeBefore = &v
58535	return s
58536}
58537
58538// SetMaxResults sets the MaxResults field's value.
58539func (s *ListProcessingJobsInput) SetMaxResults(v int64) *ListProcessingJobsInput {
58540	s.MaxResults = &v
58541	return s
58542}
58543
58544// SetNameContains sets the NameContains field's value.
58545func (s *ListProcessingJobsInput) SetNameContains(v string) *ListProcessingJobsInput {
58546	s.NameContains = &v
58547	return s
58548}
58549
58550// SetNextToken sets the NextToken field's value.
58551func (s *ListProcessingJobsInput) SetNextToken(v string) *ListProcessingJobsInput {
58552	s.NextToken = &v
58553	return s
58554}
58555
58556// SetSortBy sets the SortBy field's value.
58557func (s *ListProcessingJobsInput) SetSortBy(v string) *ListProcessingJobsInput {
58558	s.SortBy = &v
58559	return s
58560}
58561
58562// SetSortOrder sets the SortOrder field's value.
58563func (s *ListProcessingJobsInput) SetSortOrder(v string) *ListProcessingJobsInput {
58564	s.SortOrder = &v
58565	return s
58566}
58567
58568// SetStatusEquals sets the StatusEquals field's value.
58569func (s *ListProcessingJobsInput) SetStatusEquals(v string) *ListProcessingJobsInput {
58570	s.StatusEquals = &v
58571	return s
58572}
58573
58574type ListProcessingJobsOutput struct {
58575	_ struct{} `type:"structure"`
58576
58577	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
58578	// the next set of processing jobs, use it in the subsequent request.
58579	NextToken *string `type:"string"`
58580
58581	// An array of ProcessingJobSummary objects, each listing a processing job.
58582	//
58583	// ProcessingJobSummaries is a required field
58584	ProcessingJobSummaries []*ProcessingJobSummary `type:"list" required:"true"`
58585}
58586
58587// String returns the string representation
58588func (s ListProcessingJobsOutput) String() string {
58589	return awsutil.Prettify(s)
58590}
58591
58592// GoString returns the string representation
58593func (s ListProcessingJobsOutput) GoString() string {
58594	return s.String()
58595}
58596
58597// SetNextToken sets the NextToken field's value.
58598func (s *ListProcessingJobsOutput) SetNextToken(v string) *ListProcessingJobsOutput {
58599	s.NextToken = &v
58600	return s
58601}
58602
58603// SetProcessingJobSummaries sets the ProcessingJobSummaries field's value.
58604func (s *ListProcessingJobsOutput) SetProcessingJobSummaries(v []*ProcessingJobSummary) *ListProcessingJobsOutput {
58605	s.ProcessingJobSummaries = v
58606	return s
58607}
58608
58609type ListProjectsInput struct {
58610	_ struct{} `type:"structure"`
58611
58612	// A filter that returns the projects that were created after a specified time.
58613	CreationTimeAfter *time.Time `type:"timestamp"`
58614
58615	// A filter that returns the projects that were created before a specified time.
58616	CreationTimeBefore *time.Time `type:"timestamp"`
58617
58618	// The maximum number of projects to return in the response.
58619	MaxResults *int64 `min:"1" type:"integer"`
58620
58621	// A filter that returns the projects whose name contains a specified string.
58622	NameContains *string `min:"1" type:"string"`
58623
58624	// If the result of the previous ListProjects request was truncated, the response
58625	// includes a NextToken. To retrieve the next set of projects, use the token
58626	// in the next request.
58627	NextToken *string `type:"string"`
58628
58629	// The field by which to sort results. The default is CreationTime.
58630	SortBy *string `type:"string" enum:"ProjectSortBy"`
58631
58632	// The sort order for results. The default is Ascending.
58633	SortOrder *string `type:"string" enum:"ProjectSortOrder"`
58634}
58635
58636// String returns the string representation
58637func (s ListProjectsInput) String() string {
58638	return awsutil.Prettify(s)
58639}
58640
58641// GoString returns the string representation
58642func (s ListProjectsInput) GoString() string {
58643	return s.String()
58644}
58645
58646// Validate inspects the fields of the type to determine if they are valid.
58647func (s *ListProjectsInput) Validate() error {
58648	invalidParams := request.ErrInvalidParams{Context: "ListProjectsInput"}
58649	if s.MaxResults != nil && *s.MaxResults < 1 {
58650		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
58651	}
58652	if s.NameContains != nil && len(*s.NameContains) < 1 {
58653		invalidParams.Add(request.NewErrParamMinLen("NameContains", 1))
58654	}
58655
58656	if invalidParams.Len() > 0 {
58657		return invalidParams
58658	}
58659	return nil
58660}
58661
58662// SetCreationTimeAfter sets the CreationTimeAfter field's value.
58663func (s *ListProjectsInput) SetCreationTimeAfter(v time.Time) *ListProjectsInput {
58664	s.CreationTimeAfter = &v
58665	return s
58666}
58667
58668// SetCreationTimeBefore sets the CreationTimeBefore field's value.
58669func (s *ListProjectsInput) SetCreationTimeBefore(v time.Time) *ListProjectsInput {
58670	s.CreationTimeBefore = &v
58671	return s
58672}
58673
58674// SetMaxResults sets the MaxResults field's value.
58675func (s *ListProjectsInput) SetMaxResults(v int64) *ListProjectsInput {
58676	s.MaxResults = &v
58677	return s
58678}
58679
58680// SetNameContains sets the NameContains field's value.
58681func (s *ListProjectsInput) SetNameContains(v string) *ListProjectsInput {
58682	s.NameContains = &v
58683	return s
58684}
58685
58686// SetNextToken sets the NextToken field's value.
58687func (s *ListProjectsInput) SetNextToken(v string) *ListProjectsInput {
58688	s.NextToken = &v
58689	return s
58690}
58691
58692// SetSortBy sets the SortBy field's value.
58693func (s *ListProjectsInput) SetSortBy(v string) *ListProjectsInput {
58694	s.SortBy = &v
58695	return s
58696}
58697
58698// SetSortOrder sets the SortOrder field's value.
58699func (s *ListProjectsInput) SetSortOrder(v string) *ListProjectsInput {
58700	s.SortOrder = &v
58701	return s
58702}
58703
58704type ListProjectsOutput struct {
58705	_ struct{} `type:"structure"`
58706
58707	// If the result of the previous ListCompilationJobs request was truncated,
58708	// the response includes a NextToken. To retrieve the next set of model compilation
58709	// jobs, use the token in the next request.
58710	NextToken *string `type:"string"`
58711
58712	// A list of summaries of projects.
58713	//
58714	// ProjectSummaryList is a required field
58715	ProjectSummaryList []*ProjectSummary `type:"list" required:"true"`
58716}
58717
58718// String returns the string representation
58719func (s ListProjectsOutput) String() string {
58720	return awsutil.Prettify(s)
58721}
58722
58723// GoString returns the string representation
58724func (s ListProjectsOutput) GoString() string {
58725	return s.String()
58726}
58727
58728// SetNextToken sets the NextToken field's value.
58729func (s *ListProjectsOutput) SetNextToken(v string) *ListProjectsOutput {
58730	s.NextToken = &v
58731	return s
58732}
58733
58734// SetProjectSummaryList sets the ProjectSummaryList field's value.
58735func (s *ListProjectsOutput) SetProjectSummaryList(v []*ProjectSummary) *ListProjectsOutput {
58736	s.ProjectSummaryList = v
58737	return s
58738}
58739
58740type ListSubscribedWorkteamsInput struct {
58741	_ struct{} `type:"structure"`
58742
58743	// The maximum number of work teams to return in each page of the response.
58744	MaxResults *int64 `min:"1" type:"integer"`
58745
58746	// A string in the work team name. This filter returns only work teams whose
58747	// name contains the specified string.
58748	NameContains *string `min:"1" type:"string"`
58749
58750	// If the result of the previous ListSubscribedWorkteams request was truncated,
58751	// the response includes a NextToken. To retrieve the next set of labeling jobs,
58752	// use the token in the next request.
58753	NextToken *string `type:"string"`
58754}
58755
58756// String returns the string representation
58757func (s ListSubscribedWorkteamsInput) String() string {
58758	return awsutil.Prettify(s)
58759}
58760
58761// GoString returns the string representation
58762func (s ListSubscribedWorkteamsInput) GoString() string {
58763	return s.String()
58764}
58765
58766// Validate inspects the fields of the type to determine if they are valid.
58767func (s *ListSubscribedWorkteamsInput) Validate() error {
58768	invalidParams := request.ErrInvalidParams{Context: "ListSubscribedWorkteamsInput"}
58769	if s.MaxResults != nil && *s.MaxResults < 1 {
58770		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
58771	}
58772	if s.NameContains != nil && len(*s.NameContains) < 1 {
58773		invalidParams.Add(request.NewErrParamMinLen("NameContains", 1))
58774	}
58775
58776	if invalidParams.Len() > 0 {
58777		return invalidParams
58778	}
58779	return nil
58780}
58781
58782// SetMaxResults sets the MaxResults field's value.
58783func (s *ListSubscribedWorkteamsInput) SetMaxResults(v int64) *ListSubscribedWorkteamsInput {
58784	s.MaxResults = &v
58785	return s
58786}
58787
58788// SetNameContains sets the NameContains field's value.
58789func (s *ListSubscribedWorkteamsInput) SetNameContains(v string) *ListSubscribedWorkteamsInput {
58790	s.NameContains = &v
58791	return s
58792}
58793
58794// SetNextToken sets the NextToken field's value.
58795func (s *ListSubscribedWorkteamsInput) SetNextToken(v string) *ListSubscribedWorkteamsInput {
58796	s.NextToken = &v
58797	return s
58798}
58799
58800type ListSubscribedWorkteamsOutput struct {
58801	_ struct{} `type:"structure"`
58802
58803	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
58804	// the next set of work teams, use it in the subsequent request.
58805	NextToken *string `type:"string"`
58806
58807	// An array of Workteam objects, each describing a work team.
58808	//
58809	// SubscribedWorkteams is a required field
58810	SubscribedWorkteams []*SubscribedWorkteam `type:"list" required:"true"`
58811}
58812
58813// String returns the string representation
58814func (s ListSubscribedWorkteamsOutput) String() string {
58815	return awsutil.Prettify(s)
58816}
58817
58818// GoString returns the string representation
58819func (s ListSubscribedWorkteamsOutput) GoString() string {
58820	return s.String()
58821}
58822
58823// SetNextToken sets the NextToken field's value.
58824func (s *ListSubscribedWorkteamsOutput) SetNextToken(v string) *ListSubscribedWorkteamsOutput {
58825	s.NextToken = &v
58826	return s
58827}
58828
58829// SetSubscribedWorkteams sets the SubscribedWorkteams field's value.
58830func (s *ListSubscribedWorkteamsOutput) SetSubscribedWorkteams(v []*SubscribedWorkteam) *ListSubscribedWorkteamsOutput {
58831	s.SubscribedWorkteams = v
58832	return s
58833}
58834
58835type ListTagsInput struct {
58836	_ struct{} `type:"structure"`
58837
58838	// Maximum number of tags to return.
58839	MaxResults *int64 `min:"50" type:"integer"`
58840
58841	// If the response to the previous ListTags request is truncated, Amazon SageMaker
58842	// returns this token. To retrieve the next set of tags, use it in the subsequent
58843	// request.
58844	NextToken *string `type:"string"`
58845
58846	// The Amazon Resource Name (ARN) of the resource whose tags you want to retrieve.
58847	//
58848	// ResourceArn is a required field
58849	ResourceArn *string `type:"string" required:"true"`
58850}
58851
58852// String returns the string representation
58853func (s ListTagsInput) String() string {
58854	return awsutil.Prettify(s)
58855}
58856
58857// GoString returns the string representation
58858func (s ListTagsInput) GoString() string {
58859	return s.String()
58860}
58861
58862// Validate inspects the fields of the type to determine if they are valid.
58863func (s *ListTagsInput) Validate() error {
58864	invalidParams := request.ErrInvalidParams{Context: "ListTagsInput"}
58865	if s.MaxResults != nil && *s.MaxResults < 50 {
58866		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 50))
58867	}
58868	if s.ResourceArn == nil {
58869		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
58870	}
58871
58872	if invalidParams.Len() > 0 {
58873		return invalidParams
58874	}
58875	return nil
58876}
58877
58878// SetMaxResults sets the MaxResults field's value.
58879func (s *ListTagsInput) SetMaxResults(v int64) *ListTagsInput {
58880	s.MaxResults = &v
58881	return s
58882}
58883
58884// SetNextToken sets the NextToken field's value.
58885func (s *ListTagsInput) SetNextToken(v string) *ListTagsInput {
58886	s.NextToken = &v
58887	return s
58888}
58889
58890// SetResourceArn sets the ResourceArn field's value.
58891func (s *ListTagsInput) SetResourceArn(v string) *ListTagsInput {
58892	s.ResourceArn = &v
58893	return s
58894}
58895
58896type ListTagsOutput struct {
58897	_ struct{} `type:"structure"`
58898
58899	// If response is truncated, Amazon SageMaker includes a token in the response.
58900	// You can use this token in your subsequent request to fetch next set of tokens.
58901	NextToken *string `type:"string"`
58902
58903	// An array of Tag objects, each with a tag key and a value.
58904	Tags []*Tag `type:"list"`
58905}
58906
58907// String returns the string representation
58908func (s ListTagsOutput) String() string {
58909	return awsutil.Prettify(s)
58910}
58911
58912// GoString returns the string representation
58913func (s ListTagsOutput) GoString() string {
58914	return s.String()
58915}
58916
58917// SetNextToken sets the NextToken field's value.
58918func (s *ListTagsOutput) SetNextToken(v string) *ListTagsOutput {
58919	s.NextToken = &v
58920	return s
58921}
58922
58923// SetTags sets the Tags field's value.
58924func (s *ListTagsOutput) SetTags(v []*Tag) *ListTagsOutput {
58925	s.Tags = v
58926	return s
58927}
58928
58929type ListTrainingJobsForHyperParameterTuningJobInput struct {
58930	_ struct{} `type:"structure"`
58931
58932	// The name of the tuning job whose training jobs you want to list.
58933	//
58934	// HyperParameterTuningJobName is a required field
58935	HyperParameterTuningJobName *string `min:"1" type:"string" required:"true"`
58936
58937	// The maximum number of training jobs to return. The default value is 10.
58938	MaxResults *int64 `min:"1" type:"integer"`
58939
58940	// If the result of the previous ListTrainingJobsForHyperParameterTuningJob
58941	// request was truncated, the response includes a NextToken. To retrieve the
58942	// next set of training jobs, use the token in the next request.
58943	NextToken *string `type:"string"`
58944
58945	// The field to sort results by. The default is Name.
58946	//
58947	// If the value of this field is FinalObjectiveMetricValue, any training jobs
58948	// that did not return an objective metric are not listed.
58949	SortBy *string `type:"string" enum:"TrainingJobSortByOptions"`
58950
58951	// The sort order for results. The default is Ascending.
58952	SortOrder *string `type:"string" enum:"SortOrder"`
58953
58954	// A filter that returns only training jobs with the specified status.
58955	StatusEquals *string `type:"string" enum:"TrainingJobStatus"`
58956}
58957
58958// String returns the string representation
58959func (s ListTrainingJobsForHyperParameterTuningJobInput) String() string {
58960	return awsutil.Prettify(s)
58961}
58962
58963// GoString returns the string representation
58964func (s ListTrainingJobsForHyperParameterTuningJobInput) GoString() string {
58965	return s.String()
58966}
58967
58968// Validate inspects the fields of the type to determine if they are valid.
58969func (s *ListTrainingJobsForHyperParameterTuningJobInput) Validate() error {
58970	invalidParams := request.ErrInvalidParams{Context: "ListTrainingJobsForHyperParameterTuningJobInput"}
58971	if s.HyperParameterTuningJobName == nil {
58972		invalidParams.Add(request.NewErrParamRequired("HyperParameterTuningJobName"))
58973	}
58974	if s.HyperParameterTuningJobName != nil && len(*s.HyperParameterTuningJobName) < 1 {
58975		invalidParams.Add(request.NewErrParamMinLen("HyperParameterTuningJobName", 1))
58976	}
58977	if s.MaxResults != nil && *s.MaxResults < 1 {
58978		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
58979	}
58980
58981	if invalidParams.Len() > 0 {
58982		return invalidParams
58983	}
58984	return nil
58985}
58986
58987// SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value.
58988func (s *ListTrainingJobsForHyperParameterTuningJobInput) SetHyperParameterTuningJobName(v string) *ListTrainingJobsForHyperParameterTuningJobInput {
58989	s.HyperParameterTuningJobName = &v
58990	return s
58991}
58992
58993// SetMaxResults sets the MaxResults field's value.
58994func (s *ListTrainingJobsForHyperParameterTuningJobInput) SetMaxResults(v int64) *ListTrainingJobsForHyperParameterTuningJobInput {
58995	s.MaxResults = &v
58996	return s
58997}
58998
58999// SetNextToken sets the NextToken field's value.
59000func (s *ListTrainingJobsForHyperParameterTuningJobInput) SetNextToken(v string) *ListTrainingJobsForHyperParameterTuningJobInput {
59001	s.NextToken = &v
59002	return s
59003}
59004
59005// SetSortBy sets the SortBy field's value.
59006func (s *ListTrainingJobsForHyperParameterTuningJobInput) SetSortBy(v string) *ListTrainingJobsForHyperParameterTuningJobInput {
59007	s.SortBy = &v
59008	return s
59009}
59010
59011// SetSortOrder sets the SortOrder field's value.
59012func (s *ListTrainingJobsForHyperParameterTuningJobInput) SetSortOrder(v string) *ListTrainingJobsForHyperParameterTuningJobInput {
59013	s.SortOrder = &v
59014	return s
59015}
59016
59017// SetStatusEquals sets the StatusEquals field's value.
59018func (s *ListTrainingJobsForHyperParameterTuningJobInput) SetStatusEquals(v string) *ListTrainingJobsForHyperParameterTuningJobInput {
59019	s.StatusEquals = &v
59020	return s
59021}
59022
59023type ListTrainingJobsForHyperParameterTuningJobOutput struct {
59024	_ struct{} `type:"structure"`
59025
59026	// If the result of this ListTrainingJobsForHyperParameterTuningJob request
59027	// was truncated, the response includes a NextToken. To retrieve the next set
59028	// of training jobs, use the token in the next request.
59029	NextToken *string `type:"string"`
59030
59031	// A list of TrainingJobSummary objects that describe the training jobs that
59032	// the ListTrainingJobsForHyperParameterTuningJob request returned.
59033	//
59034	// TrainingJobSummaries is a required field
59035	TrainingJobSummaries []*HyperParameterTrainingJobSummary `type:"list" required:"true"`
59036}
59037
59038// String returns the string representation
59039func (s ListTrainingJobsForHyperParameterTuningJobOutput) String() string {
59040	return awsutil.Prettify(s)
59041}
59042
59043// GoString returns the string representation
59044func (s ListTrainingJobsForHyperParameterTuningJobOutput) GoString() string {
59045	return s.String()
59046}
59047
59048// SetNextToken sets the NextToken field's value.
59049func (s *ListTrainingJobsForHyperParameterTuningJobOutput) SetNextToken(v string) *ListTrainingJobsForHyperParameterTuningJobOutput {
59050	s.NextToken = &v
59051	return s
59052}
59053
59054// SetTrainingJobSummaries sets the TrainingJobSummaries field's value.
59055func (s *ListTrainingJobsForHyperParameterTuningJobOutput) SetTrainingJobSummaries(v []*HyperParameterTrainingJobSummary) *ListTrainingJobsForHyperParameterTuningJobOutput {
59056	s.TrainingJobSummaries = v
59057	return s
59058}
59059
59060type ListTrainingJobsInput struct {
59061	_ struct{} `type:"structure"`
59062
59063	// A filter that returns only training jobs created after the specified time
59064	// (timestamp).
59065	CreationTimeAfter *time.Time `type:"timestamp"`
59066
59067	// A filter that returns only training jobs created before the specified time
59068	// (timestamp).
59069	CreationTimeBefore *time.Time `type:"timestamp"`
59070
59071	// A filter that returns only training jobs modified after the specified time
59072	// (timestamp).
59073	LastModifiedTimeAfter *time.Time `type:"timestamp"`
59074
59075	// A filter that returns only training jobs modified before the specified time
59076	// (timestamp).
59077	LastModifiedTimeBefore *time.Time `type:"timestamp"`
59078
59079	// The maximum number of training jobs to return in the response.
59080	MaxResults *int64 `min:"1" type:"integer"`
59081
59082	// A string in the training job name. This filter returns only training jobs
59083	// whose name contains the specified string.
59084	NameContains *string `type:"string"`
59085
59086	// If the result of the previous ListTrainingJobs request was truncated, the
59087	// response includes a NextToken. To retrieve the next set of training jobs,
59088	// use the token in the next request.
59089	NextToken *string `type:"string"`
59090
59091	// The field to sort results by. The default is CreationTime.
59092	SortBy *string `type:"string" enum:"SortBy"`
59093
59094	// The sort order for results. The default is Ascending.
59095	SortOrder *string `type:"string" enum:"SortOrder"`
59096
59097	// A filter that retrieves only training jobs with a specific status.
59098	StatusEquals *string `type:"string" enum:"TrainingJobStatus"`
59099}
59100
59101// String returns the string representation
59102func (s ListTrainingJobsInput) String() string {
59103	return awsutil.Prettify(s)
59104}
59105
59106// GoString returns the string representation
59107func (s ListTrainingJobsInput) GoString() string {
59108	return s.String()
59109}
59110
59111// Validate inspects the fields of the type to determine if they are valid.
59112func (s *ListTrainingJobsInput) Validate() error {
59113	invalidParams := request.ErrInvalidParams{Context: "ListTrainingJobsInput"}
59114	if s.MaxResults != nil && *s.MaxResults < 1 {
59115		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
59116	}
59117
59118	if invalidParams.Len() > 0 {
59119		return invalidParams
59120	}
59121	return nil
59122}
59123
59124// SetCreationTimeAfter sets the CreationTimeAfter field's value.
59125func (s *ListTrainingJobsInput) SetCreationTimeAfter(v time.Time) *ListTrainingJobsInput {
59126	s.CreationTimeAfter = &v
59127	return s
59128}
59129
59130// SetCreationTimeBefore sets the CreationTimeBefore field's value.
59131func (s *ListTrainingJobsInput) SetCreationTimeBefore(v time.Time) *ListTrainingJobsInput {
59132	s.CreationTimeBefore = &v
59133	return s
59134}
59135
59136// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
59137func (s *ListTrainingJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListTrainingJobsInput {
59138	s.LastModifiedTimeAfter = &v
59139	return s
59140}
59141
59142// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
59143func (s *ListTrainingJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListTrainingJobsInput {
59144	s.LastModifiedTimeBefore = &v
59145	return s
59146}
59147
59148// SetMaxResults sets the MaxResults field's value.
59149func (s *ListTrainingJobsInput) SetMaxResults(v int64) *ListTrainingJobsInput {
59150	s.MaxResults = &v
59151	return s
59152}
59153
59154// SetNameContains sets the NameContains field's value.
59155func (s *ListTrainingJobsInput) SetNameContains(v string) *ListTrainingJobsInput {
59156	s.NameContains = &v
59157	return s
59158}
59159
59160// SetNextToken sets the NextToken field's value.
59161func (s *ListTrainingJobsInput) SetNextToken(v string) *ListTrainingJobsInput {
59162	s.NextToken = &v
59163	return s
59164}
59165
59166// SetSortBy sets the SortBy field's value.
59167func (s *ListTrainingJobsInput) SetSortBy(v string) *ListTrainingJobsInput {
59168	s.SortBy = &v
59169	return s
59170}
59171
59172// SetSortOrder sets the SortOrder field's value.
59173func (s *ListTrainingJobsInput) SetSortOrder(v string) *ListTrainingJobsInput {
59174	s.SortOrder = &v
59175	return s
59176}
59177
59178// SetStatusEquals sets the StatusEquals field's value.
59179func (s *ListTrainingJobsInput) SetStatusEquals(v string) *ListTrainingJobsInput {
59180	s.StatusEquals = &v
59181	return s
59182}
59183
59184type ListTrainingJobsOutput struct {
59185	_ struct{} `type:"structure"`
59186
59187	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
59188	// the next set of training jobs, use it in the subsequent request.
59189	NextToken *string `type:"string"`
59190
59191	// An array of TrainingJobSummary objects, each listing a training job.
59192	//
59193	// TrainingJobSummaries is a required field
59194	TrainingJobSummaries []*TrainingJobSummary `type:"list" required:"true"`
59195}
59196
59197// String returns the string representation
59198func (s ListTrainingJobsOutput) String() string {
59199	return awsutil.Prettify(s)
59200}
59201
59202// GoString returns the string representation
59203func (s ListTrainingJobsOutput) GoString() string {
59204	return s.String()
59205}
59206
59207// SetNextToken sets the NextToken field's value.
59208func (s *ListTrainingJobsOutput) SetNextToken(v string) *ListTrainingJobsOutput {
59209	s.NextToken = &v
59210	return s
59211}
59212
59213// SetTrainingJobSummaries sets the TrainingJobSummaries field's value.
59214func (s *ListTrainingJobsOutput) SetTrainingJobSummaries(v []*TrainingJobSummary) *ListTrainingJobsOutput {
59215	s.TrainingJobSummaries = v
59216	return s
59217}
59218
59219type ListTransformJobsInput struct {
59220	_ struct{} `type:"structure"`
59221
59222	// A filter that returns only transform jobs created after the specified time.
59223	CreationTimeAfter *time.Time `type:"timestamp"`
59224
59225	// A filter that returns only transform jobs created before the specified time.
59226	CreationTimeBefore *time.Time `type:"timestamp"`
59227
59228	// A filter that returns only transform jobs modified after the specified time.
59229	LastModifiedTimeAfter *time.Time `type:"timestamp"`
59230
59231	// A filter that returns only transform jobs modified before the specified time.
59232	LastModifiedTimeBefore *time.Time `type:"timestamp"`
59233
59234	// The maximum number of transform jobs to return in the response. The default
59235	// value is 10.
59236	MaxResults *int64 `min:"1" type:"integer"`
59237
59238	// A string in the transform job name. This filter returns only transform jobs
59239	// whose name contains the specified string.
59240	NameContains *string `type:"string"`
59241
59242	// If the result of the previous ListTransformJobs request was truncated, the
59243	// response includes a NextToken. To retrieve the next set of transform jobs,
59244	// use the token in the next request.
59245	NextToken *string `type:"string"`
59246
59247	// The field to sort results by. The default is CreationTime.
59248	SortBy *string `type:"string" enum:"SortBy"`
59249
59250	// The sort order for results. The default is Descending.
59251	SortOrder *string `type:"string" enum:"SortOrder"`
59252
59253	// A filter that retrieves only transform jobs with a specific status.
59254	StatusEquals *string `type:"string" enum:"TransformJobStatus"`
59255}
59256
59257// String returns the string representation
59258func (s ListTransformJobsInput) String() string {
59259	return awsutil.Prettify(s)
59260}
59261
59262// GoString returns the string representation
59263func (s ListTransformJobsInput) GoString() string {
59264	return s.String()
59265}
59266
59267// Validate inspects the fields of the type to determine if they are valid.
59268func (s *ListTransformJobsInput) Validate() error {
59269	invalidParams := request.ErrInvalidParams{Context: "ListTransformJobsInput"}
59270	if s.MaxResults != nil && *s.MaxResults < 1 {
59271		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
59272	}
59273
59274	if invalidParams.Len() > 0 {
59275		return invalidParams
59276	}
59277	return nil
59278}
59279
59280// SetCreationTimeAfter sets the CreationTimeAfter field's value.
59281func (s *ListTransformJobsInput) SetCreationTimeAfter(v time.Time) *ListTransformJobsInput {
59282	s.CreationTimeAfter = &v
59283	return s
59284}
59285
59286// SetCreationTimeBefore sets the CreationTimeBefore field's value.
59287func (s *ListTransformJobsInput) SetCreationTimeBefore(v time.Time) *ListTransformJobsInput {
59288	s.CreationTimeBefore = &v
59289	return s
59290}
59291
59292// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
59293func (s *ListTransformJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListTransformJobsInput {
59294	s.LastModifiedTimeAfter = &v
59295	return s
59296}
59297
59298// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
59299func (s *ListTransformJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListTransformJobsInput {
59300	s.LastModifiedTimeBefore = &v
59301	return s
59302}
59303
59304// SetMaxResults sets the MaxResults field's value.
59305func (s *ListTransformJobsInput) SetMaxResults(v int64) *ListTransformJobsInput {
59306	s.MaxResults = &v
59307	return s
59308}
59309
59310// SetNameContains sets the NameContains field's value.
59311func (s *ListTransformJobsInput) SetNameContains(v string) *ListTransformJobsInput {
59312	s.NameContains = &v
59313	return s
59314}
59315
59316// SetNextToken sets the NextToken field's value.
59317func (s *ListTransformJobsInput) SetNextToken(v string) *ListTransformJobsInput {
59318	s.NextToken = &v
59319	return s
59320}
59321
59322// SetSortBy sets the SortBy field's value.
59323func (s *ListTransformJobsInput) SetSortBy(v string) *ListTransformJobsInput {
59324	s.SortBy = &v
59325	return s
59326}
59327
59328// SetSortOrder sets the SortOrder field's value.
59329func (s *ListTransformJobsInput) SetSortOrder(v string) *ListTransformJobsInput {
59330	s.SortOrder = &v
59331	return s
59332}
59333
59334// SetStatusEquals sets the StatusEquals field's value.
59335func (s *ListTransformJobsInput) SetStatusEquals(v string) *ListTransformJobsInput {
59336	s.StatusEquals = &v
59337	return s
59338}
59339
59340type ListTransformJobsOutput struct {
59341	_ struct{} `type:"structure"`
59342
59343	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
59344	// the next set of transform jobs, use it in the next request.
59345	NextToken *string `type:"string"`
59346
59347	// An array of TransformJobSummary objects.
59348	//
59349	// TransformJobSummaries is a required field
59350	TransformJobSummaries []*TransformJobSummary `type:"list" required:"true"`
59351}
59352
59353// String returns the string representation
59354func (s ListTransformJobsOutput) String() string {
59355	return awsutil.Prettify(s)
59356}
59357
59358// GoString returns the string representation
59359func (s ListTransformJobsOutput) GoString() string {
59360	return s.String()
59361}
59362
59363// SetNextToken sets the NextToken field's value.
59364func (s *ListTransformJobsOutput) SetNextToken(v string) *ListTransformJobsOutput {
59365	s.NextToken = &v
59366	return s
59367}
59368
59369// SetTransformJobSummaries sets the TransformJobSummaries field's value.
59370func (s *ListTransformJobsOutput) SetTransformJobSummaries(v []*TransformJobSummary) *ListTransformJobsOutput {
59371	s.TransformJobSummaries = v
59372	return s
59373}
59374
59375type ListTrialComponentsInput struct {
59376	_ struct{} `type:"structure"`
59377
59378	// A filter that returns only components created after the specified time.
59379	CreatedAfter *time.Time `type:"timestamp"`
59380
59381	// A filter that returns only components created before the specified time.
59382	CreatedBefore *time.Time `type:"timestamp"`
59383
59384	// A filter that returns only components that are part of the specified experiment.
59385	// If you specify ExperimentName, you can't filter by SourceArn or TrialName.
59386	ExperimentName *string `min:"1" type:"string"`
59387
59388	// The maximum number of components to return in the response. The default value
59389	// is 10.
59390	MaxResults *int64 `min:"1" type:"integer"`
59391
59392	// If the previous call to ListTrialComponents didn't return the full set of
59393	// components, the call returns a token for getting the next set of components.
59394	NextToken *string `type:"string"`
59395
59396	// The property used to sort results. The default value is CreationTime.
59397	SortBy *string `type:"string" enum:"SortTrialComponentsBy"`
59398
59399	// The sort order. The default value is Descending.
59400	SortOrder *string `type:"string" enum:"SortOrder"`
59401
59402	// A filter that returns only components that have the specified source Amazon
59403	// Resource Name (ARN). If you specify SourceArn, you can't filter by ExperimentName
59404	// or TrialName.
59405	SourceArn *string `type:"string"`
59406
59407	// A filter that returns only components that are part of the specified trial.
59408	// If you specify TrialName, you can't filter by ExperimentName or SourceArn.
59409	TrialName *string `min:"1" type:"string"`
59410}
59411
59412// String returns the string representation
59413func (s ListTrialComponentsInput) String() string {
59414	return awsutil.Prettify(s)
59415}
59416
59417// GoString returns the string representation
59418func (s ListTrialComponentsInput) GoString() string {
59419	return s.String()
59420}
59421
59422// Validate inspects the fields of the type to determine if they are valid.
59423func (s *ListTrialComponentsInput) Validate() error {
59424	invalidParams := request.ErrInvalidParams{Context: "ListTrialComponentsInput"}
59425	if s.ExperimentName != nil && len(*s.ExperimentName) < 1 {
59426		invalidParams.Add(request.NewErrParamMinLen("ExperimentName", 1))
59427	}
59428	if s.MaxResults != nil && *s.MaxResults < 1 {
59429		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
59430	}
59431	if s.TrialName != nil && len(*s.TrialName) < 1 {
59432		invalidParams.Add(request.NewErrParamMinLen("TrialName", 1))
59433	}
59434
59435	if invalidParams.Len() > 0 {
59436		return invalidParams
59437	}
59438	return nil
59439}
59440
59441// SetCreatedAfter sets the CreatedAfter field's value.
59442func (s *ListTrialComponentsInput) SetCreatedAfter(v time.Time) *ListTrialComponentsInput {
59443	s.CreatedAfter = &v
59444	return s
59445}
59446
59447// SetCreatedBefore sets the CreatedBefore field's value.
59448func (s *ListTrialComponentsInput) SetCreatedBefore(v time.Time) *ListTrialComponentsInput {
59449	s.CreatedBefore = &v
59450	return s
59451}
59452
59453// SetExperimentName sets the ExperimentName field's value.
59454func (s *ListTrialComponentsInput) SetExperimentName(v string) *ListTrialComponentsInput {
59455	s.ExperimentName = &v
59456	return s
59457}
59458
59459// SetMaxResults sets the MaxResults field's value.
59460func (s *ListTrialComponentsInput) SetMaxResults(v int64) *ListTrialComponentsInput {
59461	s.MaxResults = &v
59462	return s
59463}
59464
59465// SetNextToken sets the NextToken field's value.
59466func (s *ListTrialComponentsInput) SetNextToken(v string) *ListTrialComponentsInput {
59467	s.NextToken = &v
59468	return s
59469}
59470
59471// SetSortBy sets the SortBy field's value.
59472func (s *ListTrialComponentsInput) SetSortBy(v string) *ListTrialComponentsInput {
59473	s.SortBy = &v
59474	return s
59475}
59476
59477// SetSortOrder sets the SortOrder field's value.
59478func (s *ListTrialComponentsInput) SetSortOrder(v string) *ListTrialComponentsInput {
59479	s.SortOrder = &v
59480	return s
59481}
59482
59483// SetSourceArn sets the SourceArn field's value.
59484func (s *ListTrialComponentsInput) SetSourceArn(v string) *ListTrialComponentsInput {
59485	s.SourceArn = &v
59486	return s
59487}
59488
59489// SetTrialName sets the TrialName field's value.
59490func (s *ListTrialComponentsInput) SetTrialName(v string) *ListTrialComponentsInput {
59491	s.TrialName = &v
59492	return s
59493}
59494
59495type ListTrialComponentsOutput struct {
59496	_ struct{} `type:"structure"`
59497
59498	// A token for getting the next set of components, if there are any.
59499	NextToken *string `type:"string"`
59500
59501	// A list of the summaries of your trial components.
59502	TrialComponentSummaries []*TrialComponentSummary `type:"list"`
59503}
59504
59505// String returns the string representation
59506func (s ListTrialComponentsOutput) String() string {
59507	return awsutil.Prettify(s)
59508}
59509
59510// GoString returns the string representation
59511func (s ListTrialComponentsOutput) GoString() string {
59512	return s.String()
59513}
59514
59515// SetNextToken sets the NextToken field's value.
59516func (s *ListTrialComponentsOutput) SetNextToken(v string) *ListTrialComponentsOutput {
59517	s.NextToken = &v
59518	return s
59519}
59520
59521// SetTrialComponentSummaries sets the TrialComponentSummaries field's value.
59522func (s *ListTrialComponentsOutput) SetTrialComponentSummaries(v []*TrialComponentSummary) *ListTrialComponentsOutput {
59523	s.TrialComponentSummaries = v
59524	return s
59525}
59526
59527type ListTrialsInput struct {
59528	_ struct{} `type:"structure"`
59529
59530	// A filter that returns only trials created after the specified time.
59531	CreatedAfter *time.Time `type:"timestamp"`
59532
59533	// A filter that returns only trials created before the specified time.
59534	CreatedBefore *time.Time `type:"timestamp"`
59535
59536	// A filter that returns only trials that are part of the specified experiment.
59537	ExperimentName *string `min:"1" type:"string"`
59538
59539	// The maximum number of trials to return in the response. The default value
59540	// is 10.
59541	MaxResults *int64 `min:"1" type:"integer"`
59542
59543	// If the previous call to ListTrials didn't return the full set of trials,
59544	// the call returns a token for getting the next set of trials.
59545	NextToken *string `type:"string"`
59546
59547	// The property used to sort results. The default value is CreationTime.
59548	SortBy *string `type:"string" enum:"SortTrialsBy"`
59549
59550	// The sort order. The default value is Descending.
59551	SortOrder *string `type:"string" enum:"SortOrder"`
59552
59553	// A filter that returns only trials that are associated with the specified
59554	// trial component.
59555	TrialComponentName *string `min:"1" type:"string"`
59556}
59557
59558// String returns the string representation
59559func (s ListTrialsInput) String() string {
59560	return awsutil.Prettify(s)
59561}
59562
59563// GoString returns the string representation
59564func (s ListTrialsInput) GoString() string {
59565	return s.String()
59566}
59567
59568// Validate inspects the fields of the type to determine if they are valid.
59569func (s *ListTrialsInput) Validate() error {
59570	invalidParams := request.ErrInvalidParams{Context: "ListTrialsInput"}
59571	if s.ExperimentName != nil && len(*s.ExperimentName) < 1 {
59572		invalidParams.Add(request.NewErrParamMinLen("ExperimentName", 1))
59573	}
59574	if s.MaxResults != nil && *s.MaxResults < 1 {
59575		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
59576	}
59577	if s.TrialComponentName != nil && len(*s.TrialComponentName) < 1 {
59578		invalidParams.Add(request.NewErrParamMinLen("TrialComponentName", 1))
59579	}
59580
59581	if invalidParams.Len() > 0 {
59582		return invalidParams
59583	}
59584	return nil
59585}
59586
59587// SetCreatedAfter sets the CreatedAfter field's value.
59588func (s *ListTrialsInput) SetCreatedAfter(v time.Time) *ListTrialsInput {
59589	s.CreatedAfter = &v
59590	return s
59591}
59592
59593// SetCreatedBefore sets the CreatedBefore field's value.
59594func (s *ListTrialsInput) SetCreatedBefore(v time.Time) *ListTrialsInput {
59595	s.CreatedBefore = &v
59596	return s
59597}
59598
59599// SetExperimentName sets the ExperimentName field's value.
59600func (s *ListTrialsInput) SetExperimentName(v string) *ListTrialsInput {
59601	s.ExperimentName = &v
59602	return s
59603}
59604
59605// SetMaxResults sets the MaxResults field's value.
59606func (s *ListTrialsInput) SetMaxResults(v int64) *ListTrialsInput {
59607	s.MaxResults = &v
59608	return s
59609}
59610
59611// SetNextToken sets the NextToken field's value.
59612func (s *ListTrialsInput) SetNextToken(v string) *ListTrialsInput {
59613	s.NextToken = &v
59614	return s
59615}
59616
59617// SetSortBy sets the SortBy field's value.
59618func (s *ListTrialsInput) SetSortBy(v string) *ListTrialsInput {
59619	s.SortBy = &v
59620	return s
59621}
59622
59623// SetSortOrder sets the SortOrder field's value.
59624func (s *ListTrialsInput) SetSortOrder(v string) *ListTrialsInput {
59625	s.SortOrder = &v
59626	return s
59627}
59628
59629// SetTrialComponentName sets the TrialComponentName field's value.
59630func (s *ListTrialsInput) SetTrialComponentName(v string) *ListTrialsInput {
59631	s.TrialComponentName = &v
59632	return s
59633}
59634
59635type ListTrialsOutput struct {
59636	_ struct{} `type:"structure"`
59637
59638	// A token for getting the next set of trials, if there are any.
59639	NextToken *string `type:"string"`
59640
59641	// A list of the summaries of your trials.
59642	TrialSummaries []*TrialSummary `type:"list"`
59643}
59644
59645// String returns the string representation
59646func (s ListTrialsOutput) String() string {
59647	return awsutil.Prettify(s)
59648}
59649
59650// GoString returns the string representation
59651func (s ListTrialsOutput) GoString() string {
59652	return s.String()
59653}
59654
59655// SetNextToken sets the NextToken field's value.
59656func (s *ListTrialsOutput) SetNextToken(v string) *ListTrialsOutput {
59657	s.NextToken = &v
59658	return s
59659}
59660
59661// SetTrialSummaries sets the TrialSummaries field's value.
59662func (s *ListTrialsOutput) SetTrialSummaries(v []*TrialSummary) *ListTrialsOutput {
59663	s.TrialSummaries = v
59664	return s
59665}
59666
59667type ListUserProfilesInput struct {
59668	_ struct{} `type:"structure"`
59669
59670	// A parameter by which to filter the results.
59671	DomainIdEquals *string `type:"string"`
59672
59673	// Returns a list up to a specified limit.
59674	MaxResults *int64 `min:"1" type:"integer"`
59675
59676	// If the previous response was truncated, you will receive this token. Use
59677	// it in your next request to receive the next set of results.
59678	NextToken *string `type:"string"`
59679
59680	// The parameter by which to sort the results. The default is CreationTime.
59681	SortBy *string `type:"string" enum:"UserProfileSortKey"`
59682
59683	// The sort order for the results. The default is Ascending.
59684	SortOrder *string `type:"string" enum:"SortOrder"`
59685
59686	// A parameter by which to filter the results.
59687	UserProfileNameContains *string `type:"string"`
59688}
59689
59690// String returns the string representation
59691func (s ListUserProfilesInput) String() string {
59692	return awsutil.Prettify(s)
59693}
59694
59695// GoString returns the string representation
59696func (s ListUserProfilesInput) GoString() string {
59697	return s.String()
59698}
59699
59700// Validate inspects the fields of the type to determine if they are valid.
59701func (s *ListUserProfilesInput) Validate() error {
59702	invalidParams := request.ErrInvalidParams{Context: "ListUserProfilesInput"}
59703	if s.MaxResults != nil && *s.MaxResults < 1 {
59704		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
59705	}
59706
59707	if invalidParams.Len() > 0 {
59708		return invalidParams
59709	}
59710	return nil
59711}
59712
59713// SetDomainIdEquals sets the DomainIdEquals field's value.
59714func (s *ListUserProfilesInput) SetDomainIdEquals(v string) *ListUserProfilesInput {
59715	s.DomainIdEquals = &v
59716	return s
59717}
59718
59719// SetMaxResults sets the MaxResults field's value.
59720func (s *ListUserProfilesInput) SetMaxResults(v int64) *ListUserProfilesInput {
59721	s.MaxResults = &v
59722	return s
59723}
59724
59725// SetNextToken sets the NextToken field's value.
59726func (s *ListUserProfilesInput) SetNextToken(v string) *ListUserProfilesInput {
59727	s.NextToken = &v
59728	return s
59729}
59730
59731// SetSortBy sets the SortBy field's value.
59732func (s *ListUserProfilesInput) SetSortBy(v string) *ListUserProfilesInput {
59733	s.SortBy = &v
59734	return s
59735}
59736
59737// SetSortOrder sets the SortOrder field's value.
59738func (s *ListUserProfilesInput) SetSortOrder(v string) *ListUserProfilesInput {
59739	s.SortOrder = &v
59740	return s
59741}
59742
59743// SetUserProfileNameContains sets the UserProfileNameContains field's value.
59744func (s *ListUserProfilesInput) SetUserProfileNameContains(v string) *ListUserProfilesInput {
59745	s.UserProfileNameContains = &v
59746	return s
59747}
59748
59749type ListUserProfilesOutput struct {
59750	_ struct{} `type:"structure"`
59751
59752	// If the previous response was truncated, you will receive this token. Use
59753	// it in your next request to receive the next set of results.
59754	NextToken *string `type:"string"`
59755
59756	// The list of user profiles.
59757	UserProfiles []*UserProfileDetails `type:"list"`
59758}
59759
59760// String returns the string representation
59761func (s ListUserProfilesOutput) String() string {
59762	return awsutil.Prettify(s)
59763}
59764
59765// GoString returns the string representation
59766func (s ListUserProfilesOutput) GoString() string {
59767	return s.String()
59768}
59769
59770// SetNextToken sets the NextToken field's value.
59771func (s *ListUserProfilesOutput) SetNextToken(v string) *ListUserProfilesOutput {
59772	s.NextToken = &v
59773	return s
59774}
59775
59776// SetUserProfiles sets the UserProfiles field's value.
59777func (s *ListUserProfilesOutput) SetUserProfiles(v []*UserProfileDetails) *ListUserProfilesOutput {
59778	s.UserProfiles = v
59779	return s
59780}
59781
59782type ListWorkforcesInput struct {
59783	_ struct{} `type:"structure"`
59784
59785	// The maximum number of workforces returned in the response.
59786	MaxResults *int64 `min:"1" type:"integer"`
59787
59788	// A filter you can use to search for workforces using part of the workforce
59789	// name.
59790	NameContains *string `min:"1" type:"string"`
59791
59792	// A token to resume pagination.
59793	NextToken *string `type:"string"`
59794
59795	// Sort workforces using the workforce name or creation date.
59796	SortBy *string `type:"string" enum:"ListWorkforcesSortByOptions"`
59797
59798	// Sort workforces in ascending or descending order.
59799	SortOrder *string `type:"string" enum:"SortOrder"`
59800}
59801
59802// String returns the string representation
59803func (s ListWorkforcesInput) String() string {
59804	return awsutil.Prettify(s)
59805}
59806
59807// GoString returns the string representation
59808func (s ListWorkforcesInput) GoString() string {
59809	return s.String()
59810}
59811
59812// Validate inspects the fields of the type to determine if they are valid.
59813func (s *ListWorkforcesInput) Validate() error {
59814	invalidParams := request.ErrInvalidParams{Context: "ListWorkforcesInput"}
59815	if s.MaxResults != nil && *s.MaxResults < 1 {
59816		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
59817	}
59818	if s.NameContains != nil && len(*s.NameContains) < 1 {
59819		invalidParams.Add(request.NewErrParamMinLen("NameContains", 1))
59820	}
59821
59822	if invalidParams.Len() > 0 {
59823		return invalidParams
59824	}
59825	return nil
59826}
59827
59828// SetMaxResults sets the MaxResults field's value.
59829func (s *ListWorkforcesInput) SetMaxResults(v int64) *ListWorkforcesInput {
59830	s.MaxResults = &v
59831	return s
59832}
59833
59834// SetNameContains sets the NameContains field's value.
59835func (s *ListWorkforcesInput) SetNameContains(v string) *ListWorkforcesInput {
59836	s.NameContains = &v
59837	return s
59838}
59839
59840// SetNextToken sets the NextToken field's value.
59841func (s *ListWorkforcesInput) SetNextToken(v string) *ListWorkforcesInput {
59842	s.NextToken = &v
59843	return s
59844}
59845
59846// SetSortBy sets the SortBy field's value.
59847func (s *ListWorkforcesInput) SetSortBy(v string) *ListWorkforcesInput {
59848	s.SortBy = &v
59849	return s
59850}
59851
59852// SetSortOrder sets the SortOrder field's value.
59853func (s *ListWorkforcesInput) SetSortOrder(v string) *ListWorkforcesInput {
59854	s.SortOrder = &v
59855	return s
59856}
59857
59858type ListWorkforcesOutput struct {
59859	_ struct{} `type:"structure"`
59860
59861	// A token to resume pagination.
59862	NextToken *string `type:"string"`
59863
59864	// A list containing information about your workforce.
59865	//
59866	// Workforces is a required field
59867	Workforces []*Workforce `type:"list" required:"true"`
59868}
59869
59870// String returns the string representation
59871func (s ListWorkforcesOutput) String() string {
59872	return awsutil.Prettify(s)
59873}
59874
59875// GoString returns the string representation
59876func (s ListWorkforcesOutput) GoString() string {
59877	return s.String()
59878}
59879
59880// SetNextToken sets the NextToken field's value.
59881func (s *ListWorkforcesOutput) SetNextToken(v string) *ListWorkforcesOutput {
59882	s.NextToken = &v
59883	return s
59884}
59885
59886// SetWorkforces sets the Workforces field's value.
59887func (s *ListWorkforcesOutput) SetWorkforces(v []*Workforce) *ListWorkforcesOutput {
59888	s.Workforces = v
59889	return s
59890}
59891
59892type ListWorkteamsInput struct {
59893	_ struct{} `type:"structure"`
59894
59895	// The maximum number of work teams to return in each page of the response.
59896	MaxResults *int64 `min:"1" type:"integer"`
59897
59898	// A string in the work team's name. This filter returns only work teams whose
59899	// name contains the specified string.
59900	NameContains *string `min:"1" type:"string"`
59901
59902	// If the result of the previous ListWorkteams request was truncated, the response
59903	// includes a NextToken. To retrieve the next set of labeling jobs, use the
59904	// token in the next request.
59905	NextToken *string `type:"string"`
59906
59907	// The field to sort results by. The default is CreationTime.
59908	SortBy *string `type:"string" enum:"ListWorkteamsSortByOptions"`
59909
59910	// The sort order for results. The default is Ascending.
59911	SortOrder *string `type:"string" enum:"SortOrder"`
59912}
59913
59914// String returns the string representation
59915func (s ListWorkteamsInput) String() string {
59916	return awsutil.Prettify(s)
59917}
59918
59919// GoString returns the string representation
59920func (s ListWorkteamsInput) GoString() string {
59921	return s.String()
59922}
59923
59924// Validate inspects the fields of the type to determine if they are valid.
59925func (s *ListWorkteamsInput) Validate() error {
59926	invalidParams := request.ErrInvalidParams{Context: "ListWorkteamsInput"}
59927	if s.MaxResults != nil && *s.MaxResults < 1 {
59928		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
59929	}
59930	if s.NameContains != nil && len(*s.NameContains) < 1 {
59931		invalidParams.Add(request.NewErrParamMinLen("NameContains", 1))
59932	}
59933
59934	if invalidParams.Len() > 0 {
59935		return invalidParams
59936	}
59937	return nil
59938}
59939
59940// SetMaxResults sets the MaxResults field's value.
59941func (s *ListWorkteamsInput) SetMaxResults(v int64) *ListWorkteamsInput {
59942	s.MaxResults = &v
59943	return s
59944}
59945
59946// SetNameContains sets the NameContains field's value.
59947func (s *ListWorkteamsInput) SetNameContains(v string) *ListWorkteamsInput {
59948	s.NameContains = &v
59949	return s
59950}
59951
59952// SetNextToken sets the NextToken field's value.
59953func (s *ListWorkteamsInput) SetNextToken(v string) *ListWorkteamsInput {
59954	s.NextToken = &v
59955	return s
59956}
59957
59958// SetSortBy sets the SortBy field's value.
59959func (s *ListWorkteamsInput) SetSortBy(v string) *ListWorkteamsInput {
59960	s.SortBy = &v
59961	return s
59962}
59963
59964// SetSortOrder sets the SortOrder field's value.
59965func (s *ListWorkteamsInput) SetSortOrder(v string) *ListWorkteamsInput {
59966	s.SortOrder = &v
59967	return s
59968}
59969
59970type ListWorkteamsOutput struct {
59971	_ struct{} `type:"structure"`
59972
59973	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
59974	// the next set of work teams, use it in the subsequent request.
59975	NextToken *string `type:"string"`
59976
59977	// An array of Workteam objects, each describing a work team.
59978	//
59979	// Workteams is a required field
59980	Workteams []*Workteam `type:"list" required:"true"`
59981}
59982
59983// String returns the string representation
59984func (s ListWorkteamsOutput) String() string {
59985	return awsutil.Prettify(s)
59986}
59987
59988// GoString returns the string representation
59989func (s ListWorkteamsOutput) GoString() string {
59990	return s.String()
59991}
59992
59993// SetNextToken sets the NextToken field's value.
59994func (s *ListWorkteamsOutput) SetNextToken(v string) *ListWorkteamsOutput {
59995	s.NextToken = &v
59996	return s
59997}
59998
59999// SetWorkteams sets the Workteams field's value.
60000func (s *ListWorkteamsOutput) SetWorkteams(v []*Workteam) *ListWorkteamsOutput {
60001	s.Workteams = v
60002	return s
60003}
60004
60005// Defines an Amazon Cognito or your own OIDC IdP user group that is part of
60006// a work team.
60007type MemberDefinition struct {
60008	_ struct{} `type:"structure"`
60009
60010	// The Amazon Cognito user group that is part of the work team.
60011	CognitoMemberDefinition *CognitoMemberDefinition `type:"structure"`
60012
60013	// A list user groups that exist in your OIDC Identity Provider (IdP). One to
60014	// ten groups can be used to create a single private work team. When you add
60015	// a user group to the list of Groups, you can add that user group to one or
60016	// more private work teams. If you add a user group to a private work team,
60017	// all workers in that user group are added to the work team.
60018	OidcMemberDefinition *OidcMemberDefinition `type:"structure"`
60019}
60020
60021// String returns the string representation
60022func (s MemberDefinition) String() string {
60023	return awsutil.Prettify(s)
60024}
60025
60026// GoString returns the string representation
60027func (s MemberDefinition) GoString() string {
60028	return s.String()
60029}
60030
60031// Validate inspects the fields of the type to determine if they are valid.
60032func (s *MemberDefinition) Validate() error {
60033	invalidParams := request.ErrInvalidParams{Context: "MemberDefinition"}
60034	if s.CognitoMemberDefinition != nil {
60035		if err := s.CognitoMemberDefinition.Validate(); err != nil {
60036			invalidParams.AddNested("CognitoMemberDefinition", err.(request.ErrInvalidParams))
60037		}
60038	}
60039	if s.OidcMemberDefinition != nil {
60040		if err := s.OidcMemberDefinition.Validate(); err != nil {
60041			invalidParams.AddNested("OidcMemberDefinition", err.(request.ErrInvalidParams))
60042		}
60043	}
60044
60045	if invalidParams.Len() > 0 {
60046		return invalidParams
60047	}
60048	return nil
60049}
60050
60051// SetCognitoMemberDefinition sets the CognitoMemberDefinition field's value.
60052func (s *MemberDefinition) SetCognitoMemberDefinition(v *CognitoMemberDefinition) *MemberDefinition {
60053	s.CognitoMemberDefinition = v
60054	return s
60055}
60056
60057// SetOidcMemberDefinition sets the OidcMemberDefinition field's value.
60058func (s *MemberDefinition) SetOidcMemberDefinition(v *OidcMemberDefinition) *MemberDefinition {
60059	s.OidcMemberDefinition = v
60060	return s
60061}
60062
60063// Metadata properties of the tracking entity, trial, or trial component.
60064type MetadataProperties struct {
60065	_ struct{} `type:"structure"`
60066
60067	// The commit ID.
60068	CommitId *string `type:"string"`
60069
60070	// The entity this entity was generated by.
60071	GeneratedBy *string `type:"string"`
60072
60073	// The project ID.
60074	ProjectId *string `type:"string"`
60075
60076	// The repository.
60077	Repository *string `type:"string"`
60078}
60079
60080// String returns the string representation
60081func (s MetadataProperties) String() string {
60082	return awsutil.Prettify(s)
60083}
60084
60085// GoString returns the string representation
60086func (s MetadataProperties) GoString() string {
60087	return s.String()
60088}
60089
60090// SetCommitId sets the CommitId field's value.
60091func (s *MetadataProperties) SetCommitId(v string) *MetadataProperties {
60092	s.CommitId = &v
60093	return s
60094}
60095
60096// SetGeneratedBy sets the GeneratedBy field's value.
60097func (s *MetadataProperties) SetGeneratedBy(v string) *MetadataProperties {
60098	s.GeneratedBy = &v
60099	return s
60100}
60101
60102// SetProjectId sets the ProjectId field's value.
60103func (s *MetadataProperties) SetProjectId(v string) *MetadataProperties {
60104	s.ProjectId = &v
60105	return s
60106}
60107
60108// SetRepository sets the Repository field's value.
60109func (s *MetadataProperties) SetRepository(v string) *MetadataProperties {
60110	s.Repository = &v
60111	return s
60112}
60113
60114// The name, value, and date and time of a metric that was emitted to Amazon
60115// CloudWatch.
60116type MetricData struct {
60117	_ struct{} `type:"structure"`
60118
60119	// The name of the metric.
60120	MetricName *string `min:"1" type:"string"`
60121
60122	// The date and time that the algorithm emitted the metric.
60123	Timestamp *time.Time `type:"timestamp"`
60124
60125	// The value of the metric.
60126	Value *float64 `type:"float"`
60127}
60128
60129// String returns the string representation
60130func (s MetricData) String() string {
60131	return awsutil.Prettify(s)
60132}
60133
60134// GoString returns the string representation
60135func (s MetricData) GoString() string {
60136	return s.String()
60137}
60138
60139// SetMetricName sets the MetricName field's value.
60140func (s *MetricData) SetMetricName(v string) *MetricData {
60141	s.MetricName = &v
60142	return s
60143}
60144
60145// SetTimestamp sets the Timestamp field's value.
60146func (s *MetricData) SetTimestamp(v time.Time) *MetricData {
60147	s.Timestamp = &v
60148	return s
60149}
60150
60151// SetValue sets the Value field's value.
60152func (s *MetricData) SetValue(v float64) *MetricData {
60153	s.Value = &v
60154	return s
60155}
60156
60157// Specifies a metric that the training algorithm writes to stderr or stdout
60158// . Amazon SageMakerhyperparameter tuning captures all defined metrics. You
60159// specify one metric that a hyperparameter tuning job uses as its objective
60160// metric to choose the best training job.
60161type MetricDefinition struct {
60162	_ struct{} `type:"structure"`
60163
60164	// The name of the metric.
60165	//
60166	// Name is a required field
60167	Name *string `min:"1" type:"string" required:"true"`
60168
60169	// A regular expression that searches the output of a training job and gets
60170	// the value of the metric. For more information about using regular expressions
60171	// to define metrics, see Defining Objective Metrics (https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-define-metrics.html).
60172	//
60173	// Regex is a required field
60174	Regex *string `min:"1" type:"string" required:"true"`
60175}
60176
60177// String returns the string representation
60178func (s MetricDefinition) String() string {
60179	return awsutil.Prettify(s)
60180}
60181
60182// GoString returns the string representation
60183func (s MetricDefinition) GoString() string {
60184	return s.String()
60185}
60186
60187// Validate inspects the fields of the type to determine if they are valid.
60188func (s *MetricDefinition) Validate() error {
60189	invalidParams := request.ErrInvalidParams{Context: "MetricDefinition"}
60190	if s.Name == nil {
60191		invalidParams.Add(request.NewErrParamRequired("Name"))
60192	}
60193	if s.Name != nil && len(*s.Name) < 1 {
60194		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
60195	}
60196	if s.Regex == nil {
60197		invalidParams.Add(request.NewErrParamRequired("Regex"))
60198	}
60199	if s.Regex != nil && len(*s.Regex) < 1 {
60200		invalidParams.Add(request.NewErrParamMinLen("Regex", 1))
60201	}
60202
60203	if invalidParams.Len() > 0 {
60204		return invalidParams
60205	}
60206	return nil
60207}
60208
60209// SetName sets the Name field's value.
60210func (s *MetricDefinition) SetName(v string) *MetricDefinition {
60211	s.Name = &v
60212	return s
60213}
60214
60215// SetRegex sets the Regex field's value.
60216func (s *MetricDefinition) SetRegex(v string) *MetricDefinition {
60217	s.Regex = &v
60218	return s
60219}
60220
60221type MetricsSource struct {
60222	_ struct{} `type:"structure"`
60223
60224	ContentDigest *string `type:"string"`
60225
60226	// ContentType is a required field
60227	ContentType *string `type:"string" required:"true"`
60228
60229	// S3Uri is a required field
60230	S3Uri *string `type:"string" required:"true"`
60231}
60232
60233// String returns the string representation
60234func (s MetricsSource) String() string {
60235	return awsutil.Prettify(s)
60236}
60237
60238// GoString returns the string representation
60239func (s MetricsSource) GoString() string {
60240	return s.String()
60241}
60242
60243// Validate inspects the fields of the type to determine if they are valid.
60244func (s *MetricsSource) Validate() error {
60245	invalidParams := request.ErrInvalidParams{Context: "MetricsSource"}
60246	if s.ContentType == nil {
60247		invalidParams.Add(request.NewErrParamRequired("ContentType"))
60248	}
60249	if s.S3Uri == nil {
60250		invalidParams.Add(request.NewErrParamRequired("S3Uri"))
60251	}
60252
60253	if invalidParams.Len() > 0 {
60254		return invalidParams
60255	}
60256	return nil
60257}
60258
60259// SetContentDigest sets the ContentDigest field's value.
60260func (s *MetricsSource) SetContentDigest(v string) *MetricsSource {
60261	s.ContentDigest = &v
60262	return s
60263}
60264
60265// SetContentType sets the ContentType field's value.
60266func (s *MetricsSource) SetContentType(v string) *MetricsSource {
60267	s.ContentType = &v
60268	return s
60269}
60270
60271// SetS3Uri sets the S3Uri field's value.
60272func (s *MetricsSource) SetS3Uri(v string) *MetricsSource {
60273	s.S3Uri = &v
60274	return s
60275}
60276
60277// Provides information about the location that is configured for storing model
60278// artifacts.
60279//
60280// Model artifacts are the output that results from training a model, and typically
60281// consist of trained parameters, a model defintion that desribes how to compute
60282// inferences, and other metadata.
60283type ModelArtifacts struct {
60284	_ struct{} `type:"structure"`
60285
60286	// The path of the S3 object that contains the model artifacts. For example,
60287	// s3://bucket-name/keynameprefix/model.tar.gz.
60288	//
60289	// S3ModelArtifacts is a required field
60290	S3ModelArtifacts *string `type:"string" required:"true"`
60291}
60292
60293// String returns the string representation
60294func (s ModelArtifacts) String() string {
60295	return awsutil.Prettify(s)
60296}
60297
60298// GoString returns the string representation
60299func (s ModelArtifacts) GoString() string {
60300	return s.String()
60301}
60302
60303// SetS3ModelArtifacts sets the S3ModelArtifacts field's value.
60304func (s *ModelArtifacts) SetS3ModelArtifacts(v string) *ModelArtifacts {
60305	s.S3ModelArtifacts = &v
60306	return s
60307}
60308
60309// Docker container image configuration object for the model bias job.
60310type ModelBiasAppSpecification struct {
60311	_ struct{} `type:"structure"`
60312
60313	// JSON formatted S3 file that defines bias parameters. For more information
60314	// on this JSON configuration file, see Configure bias parameters (https://docs.aws.amazon.com/sagemaker/latest/json-bias-parameter-config.html).
60315	//
60316	// ConfigUri is a required field
60317	ConfigUri *string `type:"string" required:"true"`
60318
60319	// Sets the environment variables in the Docker container.
60320	Environment map[string]*string `type:"map"`
60321
60322	// The container image to be run by the model bias job.
60323	//
60324	// ImageUri is a required field
60325	ImageUri *string `type:"string" required:"true"`
60326}
60327
60328// String returns the string representation
60329func (s ModelBiasAppSpecification) String() string {
60330	return awsutil.Prettify(s)
60331}
60332
60333// GoString returns the string representation
60334func (s ModelBiasAppSpecification) GoString() string {
60335	return s.String()
60336}
60337
60338// Validate inspects the fields of the type to determine if they are valid.
60339func (s *ModelBiasAppSpecification) Validate() error {
60340	invalidParams := request.ErrInvalidParams{Context: "ModelBiasAppSpecification"}
60341	if s.ConfigUri == nil {
60342		invalidParams.Add(request.NewErrParamRequired("ConfigUri"))
60343	}
60344	if s.ImageUri == nil {
60345		invalidParams.Add(request.NewErrParamRequired("ImageUri"))
60346	}
60347
60348	if invalidParams.Len() > 0 {
60349		return invalidParams
60350	}
60351	return nil
60352}
60353
60354// SetConfigUri sets the ConfigUri field's value.
60355func (s *ModelBiasAppSpecification) SetConfigUri(v string) *ModelBiasAppSpecification {
60356	s.ConfigUri = &v
60357	return s
60358}
60359
60360// SetEnvironment sets the Environment field's value.
60361func (s *ModelBiasAppSpecification) SetEnvironment(v map[string]*string) *ModelBiasAppSpecification {
60362	s.Environment = v
60363	return s
60364}
60365
60366// SetImageUri sets the ImageUri field's value.
60367func (s *ModelBiasAppSpecification) SetImageUri(v string) *ModelBiasAppSpecification {
60368	s.ImageUri = &v
60369	return s
60370}
60371
60372// The configuration for a baseline model bias job.
60373type ModelBiasBaselineConfig struct {
60374	_ struct{} `type:"structure"`
60375
60376	// The name of the baseline model bias job.
60377	BaseliningJobName *string `min:"1" type:"string"`
60378
60379	// The constraints resource for a monitoring job.
60380	ConstraintsResource *MonitoringConstraintsResource `type:"structure"`
60381}
60382
60383// String returns the string representation
60384func (s ModelBiasBaselineConfig) String() string {
60385	return awsutil.Prettify(s)
60386}
60387
60388// GoString returns the string representation
60389func (s ModelBiasBaselineConfig) GoString() string {
60390	return s.String()
60391}
60392
60393// Validate inspects the fields of the type to determine if they are valid.
60394func (s *ModelBiasBaselineConfig) Validate() error {
60395	invalidParams := request.ErrInvalidParams{Context: "ModelBiasBaselineConfig"}
60396	if s.BaseliningJobName != nil && len(*s.BaseliningJobName) < 1 {
60397		invalidParams.Add(request.NewErrParamMinLen("BaseliningJobName", 1))
60398	}
60399
60400	if invalidParams.Len() > 0 {
60401		return invalidParams
60402	}
60403	return nil
60404}
60405
60406// SetBaseliningJobName sets the BaseliningJobName field's value.
60407func (s *ModelBiasBaselineConfig) SetBaseliningJobName(v string) *ModelBiasBaselineConfig {
60408	s.BaseliningJobName = &v
60409	return s
60410}
60411
60412// SetConstraintsResource sets the ConstraintsResource field's value.
60413func (s *ModelBiasBaselineConfig) SetConstraintsResource(v *MonitoringConstraintsResource) *ModelBiasBaselineConfig {
60414	s.ConstraintsResource = v
60415	return s
60416}
60417
60418// Inputs for the model bias job.
60419type ModelBiasJobInput struct {
60420	_ struct{} `type:"structure"`
60421
60422	// Input object for the endpoint
60423	//
60424	// EndpointInput is a required field
60425	EndpointInput *EndpointInput `type:"structure" required:"true"`
60426
60427	// Location of ground truth labels to use in model bias job.
60428	//
60429	// GroundTruthS3Input is a required field
60430	GroundTruthS3Input *MonitoringGroundTruthS3Input `type:"structure" required:"true"`
60431}
60432
60433// String returns the string representation
60434func (s ModelBiasJobInput) String() string {
60435	return awsutil.Prettify(s)
60436}
60437
60438// GoString returns the string representation
60439func (s ModelBiasJobInput) GoString() string {
60440	return s.String()
60441}
60442
60443// Validate inspects the fields of the type to determine if they are valid.
60444func (s *ModelBiasJobInput) Validate() error {
60445	invalidParams := request.ErrInvalidParams{Context: "ModelBiasJobInput"}
60446	if s.EndpointInput == nil {
60447		invalidParams.Add(request.NewErrParamRequired("EndpointInput"))
60448	}
60449	if s.GroundTruthS3Input == nil {
60450		invalidParams.Add(request.NewErrParamRequired("GroundTruthS3Input"))
60451	}
60452	if s.EndpointInput != nil {
60453		if err := s.EndpointInput.Validate(); err != nil {
60454			invalidParams.AddNested("EndpointInput", err.(request.ErrInvalidParams))
60455		}
60456	}
60457
60458	if invalidParams.Len() > 0 {
60459		return invalidParams
60460	}
60461	return nil
60462}
60463
60464// SetEndpointInput sets the EndpointInput field's value.
60465func (s *ModelBiasJobInput) SetEndpointInput(v *EndpointInput) *ModelBiasJobInput {
60466	s.EndpointInput = v
60467	return s
60468}
60469
60470// SetGroundTruthS3Input sets the GroundTruthS3Input field's value.
60471func (s *ModelBiasJobInput) SetGroundTruthS3Input(v *MonitoringGroundTruthS3Input) *ModelBiasJobInput {
60472	s.GroundTruthS3Input = v
60473	return s
60474}
60475
60476// Configures the timeout and maximum number of retries for processing a transform
60477// job invocation.
60478type ModelClientConfig struct {
60479	_ struct{} `type:"structure"`
60480
60481	// The maximum number of retries when invocation requests are failing.
60482	InvocationsMaxRetries *int64 `type:"integer"`
60483
60484	// The timeout value in seconds for an invocation request.
60485	InvocationsTimeoutInSeconds *int64 `min:"1" type:"integer"`
60486}
60487
60488// String returns the string representation
60489func (s ModelClientConfig) String() string {
60490	return awsutil.Prettify(s)
60491}
60492
60493// GoString returns the string representation
60494func (s ModelClientConfig) GoString() string {
60495	return s.String()
60496}
60497
60498// Validate inspects the fields of the type to determine if they are valid.
60499func (s *ModelClientConfig) Validate() error {
60500	invalidParams := request.ErrInvalidParams{Context: "ModelClientConfig"}
60501	if s.InvocationsTimeoutInSeconds != nil && *s.InvocationsTimeoutInSeconds < 1 {
60502		invalidParams.Add(request.NewErrParamMinValue("InvocationsTimeoutInSeconds", 1))
60503	}
60504
60505	if invalidParams.Len() > 0 {
60506		return invalidParams
60507	}
60508	return nil
60509}
60510
60511// SetInvocationsMaxRetries sets the InvocationsMaxRetries field's value.
60512func (s *ModelClientConfig) SetInvocationsMaxRetries(v int64) *ModelClientConfig {
60513	s.InvocationsMaxRetries = &v
60514	return s
60515}
60516
60517// SetInvocationsTimeoutInSeconds sets the InvocationsTimeoutInSeconds field's value.
60518func (s *ModelClientConfig) SetInvocationsTimeoutInSeconds(v int64) *ModelClientConfig {
60519	s.InvocationsTimeoutInSeconds = &v
60520	return s
60521}
60522
60523// Data quality constraints and statistics for a model.
60524type ModelDataQuality struct {
60525	_ struct{} `type:"structure"`
60526
60527	// Data quality constraints for a model.
60528	Constraints *MetricsSource `type:"structure"`
60529
60530	// Data quality statistics for a model.
60531	Statistics *MetricsSource `type:"structure"`
60532}
60533
60534// String returns the string representation
60535func (s ModelDataQuality) String() string {
60536	return awsutil.Prettify(s)
60537}
60538
60539// GoString returns the string representation
60540func (s ModelDataQuality) GoString() string {
60541	return s.String()
60542}
60543
60544// Validate inspects the fields of the type to determine if they are valid.
60545func (s *ModelDataQuality) Validate() error {
60546	invalidParams := request.ErrInvalidParams{Context: "ModelDataQuality"}
60547	if s.Constraints != nil {
60548		if err := s.Constraints.Validate(); err != nil {
60549			invalidParams.AddNested("Constraints", err.(request.ErrInvalidParams))
60550		}
60551	}
60552	if s.Statistics != nil {
60553		if err := s.Statistics.Validate(); err != nil {
60554			invalidParams.AddNested("Statistics", err.(request.ErrInvalidParams))
60555		}
60556	}
60557
60558	if invalidParams.Len() > 0 {
60559		return invalidParams
60560	}
60561	return nil
60562}
60563
60564// SetConstraints sets the Constraints field's value.
60565func (s *ModelDataQuality) SetConstraints(v *MetricsSource) *ModelDataQuality {
60566	s.Constraints = v
60567	return s
60568}
60569
60570// SetStatistics sets the Statistics field's value.
60571func (s *ModelDataQuality) SetStatistics(v *MetricsSource) *ModelDataQuality {
60572	s.Statistics = v
60573	return s
60574}
60575
60576// Provides information to verify the integrity of stored model artifacts.
60577type ModelDigests struct {
60578	_ struct{} `type:"structure"`
60579
60580	// Provides a hash value that uniquely identifies the stored model artifacts.
60581	ArtifactDigest *string `type:"string"`
60582}
60583
60584// String returns the string representation
60585func (s ModelDigests) String() string {
60586	return awsutil.Prettify(s)
60587}
60588
60589// GoString returns the string representation
60590func (s ModelDigests) GoString() string {
60591	return s.String()
60592}
60593
60594// SetArtifactDigest sets the ArtifactDigest field's value.
60595func (s *ModelDigests) SetArtifactDigest(v string) *ModelDigests {
60596	s.ArtifactDigest = &v
60597	return s
60598}
60599
60600// Docker container image configuration object for the model explainability
60601// job.
60602type ModelExplainabilityAppSpecification struct {
60603	_ struct{} `type:"structure"`
60604
60605	// JSON formatted S3 file that defines explainability parameters. For more information
60606	// on this JSON configuration file, see Configure model explainability parameters
60607	// (https://docs.aws.amazon.com/sagemaker/latest/json-model-explainability-parameter-config.html).
60608	//
60609	// ConfigUri is a required field
60610	ConfigUri *string `type:"string" required:"true"`
60611
60612	// Sets the environment variables in the Docker container.
60613	Environment map[string]*string `type:"map"`
60614
60615	// The container image to be run by the model explainability job.
60616	//
60617	// ImageUri is a required field
60618	ImageUri *string `type:"string" required:"true"`
60619}
60620
60621// String returns the string representation
60622func (s ModelExplainabilityAppSpecification) String() string {
60623	return awsutil.Prettify(s)
60624}
60625
60626// GoString returns the string representation
60627func (s ModelExplainabilityAppSpecification) GoString() string {
60628	return s.String()
60629}
60630
60631// Validate inspects the fields of the type to determine if they are valid.
60632func (s *ModelExplainabilityAppSpecification) Validate() error {
60633	invalidParams := request.ErrInvalidParams{Context: "ModelExplainabilityAppSpecification"}
60634	if s.ConfigUri == nil {
60635		invalidParams.Add(request.NewErrParamRequired("ConfigUri"))
60636	}
60637	if s.ImageUri == nil {
60638		invalidParams.Add(request.NewErrParamRequired("ImageUri"))
60639	}
60640
60641	if invalidParams.Len() > 0 {
60642		return invalidParams
60643	}
60644	return nil
60645}
60646
60647// SetConfigUri sets the ConfigUri field's value.
60648func (s *ModelExplainabilityAppSpecification) SetConfigUri(v string) *ModelExplainabilityAppSpecification {
60649	s.ConfigUri = &v
60650	return s
60651}
60652
60653// SetEnvironment sets the Environment field's value.
60654func (s *ModelExplainabilityAppSpecification) SetEnvironment(v map[string]*string) *ModelExplainabilityAppSpecification {
60655	s.Environment = v
60656	return s
60657}
60658
60659// SetImageUri sets the ImageUri field's value.
60660func (s *ModelExplainabilityAppSpecification) SetImageUri(v string) *ModelExplainabilityAppSpecification {
60661	s.ImageUri = &v
60662	return s
60663}
60664
60665// The configuration for a baseline model explainability job.
60666type ModelExplainabilityBaselineConfig struct {
60667	_ struct{} `type:"structure"`
60668
60669	// The name of the baseline model explainability job.
60670	BaseliningJobName *string `min:"1" type:"string"`
60671
60672	// The constraints resource for a monitoring job.
60673	ConstraintsResource *MonitoringConstraintsResource `type:"structure"`
60674}
60675
60676// String returns the string representation
60677func (s ModelExplainabilityBaselineConfig) String() string {
60678	return awsutil.Prettify(s)
60679}
60680
60681// GoString returns the string representation
60682func (s ModelExplainabilityBaselineConfig) GoString() string {
60683	return s.String()
60684}
60685
60686// Validate inspects the fields of the type to determine if they are valid.
60687func (s *ModelExplainabilityBaselineConfig) Validate() error {
60688	invalidParams := request.ErrInvalidParams{Context: "ModelExplainabilityBaselineConfig"}
60689	if s.BaseliningJobName != nil && len(*s.BaseliningJobName) < 1 {
60690		invalidParams.Add(request.NewErrParamMinLen("BaseliningJobName", 1))
60691	}
60692
60693	if invalidParams.Len() > 0 {
60694		return invalidParams
60695	}
60696	return nil
60697}
60698
60699// SetBaseliningJobName sets the BaseliningJobName field's value.
60700func (s *ModelExplainabilityBaselineConfig) SetBaseliningJobName(v string) *ModelExplainabilityBaselineConfig {
60701	s.BaseliningJobName = &v
60702	return s
60703}
60704
60705// SetConstraintsResource sets the ConstraintsResource field's value.
60706func (s *ModelExplainabilityBaselineConfig) SetConstraintsResource(v *MonitoringConstraintsResource) *ModelExplainabilityBaselineConfig {
60707	s.ConstraintsResource = v
60708	return s
60709}
60710
60711// Inputs for the model explainability job.
60712type ModelExplainabilityJobInput struct {
60713	_ struct{} `type:"structure"`
60714
60715	// Input object for the endpoint
60716	//
60717	// EndpointInput is a required field
60718	EndpointInput *EndpointInput `type:"structure" required:"true"`
60719}
60720
60721// String returns the string representation
60722func (s ModelExplainabilityJobInput) String() string {
60723	return awsutil.Prettify(s)
60724}
60725
60726// GoString returns the string representation
60727func (s ModelExplainabilityJobInput) GoString() string {
60728	return s.String()
60729}
60730
60731// Validate inspects the fields of the type to determine if they are valid.
60732func (s *ModelExplainabilityJobInput) Validate() error {
60733	invalidParams := request.ErrInvalidParams{Context: "ModelExplainabilityJobInput"}
60734	if s.EndpointInput == nil {
60735		invalidParams.Add(request.NewErrParamRequired("EndpointInput"))
60736	}
60737	if s.EndpointInput != nil {
60738		if err := s.EndpointInput.Validate(); err != nil {
60739			invalidParams.AddNested("EndpointInput", err.(request.ErrInvalidParams))
60740		}
60741	}
60742
60743	if invalidParams.Len() > 0 {
60744		return invalidParams
60745	}
60746	return nil
60747}
60748
60749// SetEndpointInput sets the EndpointInput field's value.
60750func (s *ModelExplainabilityJobInput) SetEndpointInput(v *EndpointInput) *ModelExplainabilityJobInput {
60751	s.EndpointInput = v
60752	return s
60753}
60754
60755// Contains metrics captured from a model.
60756type ModelMetrics struct {
60757	_ struct{} `type:"structure"`
60758
60759	// Metrics that measure bais in a model.
60760	Bias *Bias `type:"structure"`
60761
60762	// Metrics that help explain a model.
60763	Explainability *Explainability `type:"structure"`
60764
60765	// Metrics that measure the quality of the input data for a model.
60766	ModelDataQuality *ModelDataQuality `type:"structure"`
60767
60768	// Metrics that measure the quality of a model.
60769	ModelQuality *ModelQuality `type:"structure"`
60770}
60771
60772// String returns the string representation
60773func (s ModelMetrics) String() string {
60774	return awsutil.Prettify(s)
60775}
60776
60777// GoString returns the string representation
60778func (s ModelMetrics) GoString() string {
60779	return s.String()
60780}
60781
60782// Validate inspects the fields of the type to determine if they are valid.
60783func (s *ModelMetrics) Validate() error {
60784	invalidParams := request.ErrInvalidParams{Context: "ModelMetrics"}
60785	if s.Bias != nil {
60786		if err := s.Bias.Validate(); err != nil {
60787			invalidParams.AddNested("Bias", err.(request.ErrInvalidParams))
60788		}
60789	}
60790	if s.Explainability != nil {
60791		if err := s.Explainability.Validate(); err != nil {
60792			invalidParams.AddNested("Explainability", err.(request.ErrInvalidParams))
60793		}
60794	}
60795	if s.ModelDataQuality != nil {
60796		if err := s.ModelDataQuality.Validate(); err != nil {
60797			invalidParams.AddNested("ModelDataQuality", err.(request.ErrInvalidParams))
60798		}
60799	}
60800	if s.ModelQuality != nil {
60801		if err := s.ModelQuality.Validate(); err != nil {
60802			invalidParams.AddNested("ModelQuality", err.(request.ErrInvalidParams))
60803		}
60804	}
60805
60806	if invalidParams.Len() > 0 {
60807		return invalidParams
60808	}
60809	return nil
60810}
60811
60812// SetBias sets the Bias field's value.
60813func (s *ModelMetrics) SetBias(v *Bias) *ModelMetrics {
60814	s.Bias = v
60815	return s
60816}
60817
60818// SetExplainability sets the Explainability field's value.
60819func (s *ModelMetrics) SetExplainability(v *Explainability) *ModelMetrics {
60820	s.Explainability = v
60821	return s
60822}
60823
60824// SetModelDataQuality sets the ModelDataQuality field's value.
60825func (s *ModelMetrics) SetModelDataQuality(v *ModelDataQuality) *ModelMetrics {
60826	s.ModelDataQuality = v
60827	return s
60828}
60829
60830// SetModelQuality sets the ModelQuality field's value.
60831func (s *ModelMetrics) SetModelQuality(v *ModelQuality) *ModelMetrics {
60832	s.ModelQuality = v
60833	return s
60834}
60835
60836// A versioned model that can be deployed for SageMaker inference.
60837type ModelPackage struct {
60838	_ struct{} `type:"structure"`
60839
60840	// A description provided when the model approval is set.
60841	ApprovalDescription *string `type:"string"`
60842
60843	// Whether the model package is to be certified to be listed on AWS Marketplace.
60844	// For information about listing model packages on AWS Marketplace, see List
60845	// Your Algorithm or Model Package on AWS Marketplace (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-mkt-list.html).
60846	CertifyForMarketplace *bool `type:"boolean"`
60847
60848	// Information about the user who created or modified an experiment, trial,
60849	// or trial component.
60850	CreatedBy *UserContext `type:"structure"`
60851
60852	// The time that the model package was created.
60853	CreationTime *time.Time `type:"timestamp"`
60854
60855	// Defines how to perform inference generation after a training job is run.
60856	InferenceSpecification *InferenceSpecification `type:"structure"`
60857
60858	// Information about the user who created or modified an experiment, trial,
60859	// or trial component.
60860	LastModifiedBy *UserContext `type:"structure"`
60861
60862	// The last time the model package was modified.
60863	LastModifiedTime *time.Time `type:"timestamp"`
60864
60865	// Metadata properties of the tracking entity, trial, or trial component.
60866	MetadataProperties *MetadataProperties `type:"structure"`
60867
60868	// The approval status of the model. This can be one of the following values.
60869	//
60870	//    * APPROVED - The model is approved
60871	//
60872	//    * REJECTED - The model is rejected.
60873	//
60874	//    * PENDING_MANUAL_APPROVAL - The model is waiting for manual approval.
60875	ModelApprovalStatus *string `type:"string" enum:"ModelApprovalStatus"`
60876
60877	// Metrics for the model.
60878	ModelMetrics *ModelMetrics `type:"structure"`
60879
60880	// The Amazon Resource Name (ARN) of the model package.
60881	ModelPackageArn *string `min:"1" type:"string"`
60882
60883	// The description of the model package.
60884	ModelPackageDescription *string `type:"string"`
60885
60886	// The model group to which the model belongs.
60887	ModelPackageGroupName *string `min:"1" type:"string"`
60888
60889	// The name of the model.
60890	ModelPackageName *string `min:"1" type:"string"`
60891
60892	// The status of the model package. This can be one of the following values.
60893	//
60894	//    * PENDING - The model package is pending being created.
60895	//
60896	//    * IN_PROGRESS - The model package is in the process of being created.
60897	//
60898	//    * COMPLETED - The model package was successfully created.
60899	//
60900	//    * FAILED - The model package failed.
60901	//
60902	//    * DELETING - The model package is in the process of being deleted.
60903	ModelPackageStatus *string `type:"string" enum:"ModelPackageStatus"`
60904
60905	// Specifies the validation and image scan statuses of the model package.
60906	ModelPackageStatusDetails *ModelPackageStatusDetails `type:"structure"`
60907
60908	// The version number of a versioned model.
60909	ModelPackageVersion *int64 `min:"1" type:"integer"`
60910
60911	// A list of algorithms that were used to create a model package.
60912	SourceAlgorithmSpecification *SourceAlgorithmSpecification `type:"structure"`
60913
60914	// A list of the tags associated with the model package. For more information,
60915	// see Tagging AWS resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html)
60916	// in the AWS General Reference Guide.
60917	Tags []*Tag `type:"list"`
60918
60919	// Specifies batch transform jobs that Amazon SageMaker runs to validate your
60920	// model package.
60921	ValidationSpecification *ModelPackageValidationSpecification `type:"structure"`
60922}
60923
60924// String returns the string representation
60925func (s ModelPackage) String() string {
60926	return awsutil.Prettify(s)
60927}
60928
60929// GoString returns the string representation
60930func (s ModelPackage) GoString() string {
60931	return s.String()
60932}
60933
60934// SetApprovalDescription sets the ApprovalDescription field's value.
60935func (s *ModelPackage) SetApprovalDescription(v string) *ModelPackage {
60936	s.ApprovalDescription = &v
60937	return s
60938}
60939
60940// SetCertifyForMarketplace sets the CertifyForMarketplace field's value.
60941func (s *ModelPackage) SetCertifyForMarketplace(v bool) *ModelPackage {
60942	s.CertifyForMarketplace = &v
60943	return s
60944}
60945
60946// SetCreatedBy sets the CreatedBy field's value.
60947func (s *ModelPackage) SetCreatedBy(v *UserContext) *ModelPackage {
60948	s.CreatedBy = v
60949	return s
60950}
60951
60952// SetCreationTime sets the CreationTime field's value.
60953func (s *ModelPackage) SetCreationTime(v time.Time) *ModelPackage {
60954	s.CreationTime = &v
60955	return s
60956}
60957
60958// SetInferenceSpecification sets the InferenceSpecification field's value.
60959func (s *ModelPackage) SetInferenceSpecification(v *InferenceSpecification) *ModelPackage {
60960	s.InferenceSpecification = v
60961	return s
60962}
60963
60964// SetLastModifiedBy sets the LastModifiedBy field's value.
60965func (s *ModelPackage) SetLastModifiedBy(v *UserContext) *ModelPackage {
60966	s.LastModifiedBy = v
60967	return s
60968}
60969
60970// SetLastModifiedTime sets the LastModifiedTime field's value.
60971func (s *ModelPackage) SetLastModifiedTime(v time.Time) *ModelPackage {
60972	s.LastModifiedTime = &v
60973	return s
60974}
60975
60976// SetMetadataProperties sets the MetadataProperties field's value.
60977func (s *ModelPackage) SetMetadataProperties(v *MetadataProperties) *ModelPackage {
60978	s.MetadataProperties = v
60979	return s
60980}
60981
60982// SetModelApprovalStatus sets the ModelApprovalStatus field's value.
60983func (s *ModelPackage) SetModelApprovalStatus(v string) *ModelPackage {
60984	s.ModelApprovalStatus = &v
60985	return s
60986}
60987
60988// SetModelMetrics sets the ModelMetrics field's value.
60989func (s *ModelPackage) SetModelMetrics(v *ModelMetrics) *ModelPackage {
60990	s.ModelMetrics = v
60991	return s
60992}
60993
60994// SetModelPackageArn sets the ModelPackageArn field's value.
60995func (s *ModelPackage) SetModelPackageArn(v string) *ModelPackage {
60996	s.ModelPackageArn = &v
60997	return s
60998}
60999
61000// SetModelPackageDescription sets the ModelPackageDescription field's value.
61001func (s *ModelPackage) SetModelPackageDescription(v string) *ModelPackage {
61002	s.ModelPackageDescription = &v
61003	return s
61004}
61005
61006// SetModelPackageGroupName sets the ModelPackageGroupName field's value.
61007func (s *ModelPackage) SetModelPackageGroupName(v string) *ModelPackage {
61008	s.ModelPackageGroupName = &v
61009	return s
61010}
61011
61012// SetModelPackageName sets the ModelPackageName field's value.
61013func (s *ModelPackage) SetModelPackageName(v string) *ModelPackage {
61014	s.ModelPackageName = &v
61015	return s
61016}
61017
61018// SetModelPackageStatus sets the ModelPackageStatus field's value.
61019func (s *ModelPackage) SetModelPackageStatus(v string) *ModelPackage {
61020	s.ModelPackageStatus = &v
61021	return s
61022}
61023
61024// SetModelPackageStatusDetails sets the ModelPackageStatusDetails field's value.
61025func (s *ModelPackage) SetModelPackageStatusDetails(v *ModelPackageStatusDetails) *ModelPackage {
61026	s.ModelPackageStatusDetails = v
61027	return s
61028}
61029
61030// SetModelPackageVersion sets the ModelPackageVersion field's value.
61031func (s *ModelPackage) SetModelPackageVersion(v int64) *ModelPackage {
61032	s.ModelPackageVersion = &v
61033	return s
61034}
61035
61036// SetSourceAlgorithmSpecification sets the SourceAlgorithmSpecification field's value.
61037func (s *ModelPackage) SetSourceAlgorithmSpecification(v *SourceAlgorithmSpecification) *ModelPackage {
61038	s.SourceAlgorithmSpecification = v
61039	return s
61040}
61041
61042// SetTags sets the Tags field's value.
61043func (s *ModelPackage) SetTags(v []*Tag) *ModelPackage {
61044	s.Tags = v
61045	return s
61046}
61047
61048// SetValidationSpecification sets the ValidationSpecification field's value.
61049func (s *ModelPackage) SetValidationSpecification(v *ModelPackageValidationSpecification) *ModelPackage {
61050	s.ValidationSpecification = v
61051	return s
61052}
61053
61054// Describes the Docker container for the model package.
61055type ModelPackageContainerDefinition struct {
61056	_ struct{} `type:"structure"`
61057
61058	// The DNS host name for the Docker container.
61059	ContainerHostname *string `type:"string"`
61060
61061	// The Amazon EC2 Container Registry (Amazon ECR) path where inference code
61062	// is stored.
61063	//
61064	// If you are using your own custom algorithm instead of an algorithm provided
61065	// by Amazon SageMaker, the inference code must meet Amazon SageMaker requirements.
61066	// Amazon SageMaker supports both registry/repository[:tag] and registry/repository[@digest]
61067	// image path formats. For more information, see Using Your Own Algorithms with
61068	// Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html).
61069	//
61070	// Image is a required field
61071	Image *string `type:"string" required:"true"`
61072
61073	// An MD5 hash of the training algorithm that identifies the Docker image used
61074	// for training.
61075	ImageDigest *string `type:"string"`
61076
61077	// The Amazon S3 path where the model artifacts, which result from model training,
61078	// are stored. This path must point to a single gzip compressed tar archive
61079	// (.tar.gz suffix).
61080	//
61081	// The model artifacts must be in an S3 bucket that is in the same region as
61082	// the model package.
61083	ModelDataUrl *string `type:"string"`
61084
61085	// The AWS Marketplace product ID of the model package.
61086	ProductId *string `type:"string"`
61087}
61088
61089// String returns the string representation
61090func (s ModelPackageContainerDefinition) String() string {
61091	return awsutil.Prettify(s)
61092}
61093
61094// GoString returns the string representation
61095func (s ModelPackageContainerDefinition) GoString() string {
61096	return s.String()
61097}
61098
61099// Validate inspects the fields of the type to determine if they are valid.
61100func (s *ModelPackageContainerDefinition) Validate() error {
61101	invalidParams := request.ErrInvalidParams{Context: "ModelPackageContainerDefinition"}
61102	if s.Image == nil {
61103		invalidParams.Add(request.NewErrParamRequired("Image"))
61104	}
61105
61106	if invalidParams.Len() > 0 {
61107		return invalidParams
61108	}
61109	return nil
61110}
61111
61112// SetContainerHostname sets the ContainerHostname field's value.
61113func (s *ModelPackageContainerDefinition) SetContainerHostname(v string) *ModelPackageContainerDefinition {
61114	s.ContainerHostname = &v
61115	return s
61116}
61117
61118// SetImage sets the Image field's value.
61119func (s *ModelPackageContainerDefinition) SetImage(v string) *ModelPackageContainerDefinition {
61120	s.Image = &v
61121	return s
61122}
61123
61124// SetImageDigest sets the ImageDigest field's value.
61125func (s *ModelPackageContainerDefinition) SetImageDigest(v string) *ModelPackageContainerDefinition {
61126	s.ImageDigest = &v
61127	return s
61128}
61129
61130// SetModelDataUrl sets the ModelDataUrl field's value.
61131func (s *ModelPackageContainerDefinition) SetModelDataUrl(v string) *ModelPackageContainerDefinition {
61132	s.ModelDataUrl = &v
61133	return s
61134}
61135
61136// SetProductId sets the ProductId field's value.
61137func (s *ModelPackageContainerDefinition) SetProductId(v string) *ModelPackageContainerDefinition {
61138	s.ProductId = &v
61139	return s
61140}
61141
61142// A group of versioned models in the model registry.
61143type ModelPackageGroup struct {
61144	_ struct{} `type:"structure"`
61145
61146	// Information about the user who created or modified an experiment, trial,
61147	// or trial component.
61148	CreatedBy *UserContext `type:"structure"`
61149
61150	// The time that the model group was created.
61151	CreationTime *time.Time `type:"timestamp"`
61152
61153	// The Amazon Resource Name (ARN) of the model group.
61154	ModelPackageGroupArn *string `min:"1" type:"string"`
61155
61156	// The description for the model group.
61157	ModelPackageGroupDescription *string `type:"string"`
61158
61159	// The name of the model group.
61160	ModelPackageGroupName *string `min:"1" type:"string"`
61161
61162	// The status of the model group. This can be one of the following values.
61163	//
61164	//    * PENDING - The model group is pending being created.
61165	//
61166	//    * IN_PROGRESS - The model group is in the process of being created.
61167	//
61168	//    * COMPLETED - The model group was successfully created.
61169	//
61170	//    * FAILED - The model group failed.
61171	//
61172	//    * DELETING - The model group is in the process of being deleted.
61173	//
61174	//    * DELETE_FAILED - SageMaker failed to delete the model group.
61175	ModelPackageGroupStatus *string `type:"string" enum:"ModelPackageGroupStatus"`
61176
61177	// A list of the tags associated with the model group. For more information,
61178	// see Tagging AWS resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html)
61179	// in the AWS General Reference Guide.
61180	Tags []*Tag `type:"list"`
61181}
61182
61183// String returns the string representation
61184func (s ModelPackageGroup) String() string {
61185	return awsutil.Prettify(s)
61186}
61187
61188// GoString returns the string representation
61189func (s ModelPackageGroup) GoString() string {
61190	return s.String()
61191}
61192
61193// SetCreatedBy sets the CreatedBy field's value.
61194func (s *ModelPackageGroup) SetCreatedBy(v *UserContext) *ModelPackageGroup {
61195	s.CreatedBy = v
61196	return s
61197}
61198
61199// SetCreationTime sets the CreationTime field's value.
61200func (s *ModelPackageGroup) SetCreationTime(v time.Time) *ModelPackageGroup {
61201	s.CreationTime = &v
61202	return s
61203}
61204
61205// SetModelPackageGroupArn sets the ModelPackageGroupArn field's value.
61206func (s *ModelPackageGroup) SetModelPackageGroupArn(v string) *ModelPackageGroup {
61207	s.ModelPackageGroupArn = &v
61208	return s
61209}
61210
61211// SetModelPackageGroupDescription sets the ModelPackageGroupDescription field's value.
61212func (s *ModelPackageGroup) SetModelPackageGroupDescription(v string) *ModelPackageGroup {
61213	s.ModelPackageGroupDescription = &v
61214	return s
61215}
61216
61217// SetModelPackageGroupName sets the ModelPackageGroupName field's value.
61218func (s *ModelPackageGroup) SetModelPackageGroupName(v string) *ModelPackageGroup {
61219	s.ModelPackageGroupName = &v
61220	return s
61221}
61222
61223// SetModelPackageGroupStatus sets the ModelPackageGroupStatus field's value.
61224func (s *ModelPackageGroup) SetModelPackageGroupStatus(v string) *ModelPackageGroup {
61225	s.ModelPackageGroupStatus = &v
61226	return s
61227}
61228
61229// SetTags sets the Tags field's value.
61230func (s *ModelPackageGroup) SetTags(v []*Tag) *ModelPackageGroup {
61231	s.Tags = v
61232	return s
61233}
61234
61235// Summary information about a model group.
61236type ModelPackageGroupSummary struct {
61237	_ struct{} `type:"structure"`
61238
61239	// The time that the model group was created.
61240	//
61241	// CreationTime is a required field
61242	CreationTime *time.Time `type:"timestamp" required:"true"`
61243
61244	// The Amazon Resource Name (ARN) of the model group.
61245	//
61246	// ModelPackageGroupArn is a required field
61247	ModelPackageGroupArn *string `min:"1" type:"string" required:"true"`
61248
61249	// A description of the model group.
61250	ModelPackageGroupDescription *string `type:"string"`
61251
61252	// The name of the model group.
61253	//
61254	// ModelPackageGroupName is a required field
61255	ModelPackageGroupName *string `min:"1" type:"string" required:"true"`
61256
61257	// The status of the model group.
61258	//
61259	// ModelPackageGroupStatus is a required field
61260	ModelPackageGroupStatus *string `type:"string" required:"true" enum:"ModelPackageGroupStatus"`
61261}
61262
61263// String returns the string representation
61264func (s ModelPackageGroupSummary) String() string {
61265	return awsutil.Prettify(s)
61266}
61267
61268// GoString returns the string representation
61269func (s ModelPackageGroupSummary) GoString() string {
61270	return s.String()
61271}
61272
61273// SetCreationTime sets the CreationTime field's value.
61274func (s *ModelPackageGroupSummary) SetCreationTime(v time.Time) *ModelPackageGroupSummary {
61275	s.CreationTime = &v
61276	return s
61277}
61278
61279// SetModelPackageGroupArn sets the ModelPackageGroupArn field's value.
61280func (s *ModelPackageGroupSummary) SetModelPackageGroupArn(v string) *ModelPackageGroupSummary {
61281	s.ModelPackageGroupArn = &v
61282	return s
61283}
61284
61285// SetModelPackageGroupDescription sets the ModelPackageGroupDescription field's value.
61286func (s *ModelPackageGroupSummary) SetModelPackageGroupDescription(v string) *ModelPackageGroupSummary {
61287	s.ModelPackageGroupDescription = &v
61288	return s
61289}
61290
61291// SetModelPackageGroupName sets the ModelPackageGroupName field's value.
61292func (s *ModelPackageGroupSummary) SetModelPackageGroupName(v string) *ModelPackageGroupSummary {
61293	s.ModelPackageGroupName = &v
61294	return s
61295}
61296
61297// SetModelPackageGroupStatus sets the ModelPackageGroupStatus field's value.
61298func (s *ModelPackageGroupSummary) SetModelPackageGroupStatus(v string) *ModelPackageGroupSummary {
61299	s.ModelPackageGroupStatus = &v
61300	return s
61301}
61302
61303// Specifies the validation and image scan statuses of the model package.
61304type ModelPackageStatusDetails struct {
61305	_ struct{} `type:"structure"`
61306
61307	// The status of the scan of the Docker image container for the model package.
61308	ImageScanStatuses []*ModelPackageStatusItem `type:"list"`
61309
61310	// The validation status of the model package.
61311	//
61312	// ValidationStatuses is a required field
61313	ValidationStatuses []*ModelPackageStatusItem `type:"list" required:"true"`
61314}
61315
61316// String returns the string representation
61317func (s ModelPackageStatusDetails) String() string {
61318	return awsutil.Prettify(s)
61319}
61320
61321// GoString returns the string representation
61322func (s ModelPackageStatusDetails) GoString() string {
61323	return s.String()
61324}
61325
61326// SetImageScanStatuses sets the ImageScanStatuses field's value.
61327func (s *ModelPackageStatusDetails) SetImageScanStatuses(v []*ModelPackageStatusItem) *ModelPackageStatusDetails {
61328	s.ImageScanStatuses = v
61329	return s
61330}
61331
61332// SetValidationStatuses sets the ValidationStatuses field's value.
61333func (s *ModelPackageStatusDetails) SetValidationStatuses(v []*ModelPackageStatusItem) *ModelPackageStatusDetails {
61334	s.ValidationStatuses = v
61335	return s
61336}
61337
61338// Represents the overall status of a model package.
61339type ModelPackageStatusItem struct {
61340	_ struct{} `type:"structure"`
61341
61342	// if the overall status is Failed, the reason for the failure.
61343	FailureReason *string `type:"string"`
61344
61345	// The name of the model package for which the overall status is being reported.
61346	//
61347	// Name is a required field
61348	Name *string `min:"1" type:"string" required:"true"`
61349
61350	// The current status.
61351	//
61352	// Status is a required field
61353	Status *string `type:"string" required:"true" enum:"DetailedModelPackageStatus"`
61354}
61355
61356// String returns the string representation
61357func (s ModelPackageStatusItem) String() string {
61358	return awsutil.Prettify(s)
61359}
61360
61361// GoString returns the string representation
61362func (s ModelPackageStatusItem) GoString() string {
61363	return s.String()
61364}
61365
61366// SetFailureReason sets the FailureReason field's value.
61367func (s *ModelPackageStatusItem) SetFailureReason(v string) *ModelPackageStatusItem {
61368	s.FailureReason = &v
61369	return s
61370}
61371
61372// SetName sets the Name field's value.
61373func (s *ModelPackageStatusItem) SetName(v string) *ModelPackageStatusItem {
61374	s.Name = &v
61375	return s
61376}
61377
61378// SetStatus sets the Status field's value.
61379func (s *ModelPackageStatusItem) SetStatus(v string) *ModelPackageStatusItem {
61380	s.Status = &v
61381	return s
61382}
61383
61384// Provides summary information about a model package.
61385type ModelPackageSummary struct {
61386	_ struct{} `type:"structure"`
61387
61388	// A timestamp that shows when the model package was created.
61389	//
61390	// CreationTime is a required field
61391	CreationTime *time.Time `type:"timestamp" required:"true"`
61392
61393	// The approval status of the model. This can be one of the following values.
61394	//
61395	//    * APPROVED - The model is approved
61396	//
61397	//    * REJECTED - The model is rejected.
61398	//
61399	//    * PENDING_MANUAL_APPROVAL - The model is waiting for manual approval.
61400	ModelApprovalStatus *string `type:"string" enum:"ModelApprovalStatus"`
61401
61402	// The Amazon Resource Name (ARN) of the model package.
61403	//
61404	// ModelPackageArn is a required field
61405	ModelPackageArn *string `min:"1" type:"string" required:"true"`
61406
61407	// A brief description of the model package.
61408	ModelPackageDescription *string `type:"string"`
61409
61410	// If the model package is a versioned model, the model group that the versioned
61411	// model belongs to.
61412	ModelPackageGroupName *string `min:"1" type:"string"`
61413
61414	// The name of the model package.
61415	//
61416	// ModelPackageName is a required field
61417	ModelPackageName *string `min:"1" type:"string" required:"true"`
61418
61419	// The overall status of the model package.
61420	//
61421	// ModelPackageStatus is a required field
61422	ModelPackageStatus *string `type:"string" required:"true" enum:"ModelPackageStatus"`
61423
61424	// If the model package is a versioned model, the version of the model.
61425	ModelPackageVersion *int64 `min:"1" type:"integer"`
61426}
61427
61428// String returns the string representation
61429func (s ModelPackageSummary) String() string {
61430	return awsutil.Prettify(s)
61431}
61432
61433// GoString returns the string representation
61434func (s ModelPackageSummary) GoString() string {
61435	return s.String()
61436}
61437
61438// SetCreationTime sets the CreationTime field's value.
61439func (s *ModelPackageSummary) SetCreationTime(v time.Time) *ModelPackageSummary {
61440	s.CreationTime = &v
61441	return s
61442}
61443
61444// SetModelApprovalStatus sets the ModelApprovalStatus field's value.
61445func (s *ModelPackageSummary) SetModelApprovalStatus(v string) *ModelPackageSummary {
61446	s.ModelApprovalStatus = &v
61447	return s
61448}
61449
61450// SetModelPackageArn sets the ModelPackageArn field's value.
61451func (s *ModelPackageSummary) SetModelPackageArn(v string) *ModelPackageSummary {
61452	s.ModelPackageArn = &v
61453	return s
61454}
61455
61456// SetModelPackageDescription sets the ModelPackageDescription field's value.
61457func (s *ModelPackageSummary) SetModelPackageDescription(v string) *ModelPackageSummary {
61458	s.ModelPackageDescription = &v
61459	return s
61460}
61461
61462// SetModelPackageGroupName sets the ModelPackageGroupName field's value.
61463func (s *ModelPackageSummary) SetModelPackageGroupName(v string) *ModelPackageSummary {
61464	s.ModelPackageGroupName = &v
61465	return s
61466}
61467
61468// SetModelPackageName sets the ModelPackageName field's value.
61469func (s *ModelPackageSummary) SetModelPackageName(v string) *ModelPackageSummary {
61470	s.ModelPackageName = &v
61471	return s
61472}
61473
61474// SetModelPackageStatus sets the ModelPackageStatus field's value.
61475func (s *ModelPackageSummary) SetModelPackageStatus(v string) *ModelPackageSummary {
61476	s.ModelPackageStatus = &v
61477	return s
61478}
61479
61480// SetModelPackageVersion sets the ModelPackageVersion field's value.
61481func (s *ModelPackageSummary) SetModelPackageVersion(v int64) *ModelPackageSummary {
61482	s.ModelPackageVersion = &v
61483	return s
61484}
61485
61486// Contains data, such as the inputs and targeted instance types that are used
61487// in the process of validating the model package.
61488//
61489// The data provided in the validation profile is made available to your buyers
61490// on AWS Marketplace.
61491type ModelPackageValidationProfile struct {
61492	_ struct{} `type:"structure"`
61493
61494	// The name of the profile for the model package.
61495	//
61496	// ProfileName is a required field
61497	ProfileName *string `min:"1" type:"string" required:"true"`
61498
61499	// The TransformJobDefinition object that describes the transform job used for
61500	// the validation of the model package.
61501	//
61502	// TransformJobDefinition is a required field
61503	TransformJobDefinition *TransformJobDefinition `type:"structure" required:"true"`
61504}
61505
61506// String returns the string representation
61507func (s ModelPackageValidationProfile) String() string {
61508	return awsutil.Prettify(s)
61509}
61510
61511// GoString returns the string representation
61512func (s ModelPackageValidationProfile) GoString() string {
61513	return s.String()
61514}
61515
61516// Validate inspects the fields of the type to determine if they are valid.
61517func (s *ModelPackageValidationProfile) Validate() error {
61518	invalidParams := request.ErrInvalidParams{Context: "ModelPackageValidationProfile"}
61519	if s.ProfileName == nil {
61520		invalidParams.Add(request.NewErrParamRequired("ProfileName"))
61521	}
61522	if s.ProfileName != nil && len(*s.ProfileName) < 1 {
61523		invalidParams.Add(request.NewErrParamMinLen("ProfileName", 1))
61524	}
61525	if s.TransformJobDefinition == nil {
61526		invalidParams.Add(request.NewErrParamRequired("TransformJobDefinition"))
61527	}
61528	if s.TransformJobDefinition != nil {
61529		if err := s.TransformJobDefinition.Validate(); err != nil {
61530			invalidParams.AddNested("TransformJobDefinition", err.(request.ErrInvalidParams))
61531		}
61532	}
61533
61534	if invalidParams.Len() > 0 {
61535		return invalidParams
61536	}
61537	return nil
61538}
61539
61540// SetProfileName sets the ProfileName field's value.
61541func (s *ModelPackageValidationProfile) SetProfileName(v string) *ModelPackageValidationProfile {
61542	s.ProfileName = &v
61543	return s
61544}
61545
61546// SetTransformJobDefinition sets the TransformJobDefinition field's value.
61547func (s *ModelPackageValidationProfile) SetTransformJobDefinition(v *TransformJobDefinition) *ModelPackageValidationProfile {
61548	s.TransformJobDefinition = v
61549	return s
61550}
61551
61552// Specifies batch transform jobs that Amazon SageMaker runs to validate your
61553// model package.
61554type ModelPackageValidationSpecification struct {
61555	_ struct{} `type:"structure"`
61556
61557	// An array of ModelPackageValidationProfile objects, each of which specifies
61558	// a batch transform job that Amazon SageMaker runs to validate your model package.
61559	//
61560	// ValidationProfiles is a required field
61561	ValidationProfiles []*ModelPackageValidationProfile `min:"1" type:"list" required:"true"`
61562
61563	// The IAM roles to be used for the validation of the model package.
61564	//
61565	// ValidationRole is a required field
61566	ValidationRole *string `min:"20" type:"string" required:"true"`
61567}
61568
61569// String returns the string representation
61570func (s ModelPackageValidationSpecification) String() string {
61571	return awsutil.Prettify(s)
61572}
61573
61574// GoString returns the string representation
61575func (s ModelPackageValidationSpecification) GoString() string {
61576	return s.String()
61577}
61578
61579// Validate inspects the fields of the type to determine if they are valid.
61580func (s *ModelPackageValidationSpecification) Validate() error {
61581	invalidParams := request.ErrInvalidParams{Context: "ModelPackageValidationSpecification"}
61582	if s.ValidationProfiles == nil {
61583		invalidParams.Add(request.NewErrParamRequired("ValidationProfiles"))
61584	}
61585	if s.ValidationProfiles != nil && len(s.ValidationProfiles) < 1 {
61586		invalidParams.Add(request.NewErrParamMinLen("ValidationProfiles", 1))
61587	}
61588	if s.ValidationRole == nil {
61589		invalidParams.Add(request.NewErrParamRequired("ValidationRole"))
61590	}
61591	if s.ValidationRole != nil && len(*s.ValidationRole) < 20 {
61592		invalidParams.Add(request.NewErrParamMinLen("ValidationRole", 20))
61593	}
61594	if s.ValidationProfiles != nil {
61595		for i, v := range s.ValidationProfiles {
61596			if v == nil {
61597				continue
61598			}
61599			if err := v.Validate(); err != nil {
61600				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ValidationProfiles", i), err.(request.ErrInvalidParams))
61601			}
61602		}
61603	}
61604
61605	if invalidParams.Len() > 0 {
61606		return invalidParams
61607	}
61608	return nil
61609}
61610
61611// SetValidationProfiles sets the ValidationProfiles field's value.
61612func (s *ModelPackageValidationSpecification) SetValidationProfiles(v []*ModelPackageValidationProfile) *ModelPackageValidationSpecification {
61613	s.ValidationProfiles = v
61614	return s
61615}
61616
61617// SetValidationRole sets the ValidationRole field's value.
61618func (s *ModelPackageValidationSpecification) SetValidationRole(v string) *ModelPackageValidationSpecification {
61619	s.ValidationRole = &v
61620	return s
61621}
61622
61623// Model quality statistics and constraints.
61624type ModelQuality struct {
61625	_ struct{} `type:"structure"`
61626
61627	// Model quality constraints.
61628	Constraints *MetricsSource `type:"structure"`
61629
61630	// Model quality statistics.
61631	Statistics *MetricsSource `type:"structure"`
61632}
61633
61634// String returns the string representation
61635func (s ModelQuality) String() string {
61636	return awsutil.Prettify(s)
61637}
61638
61639// GoString returns the string representation
61640func (s ModelQuality) GoString() string {
61641	return s.String()
61642}
61643
61644// Validate inspects the fields of the type to determine if they are valid.
61645func (s *ModelQuality) Validate() error {
61646	invalidParams := request.ErrInvalidParams{Context: "ModelQuality"}
61647	if s.Constraints != nil {
61648		if err := s.Constraints.Validate(); err != nil {
61649			invalidParams.AddNested("Constraints", err.(request.ErrInvalidParams))
61650		}
61651	}
61652	if s.Statistics != nil {
61653		if err := s.Statistics.Validate(); err != nil {
61654			invalidParams.AddNested("Statistics", err.(request.ErrInvalidParams))
61655		}
61656	}
61657
61658	if invalidParams.Len() > 0 {
61659		return invalidParams
61660	}
61661	return nil
61662}
61663
61664// SetConstraints sets the Constraints field's value.
61665func (s *ModelQuality) SetConstraints(v *MetricsSource) *ModelQuality {
61666	s.Constraints = v
61667	return s
61668}
61669
61670// SetStatistics sets the Statistics field's value.
61671func (s *ModelQuality) SetStatistics(v *MetricsSource) *ModelQuality {
61672	s.Statistics = v
61673	return s
61674}
61675
61676// Container image configuration object for the monitoring job.
61677type ModelQualityAppSpecification struct {
61678	_ struct{} `type:"structure"`
61679
61680	// An array of arguments for the container used to run the monitoring job.
61681	ContainerArguments []*string `min:"1" type:"list"`
61682
61683	// Specifies the entrypoint for a container that the monitoring job runs.
61684	ContainerEntrypoint []*string `min:"1" type:"list"`
61685
61686	// Sets the environment variables in the container that the monitoring job runs.
61687	Environment map[string]*string `type:"map"`
61688
61689	// The address of the container image that the monitoring job runs.
61690	//
61691	// ImageUri is a required field
61692	ImageUri *string `type:"string" required:"true"`
61693
61694	// An Amazon S3 URI to a script that is called after analysis has been performed.
61695	// Applicable only for the built-in (first party) containers.
61696	PostAnalyticsProcessorSourceUri *string `type:"string"`
61697
61698	// The machine learning problem type of the model that the monitoring job monitors.
61699	ProblemType *string `type:"string" enum:"MonitoringProblemType"`
61700
61701	// An Amazon S3 URI to a script that is called per row prior to running analysis.
61702	// It can base64 decode the payload and convert it into a flatted json so that
61703	// the built-in container can use the converted data. Applicable only for the
61704	// built-in (first party) containers.
61705	RecordPreprocessorSourceUri *string `type:"string"`
61706}
61707
61708// String returns the string representation
61709func (s ModelQualityAppSpecification) String() string {
61710	return awsutil.Prettify(s)
61711}
61712
61713// GoString returns the string representation
61714func (s ModelQualityAppSpecification) GoString() string {
61715	return s.String()
61716}
61717
61718// Validate inspects the fields of the type to determine if they are valid.
61719func (s *ModelQualityAppSpecification) Validate() error {
61720	invalidParams := request.ErrInvalidParams{Context: "ModelQualityAppSpecification"}
61721	if s.ContainerArguments != nil && len(s.ContainerArguments) < 1 {
61722		invalidParams.Add(request.NewErrParamMinLen("ContainerArguments", 1))
61723	}
61724	if s.ContainerEntrypoint != nil && len(s.ContainerEntrypoint) < 1 {
61725		invalidParams.Add(request.NewErrParamMinLen("ContainerEntrypoint", 1))
61726	}
61727	if s.ImageUri == nil {
61728		invalidParams.Add(request.NewErrParamRequired("ImageUri"))
61729	}
61730
61731	if invalidParams.Len() > 0 {
61732		return invalidParams
61733	}
61734	return nil
61735}
61736
61737// SetContainerArguments sets the ContainerArguments field's value.
61738func (s *ModelQualityAppSpecification) SetContainerArguments(v []*string) *ModelQualityAppSpecification {
61739	s.ContainerArguments = v
61740	return s
61741}
61742
61743// SetContainerEntrypoint sets the ContainerEntrypoint field's value.
61744func (s *ModelQualityAppSpecification) SetContainerEntrypoint(v []*string) *ModelQualityAppSpecification {
61745	s.ContainerEntrypoint = v
61746	return s
61747}
61748
61749// SetEnvironment sets the Environment field's value.
61750func (s *ModelQualityAppSpecification) SetEnvironment(v map[string]*string) *ModelQualityAppSpecification {
61751	s.Environment = v
61752	return s
61753}
61754
61755// SetImageUri sets the ImageUri field's value.
61756func (s *ModelQualityAppSpecification) SetImageUri(v string) *ModelQualityAppSpecification {
61757	s.ImageUri = &v
61758	return s
61759}
61760
61761// SetPostAnalyticsProcessorSourceUri sets the PostAnalyticsProcessorSourceUri field's value.
61762func (s *ModelQualityAppSpecification) SetPostAnalyticsProcessorSourceUri(v string) *ModelQualityAppSpecification {
61763	s.PostAnalyticsProcessorSourceUri = &v
61764	return s
61765}
61766
61767// SetProblemType sets the ProblemType field's value.
61768func (s *ModelQualityAppSpecification) SetProblemType(v string) *ModelQualityAppSpecification {
61769	s.ProblemType = &v
61770	return s
61771}
61772
61773// SetRecordPreprocessorSourceUri sets the RecordPreprocessorSourceUri field's value.
61774func (s *ModelQualityAppSpecification) SetRecordPreprocessorSourceUri(v string) *ModelQualityAppSpecification {
61775	s.RecordPreprocessorSourceUri = &v
61776	return s
61777}
61778
61779// Configuration for monitoring constraints and monitoring statistics. These
61780// baseline resources are compared against the results of the current job from
61781// the series of jobs scheduled to collect data periodically.
61782type ModelQualityBaselineConfig struct {
61783	_ struct{} `type:"structure"`
61784
61785	// The name of the job that performs baselining for the monitoring job.
61786	BaseliningJobName *string `min:"1" type:"string"`
61787
61788	// The constraints resource for a monitoring job.
61789	ConstraintsResource *MonitoringConstraintsResource `type:"structure"`
61790}
61791
61792// String returns the string representation
61793func (s ModelQualityBaselineConfig) String() string {
61794	return awsutil.Prettify(s)
61795}
61796
61797// GoString returns the string representation
61798func (s ModelQualityBaselineConfig) GoString() string {
61799	return s.String()
61800}
61801
61802// Validate inspects the fields of the type to determine if they are valid.
61803func (s *ModelQualityBaselineConfig) Validate() error {
61804	invalidParams := request.ErrInvalidParams{Context: "ModelQualityBaselineConfig"}
61805	if s.BaseliningJobName != nil && len(*s.BaseliningJobName) < 1 {
61806		invalidParams.Add(request.NewErrParamMinLen("BaseliningJobName", 1))
61807	}
61808
61809	if invalidParams.Len() > 0 {
61810		return invalidParams
61811	}
61812	return nil
61813}
61814
61815// SetBaseliningJobName sets the BaseliningJobName field's value.
61816func (s *ModelQualityBaselineConfig) SetBaseliningJobName(v string) *ModelQualityBaselineConfig {
61817	s.BaseliningJobName = &v
61818	return s
61819}
61820
61821// SetConstraintsResource sets the ConstraintsResource field's value.
61822func (s *ModelQualityBaselineConfig) SetConstraintsResource(v *MonitoringConstraintsResource) *ModelQualityBaselineConfig {
61823	s.ConstraintsResource = v
61824	return s
61825}
61826
61827// The input for the model quality monitoring job. Currently endponts are supported
61828// for input for model quality monitoring jobs.
61829type ModelQualityJobInput struct {
61830	_ struct{} `type:"structure"`
61831
61832	// Input object for the endpoint
61833	//
61834	// EndpointInput is a required field
61835	EndpointInput *EndpointInput `type:"structure" required:"true"`
61836
61837	// The ground truth label provided for the model.
61838	//
61839	// GroundTruthS3Input is a required field
61840	GroundTruthS3Input *MonitoringGroundTruthS3Input `type:"structure" required:"true"`
61841}
61842
61843// String returns the string representation
61844func (s ModelQualityJobInput) String() string {
61845	return awsutil.Prettify(s)
61846}
61847
61848// GoString returns the string representation
61849func (s ModelQualityJobInput) GoString() string {
61850	return s.String()
61851}
61852
61853// Validate inspects the fields of the type to determine if they are valid.
61854func (s *ModelQualityJobInput) Validate() error {
61855	invalidParams := request.ErrInvalidParams{Context: "ModelQualityJobInput"}
61856	if s.EndpointInput == nil {
61857		invalidParams.Add(request.NewErrParamRequired("EndpointInput"))
61858	}
61859	if s.GroundTruthS3Input == nil {
61860		invalidParams.Add(request.NewErrParamRequired("GroundTruthS3Input"))
61861	}
61862	if s.EndpointInput != nil {
61863		if err := s.EndpointInput.Validate(); err != nil {
61864			invalidParams.AddNested("EndpointInput", err.(request.ErrInvalidParams))
61865		}
61866	}
61867
61868	if invalidParams.Len() > 0 {
61869		return invalidParams
61870	}
61871	return nil
61872}
61873
61874// SetEndpointInput sets the EndpointInput field's value.
61875func (s *ModelQualityJobInput) SetEndpointInput(v *EndpointInput) *ModelQualityJobInput {
61876	s.EndpointInput = v
61877	return s
61878}
61879
61880// SetGroundTruthS3Input sets the GroundTruthS3Input field's value.
61881func (s *ModelQualityJobInput) SetGroundTruthS3Input(v *MonitoringGroundTruthS3Input) *ModelQualityJobInput {
61882	s.GroundTruthS3Input = v
61883	return s
61884}
61885
61886// Metadata for Model steps.
61887type ModelStepMetadata struct {
61888	_ struct{} `type:"structure"`
61889
61890	// The Amazon Resource Name (ARN) of the created model.
61891	Arn *string `type:"string"`
61892}
61893
61894// String returns the string representation
61895func (s ModelStepMetadata) String() string {
61896	return awsutil.Prettify(s)
61897}
61898
61899// GoString returns the string representation
61900func (s ModelStepMetadata) GoString() string {
61901	return s.String()
61902}
61903
61904// SetArn sets the Arn field's value.
61905func (s *ModelStepMetadata) SetArn(v string) *ModelStepMetadata {
61906	s.Arn = &v
61907	return s
61908}
61909
61910// Provides summary information about a model.
61911type ModelSummary struct {
61912	_ struct{} `type:"structure"`
61913
61914	// A timestamp that indicates when the model was created.
61915	//
61916	// CreationTime is a required field
61917	CreationTime *time.Time `type:"timestamp" required:"true"`
61918
61919	// The Amazon Resource Name (ARN) of the model.
61920	//
61921	// ModelArn is a required field
61922	ModelArn *string `min:"20" type:"string" required:"true"`
61923
61924	// The name of the model that you want a summary for.
61925	//
61926	// ModelName is a required field
61927	ModelName *string `type:"string" required:"true"`
61928}
61929
61930// String returns the string representation
61931func (s ModelSummary) String() string {
61932	return awsutil.Prettify(s)
61933}
61934
61935// GoString returns the string representation
61936func (s ModelSummary) GoString() string {
61937	return s.String()
61938}
61939
61940// SetCreationTime sets the CreationTime field's value.
61941func (s *ModelSummary) SetCreationTime(v time.Time) *ModelSummary {
61942	s.CreationTime = &v
61943	return s
61944}
61945
61946// SetModelArn sets the ModelArn field's value.
61947func (s *ModelSummary) SetModelArn(v string) *ModelSummary {
61948	s.ModelArn = &v
61949	return s
61950}
61951
61952// SetModelName sets the ModelName field's value.
61953func (s *ModelSummary) SetModelName(v string) *ModelSummary {
61954	s.ModelName = &v
61955	return s
61956}
61957
61958// Container image configuration object for the monitoring job.
61959type MonitoringAppSpecification struct {
61960	_ struct{} `type:"structure"`
61961
61962	// An array of arguments for the container used to run the monitoring job.
61963	ContainerArguments []*string `min:"1" type:"list"`
61964
61965	// Specifies the entrypoint for a container used to run the monitoring job.
61966	ContainerEntrypoint []*string `min:"1" type:"list"`
61967
61968	// The container image to be run by the monitoring job.
61969	//
61970	// ImageUri is a required field
61971	ImageUri *string `type:"string" required:"true"`
61972
61973	// An Amazon S3 URI to a script that is called after analysis has been performed.
61974	// Applicable only for the built-in (first party) containers.
61975	PostAnalyticsProcessorSourceUri *string `type:"string"`
61976
61977	// An Amazon S3 URI to a script that is called per row prior to running analysis.
61978	// It can base64 decode the payload and convert it into a flatted json so that
61979	// the built-in container can use the converted data. Applicable only for the
61980	// built-in (first party) containers.
61981	RecordPreprocessorSourceUri *string `type:"string"`
61982}
61983
61984// String returns the string representation
61985func (s MonitoringAppSpecification) String() string {
61986	return awsutil.Prettify(s)
61987}
61988
61989// GoString returns the string representation
61990func (s MonitoringAppSpecification) GoString() string {
61991	return s.String()
61992}
61993
61994// Validate inspects the fields of the type to determine if they are valid.
61995func (s *MonitoringAppSpecification) Validate() error {
61996	invalidParams := request.ErrInvalidParams{Context: "MonitoringAppSpecification"}
61997	if s.ContainerArguments != nil && len(s.ContainerArguments) < 1 {
61998		invalidParams.Add(request.NewErrParamMinLen("ContainerArguments", 1))
61999	}
62000	if s.ContainerEntrypoint != nil && len(s.ContainerEntrypoint) < 1 {
62001		invalidParams.Add(request.NewErrParamMinLen("ContainerEntrypoint", 1))
62002	}
62003	if s.ImageUri == nil {
62004		invalidParams.Add(request.NewErrParamRequired("ImageUri"))
62005	}
62006
62007	if invalidParams.Len() > 0 {
62008		return invalidParams
62009	}
62010	return nil
62011}
62012
62013// SetContainerArguments sets the ContainerArguments field's value.
62014func (s *MonitoringAppSpecification) SetContainerArguments(v []*string) *MonitoringAppSpecification {
62015	s.ContainerArguments = v
62016	return s
62017}
62018
62019// SetContainerEntrypoint sets the ContainerEntrypoint field's value.
62020func (s *MonitoringAppSpecification) SetContainerEntrypoint(v []*string) *MonitoringAppSpecification {
62021	s.ContainerEntrypoint = v
62022	return s
62023}
62024
62025// SetImageUri sets the ImageUri field's value.
62026func (s *MonitoringAppSpecification) SetImageUri(v string) *MonitoringAppSpecification {
62027	s.ImageUri = &v
62028	return s
62029}
62030
62031// SetPostAnalyticsProcessorSourceUri sets the PostAnalyticsProcessorSourceUri field's value.
62032func (s *MonitoringAppSpecification) SetPostAnalyticsProcessorSourceUri(v string) *MonitoringAppSpecification {
62033	s.PostAnalyticsProcessorSourceUri = &v
62034	return s
62035}
62036
62037// SetRecordPreprocessorSourceUri sets the RecordPreprocessorSourceUri field's value.
62038func (s *MonitoringAppSpecification) SetRecordPreprocessorSourceUri(v string) *MonitoringAppSpecification {
62039	s.RecordPreprocessorSourceUri = &v
62040	return s
62041}
62042
62043// Configuration for monitoring constraints and monitoring statistics. These
62044// baseline resources are compared against the results of the current job from
62045// the series of jobs scheduled to collect data periodically.
62046type MonitoringBaselineConfig struct {
62047	_ struct{} `type:"structure"`
62048
62049	// The name of the job that performs baselining for the monitoring job.
62050	BaseliningJobName *string `min:"1" type:"string"`
62051
62052	// The baseline constraint file in Amazon S3 that the current monitoring job
62053	// should validated against.
62054	ConstraintsResource *MonitoringConstraintsResource `type:"structure"`
62055
62056	// The baseline statistics file in Amazon S3 that the current monitoring job
62057	// should be validated against.
62058	StatisticsResource *MonitoringStatisticsResource `type:"structure"`
62059}
62060
62061// String returns the string representation
62062func (s MonitoringBaselineConfig) String() string {
62063	return awsutil.Prettify(s)
62064}
62065
62066// GoString returns the string representation
62067func (s MonitoringBaselineConfig) GoString() string {
62068	return s.String()
62069}
62070
62071// Validate inspects the fields of the type to determine if they are valid.
62072func (s *MonitoringBaselineConfig) Validate() error {
62073	invalidParams := request.ErrInvalidParams{Context: "MonitoringBaselineConfig"}
62074	if s.BaseliningJobName != nil && len(*s.BaseliningJobName) < 1 {
62075		invalidParams.Add(request.NewErrParamMinLen("BaseliningJobName", 1))
62076	}
62077
62078	if invalidParams.Len() > 0 {
62079		return invalidParams
62080	}
62081	return nil
62082}
62083
62084// SetBaseliningJobName sets the BaseliningJobName field's value.
62085func (s *MonitoringBaselineConfig) SetBaseliningJobName(v string) *MonitoringBaselineConfig {
62086	s.BaseliningJobName = &v
62087	return s
62088}
62089
62090// SetConstraintsResource sets the ConstraintsResource field's value.
62091func (s *MonitoringBaselineConfig) SetConstraintsResource(v *MonitoringConstraintsResource) *MonitoringBaselineConfig {
62092	s.ConstraintsResource = v
62093	return s
62094}
62095
62096// SetStatisticsResource sets the StatisticsResource field's value.
62097func (s *MonitoringBaselineConfig) SetStatisticsResource(v *MonitoringStatisticsResource) *MonitoringBaselineConfig {
62098	s.StatisticsResource = v
62099	return s
62100}
62101
62102// Configuration for the cluster used to run model monitoring jobs.
62103type MonitoringClusterConfig struct {
62104	_ struct{} `type:"structure"`
62105
62106	// The number of ML compute instances to use in the model monitoring job. For
62107	// distributed processing jobs, specify a value greater than 1. The default
62108	// value is 1.
62109	//
62110	// InstanceCount is a required field
62111	InstanceCount *int64 `min:"1" type:"integer" required:"true"`
62112
62113	// The ML compute instance type for the processing job.
62114	//
62115	// InstanceType is a required field
62116	InstanceType *string `type:"string" required:"true" enum:"ProcessingInstanceType"`
62117
62118	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
62119	// encrypt data on the storage volume attached to the ML compute instance(s)
62120	// that run the model monitoring job.
62121	VolumeKmsKeyId *string `type:"string"`
62122
62123	// The size of the ML storage volume, in gigabytes, that you want to provision.
62124	// You must specify sufficient ML storage for your scenario.
62125	//
62126	// VolumeSizeInGB is a required field
62127	VolumeSizeInGB *int64 `min:"1" type:"integer" required:"true"`
62128}
62129
62130// String returns the string representation
62131func (s MonitoringClusterConfig) String() string {
62132	return awsutil.Prettify(s)
62133}
62134
62135// GoString returns the string representation
62136func (s MonitoringClusterConfig) GoString() string {
62137	return s.String()
62138}
62139
62140// Validate inspects the fields of the type to determine if they are valid.
62141func (s *MonitoringClusterConfig) Validate() error {
62142	invalidParams := request.ErrInvalidParams{Context: "MonitoringClusterConfig"}
62143	if s.InstanceCount == nil {
62144		invalidParams.Add(request.NewErrParamRequired("InstanceCount"))
62145	}
62146	if s.InstanceCount != nil && *s.InstanceCount < 1 {
62147		invalidParams.Add(request.NewErrParamMinValue("InstanceCount", 1))
62148	}
62149	if s.InstanceType == nil {
62150		invalidParams.Add(request.NewErrParamRequired("InstanceType"))
62151	}
62152	if s.VolumeSizeInGB == nil {
62153		invalidParams.Add(request.NewErrParamRequired("VolumeSizeInGB"))
62154	}
62155	if s.VolumeSizeInGB != nil && *s.VolumeSizeInGB < 1 {
62156		invalidParams.Add(request.NewErrParamMinValue("VolumeSizeInGB", 1))
62157	}
62158
62159	if invalidParams.Len() > 0 {
62160		return invalidParams
62161	}
62162	return nil
62163}
62164
62165// SetInstanceCount sets the InstanceCount field's value.
62166func (s *MonitoringClusterConfig) SetInstanceCount(v int64) *MonitoringClusterConfig {
62167	s.InstanceCount = &v
62168	return s
62169}
62170
62171// SetInstanceType sets the InstanceType field's value.
62172func (s *MonitoringClusterConfig) SetInstanceType(v string) *MonitoringClusterConfig {
62173	s.InstanceType = &v
62174	return s
62175}
62176
62177// SetVolumeKmsKeyId sets the VolumeKmsKeyId field's value.
62178func (s *MonitoringClusterConfig) SetVolumeKmsKeyId(v string) *MonitoringClusterConfig {
62179	s.VolumeKmsKeyId = &v
62180	return s
62181}
62182
62183// SetVolumeSizeInGB sets the VolumeSizeInGB field's value.
62184func (s *MonitoringClusterConfig) SetVolumeSizeInGB(v int64) *MonitoringClusterConfig {
62185	s.VolumeSizeInGB = &v
62186	return s
62187}
62188
62189// The constraints resource for a monitoring job.
62190type MonitoringConstraintsResource struct {
62191	_ struct{} `type:"structure"`
62192
62193	// The Amazon S3 URI for the constraints resource.
62194	S3Uri *string `type:"string"`
62195}
62196
62197// String returns the string representation
62198func (s MonitoringConstraintsResource) String() string {
62199	return awsutil.Prettify(s)
62200}
62201
62202// GoString returns the string representation
62203func (s MonitoringConstraintsResource) GoString() string {
62204	return s.String()
62205}
62206
62207// SetS3Uri sets the S3Uri field's value.
62208func (s *MonitoringConstraintsResource) SetS3Uri(v string) *MonitoringConstraintsResource {
62209	s.S3Uri = &v
62210	return s
62211}
62212
62213// Summary of information about the last monitoring job to run.
62214type MonitoringExecutionSummary struct {
62215	_ struct{} `type:"structure"`
62216
62217	// The time at which the monitoring job was created.
62218	//
62219	// CreationTime is a required field
62220	CreationTime *time.Time `type:"timestamp" required:"true"`
62221
62222	// The name of the endpoint used to run the monitoring job.
62223	EndpointName *string `type:"string"`
62224
62225	// Contains the reason a monitoring job failed, if it failed.
62226	FailureReason *string `type:"string"`
62227
62228	// A timestamp that indicates the last time the monitoring job was modified.
62229	//
62230	// LastModifiedTime is a required field
62231	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
62232
62233	// The status of the monitoring job.
62234	//
62235	// MonitoringExecutionStatus is a required field
62236	MonitoringExecutionStatus *string `type:"string" required:"true" enum:"ExecutionStatus"`
62237
62238	// The name of the monitoring job.
62239	MonitoringJobDefinitionName *string `min:"1" type:"string"`
62240
62241	// The name of the monitoring schedule.
62242	//
62243	// MonitoringScheduleName is a required field
62244	MonitoringScheduleName *string `min:"1" type:"string" required:"true"`
62245
62246	// The type of the monitoring job.
62247	MonitoringType *string `type:"string" enum:"MonitoringType"`
62248
62249	// The Amazon Resource Name (ARN) of the monitoring job.
62250	ProcessingJobArn *string `type:"string"`
62251
62252	// The time the monitoring job was scheduled.
62253	//
62254	// ScheduledTime is a required field
62255	ScheduledTime *time.Time `type:"timestamp" required:"true"`
62256}
62257
62258// String returns the string representation
62259func (s MonitoringExecutionSummary) String() string {
62260	return awsutil.Prettify(s)
62261}
62262
62263// GoString returns the string representation
62264func (s MonitoringExecutionSummary) GoString() string {
62265	return s.String()
62266}
62267
62268// SetCreationTime sets the CreationTime field's value.
62269func (s *MonitoringExecutionSummary) SetCreationTime(v time.Time) *MonitoringExecutionSummary {
62270	s.CreationTime = &v
62271	return s
62272}
62273
62274// SetEndpointName sets the EndpointName field's value.
62275func (s *MonitoringExecutionSummary) SetEndpointName(v string) *MonitoringExecutionSummary {
62276	s.EndpointName = &v
62277	return s
62278}
62279
62280// SetFailureReason sets the FailureReason field's value.
62281func (s *MonitoringExecutionSummary) SetFailureReason(v string) *MonitoringExecutionSummary {
62282	s.FailureReason = &v
62283	return s
62284}
62285
62286// SetLastModifiedTime sets the LastModifiedTime field's value.
62287func (s *MonitoringExecutionSummary) SetLastModifiedTime(v time.Time) *MonitoringExecutionSummary {
62288	s.LastModifiedTime = &v
62289	return s
62290}
62291
62292// SetMonitoringExecutionStatus sets the MonitoringExecutionStatus field's value.
62293func (s *MonitoringExecutionSummary) SetMonitoringExecutionStatus(v string) *MonitoringExecutionSummary {
62294	s.MonitoringExecutionStatus = &v
62295	return s
62296}
62297
62298// SetMonitoringJobDefinitionName sets the MonitoringJobDefinitionName field's value.
62299func (s *MonitoringExecutionSummary) SetMonitoringJobDefinitionName(v string) *MonitoringExecutionSummary {
62300	s.MonitoringJobDefinitionName = &v
62301	return s
62302}
62303
62304// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
62305func (s *MonitoringExecutionSummary) SetMonitoringScheduleName(v string) *MonitoringExecutionSummary {
62306	s.MonitoringScheduleName = &v
62307	return s
62308}
62309
62310// SetMonitoringType sets the MonitoringType field's value.
62311func (s *MonitoringExecutionSummary) SetMonitoringType(v string) *MonitoringExecutionSummary {
62312	s.MonitoringType = &v
62313	return s
62314}
62315
62316// SetProcessingJobArn sets the ProcessingJobArn field's value.
62317func (s *MonitoringExecutionSummary) SetProcessingJobArn(v string) *MonitoringExecutionSummary {
62318	s.ProcessingJobArn = &v
62319	return s
62320}
62321
62322// SetScheduledTime sets the ScheduledTime field's value.
62323func (s *MonitoringExecutionSummary) SetScheduledTime(v time.Time) *MonitoringExecutionSummary {
62324	s.ScheduledTime = &v
62325	return s
62326}
62327
62328// The ground truth labels for the dataset used for the monitoring job.
62329type MonitoringGroundTruthS3Input struct {
62330	_ struct{} `type:"structure"`
62331
62332	// The address of the Amazon S3 location of the ground truth labels.
62333	S3Uri *string `type:"string"`
62334}
62335
62336// String returns the string representation
62337func (s MonitoringGroundTruthS3Input) String() string {
62338	return awsutil.Prettify(s)
62339}
62340
62341// GoString returns the string representation
62342func (s MonitoringGroundTruthS3Input) GoString() string {
62343	return s.String()
62344}
62345
62346// SetS3Uri sets the S3Uri field's value.
62347func (s *MonitoringGroundTruthS3Input) SetS3Uri(v string) *MonitoringGroundTruthS3Input {
62348	s.S3Uri = &v
62349	return s
62350}
62351
62352// The inputs for a monitoring job.
62353type MonitoringInput struct {
62354	_ struct{} `type:"structure"`
62355
62356	// The endpoint for a monitoring job.
62357	//
62358	// EndpointInput is a required field
62359	EndpointInput *EndpointInput `type:"structure" required:"true"`
62360}
62361
62362// String returns the string representation
62363func (s MonitoringInput) String() string {
62364	return awsutil.Prettify(s)
62365}
62366
62367// GoString returns the string representation
62368func (s MonitoringInput) GoString() string {
62369	return s.String()
62370}
62371
62372// Validate inspects the fields of the type to determine if they are valid.
62373func (s *MonitoringInput) Validate() error {
62374	invalidParams := request.ErrInvalidParams{Context: "MonitoringInput"}
62375	if s.EndpointInput == nil {
62376		invalidParams.Add(request.NewErrParamRequired("EndpointInput"))
62377	}
62378	if s.EndpointInput != nil {
62379		if err := s.EndpointInput.Validate(); err != nil {
62380			invalidParams.AddNested("EndpointInput", err.(request.ErrInvalidParams))
62381		}
62382	}
62383
62384	if invalidParams.Len() > 0 {
62385		return invalidParams
62386	}
62387	return nil
62388}
62389
62390// SetEndpointInput sets the EndpointInput field's value.
62391func (s *MonitoringInput) SetEndpointInput(v *EndpointInput) *MonitoringInput {
62392	s.EndpointInput = v
62393	return s
62394}
62395
62396// Defines the monitoring job.
62397type MonitoringJobDefinition struct {
62398	_ struct{} `type:"structure"`
62399
62400	// Baseline configuration used to validate that the data conforms to the specified
62401	// constraints and statistics
62402	BaselineConfig *MonitoringBaselineConfig `type:"structure"`
62403
62404	// Sets the environment variables in the Docker container.
62405	Environment map[string]*string `type:"map"`
62406
62407	// Configures the monitoring job to run a specified Docker container image.
62408	//
62409	// MonitoringAppSpecification is a required field
62410	MonitoringAppSpecification *MonitoringAppSpecification `type:"structure" required:"true"`
62411
62412	// The array of inputs for the monitoring job. Currently we support monitoring
62413	// an Amazon SageMaker Endpoint.
62414	//
62415	// MonitoringInputs is a required field
62416	MonitoringInputs []*MonitoringInput `min:"1" type:"list" required:"true"`
62417
62418	// The array of outputs from the monitoring job to be uploaded to Amazon Simple
62419	// Storage Service (Amazon S3).
62420	//
62421	// MonitoringOutputConfig is a required field
62422	MonitoringOutputConfig *MonitoringOutputConfig `type:"structure" required:"true"`
62423
62424	// Identifies the resources, ML compute instances, and ML storage volumes to
62425	// deploy for a monitoring job. In distributed processing, you specify more
62426	// than one instance.
62427	//
62428	// MonitoringResources is a required field
62429	MonitoringResources *MonitoringResources `type:"structure" required:"true"`
62430
62431	// Specifies networking options for an monitoring job.
62432	NetworkConfig *NetworkConfig `type:"structure"`
62433
62434	// The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume
62435	// to perform tasks on your behalf.
62436	//
62437	// RoleArn is a required field
62438	RoleArn *string `min:"20" type:"string" required:"true"`
62439
62440	// Specifies a time limit for how long the monitoring job is allowed to run.
62441	StoppingCondition *MonitoringStoppingCondition `type:"structure"`
62442}
62443
62444// String returns the string representation
62445func (s MonitoringJobDefinition) String() string {
62446	return awsutil.Prettify(s)
62447}
62448
62449// GoString returns the string representation
62450func (s MonitoringJobDefinition) GoString() string {
62451	return s.String()
62452}
62453
62454// Validate inspects the fields of the type to determine if they are valid.
62455func (s *MonitoringJobDefinition) Validate() error {
62456	invalidParams := request.ErrInvalidParams{Context: "MonitoringJobDefinition"}
62457	if s.MonitoringAppSpecification == nil {
62458		invalidParams.Add(request.NewErrParamRequired("MonitoringAppSpecification"))
62459	}
62460	if s.MonitoringInputs == nil {
62461		invalidParams.Add(request.NewErrParamRequired("MonitoringInputs"))
62462	}
62463	if s.MonitoringInputs != nil && len(s.MonitoringInputs) < 1 {
62464		invalidParams.Add(request.NewErrParamMinLen("MonitoringInputs", 1))
62465	}
62466	if s.MonitoringOutputConfig == nil {
62467		invalidParams.Add(request.NewErrParamRequired("MonitoringOutputConfig"))
62468	}
62469	if s.MonitoringResources == nil {
62470		invalidParams.Add(request.NewErrParamRequired("MonitoringResources"))
62471	}
62472	if s.RoleArn == nil {
62473		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
62474	}
62475	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
62476		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
62477	}
62478	if s.BaselineConfig != nil {
62479		if err := s.BaselineConfig.Validate(); err != nil {
62480			invalidParams.AddNested("BaselineConfig", err.(request.ErrInvalidParams))
62481		}
62482	}
62483	if s.MonitoringAppSpecification != nil {
62484		if err := s.MonitoringAppSpecification.Validate(); err != nil {
62485			invalidParams.AddNested("MonitoringAppSpecification", err.(request.ErrInvalidParams))
62486		}
62487	}
62488	if s.MonitoringInputs != nil {
62489		for i, v := range s.MonitoringInputs {
62490			if v == nil {
62491				continue
62492			}
62493			if err := v.Validate(); err != nil {
62494				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MonitoringInputs", i), err.(request.ErrInvalidParams))
62495			}
62496		}
62497	}
62498	if s.MonitoringOutputConfig != nil {
62499		if err := s.MonitoringOutputConfig.Validate(); err != nil {
62500			invalidParams.AddNested("MonitoringOutputConfig", err.(request.ErrInvalidParams))
62501		}
62502	}
62503	if s.MonitoringResources != nil {
62504		if err := s.MonitoringResources.Validate(); err != nil {
62505			invalidParams.AddNested("MonitoringResources", err.(request.ErrInvalidParams))
62506		}
62507	}
62508	if s.NetworkConfig != nil {
62509		if err := s.NetworkConfig.Validate(); err != nil {
62510			invalidParams.AddNested("NetworkConfig", err.(request.ErrInvalidParams))
62511		}
62512	}
62513	if s.StoppingCondition != nil {
62514		if err := s.StoppingCondition.Validate(); err != nil {
62515			invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams))
62516		}
62517	}
62518
62519	if invalidParams.Len() > 0 {
62520		return invalidParams
62521	}
62522	return nil
62523}
62524
62525// SetBaselineConfig sets the BaselineConfig field's value.
62526func (s *MonitoringJobDefinition) SetBaselineConfig(v *MonitoringBaselineConfig) *MonitoringJobDefinition {
62527	s.BaselineConfig = v
62528	return s
62529}
62530
62531// SetEnvironment sets the Environment field's value.
62532func (s *MonitoringJobDefinition) SetEnvironment(v map[string]*string) *MonitoringJobDefinition {
62533	s.Environment = v
62534	return s
62535}
62536
62537// SetMonitoringAppSpecification sets the MonitoringAppSpecification field's value.
62538func (s *MonitoringJobDefinition) SetMonitoringAppSpecification(v *MonitoringAppSpecification) *MonitoringJobDefinition {
62539	s.MonitoringAppSpecification = v
62540	return s
62541}
62542
62543// SetMonitoringInputs sets the MonitoringInputs field's value.
62544func (s *MonitoringJobDefinition) SetMonitoringInputs(v []*MonitoringInput) *MonitoringJobDefinition {
62545	s.MonitoringInputs = v
62546	return s
62547}
62548
62549// SetMonitoringOutputConfig sets the MonitoringOutputConfig field's value.
62550func (s *MonitoringJobDefinition) SetMonitoringOutputConfig(v *MonitoringOutputConfig) *MonitoringJobDefinition {
62551	s.MonitoringOutputConfig = v
62552	return s
62553}
62554
62555// SetMonitoringResources sets the MonitoringResources field's value.
62556func (s *MonitoringJobDefinition) SetMonitoringResources(v *MonitoringResources) *MonitoringJobDefinition {
62557	s.MonitoringResources = v
62558	return s
62559}
62560
62561// SetNetworkConfig sets the NetworkConfig field's value.
62562func (s *MonitoringJobDefinition) SetNetworkConfig(v *NetworkConfig) *MonitoringJobDefinition {
62563	s.NetworkConfig = v
62564	return s
62565}
62566
62567// SetRoleArn sets the RoleArn field's value.
62568func (s *MonitoringJobDefinition) SetRoleArn(v string) *MonitoringJobDefinition {
62569	s.RoleArn = &v
62570	return s
62571}
62572
62573// SetStoppingCondition sets the StoppingCondition field's value.
62574func (s *MonitoringJobDefinition) SetStoppingCondition(v *MonitoringStoppingCondition) *MonitoringJobDefinition {
62575	s.StoppingCondition = v
62576	return s
62577}
62578
62579// Summary information about a monitoring job.
62580type MonitoringJobDefinitionSummary struct {
62581	_ struct{} `type:"structure"`
62582
62583	// The time that the monitoring job was created.
62584	//
62585	// CreationTime is a required field
62586	CreationTime *time.Time `type:"timestamp" required:"true"`
62587
62588	// The name of the endpoint that the job monitors.
62589	//
62590	// EndpointName is a required field
62591	EndpointName *string `type:"string" required:"true"`
62592
62593	// The Amazon Resource Name (ARN) of the monitoring job.
62594	//
62595	// MonitoringJobDefinitionArn is a required field
62596	MonitoringJobDefinitionArn *string `type:"string" required:"true"`
62597
62598	// The name of the monitoring job.
62599	//
62600	// MonitoringJobDefinitionName is a required field
62601	MonitoringJobDefinitionName *string `min:"1" type:"string" required:"true"`
62602}
62603
62604// String returns the string representation
62605func (s MonitoringJobDefinitionSummary) String() string {
62606	return awsutil.Prettify(s)
62607}
62608
62609// GoString returns the string representation
62610func (s MonitoringJobDefinitionSummary) GoString() string {
62611	return s.String()
62612}
62613
62614// SetCreationTime sets the CreationTime field's value.
62615func (s *MonitoringJobDefinitionSummary) SetCreationTime(v time.Time) *MonitoringJobDefinitionSummary {
62616	s.CreationTime = &v
62617	return s
62618}
62619
62620// SetEndpointName sets the EndpointName field's value.
62621func (s *MonitoringJobDefinitionSummary) SetEndpointName(v string) *MonitoringJobDefinitionSummary {
62622	s.EndpointName = &v
62623	return s
62624}
62625
62626// SetMonitoringJobDefinitionArn sets the MonitoringJobDefinitionArn field's value.
62627func (s *MonitoringJobDefinitionSummary) SetMonitoringJobDefinitionArn(v string) *MonitoringJobDefinitionSummary {
62628	s.MonitoringJobDefinitionArn = &v
62629	return s
62630}
62631
62632// SetMonitoringJobDefinitionName sets the MonitoringJobDefinitionName field's value.
62633func (s *MonitoringJobDefinitionSummary) SetMonitoringJobDefinitionName(v string) *MonitoringJobDefinitionSummary {
62634	s.MonitoringJobDefinitionName = &v
62635	return s
62636}
62637
62638// The networking configuration for the monitoring job.
62639type MonitoringNetworkConfig struct {
62640	_ struct{} `type:"structure"`
62641
62642	// Whether to encrypt all communications between the instances used for the
62643	// monitoring jobs. Choose True to encrypt communications. Encryption provides
62644	// greater security for distributed jobs, but the processing might take longer.
62645	EnableInterContainerTrafficEncryption *bool `type:"boolean"`
62646
62647	// Whether to allow inbound and outbound network calls to and from the containers
62648	// used for the monitoring job.
62649	EnableNetworkIsolation *bool `type:"boolean"`
62650
62651	// Specifies a VPC that your training jobs and hosted models have access to.
62652	// Control access to and from your training and model containers by configuring
62653	// the VPC. For more information, see Protect Endpoints by Using an Amazon Virtual
62654	// Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html)
62655	// and Protect Training Jobs by Using an Amazon Virtual Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html).
62656	VpcConfig *VpcConfig `type:"structure"`
62657}
62658
62659// String returns the string representation
62660func (s MonitoringNetworkConfig) String() string {
62661	return awsutil.Prettify(s)
62662}
62663
62664// GoString returns the string representation
62665func (s MonitoringNetworkConfig) GoString() string {
62666	return s.String()
62667}
62668
62669// Validate inspects the fields of the type to determine if they are valid.
62670func (s *MonitoringNetworkConfig) Validate() error {
62671	invalidParams := request.ErrInvalidParams{Context: "MonitoringNetworkConfig"}
62672	if s.VpcConfig != nil {
62673		if err := s.VpcConfig.Validate(); err != nil {
62674			invalidParams.AddNested("VpcConfig", err.(request.ErrInvalidParams))
62675		}
62676	}
62677
62678	if invalidParams.Len() > 0 {
62679		return invalidParams
62680	}
62681	return nil
62682}
62683
62684// SetEnableInterContainerTrafficEncryption sets the EnableInterContainerTrafficEncryption field's value.
62685func (s *MonitoringNetworkConfig) SetEnableInterContainerTrafficEncryption(v bool) *MonitoringNetworkConfig {
62686	s.EnableInterContainerTrafficEncryption = &v
62687	return s
62688}
62689
62690// SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value.
62691func (s *MonitoringNetworkConfig) SetEnableNetworkIsolation(v bool) *MonitoringNetworkConfig {
62692	s.EnableNetworkIsolation = &v
62693	return s
62694}
62695
62696// SetVpcConfig sets the VpcConfig field's value.
62697func (s *MonitoringNetworkConfig) SetVpcConfig(v *VpcConfig) *MonitoringNetworkConfig {
62698	s.VpcConfig = v
62699	return s
62700}
62701
62702// The output object for a monitoring job.
62703type MonitoringOutput struct {
62704	_ struct{} `type:"structure"`
62705
62706	// The Amazon S3 storage location where the results of a monitoring job are
62707	// saved.
62708	//
62709	// S3Output is a required field
62710	S3Output *MonitoringS3Output `type:"structure" required:"true"`
62711}
62712
62713// String returns the string representation
62714func (s MonitoringOutput) String() string {
62715	return awsutil.Prettify(s)
62716}
62717
62718// GoString returns the string representation
62719func (s MonitoringOutput) GoString() string {
62720	return s.String()
62721}
62722
62723// Validate inspects the fields of the type to determine if they are valid.
62724func (s *MonitoringOutput) Validate() error {
62725	invalidParams := request.ErrInvalidParams{Context: "MonitoringOutput"}
62726	if s.S3Output == nil {
62727		invalidParams.Add(request.NewErrParamRequired("S3Output"))
62728	}
62729	if s.S3Output != nil {
62730		if err := s.S3Output.Validate(); err != nil {
62731			invalidParams.AddNested("S3Output", err.(request.ErrInvalidParams))
62732		}
62733	}
62734
62735	if invalidParams.Len() > 0 {
62736		return invalidParams
62737	}
62738	return nil
62739}
62740
62741// SetS3Output sets the S3Output field's value.
62742func (s *MonitoringOutput) SetS3Output(v *MonitoringS3Output) *MonitoringOutput {
62743	s.S3Output = v
62744	return s
62745}
62746
62747// The output configuration for monitoring jobs.
62748type MonitoringOutputConfig struct {
62749	_ struct{} `type:"structure"`
62750
62751	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
62752	// encrypt the model artifacts at rest using Amazon S3 server-side encryption.
62753	KmsKeyId *string `type:"string"`
62754
62755	// Monitoring outputs for monitoring jobs. This is where the output of the periodic
62756	// monitoring jobs is uploaded.
62757	//
62758	// MonitoringOutputs is a required field
62759	MonitoringOutputs []*MonitoringOutput `min:"1" type:"list" required:"true"`
62760}
62761
62762// String returns the string representation
62763func (s MonitoringOutputConfig) String() string {
62764	return awsutil.Prettify(s)
62765}
62766
62767// GoString returns the string representation
62768func (s MonitoringOutputConfig) GoString() string {
62769	return s.String()
62770}
62771
62772// Validate inspects the fields of the type to determine if they are valid.
62773func (s *MonitoringOutputConfig) Validate() error {
62774	invalidParams := request.ErrInvalidParams{Context: "MonitoringOutputConfig"}
62775	if s.MonitoringOutputs == nil {
62776		invalidParams.Add(request.NewErrParamRequired("MonitoringOutputs"))
62777	}
62778	if s.MonitoringOutputs != nil && len(s.MonitoringOutputs) < 1 {
62779		invalidParams.Add(request.NewErrParamMinLen("MonitoringOutputs", 1))
62780	}
62781	if s.MonitoringOutputs != nil {
62782		for i, v := range s.MonitoringOutputs {
62783			if v == nil {
62784				continue
62785			}
62786			if err := v.Validate(); err != nil {
62787				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MonitoringOutputs", i), err.(request.ErrInvalidParams))
62788			}
62789		}
62790	}
62791
62792	if invalidParams.Len() > 0 {
62793		return invalidParams
62794	}
62795	return nil
62796}
62797
62798// SetKmsKeyId sets the KmsKeyId field's value.
62799func (s *MonitoringOutputConfig) SetKmsKeyId(v string) *MonitoringOutputConfig {
62800	s.KmsKeyId = &v
62801	return s
62802}
62803
62804// SetMonitoringOutputs sets the MonitoringOutputs field's value.
62805func (s *MonitoringOutputConfig) SetMonitoringOutputs(v []*MonitoringOutput) *MonitoringOutputConfig {
62806	s.MonitoringOutputs = v
62807	return s
62808}
62809
62810// Identifies the resources to deploy for a monitoring job.
62811type MonitoringResources struct {
62812	_ struct{} `type:"structure"`
62813
62814	// The configuration for the cluster resources used to run the processing job.
62815	//
62816	// ClusterConfig is a required field
62817	ClusterConfig *MonitoringClusterConfig `type:"structure" required:"true"`
62818}
62819
62820// String returns the string representation
62821func (s MonitoringResources) String() string {
62822	return awsutil.Prettify(s)
62823}
62824
62825// GoString returns the string representation
62826func (s MonitoringResources) GoString() string {
62827	return s.String()
62828}
62829
62830// Validate inspects the fields of the type to determine if they are valid.
62831func (s *MonitoringResources) Validate() error {
62832	invalidParams := request.ErrInvalidParams{Context: "MonitoringResources"}
62833	if s.ClusterConfig == nil {
62834		invalidParams.Add(request.NewErrParamRequired("ClusterConfig"))
62835	}
62836	if s.ClusterConfig != nil {
62837		if err := s.ClusterConfig.Validate(); err != nil {
62838			invalidParams.AddNested("ClusterConfig", err.(request.ErrInvalidParams))
62839		}
62840	}
62841
62842	if invalidParams.Len() > 0 {
62843		return invalidParams
62844	}
62845	return nil
62846}
62847
62848// SetClusterConfig sets the ClusterConfig field's value.
62849func (s *MonitoringResources) SetClusterConfig(v *MonitoringClusterConfig) *MonitoringResources {
62850	s.ClusterConfig = v
62851	return s
62852}
62853
62854// Information about where and how you want to store the results of a monitoring
62855// job.
62856type MonitoringS3Output struct {
62857	_ struct{} `type:"structure"`
62858
62859	// The local path to the Amazon S3 storage location where Amazon SageMaker saves
62860	// the results of a monitoring job. LocalPath is an absolute path for the output
62861	// data.
62862	//
62863	// LocalPath is a required field
62864	LocalPath *string `type:"string" required:"true"`
62865
62866	// Whether to upload the results of the monitoring job continuously or after
62867	// the job completes.
62868	S3UploadMode *string `type:"string" enum:"ProcessingS3UploadMode"`
62869
62870	// A URI that identifies the Amazon S3 storage location where Amazon SageMaker
62871	// saves the results of a monitoring job.
62872	//
62873	// S3Uri is a required field
62874	S3Uri *string `type:"string" required:"true"`
62875}
62876
62877// String returns the string representation
62878func (s MonitoringS3Output) String() string {
62879	return awsutil.Prettify(s)
62880}
62881
62882// GoString returns the string representation
62883func (s MonitoringS3Output) GoString() string {
62884	return s.String()
62885}
62886
62887// Validate inspects the fields of the type to determine if they are valid.
62888func (s *MonitoringS3Output) Validate() error {
62889	invalidParams := request.ErrInvalidParams{Context: "MonitoringS3Output"}
62890	if s.LocalPath == nil {
62891		invalidParams.Add(request.NewErrParamRequired("LocalPath"))
62892	}
62893	if s.S3Uri == nil {
62894		invalidParams.Add(request.NewErrParamRequired("S3Uri"))
62895	}
62896
62897	if invalidParams.Len() > 0 {
62898		return invalidParams
62899	}
62900	return nil
62901}
62902
62903// SetLocalPath sets the LocalPath field's value.
62904func (s *MonitoringS3Output) SetLocalPath(v string) *MonitoringS3Output {
62905	s.LocalPath = &v
62906	return s
62907}
62908
62909// SetS3UploadMode sets the S3UploadMode field's value.
62910func (s *MonitoringS3Output) SetS3UploadMode(v string) *MonitoringS3Output {
62911	s.S3UploadMode = &v
62912	return s
62913}
62914
62915// SetS3Uri sets the S3Uri field's value.
62916func (s *MonitoringS3Output) SetS3Uri(v string) *MonitoringS3Output {
62917	s.S3Uri = &v
62918	return s
62919}
62920
62921// A schedule for a model monitoring job. For information about model monitor,
62922// see Amazon SageMaker Model Monitor (https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor.html).
62923type MonitoringSchedule struct {
62924	_ struct{} `type:"structure"`
62925
62926	// The time that the monitoring schedule was created.
62927	CreationTime *time.Time `type:"timestamp"`
62928
62929	// The endpoint that hosts the model being monitored.
62930	EndpointName *string `type:"string"`
62931
62932	// If the monitoring schedule failed, the reason it failed.
62933	FailureReason *string `type:"string"`
62934
62935	// The last time the monitoring schedule was changed.
62936	LastModifiedTime *time.Time `type:"timestamp"`
62937
62938	// Summary of information about the last monitoring job to run.
62939	LastMonitoringExecutionSummary *MonitoringExecutionSummary `type:"structure"`
62940
62941	// The Amazon Resource Name (ARN) of the monitoring schedule.
62942	MonitoringScheduleArn *string `type:"string"`
62943
62944	// Configures the monitoring schedule and defines the monitoring job.
62945	MonitoringScheduleConfig *MonitoringScheduleConfig `type:"structure"`
62946
62947	// The name of the monitoring schedule.
62948	MonitoringScheduleName *string `min:"1" type:"string"`
62949
62950	// The status of the monitoring schedule. This can be one of the following values.
62951	//
62952	//    * PENDING - The schedule is pending being created.
62953	//
62954	//    * FAILED - The schedule failed.
62955	//
62956	//    * SCHEDULED - The schedule was successfully created.
62957	//
62958	//    * STOPPED - The schedule was stopped.
62959	MonitoringScheduleStatus *string `type:"string" enum:"ScheduleStatus"`
62960
62961	// The type of the monitoring job definition to schedule.
62962	MonitoringType *string `type:"string" enum:"MonitoringType"`
62963
62964	// A list of the tags associated with the monitoring schedlue. For more information,
62965	// see Tagging AWS resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html)
62966	// in the AWS General Reference Guide.
62967	Tags []*Tag `type:"list"`
62968}
62969
62970// String returns the string representation
62971func (s MonitoringSchedule) String() string {
62972	return awsutil.Prettify(s)
62973}
62974
62975// GoString returns the string representation
62976func (s MonitoringSchedule) GoString() string {
62977	return s.String()
62978}
62979
62980// SetCreationTime sets the CreationTime field's value.
62981func (s *MonitoringSchedule) SetCreationTime(v time.Time) *MonitoringSchedule {
62982	s.CreationTime = &v
62983	return s
62984}
62985
62986// SetEndpointName sets the EndpointName field's value.
62987func (s *MonitoringSchedule) SetEndpointName(v string) *MonitoringSchedule {
62988	s.EndpointName = &v
62989	return s
62990}
62991
62992// SetFailureReason sets the FailureReason field's value.
62993func (s *MonitoringSchedule) SetFailureReason(v string) *MonitoringSchedule {
62994	s.FailureReason = &v
62995	return s
62996}
62997
62998// SetLastModifiedTime sets the LastModifiedTime field's value.
62999func (s *MonitoringSchedule) SetLastModifiedTime(v time.Time) *MonitoringSchedule {
63000	s.LastModifiedTime = &v
63001	return s
63002}
63003
63004// SetLastMonitoringExecutionSummary sets the LastMonitoringExecutionSummary field's value.
63005func (s *MonitoringSchedule) SetLastMonitoringExecutionSummary(v *MonitoringExecutionSummary) *MonitoringSchedule {
63006	s.LastMonitoringExecutionSummary = v
63007	return s
63008}
63009
63010// SetMonitoringScheduleArn sets the MonitoringScheduleArn field's value.
63011func (s *MonitoringSchedule) SetMonitoringScheduleArn(v string) *MonitoringSchedule {
63012	s.MonitoringScheduleArn = &v
63013	return s
63014}
63015
63016// SetMonitoringScheduleConfig sets the MonitoringScheduleConfig field's value.
63017func (s *MonitoringSchedule) SetMonitoringScheduleConfig(v *MonitoringScheduleConfig) *MonitoringSchedule {
63018	s.MonitoringScheduleConfig = v
63019	return s
63020}
63021
63022// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
63023func (s *MonitoringSchedule) SetMonitoringScheduleName(v string) *MonitoringSchedule {
63024	s.MonitoringScheduleName = &v
63025	return s
63026}
63027
63028// SetMonitoringScheduleStatus sets the MonitoringScheduleStatus field's value.
63029func (s *MonitoringSchedule) SetMonitoringScheduleStatus(v string) *MonitoringSchedule {
63030	s.MonitoringScheduleStatus = &v
63031	return s
63032}
63033
63034// SetMonitoringType sets the MonitoringType field's value.
63035func (s *MonitoringSchedule) SetMonitoringType(v string) *MonitoringSchedule {
63036	s.MonitoringType = &v
63037	return s
63038}
63039
63040// SetTags sets the Tags field's value.
63041func (s *MonitoringSchedule) SetTags(v []*Tag) *MonitoringSchedule {
63042	s.Tags = v
63043	return s
63044}
63045
63046// Configures the monitoring schedule and defines the monitoring job.
63047type MonitoringScheduleConfig struct {
63048	_ struct{} `type:"structure"`
63049
63050	// Defines the monitoring job.
63051	MonitoringJobDefinition *MonitoringJobDefinition `type:"structure"`
63052
63053	// The name of the monitoring job definition to schedule.
63054	MonitoringJobDefinitionName *string `min:"1" type:"string"`
63055
63056	// The type of the monitoring job definition to schedule.
63057	MonitoringType *string `type:"string" enum:"MonitoringType"`
63058
63059	// Configures the monitoring schedule.
63060	ScheduleConfig *ScheduleConfig `type:"structure"`
63061}
63062
63063// String returns the string representation
63064func (s MonitoringScheduleConfig) String() string {
63065	return awsutil.Prettify(s)
63066}
63067
63068// GoString returns the string representation
63069func (s MonitoringScheduleConfig) GoString() string {
63070	return s.String()
63071}
63072
63073// Validate inspects the fields of the type to determine if they are valid.
63074func (s *MonitoringScheduleConfig) Validate() error {
63075	invalidParams := request.ErrInvalidParams{Context: "MonitoringScheduleConfig"}
63076	if s.MonitoringJobDefinitionName != nil && len(*s.MonitoringJobDefinitionName) < 1 {
63077		invalidParams.Add(request.NewErrParamMinLen("MonitoringJobDefinitionName", 1))
63078	}
63079	if s.MonitoringJobDefinition != nil {
63080		if err := s.MonitoringJobDefinition.Validate(); err != nil {
63081			invalidParams.AddNested("MonitoringJobDefinition", err.(request.ErrInvalidParams))
63082		}
63083	}
63084	if s.ScheduleConfig != nil {
63085		if err := s.ScheduleConfig.Validate(); err != nil {
63086			invalidParams.AddNested("ScheduleConfig", err.(request.ErrInvalidParams))
63087		}
63088	}
63089
63090	if invalidParams.Len() > 0 {
63091		return invalidParams
63092	}
63093	return nil
63094}
63095
63096// SetMonitoringJobDefinition sets the MonitoringJobDefinition field's value.
63097func (s *MonitoringScheduleConfig) SetMonitoringJobDefinition(v *MonitoringJobDefinition) *MonitoringScheduleConfig {
63098	s.MonitoringJobDefinition = v
63099	return s
63100}
63101
63102// SetMonitoringJobDefinitionName sets the MonitoringJobDefinitionName field's value.
63103func (s *MonitoringScheduleConfig) SetMonitoringJobDefinitionName(v string) *MonitoringScheduleConfig {
63104	s.MonitoringJobDefinitionName = &v
63105	return s
63106}
63107
63108// SetMonitoringType sets the MonitoringType field's value.
63109func (s *MonitoringScheduleConfig) SetMonitoringType(v string) *MonitoringScheduleConfig {
63110	s.MonitoringType = &v
63111	return s
63112}
63113
63114// SetScheduleConfig sets the ScheduleConfig field's value.
63115func (s *MonitoringScheduleConfig) SetScheduleConfig(v *ScheduleConfig) *MonitoringScheduleConfig {
63116	s.ScheduleConfig = v
63117	return s
63118}
63119
63120// Summarizes the monitoring schedule.
63121type MonitoringScheduleSummary struct {
63122	_ struct{} `type:"structure"`
63123
63124	// The creation time of the monitoring schedule.
63125	//
63126	// CreationTime is a required field
63127	CreationTime *time.Time `type:"timestamp" required:"true"`
63128
63129	// The name of the endpoint using the monitoring schedule.
63130	EndpointName *string `type:"string"`
63131
63132	// The last time the monitoring schedule was modified.
63133	//
63134	// LastModifiedTime is a required field
63135	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
63136
63137	// The name of the monitoring job definition that the schedule is for.
63138	MonitoringJobDefinitionName *string `min:"1" type:"string"`
63139
63140	// The Amazon Resource Name (ARN) of the monitoring schedule.
63141	//
63142	// MonitoringScheduleArn is a required field
63143	MonitoringScheduleArn *string `type:"string" required:"true"`
63144
63145	// The name of the monitoring schedule.
63146	//
63147	// MonitoringScheduleName is a required field
63148	MonitoringScheduleName *string `min:"1" type:"string" required:"true"`
63149
63150	// The status of the monitoring schedule.
63151	//
63152	// MonitoringScheduleStatus is a required field
63153	MonitoringScheduleStatus *string `type:"string" required:"true" enum:"ScheduleStatus"`
63154
63155	// The type of the monitoring job definition that the schedule is for.
63156	MonitoringType *string `type:"string" enum:"MonitoringType"`
63157}
63158
63159// String returns the string representation
63160func (s MonitoringScheduleSummary) String() string {
63161	return awsutil.Prettify(s)
63162}
63163
63164// GoString returns the string representation
63165func (s MonitoringScheduleSummary) GoString() string {
63166	return s.String()
63167}
63168
63169// SetCreationTime sets the CreationTime field's value.
63170func (s *MonitoringScheduleSummary) SetCreationTime(v time.Time) *MonitoringScheduleSummary {
63171	s.CreationTime = &v
63172	return s
63173}
63174
63175// SetEndpointName sets the EndpointName field's value.
63176func (s *MonitoringScheduleSummary) SetEndpointName(v string) *MonitoringScheduleSummary {
63177	s.EndpointName = &v
63178	return s
63179}
63180
63181// SetLastModifiedTime sets the LastModifiedTime field's value.
63182func (s *MonitoringScheduleSummary) SetLastModifiedTime(v time.Time) *MonitoringScheduleSummary {
63183	s.LastModifiedTime = &v
63184	return s
63185}
63186
63187// SetMonitoringJobDefinitionName sets the MonitoringJobDefinitionName field's value.
63188func (s *MonitoringScheduleSummary) SetMonitoringJobDefinitionName(v string) *MonitoringScheduleSummary {
63189	s.MonitoringJobDefinitionName = &v
63190	return s
63191}
63192
63193// SetMonitoringScheduleArn sets the MonitoringScheduleArn field's value.
63194func (s *MonitoringScheduleSummary) SetMonitoringScheduleArn(v string) *MonitoringScheduleSummary {
63195	s.MonitoringScheduleArn = &v
63196	return s
63197}
63198
63199// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
63200func (s *MonitoringScheduleSummary) SetMonitoringScheduleName(v string) *MonitoringScheduleSummary {
63201	s.MonitoringScheduleName = &v
63202	return s
63203}
63204
63205// SetMonitoringScheduleStatus sets the MonitoringScheduleStatus field's value.
63206func (s *MonitoringScheduleSummary) SetMonitoringScheduleStatus(v string) *MonitoringScheduleSummary {
63207	s.MonitoringScheduleStatus = &v
63208	return s
63209}
63210
63211// SetMonitoringType sets the MonitoringType field's value.
63212func (s *MonitoringScheduleSummary) SetMonitoringType(v string) *MonitoringScheduleSummary {
63213	s.MonitoringType = &v
63214	return s
63215}
63216
63217// The statistics resource for a monitoring job.
63218type MonitoringStatisticsResource struct {
63219	_ struct{} `type:"structure"`
63220
63221	// The Amazon S3 URI for the statistics resource.
63222	S3Uri *string `type:"string"`
63223}
63224
63225// String returns the string representation
63226func (s MonitoringStatisticsResource) String() string {
63227	return awsutil.Prettify(s)
63228}
63229
63230// GoString returns the string representation
63231func (s MonitoringStatisticsResource) GoString() string {
63232	return s.String()
63233}
63234
63235// SetS3Uri sets the S3Uri field's value.
63236func (s *MonitoringStatisticsResource) SetS3Uri(v string) *MonitoringStatisticsResource {
63237	s.S3Uri = &v
63238	return s
63239}
63240
63241// A time limit for how long the monitoring job is allowed to run before stopping.
63242type MonitoringStoppingCondition struct {
63243	_ struct{} `type:"structure"`
63244
63245	// The maximum runtime allowed in seconds.
63246	//
63247	// MaxRuntimeInSeconds is a required field
63248	MaxRuntimeInSeconds *int64 `min:"1" type:"integer" required:"true"`
63249}
63250
63251// String returns the string representation
63252func (s MonitoringStoppingCondition) String() string {
63253	return awsutil.Prettify(s)
63254}
63255
63256// GoString returns the string representation
63257func (s MonitoringStoppingCondition) GoString() string {
63258	return s.String()
63259}
63260
63261// Validate inspects the fields of the type to determine if they are valid.
63262func (s *MonitoringStoppingCondition) Validate() error {
63263	invalidParams := request.ErrInvalidParams{Context: "MonitoringStoppingCondition"}
63264	if s.MaxRuntimeInSeconds == nil {
63265		invalidParams.Add(request.NewErrParamRequired("MaxRuntimeInSeconds"))
63266	}
63267	if s.MaxRuntimeInSeconds != nil && *s.MaxRuntimeInSeconds < 1 {
63268		invalidParams.Add(request.NewErrParamMinValue("MaxRuntimeInSeconds", 1))
63269	}
63270
63271	if invalidParams.Len() > 0 {
63272		return invalidParams
63273	}
63274	return nil
63275}
63276
63277// SetMaxRuntimeInSeconds sets the MaxRuntimeInSeconds field's value.
63278func (s *MonitoringStoppingCondition) SetMaxRuntimeInSeconds(v int64) *MonitoringStoppingCondition {
63279	s.MaxRuntimeInSeconds = &v
63280	return s
63281}
63282
63283// Specifies additional configuration for hosting multi-model endpoints.
63284type MultiModelConfig struct {
63285	_ struct{} `type:"structure"`
63286
63287	// Whether to cache models for a multi-model endpoint. By default, multi-model
63288	// endpoints cache models so that a model does not have to be loaded into memory
63289	// each time it is invoked. Some use cases do not benefit from model caching.
63290	// For example, if an endpoint hosts a large number of models that are each
63291	// invoked infrequently, the endpoint might perform better if you disable model
63292	// caching. To disable model caching, set the value of this parameter to Disabled.
63293	ModelCacheSetting *string `type:"string" enum:"ModelCacheSetting"`
63294}
63295
63296// String returns the string representation
63297func (s MultiModelConfig) String() string {
63298	return awsutil.Prettify(s)
63299}
63300
63301// GoString returns the string representation
63302func (s MultiModelConfig) GoString() string {
63303	return s.String()
63304}
63305
63306// SetModelCacheSetting sets the ModelCacheSetting field's value.
63307func (s *MultiModelConfig) SetModelCacheSetting(v string) *MultiModelConfig {
63308	s.ModelCacheSetting = &v
63309	return s
63310}
63311
63312// A list of nested Filter objects. A resource must satisfy the conditions of
63313// all filters to be included in the results returned from the Search API.
63314//
63315// For example, to filter on a training job's InputDataConfig property with
63316// a specific channel name and S3Uri prefix, define the following filters:
63317//
63318//    * '{Name:"InputDataConfig.ChannelName", "Operator":"Equals", "Value":"train"}',
63319//
63320//    * '{Name:"InputDataConfig.DataSource.S3DataSource.S3Uri", "Operator":"Contains",
63321//    "Value":"mybucket/catdata"}'
63322type NestedFilters struct {
63323	_ struct{} `type:"structure"`
63324
63325	// A list of filters. Each filter acts on a property. Filters must contain at
63326	// least one Filters value. For example, a NestedFilters call might include
63327	// a filter on the PropertyName parameter of the InputDataConfig property: InputDataConfig.DataSource.S3DataSource.S3Uri.
63328	//
63329	// Filters is a required field
63330	Filters []*Filter `min:"1" type:"list" required:"true"`
63331
63332	// The name of the property to use in the nested filters. The value must match
63333	// a listed property name, such as InputDataConfig.
63334	//
63335	// NestedPropertyName is a required field
63336	NestedPropertyName *string `min:"1" type:"string" required:"true"`
63337}
63338
63339// String returns the string representation
63340func (s NestedFilters) String() string {
63341	return awsutil.Prettify(s)
63342}
63343
63344// GoString returns the string representation
63345func (s NestedFilters) GoString() string {
63346	return s.String()
63347}
63348
63349// Validate inspects the fields of the type to determine if they are valid.
63350func (s *NestedFilters) Validate() error {
63351	invalidParams := request.ErrInvalidParams{Context: "NestedFilters"}
63352	if s.Filters == nil {
63353		invalidParams.Add(request.NewErrParamRequired("Filters"))
63354	}
63355	if s.Filters != nil && len(s.Filters) < 1 {
63356		invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
63357	}
63358	if s.NestedPropertyName == nil {
63359		invalidParams.Add(request.NewErrParamRequired("NestedPropertyName"))
63360	}
63361	if s.NestedPropertyName != nil && len(*s.NestedPropertyName) < 1 {
63362		invalidParams.Add(request.NewErrParamMinLen("NestedPropertyName", 1))
63363	}
63364	if s.Filters != nil {
63365		for i, v := range s.Filters {
63366			if v == nil {
63367				continue
63368			}
63369			if err := v.Validate(); err != nil {
63370				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
63371			}
63372		}
63373	}
63374
63375	if invalidParams.Len() > 0 {
63376		return invalidParams
63377	}
63378	return nil
63379}
63380
63381// SetFilters sets the Filters field's value.
63382func (s *NestedFilters) SetFilters(v []*Filter) *NestedFilters {
63383	s.Filters = v
63384	return s
63385}
63386
63387// SetNestedPropertyName sets the NestedPropertyName field's value.
63388func (s *NestedFilters) SetNestedPropertyName(v string) *NestedFilters {
63389	s.NestedPropertyName = &v
63390	return s
63391}
63392
63393// Networking options for a job, such as network traffic encryption between
63394// containers, whether to allow inbound and outbound network calls to and from
63395// containers, and the VPC subnets and security groups to use for VPC-enabled
63396// jobs.
63397type NetworkConfig struct {
63398	_ struct{} `type:"structure"`
63399
63400	// Whether to encrypt all communications between distributed processing jobs.
63401	// Choose True to encrypt communications. Encryption provides greater security
63402	// for distributed processing jobs, but the processing might take longer.
63403	EnableInterContainerTrafficEncryption *bool `type:"boolean"`
63404
63405	// Whether to allow inbound and outbound network calls to and from the containers
63406	// used for the processing job.
63407	EnableNetworkIsolation *bool `type:"boolean"`
63408
63409	// Specifies a VPC that your training jobs and hosted models have access to.
63410	// Control access to and from your training and model containers by configuring
63411	// the VPC. For more information, see Protect Endpoints by Using an Amazon Virtual
63412	// Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html)
63413	// and Protect Training Jobs by Using an Amazon Virtual Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html).
63414	VpcConfig *VpcConfig `type:"structure"`
63415}
63416
63417// String returns the string representation
63418func (s NetworkConfig) String() string {
63419	return awsutil.Prettify(s)
63420}
63421
63422// GoString returns the string representation
63423func (s NetworkConfig) GoString() string {
63424	return s.String()
63425}
63426
63427// Validate inspects the fields of the type to determine if they are valid.
63428func (s *NetworkConfig) Validate() error {
63429	invalidParams := request.ErrInvalidParams{Context: "NetworkConfig"}
63430	if s.VpcConfig != nil {
63431		if err := s.VpcConfig.Validate(); err != nil {
63432			invalidParams.AddNested("VpcConfig", err.(request.ErrInvalidParams))
63433		}
63434	}
63435
63436	if invalidParams.Len() > 0 {
63437		return invalidParams
63438	}
63439	return nil
63440}
63441
63442// SetEnableInterContainerTrafficEncryption sets the EnableInterContainerTrafficEncryption field's value.
63443func (s *NetworkConfig) SetEnableInterContainerTrafficEncryption(v bool) *NetworkConfig {
63444	s.EnableInterContainerTrafficEncryption = &v
63445	return s
63446}
63447
63448// SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value.
63449func (s *NetworkConfig) SetEnableNetworkIsolation(v bool) *NetworkConfig {
63450	s.EnableNetworkIsolation = &v
63451	return s
63452}
63453
63454// SetVpcConfig sets the VpcConfig field's value.
63455func (s *NetworkConfig) SetVpcConfig(v *VpcConfig) *NetworkConfig {
63456	s.VpcConfig = v
63457	return s
63458}
63459
63460// Provides a summary of a notebook instance lifecycle configuration.
63461type NotebookInstanceLifecycleConfigSummary struct {
63462	_ struct{} `type:"structure"`
63463
63464	// A timestamp that tells when the lifecycle configuration was created.
63465	CreationTime *time.Time `type:"timestamp"`
63466
63467	// A timestamp that tells when the lifecycle configuration was last modified.
63468	LastModifiedTime *time.Time `type:"timestamp"`
63469
63470	// The Amazon Resource Name (ARN) of the lifecycle configuration.
63471	//
63472	// NotebookInstanceLifecycleConfigArn is a required field
63473	NotebookInstanceLifecycleConfigArn *string `type:"string" required:"true"`
63474
63475	// The name of the lifecycle configuration.
63476	//
63477	// NotebookInstanceLifecycleConfigName is a required field
63478	NotebookInstanceLifecycleConfigName *string `type:"string" required:"true"`
63479}
63480
63481// String returns the string representation
63482func (s NotebookInstanceLifecycleConfigSummary) String() string {
63483	return awsutil.Prettify(s)
63484}
63485
63486// GoString returns the string representation
63487func (s NotebookInstanceLifecycleConfigSummary) GoString() string {
63488	return s.String()
63489}
63490
63491// SetCreationTime sets the CreationTime field's value.
63492func (s *NotebookInstanceLifecycleConfigSummary) SetCreationTime(v time.Time) *NotebookInstanceLifecycleConfigSummary {
63493	s.CreationTime = &v
63494	return s
63495}
63496
63497// SetLastModifiedTime sets the LastModifiedTime field's value.
63498func (s *NotebookInstanceLifecycleConfigSummary) SetLastModifiedTime(v time.Time) *NotebookInstanceLifecycleConfigSummary {
63499	s.LastModifiedTime = &v
63500	return s
63501}
63502
63503// SetNotebookInstanceLifecycleConfigArn sets the NotebookInstanceLifecycleConfigArn field's value.
63504func (s *NotebookInstanceLifecycleConfigSummary) SetNotebookInstanceLifecycleConfigArn(v string) *NotebookInstanceLifecycleConfigSummary {
63505	s.NotebookInstanceLifecycleConfigArn = &v
63506	return s
63507}
63508
63509// SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value.
63510func (s *NotebookInstanceLifecycleConfigSummary) SetNotebookInstanceLifecycleConfigName(v string) *NotebookInstanceLifecycleConfigSummary {
63511	s.NotebookInstanceLifecycleConfigName = &v
63512	return s
63513}
63514
63515// Contains the notebook instance lifecycle configuration script.
63516//
63517// Each lifecycle configuration script has a limit of 16384 characters.
63518//
63519// The value of the $PATH environment variable that is available to both scripts
63520// is /sbin:bin:/usr/sbin:/usr/bin.
63521//
63522// View CloudWatch Logs for notebook instance lifecycle configurations in log
63523// group /aws/sagemaker/NotebookInstances in log stream [notebook-instance-name]/[LifecycleConfigHook].
63524//
63525// Lifecycle configuration scripts cannot run for longer than 5 minutes. If
63526// a script runs for longer than 5 minutes, it fails and the notebook instance
63527// is not created or started.
63528//
63529// For information about notebook instance lifestyle configurations, see Step
63530// 2.1: (Optional) Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html).
63531type NotebookInstanceLifecycleHook struct {
63532	_ struct{} `type:"structure"`
63533
63534	// A base64-encoded string that contains a shell script for a notebook instance
63535	// lifecycle configuration.
63536	Content *string `min:"1" type:"string"`
63537}
63538
63539// String returns the string representation
63540func (s NotebookInstanceLifecycleHook) String() string {
63541	return awsutil.Prettify(s)
63542}
63543
63544// GoString returns the string representation
63545func (s NotebookInstanceLifecycleHook) GoString() string {
63546	return s.String()
63547}
63548
63549// Validate inspects the fields of the type to determine if they are valid.
63550func (s *NotebookInstanceLifecycleHook) Validate() error {
63551	invalidParams := request.ErrInvalidParams{Context: "NotebookInstanceLifecycleHook"}
63552	if s.Content != nil && len(*s.Content) < 1 {
63553		invalidParams.Add(request.NewErrParamMinLen("Content", 1))
63554	}
63555
63556	if invalidParams.Len() > 0 {
63557		return invalidParams
63558	}
63559	return nil
63560}
63561
63562// SetContent sets the Content field's value.
63563func (s *NotebookInstanceLifecycleHook) SetContent(v string) *NotebookInstanceLifecycleHook {
63564	s.Content = &v
63565	return s
63566}
63567
63568// Provides summary information for an Amazon SageMaker notebook instance.
63569type NotebookInstanceSummary struct {
63570	_ struct{} `type:"structure"`
63571
63572	// An array of up to three Git repositories associated with the notebook instance.
63573	// These can be either the names of Git repositories stored as resources in
63574	// your account, or the URL of Git repositories in AWS CodeCommit (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html)
63575	// or in any other Git repository. These repositories are cloned at the same
63576	// level as the default repository of your notebook instance. For more information,
63577	// see Associating Git Repositories with Amazon SageMaker Notebook Instances
63578	// (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).
63579	AdditionalCodeRepositories []*string `type:"list"`
63580
63581	// A timestamp that shows when the notebook instance was created.
63582	CreationTime *time.Time `type:"timestamp"`
63583
63584	// The Git repository associated with the notebook instance as its default code
63585	// repository. This can be either the name of a Git repository stored as a resource
63586	// in your account, or the URL of a Git repository in AWS CodeCommit (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html)
63587	// or in any other Git repository. When you open a notebook instance, it opens
63588	// in the directory that contains this repository. For more information, see
63589	// Associating Git Repositories with Amazon SageMaker Notebook Instances (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).
63590	DefaultCodeRepository *string `min:"1" type:"string"`
63591
63592	// The type of ML compute instance that the notebook instance is running on.
63593	InstanceType *string `type:"string" enum:"InstanceType"`
63594
63595	// A timestamp that shows when the notebook instance was last modified.
63596	LastModifiedTime *time.Time `type:"timestamp"`
63597
63598	// The Amazon Resource Name (ARN) of the notebook instance.
63599	//
63600	// NotebookInstanceArn is a required field
63601	NotebookInstanceArn *string `type:"string" required:"true"`
63602
63603	// The name of a notebook instance lifecycle configuration associated with this
63604	// notebook instance.
63605	//
63606	// For information about notebook instance lifestyle configurations, see Step
63607	// 2.1: (Optional) Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html).
63608	NotebookInstanceLifecycleConfigName *string `type:"string"`
63609
63610	// The name of the notebook instance that you want a summary for.
63611	//
63612	// NotebookInstanceName is a required field
63613	NotebookInstanceName *string `type:"string" required:"true"`
63614
63615	// The status of the notebook instance.
63616	NotebookInstanceStatus *string `type:"string" enum:"NotebookInstanceStatus"`
63617
63618	// The URL that you use to connect to the Jupyter instance running in your notebook
63619	// instance.
63620	Url *string `type:"string"`
63621}
63622
63623// String returns the string representation
63624func (s NotebookInstanceSummary) String() string {
63625	return awsutil.Prettify(s)
63626}
63627
63628// GoString returns the string representation
63629func (s NotebookInstanceSummary) GoString() string {
63630	return s.String()
63631}
63632
63633// SetAdditionalCodeRepositories sets the AdditionalCodeRepositories field's value.
63634func (s *NotebookInstanceSummary) SetAdditionalCodeRepositories(v []*string) *NotebookInstanceSummary {
63635	s.AdditionalCodeRepositories = v
63636	return s
63637}
63638
63639// SetCreationTime sets the CreationTime field's value.
63640func (s *NotebookInstanceSummary) SetCreationTime(v time.Time) *NotebookInstanceSummary {
63641	s.CreationTime = &v
63642	return s
63643}
63644
63645// SetDefaultCodeRepository sets the DefaultCodeRepository field's value.
63646func (s *NotebookInstanceSummary) SetDefaultCodeRepository(v string) *NotebookInstanceSummary {
63647	s.DefaultCodeRepository = &v
63648	return s
63649}
63650
63651// SetInstanceType sets the InstanceType field's value.
63652func (s *NotebookInstanceSummary) SetInstanceType(v string) *NotebookInstanceSummary {
63653	s.InstanceType = &v
63654	return s
63655}
63656
63657// SetLastModifiedTime sets the LastModifiedTime field's value.
63658func (s *NotebookInstanceSummary) SetLastModifiedTime(v time.Time) *NotebookInstanceSummary {
63659	s.LastModifiedTime = &v
63660	return s
63661}
63662
63663// SetNotebookInstanceArn sets the NotebookInstanceArn field's value.
63664func (s *NotebookInstanceSummary) SetNotebookInstanceArn(v string) *NotebookInstanceSummary {
63665	s.NotebookInstanceArn = &v
63666	return s
63667}
63668
63669// SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value.
63670func (s *NotebookInstanceSummary) SetNotebookInstanceLifecycleConfigName(v string) *NotebookInstanceSummary {
63671	s.NotebookInstanceLifecycleConfigName = &v
63672	return s
63673}
63674
63675// SetNotebookInstanceName sets the NotebookInstanceName field's value.
63676func (s *NotebookInstanceSummary) SetNotebookInstanceName(v string) *NotebookInstanceSummary {
63677	s.NotebookInstanceName = &v
63678	return s
63679}
63680
63681// SetNotebookInstanceStatus sets the NotebookInstanceStatus field's value.
63682func (s *NotebookInstanceSummary) SetNotebookInstanceStatus(v string) *NotebookInstanceSummary {
63683	s.NotebookInstanceStatus = &v
63684	return s
63685}
63686
63687// SetUrl sets the Url field's value.
63688func (s *NotebookInstanceSummary) SetUrl(v string) *NotebookInstanceSummary {
63689	s.Url = &v
63690	return s
63691}
63692
63693// Configures SNS notifications of available or expiring work items for work
63694// teams.
63695type NotificationConfiguration struct {
63696	_ struct{} `type:"structure"`
63697
63698	// The ARN for the SNS topic to which notifications should be published.
63699	NotificationTopicArn *string `type:"string"`
63700}
63701
63702// String returns the string representation
63703func (s NotificationConfiguration) String() string {
63704	return awsutil.Prettify(s)
63705}
63706
63707// GoString returns the string representation
63708func (s NotificationConfiguration) GoString() string {
63709	return s.String()
63710}
63711
63712// SetNotificationTopicArn sets the NotificationTopicArn field's value.
63713func (s *NotificationConfiguration) SetNotificationTopicArn(v string) *NotificationConfiguration {
63714	s.NotificationTopicArn = &v
63715	return s
63716}
63717
63718// Specifies the number of training jobs that this hyperparameter tuning job
63719// launched, categorized by the status of their objective metric. The objective
63720// metric status shows whether the final objective metric for the training job
63721// has been evaluated by the tuning job and used in the hyperparameter tuning
63722// process.
63723type ObjectiveStatusCounters struct {
63724	_ struct{} `type:"structure"`
63725
63726	// The number of training jobs whose final objective metric was not evaluated
63727	// and used in the hyperparameter tuning process. This typically occurs when
63728	// the training job failed or did not emit an objective metric.
63729	Failed *int64 `type:"integer"`
63730
63731	// The number of training jobs that are in progress and pending evaluation of
63732	// their final objective metric.
63733	Pending *int64 `type:"integer"`
63734
63735	// The number of training jobs whose final objective metric was evaluated by
63736	// the hyperparameter tuning job and used in the hyperparameter tuning process.
63737	Succeeded *int64 `type:"integer"`
63738}
63739
63740// String returns the string representation
63741func (s ObjectiveStatusCounters) String() string {
63742	return awsutil.Prettify(s)
63743}
63744
63745// GoString returns the string representation
63746func (s ObjectiveStatusCounters) GoString() string {
63747	return s.String()
63748}
63749
63750// SetFailed sets the Failed field's value.
63751func (s *ObjectiveStatusCounters) SetFailed(v int64) *ObjectiveStatusCounters {
63752	s.Failed = &v
63753	return s
63754}
63755
63756// SetPending sets the Pending field's value.
63757func (s *ObjectiveStatusCounters) SetPending(v int64) *ObjectiveStatusCounters {
63758	s.Pending = &v
63759	return s
63760}
63761
63762// SetSucceeded sets the Succeeded field's value.
63763func (s *ObjectiveStatusCounters) SetSucceeded(v int64) *ObjectiveStatusCounters {
63764	s.Succeeded = &v
63765	return s
63766}
63767
63768// The configuration of an OfflineStore.
63769//
63770// Provide an OfflineStoreConfig in a request to CreateFeatureGroup to create
63771// an OfflineStore.
63772//
63773// To encrypt an OfflineStore using at rest data encryption, specify AWS Key
63774// Management Service (KMS) key ID, or KMSKeyId, in S3StorageConfig.
63775type OfflineStoreConfig struct {
63776	_ struct{} `type:"structure"`
63777
63778	// The meta data of the Glue table that is autogenerated when an OfflineStore
63779	// is created.
63780	DataCatalogConfig *DataCatalogConfig `type:"structure"`
63781
63782	// Set to True to disable the automatic creation of an AWS Glue table when configuring
63783	// an OfflineStore.
63784	DisableGlueTableCreation *bool `type:"boolean"`
63785
63786	// The Amazon Simple Storage (Amazon S3) location of OfflineStore.
63787	//
63788	// S3StorageConfig is a required field
63789	S3StorageConfig *S3StorageConfig `type:"structure" required:"true"`
63790}
63791
63792// String returns the string representation
63793func (s OfflineStoreConfig) String() string {
63794	return awsutil.Prettify(s)
63795}
63796
63797// GoString returns the string representation
63798func (s OfflineStoreConfig) GoString() string {
63799	return s.String()
63800}
63801
63802// Validate inspects the fields of the type to determine if they are valid.
63803func (s *OfflineStoreConfig) Validate() error {
63804	invalidParams := request.ErrInvalidParams{Context: "OfflineStoreConfig"}
63805	if s.S3StorageConfig == nil {
63806		invalidParams.Add(request.NewErrParamRequired("S3StorageConfig"))
63807	}
63808	if s.DataCatalogConfig != nil {
63809		if err := s.DataCatalogConfig.Validate(); err != nil {
63810			invalidParams.AddNested("DataCatalogConfig", err.(request.ErrInvalidParams))
63811		}
63812	}
63813	if s.S3StorageConfig != nil {
63814		if err := s.S3StorageConfig.Validate(); err != nil {
63815			invalidParams.AddNested("S3StorageConfig", err.(request.ErrInvalidParams))
63816		}
63817	}
63818
63819	if invalidParams.Len() > 0 {
63820		return invalidParams
63821	}
63822	return nil
63823}
63824
63825// SetDataCatalogConfig sets the DataCatalogConfig field's value.
63826func (s *OfflineStoreConfig) SetDataCatalogConfig(v *DataCatalogConfig) *OfflineStoreConfig {
63827	s.DataCatalogConfig = v
63828	return s
63829}
63830
63831// SetDisableGlueTableCreation sets the DisableGlueTableCreation field's value.
63832func (s *OfflineStoreConfig) SetDisableGlueTableCreation(v bool) *OfflineStoreConfig {
63833	s.DisableGlueTableCreation = &v
63834	return s
63835}
63836
63837// SetS3StorageConfig sets the S3StorageConfig field's value.
63838func (s *OfflineStoreConfig) SetS3StorageConfig(v *S3StorageConfig) *OfflineStoreConfig {
63839	s.S3StorageConfig = v
63840	return s
63841}
63842
63843// The status of OfflineStore.
63844type OfflineStoreStatus struct {
63845	_ struct{} `type:"structure"`
63846
63847	// The justification for why the OfflineStoreStatus is Blocked (if applicable).
63848	BlockedReason *string `type:"string"`
63849
63850	// An OfflineStore status.
63851	//
63852	// Status is a required field
63853	Status *string `type:"string" required:"true" enum:"OfflineStoreStatusValue"`
63854}
63855
63856// String returns the string representation
63857func (s OfflineStoreStatus) String() string {
63858	return awsutil.Prettify(s)
63859}
63860
63861// GoString returns the string representation
63862func (s OfflineStoreStatus) GoString() string {
63863	return s.String()
63864}
63865
63866// SetBlockedReason sets the BlockedReason field's value.
63867func (s *OfflineStoreStatus) SetBlockedReason(v string) *OfflineStoreStatus {
63868	s.BlockedReason = &v
63869	return s
63870}
63871
63872// SetStatus sets the Status field's value.
63873func (s *OfflineStoreStatus) SetStatus(v string) *OfflineStoreStatus {
63874	s.Status = &v
63875	return s
63876}
63877
63878// Use this parameter to configure your OIDC Identity Provider (IdP).
63879type OidcConfig struct {
63880	_ struct{} `type:"structure"`
63881
63882	// The OIDC IdP authorization endpoint used to configure your private workforce.
63883	//
63884	// AuthorizationEndpoint is a required field
63885	AuthorizationEndpoint *string `type:"string" required:"true"`
63886
63887	// The OIDC IdP client ID used to configure your private workforce.
63888	//
63889	// ClientId is a required field
63890	ClientId *string `min:"1" type:"string" required:"true"`
63891
63892	// The OIDC IdP client secret used to configure your private workforce.
63893	//
63894	// ClientSecret is a required field
63895	ClientSecret *string `min:"1" type:"string" required:"true" sensitive:"true"`
63896
63897	// The OIDC IdP issuer used to configure your private workforce.
63898	//
63899	// Issuer is a required field
63900	Issuer *string `type:"string" required:"true"`
63901
63902	// The OIDC IdP JSON Web Key Set (Jwks) URI used to configure your private workforce.
63903	//
63904	// JwksUri is a required field
63905	JwksUri *string `type:"string" required:"true"`
63906
63907	// The OIDC IdP logout endpoint used to configure your private workforce.
63908	//
63909	// LogoutEndpoint is a required field
63910	LogoutEndpoint *string `type:"string" required:"true"`
63911
63912	// The OIDC IdP token endpoint used to configure your private workforce.
63913	//
63914	// TokenEndpoint is a required field
63915	TokenEndpoint *string `type:"string" required:"true"`
63916
63917	// The OIDC IdP user information endpoint used to configure your private workforce.
63918	//
63919	// UserInfoEndpoint is a required field
63920	UserInfoEndpoint *string `type:"string" required:"true"`
63921}
63922
63923// String returns the string representation
63924func (s OidcConfig) String() string {
63925	return awsutil.Prettify(s)
63926}
63927
63928// GoString returns the string representation
63929func (s OidcConfig) GoString() string {
63930	return s.String()
63931}
63932
63933// Validate inspects the fields of the type to determine if they are valid.
63934func (s *OidcConfig) Validate() error {
63935	invalidParams := request.ErrInvalidParams{Context: "OidcConfig"}
63936	if s.AuthorizationEndpoint == nil {
63937		invalidParams.Add(request.NewErrParamRequired("AuthorizationEndpoint"))
63938	}
63939	if s.ClientId == nil {
63940		invalidParams.Add(request.NewErrParamRequired("ClientId"))
63941	}
63942	if s.ClientId != nil && len(*s.ClientId) < 1 {
63943		invalidParams.Add(request.NewErrParamMinLen("ClientId", 1))
63944	}
63945	if s.ClientSecret == nil {
63946		invalidParams.Add(request.NewErrParamRequired("ClientSecret"))
63947	}
63948	if s.ClientSecret != nil && len(*s.ClientSecret) < 1 {
63949		invalidParams.Add(request.NewErrParamMinLen("ClientSecret", 1))
63950	}
63951	if s.Issuer == nil {
63952		invalidParams.Add(request.NewErrParamRequired("Issuer"))
63953	}
63954	if s.JwksUri == nil {
63955		invalidParams.Add(request.NewErrParamRequired("JwksUri"))
63956	}
63957	if s.LogoutEndpoint == nil {
63958		invalidParams.Add(request.NewErrParamRequired("LogoutEndpoint"))
63959	}
63960	if s.TokenEndpoint == nil {
63961		invalidParams.Add(request.NewErrParamRequired("TokenEndpoint"))
63962	}
63963	if s.UserInfoEndpoint == nil {
63964		invalidParams.Add(request.NewErrParamRequired("UserInfoEndpoint"))
63965	}
63966
63967	if invalidParams.Len() > 0 {
63968		return invalidParams
63969	}
63970	return nil
63971}
63972
63973// SetAuthorizationEndpoint sets the AuthorizationEndpoint field's value.
63974func (s *OidcConfig) SetAuthorizationEndpoint(v string) *OidcConfig {
63975	s.AuthorizationEndpoint = &v
63976	return s
63977}
63978
63979// SetClientId sets the ClientId field's value.
63980func (s *OidcConfig) SetClientId(v string) *OidcConfig {
63981	s.ClientId = &v
63982	return s
63983}
63984
63985// SetClientSecret sets the ClientSecret field's value.
63986func (s *OidcConfig) SetClientSecret(v string) *OidcConfig {
63987	s.ClientSecret = &v
63988	return s
63989}
63990
63991// SetIssuer sets the Issuer field's value.
63992func (s *OidcConfig) SetIssuer(v string) *OidcConfig {
63993	s.Issuer = &v
63994	return s
63995}
63996
63997// SetJwksUri sets the JwksUri field's value.
63998func (s *OidcConfig) SetJwksUri(v string) *OidcConfig {
63999	s.JwksUri = &v
64000	return s
64001}
64002
64003// SetLogoutEndpoint sets the LogoutEndpoint field's value.
64004func (s *OidcConfig) SetLogoutEndpoint(v string) *OidcConfig {
64005	s.LogoutEndpoint = &v
64006	return s
64007}
64008
64009// SetTokenEndpoint sets the TokenEndpoint field's value.
64010func (s *OidcConfig) SetTokenEndpoint(v string) *OidcConfig {
64011	s.TokenEndpoint = &v
64012	return s
64013}
64014
64015// SetUserInfoEndpoint sets the UserInfoEndpoint field's value.
64016func (s *OidcConfig) SetUserInfoEndpoint(v string) *OidcConfig {
64017	s.UserInfoEndpoint = &v
64018	return s
64019}
64020
64021// Your OIDC IdP workforce configuration.
64022type OidcConfigForResponse struct {
64023	_ struct{} `type:"structure"`
64024
64025	// The OIDC IdP authorization endpoint used to configure your private workforce.
64026	AuthorizationEndpoint *string `type:"string"`
64027
64028	// The OIDC IdP client ID used to configure your private workforce.
64029	ClientId *string `min:"1" type:"string"`
64030
64031	// The OIDC IdP issuer used to configure your private workforce.
64032	Issuer *string `type:"string"`
64033
64034	// The OIDC IdP JSON Web Key Set (Jwks) URI used to configure your private workforce.
64035	JwksUri *string `type:"string"`
64036
64037	// The OIDC IdP logout endpoint used to configure your private workforce.
64038	LogoutEndpoint *string `type:"string"`
64039
64040	// The OIDC IdP token endpoint used to configure your private workforce.
64041	TokenEndpoint *string `type:"string"`
64042
64043	// The OIDC IdP user information endpoint used to configure your private workforce.
64044	UserInfoEndpoint *string `type:"string"`
64045}
64046
64047// String returns the string representation
64048func (s OidcConfigForResponse) String() string {
64049	return awsutil.Prettify(s)
64050}
64051
64052// GoString returns the string representation
64053func (s OidcConfigForResponse) GoString() string {
64054	return s.String()
64055}
64056
64057// SetAuthorizationEndpoint sets the AuthorizationEndpoint field's value.
64058func (s *OidcConfigForResponse) SetAuthorizationEndpoint(v string) *OidcConfigForResponse {
64059	s.AuthorizationEndpoint = &v
64060	return s
64061}
64062
64063// SetClientId sets the ClientId field's value.
64064func (s *OidcConfigForResponse) SetClientId(v string) *OidcConfigForResponse {
64065	s.ClientId = &v
64066	return s
64067}
64068
64069// SetIssuer sets the Issuer field's value.
64070func (s *OidcConfigForResponse) SetIssuer(v string) *OidcConfigForResponse {
64071	s.Issuer = &v
64072	return s
64073}
64074
64075// SetJwksUri sets the JwksUri field's value.
64076func (s *OidcConfigForResponse) SetJwksUri(v string) *OidcConfigForResponse {
64077	s.JwksUri = &v
64078	return s
64079}
64080
64081// SetLogoutEndpoint sets the LogoutEndpoint field's value.
64082func (s *OidcConfigForResponse) SetLogoutEndpoint(v string) *OidcConfigForResponse {
64083	s.LogoutEndpoint = &v
64084	return s
64085}
64086
64087// SetTokenEndpoint sets the TokenEndpoint field's value.
64088func (s *OidcConfigForResponse) SetTokenEndpoint(v string) *OidcConfigForResponse {
64089	s.TokenEndpoint = &v
64090	return s
64091}
64092
64093// SetUserInfoEndpoint sets the UserInfoEndpoint field's value.
64094func (s *OidcConfigForResponse) SetUserInfoEndpoint(v string) *OidcConfigForResponse {
64095	s.UserInfoEndpoint = &v
64096	return s
64097}
64098
64099// A list of user groups that exist in your OIDC Identity Provider (IdP). One
64100// to ten groups can be used to create a single private work team. When you
64101// add a user group to the list of Groups, you can add that user group to one
64102// or more private work teams. If you add a user group to a private work team,
64103// all workers in that user group are added to the work team.
64104type OidcMemberDefinition struct {
64105	_ struct{} `type:"structure"`
64106
64107	// A list of comma seperated strings that identifies user groups in your OIDC
64108	// IdP. Each user group is made up of a group of private workers.
64109	//
64110	// Groups is a required field
64111	Groups []*string `min:"1" type:"list" required:"true"`
64112}
64113
64114// String returns the string representation
64115func (s OidcMemberDefinition) String() string {
64116	return awsutil.Prettify(s)
64117}
64118
64119// GoString returns the string representation
64120func (s OidcMemberDefinition) GoString() string {
64121	return s.String()
64122}
64123
64124// Validate inspects the fields of the type to determine if they are valid.
64125func (s *OidcMemberDefinition) Validate() error {
64126	invalidParams := request.ErrInvalidParams{Context: "OidcMemberDefinition"}
64127	if s.Groups == nil {
64128		invalidParams.Add(request.NewErrParamRequired("Groups"))
64129	}
64130	if s.Groups != nil && len(s.Groups) < 1 {
64131		invalidParams.Add(request.NewErrParamMinLen("Groups", 1))
64132	}
64133
64134	if invalidParams.Len() > 0 {
64135		return invalidParams
64136	}
64137	return nil
64138}
64139
64140// SetGroups sets the Groups field's value.
64141func (s *OidcMemberDefinition) SetGroups(v []*string) *OidcMemberDefinition {
64142	s.Groups = v
64143	return s
64144}
64145
64146// Use this to specify the AWS Key Management Service (KMS) Key ID, or KMSKeyId,
64147// for at rest data encryption. You can turn OnlineStore on or off by specifying
64148// the EnableOnlineStore flag at General Assembly; the default value is False.
64149type OnlineStoreConfig struct {
64150	_ struct{} `type:"structure"`
64151
64152	// Turn OnlineStore off by specifying False for the EnableOnlineStore flag.
64153	// Turn OnlineStore on by specifying True for the EnableOnlineStore flag.
64154	//
64155	// The default value is False.
64156	EnableOnlineStore *bool `type:"boolean"`
64157
64158	// Use to specify KMS Key ID (KMSKeyId) for at-rest encryption of your OnlineStore.
64159	SecurityConfig *OnlineStoreSecurityConfig `type:"structure"`
64160}
64161
64162// String returns the string representation
64163func (s OnlineStoreConfig) String() string {
64164	return awsutil.Prettify(s)
64165}
64166
64167// GoString returns the string representation
64168func (s OnlineStoreConfig) GoString() string {
64169	return s.String()
64170}
64171
64172// SetEnableOnlineStore sets the EnableOnlineStore field's value.
64173func (s *OnlineStoreConfig) SetEnableOnlineStore(v bool) *OnlineStoreConfig {
64174	s.EnableOnlineStore = &v
64175	return s
64176}
64177
64178// SetSecurityConfig sets the SecurityConfig field's value.
64179func (s *OnlineStoreConfig) SetSecurityConfig(v *OnlineStoreSecurityConfig) *OnlineStoreConfig {
64180	s.SecurityConfig = v
64181	return s
64182}
64183
64184// The security configuration for OnlineStore.
64185type OnlineStoreSecurityConfig struct {
64186	_ struct{} `type:"structure"`
64187
64188	// The ID of the AWS Key Management Service (AWS KMS) key that SageMaker Feature
64189	// Store uses to encrypt the Amazon S3 objects at rest using Amazon S3 server-side
64190	// encryption.
64191	//
64192	// The caller (either IAM user or IAM role) of CreateFeatureGroup must have
64193	// below permissions to the OnlineStore KmsKeyId:
64194	//
64195	//    * "kms:Encrypt"
64196	//
64197	//    * "kms:Decrypt"
64198	//
64199	//    * "kms:DescribeKey"
64200	//
64201	//    * "kms:CreateGrant"
64202	//
64203	//    * "kms:RetireGrant"
64204	//
64205	//    * "kms:ReEncryptFrom"
64206	//
64207	//    * "kms:ReEncryptTo"
64208	//
64209	//    * "kms:GenerateDataKey"
64210	//
64211	//    * "kms:ListAliases"
64212	//
64213	//    * "kms:ListGrants"
64214	//
64215	//    * "kms:RevokeGrant"
64216	//
64217	// The caller (either IAM user or IAM role) to all DataPlane operations (PutRecord,
64218	// GetRecord, DeleteRecord) must have the following permissions to the KmsKeyId:
64219	//
64220	//    * "kms:Decrypt"
64221	KmsKeyId *string `type:"string"`
64222}
64223
64224// String returns the string representation
64225func (s OnlineStoreSecurityConfig) String() string {
64226	return awsutil.Prettify(s)
64227}
64228
64229// GoString returns the string representation
64230func (s OnlineStoreSecurityConfig) GoString() string {
64231	return s.String()
64232}
64233
64234// SetKmsKeyId sets the KmsKeyId field's value.
64235func (s *OnlineStoreSecurityConfig) SetKmsKeyId(v string) *OnlineStoreSecurityConfig {
64236	s.KmsKeyId = &v
64237	return s
64238}
64239
64240// Contains information about the output location for the compiled model and
64241// the target device that the model runs on. TargetDevice and TargetPlatform
64242// are mutually exclusive, so you need to choose one between the two to specify
64243// your target device or platform. If you cannot find your device you want to
64244// use from the TargetDevice list, use TargetPlatform to describe the platform
64245// of your edge device and CompilerOptions if there are specific settings that
64246// are required or recommended to use for particular TargetPlatform.
64247type OutputConfig struct {
64248	_ struct{} `type:"structure"`
64249
64250	// Specifies additional parameters for compiler options in JSON format. The
64251	// compiler options are TargetPlatform specific. It is required for NVIDIA accelerators
64252	// and highly recommended for CPU compilations. For any other cases, it is optional
64253	// to specify CompilerOptions.
64254	//
64255	//    * CPU: Compilation for CPU supports the following compiler options. mcpu:
64256	//    CPU micro-architecture. For example, {'mcpu': 'skylake-avx512'} mattr:
64257	//    CPU flags. For example, {'mattr': ['+neon', '+vfpv4']}
64258	//
64259	//    * ARM: Details of ARM CPU compilations. NEON: NEON is an implementation
64260	//    of the Advanced SIMD extension used in ARMv7 processors. For example,
64261	//    add {'mattr': ['+neon']} to the compiler options if compiling for ARM
64262	//    32-bit platform with the NEON support.
64263	//
64264	//    * NVIDIA: Compilation for NVIDIA GPU supports the following compiler options.
64265	//    gpu_code: Specifies the targeted architecture. trt-ver: Specifies the
64266	//    TensorRT versions in x.y.z. format. cuda-ver: Specifies the CUDA version
64267	//    in x.y format. For example, {'gpu-code': 'sm_72', 'trt-ver': '6.0.1',
64268	//    'cuda-ver': '10.1'}
64269	//
64270	//    * ANDROID: Compilation for the Android OS supports the following compiler
64271	//    options: ANDROID_PLATFORM: Specifies the Android API levels. Available
64272	//    levels range from 21 to 29. For example, {'ANDROID_PLATFORM': 28}. mattr:
64273	//    Add {'mattr': ['+neon']} to compiler options if compiling for ARM 32-bit
64274	//    platform with NEON support.
64275	//
64276	//    * INFERENTIA: Compilation for target ml_inf1 uses compiler options passed
64277	//    in as a JSON string. For example, "CompilerOptions": "\"--verbose 1 --num-neuroncores
64278	//    2 -O2\"". For information about supported compiler options, see Neuron
64279	//    Compiler CLI (https://github.com/aws/aws-neuron-sdk/blob/master/docs/neuron-cc/command-line-reference.md).
64280	//
64281	//    * CoreML: Compilation for the CoreML OutputConfig$TargetDevice supports
64282	//    the following compiler options: class_labels: Specifies the classification
64283	//    labels file name inside input tar.gz file. For example, {"class_labels":
64284	//    "imagenet_labels_1000.txt"}. Labels inside the txt file should be separated
64285	//    by newlines.
64286	CompilerOptions *string `min:"3" type:"string"`
64287
64288	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
64289	// encrypt data on the storage volume after compilation job. If you don't provide
64290	// a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon S3 for
64291	// your role's account
64292	//
64293	// The KmsKeyId can be any of the following formats:
64294	//
64295	//    * Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
64296	//
64297	//    * Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
64298	//
64299	//    * Alias name: alias/ExampleAlias
64300	//
64301	//    * Alias name ARN: arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias
64302	KmsKeyId *string `type:"string"`
64303
64304	// Identifies the S3 bucket where you want Amazon SageMaker to store the model
64305	// artifacts. For example, s3://bucket-name/key-name-prefix.
64306	//
64307	// S3OutputLocation is a required field
64308	S3OutputLocation *string `type:"string" required:"true"`
64309
64310	// Identifies the target device or the machine learning instance that you want
64311	// to run your model on after the compilation has completed. Alternatively,
64312	// you can specify OS, architecture, and accelerator using TargetPlatform fields.
64313	// It can be used instead of TargetPlatform.
64314	TargetDevice *string `type:"string" enum:"TargetDevice"`
64315
64316	// Contains information about a target platform that you want your model to
64317	// run on, such as OS, architecture, and accelerators. It is an alternative
64318	// of TargetDevice.
64319	//
64320	// The following examples show how to configure the TargetPlatform and CompilerOptions
64321	// JSON strings for popular target platforms:
64322	//
64323	//    * Raspberry Pi 3 Model B+ "TargetPlatform": {"Os": "LINUX", "Arch": "ARM_EABIHF"},
64324	//    "CompilerOptions": {'mattr': ['+neon']}
64325	//
64326	//    * Jetson TX2 "TargetPlatform": {"Os": "LINUX", "Arch": "ARM64", "Accelerator":
64327	//    "NVIDIA"}, "CompilerOptions": {'gpu-code': 'sm_62', 'trt-ver': '6.0.1',
64328	//    'cuda-ver': '10.0'}
64329	//
64330	//    * EC2 m5.2xlarge instance OS "TargetPlatform": {"Os": "LINUX", "Arch":
64331	//    "X86_64", "Accelerator": "NVIDIA"}, "CompilerOptions": {'mcpu': 'skylake-avx512'}
64332	//
64333	//    * RK3399 "TargetPlatform": {"Os": "LINUX", "Arch": "ARM64", "Accelerator":
64334	//    "MALI"}
64335	//
64336	//    * ARMv7 phone (CPU) "TargetPlatform": {"Os": "ANDROID", "Arch": "ARM_EABI"},
64337	//    "CompilerOptions": {'ANDROID_PLATFORM': 25, 'mattr': ['+neon']}
64338	//
64339	//    * ARMv8 phone (CPU) "TargetPlatform": {"Os": "ANDROID", "Arch": "ARM64"},
64340	//    "CompilerOptions": {'ANDROID_PLATFORM': 29}
64341	TargetPlatform *TargetPlatform `type:"structure"`
64342}
64343
64344// String returns the string representation
64345func (s OutputConfig) String() string {
64346	return awsutil.Prettify(s)
64347}
64348
64349// GoString returns the string representation
64350func (s OutputConfig) GoString() string {
64351	return s.String()
64352}
64353
64354// Validate inspects the fields of the type to determine if they are valid.
64355func (s *OutputConfig) Validate() error {
64356	invalidParams := request.ErrInvalidParams{Context: "OutputConfig"}
64357	if s.CompilerOptions != nil && len(*s.CompilerOptions) < 3 {
64358		invalidParams.Add(request.NewErrParamMinLen("CompilerOptions", 3))
64359	}
64360	if s.S3OutputLocation == nil {
64361		invalidParams.Add(request.NewErrParamRequired("S3OutputLocation"))
64362	}
64363	if s.TargetPlatform != nil {
64364		if err := s.TargetPlatform.Validate(); err != nil {
64365			invalidParams.AddNested("TargetPlatform", err.(request.ErrInvalidParams))
64366		}
64367	}
64368
64369	if invalidParams.Len() > 0 {
64370		return invalidParams
64371	}
64372	return nil
64373}
64374
64375// SetCompilerOptions sets the CompilerOptions field's value.
64376func (s *OutputConfig) SetCompilerOptions(v string) *OutputConfig {
64377	s.CompilerOptions = &v
64378	return s
64379}
64380
64381// SetKmsKeyId sets the KmsKeyId field's value.
64382func (s *OutputConfig) SetKmsKeyId(v string) *OutputConfig {
64383	s.KmsKeyId = &v
64384	return s
64385}
64386
64387// SetS3OutputLocation sets the S3OutputLocation field's value.
64388func (s *OutputConfig) SetS3OutputLocation(v string) *OutputConfig {
64389	s.S3OutputLocation = &v
64390	return s
64391}
64392
64393// SetTargetDevice sets the TargetDevice field's value.
64394func (s *OutputConfig) SetTargetDevice(v string) *OutputConfig {
64395	s.TargetDevice = &v
64396	return s
64397}
64398
64399// SetTargetPlatform sets the TargetPlatform field's value.
64400func (s *OutputConfig) SetTargetPlatform(v *TargetPlatform) *OutputConfig {
64401	s.TargetPlatform = v
64402	return s
64403}
64404
64405// Provides information about how to store model training results (model artifacts).
64406type OutputDataConfig struct {
64407	_ struct{} `type:"structure"`
64408
64409	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
64410	// encrypt the model artifacts at rest using Amazon S3 server-side encryption.
64411	// The KmsKeyId can be any of the following formats:
64412	//
64413	//    * // KMS Key ID "1234abcd-12ab-34cd-56ef-1234567890ab"
64414	//
64415	//    * // Amazon Resource Name (ARN) of a KMS Key "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
64416	//
64417	//    * // KMS Key Alias "alias/ExampleAlias"
64418	//
64419	//    * // Amazon Resource Name (ARN) of a KMS Key Alias "arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias"
64420	//
64421	// If you use a KMS key ID or an alias of your master key, the Amazon SageMaker
64422	// execution role must include permissions to call kms:Encrypt. If you don't
64423	// provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon
64424	// S3 for your role's account. Amazon SageMaker uses server-side encryption
64425	// with KMS-managed keys for OutputDataConfig. If you use a bucket policy with
64426	// an s3:PutObject permission that only allows objects with server-side encryption,
64427	// set the condition key of s3:x-amz-server-side-encryption to "aws:kms". For
64428	// more information, see KMS-Managed Encryption Keys (https://docs.aws.amazon.com/mazonS3/latest/dev/UsingKMSEncryption.html)
64429	// in the Amazon Simple Storage Service Developer Guide.
64430	//
64431	// The KMS key policy must grant permission to the IAM role that you specify
64432	// in your CreateTrainingJob, CreateTransformJob, or CreateHyperParameterTuningJob
64433	// requests. For more information, see Using Key Policies in AWS KMS (https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html)
64434	// in the AWS Key Management Service Developer Guide.
64435	KmsKeyId *string `type:"string"`
64436
64437	// Identifies the S3 path where you want Amazon SageMaker to store the model
64438	// artifacts. For example, s3://bucket-name/key-name-prefix.
64439	//
64440	// S3OutputPath is a required field
64441	S3OutputPath *string `type:"string" required:"true"`
64442}
64443
64444// String returns the string representation
64445func (s OutputDataConfig) String() string {
64446	return awsutil.Prettify(s)
64447}
64448
64449// GoString returns the string representation
64450func (s OutputDataConfig) GoString() string {
64451	return s.String()
64452}
64453
64454// Validate inspects the fields of the type to determine if they are valid.
64455func (s *OutputDataConfig) Validate() error {
64456	invalidParams := request.ErrInvalidParams{Context: "OutputDataConfig"}
64457	if s.S3OutputPath == nil {
64458		invalidParams.Add(request.NewErrParamRequired("S3OutputPath"))
64459	}
64460
64461	if invalidParams.Len() > 0 {
64462		return invalidParams
64463	}
64464	return nil
64465}
64466
64467// SetKmsKeyId sets the KmsKeyId field's value.
64468func (s *OutputDataConfig) SetKmsKeyId(v string) *OutputDataConfig {
64469	s.KmsKeyId = &v
64470	return s
64471}
64472
64473// SetS3OutputPath sets the S3OutputPath field's value.
64474func (s *OutputDataConfig) SetS3OutputPath(v string) *OutputDataConfig {
64475	s.S3OutputPath = &v
64476	return s
64477}
64478
64479// Assigns a value to a named Pipeline parameter.
64480type Parameter struct {
64481	_ struct{} `type:"structure"`
64482
64483	// The name of the parameter to assign a value to. This parameter name must
64484	// match a named parameter in the pipeline definition.
64485	//
64486	// Name is a required field
64487	Name *string `min:"1" type:"string" required:"true"`
64488
64489	// The literal value for the parameter.
64490	//
64491	// Value is a required field
64492	Value *string `type:"string" required:"true"`
64493}
64494
64495// String returns the string representation
64496func (s Parameter) String() string {
64497	return awsutil.Prettify(s)
64498}
64499
64500// GoString returns the string representation
64501func (s Parameter) GoString() string {
64502	return s.String()
64503}
64504
64505// Validate inspects the fields of the type to determine if they are valid.
64506func (s *Parameter) Validate() error {
64507	invalidParams := request.ErrInvalidParams{Context: "Parameter"}
64508	if s.Name == nil {
64509		invalidParams.Add(request.NewErrParamRequired("Name"))
64510	}
64511	if s.Name != nil && len(*s.Name) < 1 {
64512		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
64513	}
64514	if s.Value == nil {
64515		invalidParams.Add(request.NewErrParamRequired("Value"))
64516	}
64517
64518	if invalidParams.Len() > 0 {
64519		return invalidParams
64520	}
64521	return nil
64522}
64523
64524// SetName sets the Name field's value.
64525func (s *Parameter) SetName(v string) *Parameter {
64526	s.Name = &v
64527	return s
64528}
64529
64530// SetValue sets the Value field's value.
64531func (s *Parameter) SetValue(v string) *Parameter {
64532	s.Value = &v
64533	return s
64534}
64535
64536// Defines the possible values for categorical, continuous, and integer hyperparameters
64537// to be used by an algorithm.
64538type ParameterRange struct {
64539	_ struct{} `type:"structure"`
64540
64541	// A CategoricalParameterRangeSpecification object that defines the possible
64542	// values for a categorical hyperparameter.
64543	CategoricalParameterRangeSpecification *CategoricalParameterRangeSpecification `type:"structure"`
64544
64545	// A ContinuousParameterRangeSpecification object that defines the possible
64546	// values for a continuous hyperparameter.
64547	ContinuousParameterRangeSpecification *ContinuousParameterRangeSpecification `type:"structure"`
64548
64549	// A IntegerParameterRangeSpecification object that defines the possible values
64550	// for an integer hyperparameter.
64551	IntegerParameterRangeSpecification *IntegerParameterRangeSpecification `type:"structure"`
64552}
64553
64554// String returns the string representation
64555func (s ParameterRange) String() string {
64556	return awsutil.Prettify(s)
64557}
64558
64559// GoString returns the string representation
64560func (s ParameterRange) GoString() string {
64561	return s.String()
64562}
64563
64564// Validate inspects the fields of the type to determine if they are valid.
64565func (s *ParameterRange) Validate() error {
64566	invalidParams := request.ErrInvalidParams{Context: "ParameterRange"}
64567	if s.CategoricalParameterRangeSpecification != nil {
64568		if err := s.CategoricalParameterRangeSpecification.Validate(); err != nil {
64569			invalidParams.AddNested("CategoricalParameterRangeSpecification", err.(request.ErrInvalidParams))
64570		}
64571	}
64572	if s.ContinuousParameterRangeSpecification != nil {
64573		if err := s.ContinuousParameterRangeSpecification.Validate(); err != nil {
64574			invalidParams.AddNested("ContinuousParameterRangeSpecification", err.(request.ErrInvalidParams))
64575		}
64576	}
64577	if s.IntegerParameterRangeSpecification != nil {
64578		if err := s.IntegerParameterRangeSpecification.Validate(); err != nil {
64579			invalidParams.AddNested("IntegerParameterRangeSpecification", err.(request.ErrInvalidParams))
64580		}
64581	}
64582
64583	if invalidParams.Len() > 0 {
64584		return invalidParams
64585	}
64586	return nil
64587}
64588
64589// SetCategoricalParameterRangeSpecification sets the CategoricalParameterRangeSpecification field's value.
64590func (s *ParameterRange) SetCategoricalParameterRangeSpecification(v *CategoricalParameterRangeSpecification) *ParameterRange {
64591	s.CategoricalParameterRangeSpecification = v
64592	return s
64593}
64594
64595// SetContinuousParameterRangeSpecification sets the ContinuousParameterRangeSpecification field's value.
64596func (s *ParameterRange) SetContinuousParameterRangeSpecification(v *ContinuousParameterRangeSpecification) *ParameterRange {
64597	s.ContinuousParameterRangeSpecification = v
64598	return s
64599}
64600
64601// SetIntegerParameterRangeSpecification sets the IntegerParameterRangeSpecification field's value.
64602func (s *ParameterRange) SetIntegerParameterRangeSpecification(v *IntegerParameterRangeSpecification) *ParameterRange {
64603	s.IntegerParameterRangeSpecification = v
64604	return s
64605}
64606
64607// Specifies ranges of integer, continuous, and categorical hyperparameters
64608// that a hyperparameter tuning job searches. The hyperparameter tuning job
64609// launches training jobs with hyperparameter values within these ranges to
64610// find the combination of values that result in the training job with the best
64611// performance as measured by the objective metric of the hyperparameter tuning
64612// job.
64613//
64614// You can specify a maximum of 20 hyperparameters that a hyperparameter tuning
64615// job can search over. Every possible value of a categorical parameter range
64616// counts against this limit.
64617type ParameterRanges struct {
64618	_ struct{} `type:"structure"`
64619
64620	// The array of CategoricalParameterRange objects that specify ranges of categorical
64621	// hyperparameters that a hyperparameter tuning job searches.
64622	CategoricalParameterRanges []*CategoricalParameterRange `type:"list"`
64623
64624	// The array of ContinuousParameterRange objects that specify ranges of continuous
64625	// hyperparameters that a hyperparameter tuning job searches.
64626	ContinuousParameterRanges []*ContinuousParameterRange `type:"list"`
64627
64628	// The array of IntegerParameterRange objects that specify ranges of integer
64629	// hyperparameters that a hyperparameter tuning job searches.
64630	IntegerParameterRanges []*IntegerParameterRange `type:"list"`
64631}
64632
64633// String returns the string representation
64634func (s ParameterRanges) String() string {
64635	return awsutil.Prettify(s)
64636}
64637
64638// GoString returns the string representation
64639func (s ParameterRanges) GoString() string {
64640	return s.String()
64641}
64642
64643// Validate inspects the fields of the type to determine if they are valid.
64644func (s *ParameterRanges) Validate() error {
64645	invalidParams := request.ErrInvalidParams{Context: "ParameterRanges"}
64646	if s.CategoricalParameterRanges != nil {
64647		for i, v := range s.CategoricalParameterRanges {
64648			if v == nil {
64649				continue
64650			}
64651			if err := v.Validate(); err != nil {
64652				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CategoricalParameterRanges", i), err.(request.ErrInvalidParams))
64653			}
64654		}
64655	}
64656	if s.ContinuousParameterRanges != nil {
64657		for i, v := range s.ContinuousParameterRanges {
64658			if v == nil {
64659				continue
64660			}
64661			if err := v.Validate(); err != nil {
64662				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ContinuousParameterRanges", i), err.(request.ErrInvalidParams))
64663			}
64664		}
64665	}
64666	if s.IntegerParameterRanges != nil {
64667		for i, v := range s.IntegerParameterRanges {
64668			if v == nil {
64669				continue
64670			}
64671			if err := v.Validate(); err != nil {
64672				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "IntegerParameterRanges", i), err.(request.ErrInvalidParams))
64673			}
64674		}
64675	}
64676
64677	if invalidParams.Len() > 0 {
64678		return invalidParams
64679	}
64680	return nil
64681}
64682
64683// SetCategoricalParameterRanges sets the CategoricalParameterRanges field's value.
64684func (s *ParameterRanges) SetCategoricalParameterRanges(v []*CategoricalParameterRange) *ParameterRanges {
64685	s.CategoricalParameterRanges = v
64686	return s
64687}
64688
64689// SetContinuousParameterRanges sets the ContinuousParameterRanges field's value.
64690func (s *ParameterRanges) SetContinuousParameterRanges(v []*ContinuousParameterRange) *ParameterRanges {
64691	s.ContinuousParameterRanges = v
64692	return s
64693}
64694
64695// SetIntegerParameterRanges sets the IntegerParameterRanges field's value.
64696func (s *ParameterRanges) SetIntegerParameterRanges(v []*IntegerParameterRange) *ParameterRanges {
64697	s.IntegerParameterRanges = v
64698	return s
64699}
64700
64701// The trial that a trial component is associated with and the experiment the
64702// trial is part of. A component might not be associated with a trial. A component
64703// can be associated with multiple trials.
64704type Parent struct {
64705	_ struct{} `type:"structure"`
64706
64707	// The name of the experiment.
64708	ExperimentName *string `min:"1" type:"string"`
64709
64710	// The name of the trial.
64711	TrialName *string `min:"1" type:"string"`
64712}
64713
64714// String returns the string representation
64715func (s Parent) String() string {
64716	return awsutil.Prettify(s)
64717}
64718
64719// GoString returns the string representation
64720func (s Parent) GoString() string {
64721	return s.String()
64722}
64723
64724// SetExperimentName sets the ExperimentName field's value.
64725func (s *Parent) SetExperimentName(v string) *Parent {
64726	s.ExperimentName = &v
64727	return s
64728}
64729
64730// SetTrialName sets the TrialName field's value.
64731func (s *Parent) SetTrialName(v string) *Parent {
64732	s.TrialName = &v
64733	return s
64734}
64735
64736// A previously completed or stopped hyperparameter tuning job to be used as
64737// a starting point for a new hyperparameter tuning job.
64738type ParentHyperParameterTuningJob struct {
64739	_ struct{} `type:"structure"`
64740
64741	// The name of the hyperparameter tuning job to be used as a starting point
64742	// for a new hyperparameter tuning job.
64743	HyperParameterTuningJobName *string `min:"1" type:"string"`
64744}
64745
64746// String returns the string representation
64747func (s ParentHyperParameterTuningJob) String() string {
64748	return awsutil.Prettify(s)
64749}
64750
64751// GoString returns the string representation
64752func (s ParentHyperParameterTuningJob) GoString() string {
64753	return s.String()
64754}
64755
64756// Validate inspects the fields of the type to determine if they are valid.
64757func (s *ParentHyperParameterTuningJob) Validate() error {
64758	invalidParams := request.ErrInvalidParams{Context: "ParentHyperParameterTuningJob"}
64759	if s.HyperParameterTuningJobName != nil && len(*s.HyperParameterTuningJobName) < 1 {
64760		invalidParams.Add(request.NewErrParamMinLen("HyperParameterTuningJobName", 1))
64761	}
64762
64763	if invalidParams.Len() > 0 {
64764		return invalidParams
64765	}
64766	return nil
64767}
64768
64769// SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value.
64770func (s *ParentHyperParameterTuningJob) SetHyperParameterTuningJobName(v string) *ParentHyperParameterTuningJob {
64771	s.HyperParameterTuningJobName = &v
64772	return s
64773}
64774
64775// A SageMaker Model Building Pipeline instance.
64776type Pipeline struct {
64777	_ struct{} `type:"structure"`
64778
64779	// Information about the user who created or modified an experiment, trial,
64780	// or trial component.
64781	CreatedBy *UserContext `type:"structure"`
64782
64783	// The creation time of the pipeline.
64784	CreationTime *time.Time `type:"timestamp"`
64785
64786	// Information about the user who created or modified an experiment, trial,
64787	// or trial component.
64788	LastModifiedBy *UserContext `type:"structure"`
64789
64790	// The time that the pipeline was last modified.
64791	LastModifiedTime *time.Time `type:"timestamp"`
64792
64793	// The time when the pipeline was last run.
64794	LastRunTime *time.Time `type:"timestamp"`
64795
64796	// The Amazon Resource Name (ARN) of the pipeline.
64797	PipelineArn *string `type:"string"`
64798
64799	// The description of the pipeline.
64800	PipelineDescription *string `type:"string"`
64801
64802	// The display name of the pipeline.
64803	PipelineDisplayName *string `min:"1" type:"string"`
64804
64805	// The name of the pipeline.
64806	PipelineName *string `min:"1" type:"string"`
64807
64808	// The status of the pipeline.
64809	PipelineStatus *string `type:"string" enum:"PipelineStatus"`
64810
64811	// The Amazon Resource Name (ARN) of the role that created the pipeline.
64812	RoleArn *string `min:"20" type:"string"`
64813
64814	// A list of tags that apply to the pipeline.
64815	Tags []*Tag `type:"list"`
64816}
64817
64818// String returns the string representation
64819func (s Pipeline) String() string {
64820	return awsutil.Prettify(s)
64821}
64822
64823// GoString returns the string representation
64824func (s Pipeline) GoString() string {
64825	return s.String()
64826}
64827
64828// SetCreatedBy sets the CreatedBy field's value.
64829func (s *Pipeline) SetCreatedBy(v *UserContext) *Pipeline {
64830	s.CreatedBy = v
64831	return s
64832}
64833
64834// SetCreationTime sets the CreationTime field's value.
64835func (s *Pipeline) SetCreationTime(v time.Time) *Pipeline {
64836	s.CreationTime = &v
64837	return s
64838}
64839
64840// SetLastModifiedBy sets the LastModifiedBy field's value.
64841func (s *Pipeline) SetLastModifiedBy(v *UserContext) *Pipeline {
64842	s.LastModifiedBy = v
64843	return s
64844}
64845
64846// SetLastModifiedTime sets the LastModifiedTime field's value.
64847func (s *Pipeline) SetLastModifiedTime(v time.Time) *Pipeline {
64848	s.LastModifiedTime = &v
64849	return s
64850}
64851
64852// SetLastRunTime sets the LastRunTime field's value.
64853func (s *Pipeline) SetLastRunTime(v time.Time) *Pipeline {
64854	s.LastRunTime = &v
64855	return s
64856}
64857
64858// SetPipelineArn sets the PipelineArn field's value.
64859func (s *Pipeline) SetPipelineArn(v string) *Pipeline {
64860	s.PipelineArn = &v
64861	return s
64862}
64863
64864// SetPipelineDescription sets the PipelineDescription field's value.
64865func (s *Pipeline) SetPipelineDescription(v string) *Pipeline {
64866	s.PipelineDescription = &v
64867	return s
64868}
64869
64870// SetPipelineDisplayName sets the PipelineDisplayName field's value.
64871func (s *Pipeline) SetPipelineDisplayName(v string) *Pipeline {
64872	s.PipelineDisplayName = &v
64873	return s
64874}
64875
64876// SetPipelineName sets the PipelineName field's value.
64877func (s *Pipeline) SetPipelineName(v string) *Pipeline {
64878	s.PipelineName = &v
64879	return s
64880}
64881
64882// SetPipelineStatus sets the PipelineStatus field's value.
64883func (s *Pipeline) SetPipelineStatus(v string) *Pipeline {
64884	s.PipelineStatus = &v
64885	return s
64886}
64887
64888// SetRoleArn sets the RoleArn field's value.
64889func (s *Pipeline) SetRoleArn(v string) *Pipeline {
64890	s.RoleArn = &v
64891	return s
64892}
64893
64894// SetTags sets the Tags field's value.
64895func (s *Pipeline) SetTags(v []*Tag) *Pipeline {
64896	s.Tags = v
64897	return s
64898}
64899
64900// An execution of a pipeline.
64901type PipelineExecution struct {
64902	_ struct{} `type:"structure"`
64903
64904	// Information about the user who created or modified an experiment, trial,
64905	// or trial component.
64906	CreatedBy *UserContext `type:"structure"`
64907
64908	// The creation time of the pipeline execution.
64909	CreationTime *time.Time `type:"timestamp"`
64910
64911	// Information about the user who created or modified an experiment, trial,
64912	// or trial component.
64913	LastModifiedBy *UserContext `type:"structure"`
64914
64915	// The time that the pipeline execution was last modified.
64916	LastModifiedTime *time.Time `type:"timestamp"`
64917
64918	// The Amazon Resource Name (ARN) of the pipeline that was executed.
64919	PipelineArn *string `type:"string"`
64920
64921	// The Amazon Resource Name (ARN) of the pipeline execution.
64922	PipelineExecutionArn *string `type:"string"`
64923
64924	// The description of the pipeline execution.
64925	PipelineExecutionDescription *string `type:"string"`
64926
64927	// The display name of the pipeline execution.
64928	PipelineExecutionDisplayName *string `min:"1" type:"string"`
64929
64930	// The status of the pipeline status.
64931	PipelineExecutionStatus *string `type:"string" enum:"PipelineExecutionStatus"`
64932
64933	// Contains a list of pipeline parameters. This list can be empty.
64934	PipelineParameters []*Parameter `type:"list"`
64935}
64936
64937// String returns the string representation
64938func (s PipelineExecution) String() string {
64939	return awsutil.Prettify(s)
64940}
64941
64942// GoString returns the string representation
64943func (s PipelineExecution) GoString() string {
64944	return s.String()
64945}
64946
64947// SetCreatedBy sets the CreatedBy field's value.
64948func (s *PipelineExecution) SetCreatedBy(v *UserContext) *PipelineExecution {
64949	s.CreatedBy = v
64950	return s
64951}
64952
64953// SetCreationTime sets the CreationTime field's value.
64954func (s *PipelineExecution) SetCreationTime(v time.Time) *PipelineExecution {
64955	s.CreationTime = &v
64956	return s
64957}
64958
64959// SetLastModifiedBy sets the LastModifiedBy field's value.
64960func (s *PipelineExecution) SetLastModifiedBy(v *UserContext) *PipelineExecution {
64961	s.LastModifiedBy = v
64962	return s
64963}
64964
64965// SetLastModifiedTime sets the LastModifiedTime field's value.
64966func (s *PipelineExecution) SetLastModifiedTime(v time.Time) *PipelineExecution {
64967	s.LastModifiedTime = &v
64968	return s
64969}
64970
64971// SetPipelineArn sets the PipelineArn field's value.
64972func (s *PipelineExecution) SetPipelineArn(v string) *PipelineExecution {
64973	s.PipelineArn = &v
64974	return s
64975}
64976
64977// SetPipelineExecutionArn sets the PipelineExecutionArn field's value.
64978func (s *PipelineExecution) SetPipelineExecutionArn(v string) *PipelineExecution {
64979	s.PipelineExecutionArn = &v
64980	return s
64981}
64982
64983// SetPipelineExecutionDescription sets the PipelineExecutionDescription field's value.
64984func (s *PipelineExecution) SetPipelineExecutionDescription(v string) *PipelineExecution {
64985	s.PipelineExecutionDescription = &v
64986	return s
64987}
64988
64989// SetPipelineExecutionDisplayName sets the PipelineExecutionDisplayName field's value.
64990func (s *PipelineExecution) SetPipelineExecutionDisplayName(v string) *PipelineExecution {
64991	s.PipelineExecutionDisplayName = &v
64992	return s
64993}
64994
64995// SetPipelineExecutionStatus sets the PipelineExecutionStatus field's value.
64996func (s *PipelineExecution) SetPipelineExecutionStatus(v string) *PipelineExecution {
64997	s.PipelineExecutionStatus = &v
64998	return s
64999}
65000
65001// SetPipelineParameters sets the PipelineParameters field's value.
65002func (s *PipelineExecution) SetPipelineParameters(v []*Parameter) *PipelineExecution {
65003	s.PipelineParameters = v
65004	return s
65005}
65006
65007// An execution of a step in a pipeline.
65008type PipelineExecutionStep struct {
65009	_ struct{} `type:"structure"`
65010
65011	// If this pipeline execution step was cached, details on the cache hit.
65012	CacheHitResult *CacheHitResult `type:"structure"`
65013
65014	// The time that the step stopped executing.
65015	EndTime *time.Time `type:"timestamp"`
65016
65017	// The reason why the step failed execution. This is only returned if the step
65018	// failed its execution.
65019	FailureReason *string `type:"string"`
65020
65021	// The metadata for the step execution.
65022	Metadata *PipelineExecutionStepMetadata `type:"structure"`
65023
65024	// The time that the step started executing.
65025	StartTime *time.Time `type:"timestamp"`
65026
65027	// The name of the step that is executed.
65028	StepName *string `type:"string"`
65029
65030	// The status of the step execution.
65031	StepStatus *string `type:"string" enum:"StepStatus"`
65032}
65033
65034// String returns the string representation
65035func (s PipelineExecutionStep) String() string {
65036	return awsutil.Prettify(s)
65037}
65038
65039// GoString returns the string representation
65040func (s PipelineExecutionStep) GoString() string {
65041	return s.String()
65042}
65043
65044// SetCacheHitResult sets the CacheHitResult field's value.
65045func (s *PipelineExecutionStep) SetCacheHitResult(v *CacheHitResult) *PipelineExecutionStep {
65046	s.CacheHitResult = v
65047	return s
65048}
65049
65050// SetEndTime sets the EndTime field's value.
65051func (s *PipelineExecutionStep) SetEndTime(v time.Time) *PipelineExecutionStep {
65052	s.EndTime = &v
65053	return s
65054}
65055
65056// SetFailureReason sets the FailureReason field's value.
65057func (s *PipelineExecutionStep) SetFailureReason(v string) *PipelineExecutionStep {
65058	s.FailureReason = &v
65059	return s
65060}
65061
65062// SetMetadata sets the Metadata field's value.
65063func (s *PipelineExecutionStep) SetMetadata(v *PipelineExecutionStepMetadata) *PipelineExecutionStep {
65064	s.Metadata = v
65065	return s
65066}
65067
65068// SetStartTime sets the StartTime field's value.
65069func (s *PipelineExecutionStep) SetStartTime(v time.Time) *PipelineExecutionStep {
65070	s.StartTime = &v
65071	return s
65072}
65073
65074// SetStepName sets the StepName field's value.
65075func (s *PipelineExecutionStep) SetStepName(v string) *PipelineExecutionStep {
65076	s.StepName = &v
65077	return s
65078}
65079
65080// SetStepStatus sets the StepStatus field's value.
65081func (s *PipelineExecutionStep) SetStepStatus(v string) *PipelineExecutionStep {
65082	s.StepStatus = &v
65083	return s
65084}
65085
65086// Metadata for a step execution.
65087type PipelineExecutionStepMetadata struct {
65088	_ struct{} `type:"structure"`
65089
65090	// If this is a Condition step metadata object, details on the condition.
65091	Condition *ConditionStepMetadata `type:"structure"`
65092
65093	// Metadata for the Model step.
65094	Model *ModelStepMetadata `type:"structure"`
65095
65096	// The Amazon Resource Name (ARN) of the processing job that was run by this
65097	// step execution.
65098	ProcessingJob *ProcessingJobStepMetadata `type:"structure"`
65099
65100	// Metadata for the RegisterModel step.
65101	RegisterModel *RegisterModelStepMetadata `type:"structure"`
65102
65103	// The Amazon Resource Name (ARN) of the training job that was run by this step
65104	// execution.
65105	TrainingJob *TrainingJobStepMetadata `type:"structure"`
65106
65107	// The Amazon Resource Name (ARN) of the transform job that was run by this
65108	// step execution.
65109	TransformJob *TransformJobStepMetadata `type:"structure"`
65110}
65111
65112// String returns the string representation
65113func (s PipelineExecutionStepMetadata) String() string {
65114	return awsutil.Prettify(s)
65115}
65116
65117// GoString returns the string representation
65118func (s PipelineExecutionStepMetadata) GoString() string {
65119	return s.String()
65120}
65121
65122// SetCondition sets the Condition field's value.
65123func (s *PipelineExecutionStepMetadata) SetCondition(v *ConditionStepMetadata) *PipelineExecutionStepMetadata {
65124	s.Condition = v
65125	return s
65126}
65127
65128// SetModel sets the Model field's value.
65129func (s *PipelineExecutionStepMetadata) SetModel(v *ModelStepMetadata) *PipelineExecutionStepMetadata {
65130	s.Model = v
65131	return s
65132}
65133
65134// SetProcessingJob sets the ProcessingJob field's value.
65135func (s *PipelineExecutionStepMetadata) SetProcessingJob(v *ProcessingJobStepMetadata) *PipelineExecutionStepMetadata {
65136	s.ProcessingJob = v
65137	return s
65138}
65139
65140// SetRegisterModel sets the RegisterModel field's value.
65141func (s *PipelineExecutionStepMetadata) SetRegisterModel(v *RegisterModelStepMetadata) *PipelineExecutionStepMetadata {
65142	s.RegisterModel = v
65143	return s
65144}
65145
65146// SetTrainingJob sets the TrainingJob field's value.
65147func (s *PipelineExecutionStepMetadata) SetTrainingJob(v *TrainingJobStepMetadata) *PipelineExecutionStepMetadata {
65148	s.TrainingJob = v
65149	return s
65150}
65151
65152// SetTransformJob sets the TransformJob field's value.
65153func (s *PipelineExecutionStepMetadata) SetTransformJob(v *TransformJobStepMetadata) *PipelineExecutionStepMetadata {
65154	s.TransformJob = v
65155	return s
65156}
65157
65158// A pipeline execution summary.
65159type PipelineExecutionSummary struct {
65160	_ struct{} `type:"structure"`
65161
65162	// The Amazon Resource Name (ARN) of the pipeline execution.
65163	PipelineExecutionArn *string `type:"string"`
65164
65165	// The description of the pipeline execution.
65166	PipelineExecutionDescription *string `type:"string"`
65167
65168	// The display name of the pipeline execution.
65169	PipelineExecutionDisplayName *string `min:"1" type:"string"`
65170
65171	// The status of the pipeline execution.
65172	PipelineExecutionStatus *string `type:"string" enum:"PipelineExecutionStatus"`
65173
65174	// The start time of the pipeline execution.
65175	StartTime *time.Time `type:"timestamp"`
65176}
65177
65178// String returns the string representation
65179func (s PipelineExecutionSummary) String() string {
65180	return awsutil.Prettify(s)
65181}
65182
65183// GoString returns the string representation
65184func (s PipelineExecutionSummary) GoString() string {
65185	return s.String()
65186}
65187
65188// SetPipelineExecutionArn sets the PipelineExecutionArn field's value.
65189func (s *PipelineExecutionSummary) SetPipelineExecutionArn(v string) *PipelineExecutionSummary {
65190	s.PipelineExecutionArn = &v
65191	return s
65192}
65193
65194// SetPipelineExecutionDescription sets the PipelineExecutionDescription field's value.
65195func (s *PipelineExecutionSummary) SetPipelineExecutionDescription(v string) *PipelineExecutionSummary {
65196	s.PipelineExecutionDescription = &v
65197	return s
65198}
65199
65200// SetPipelineExecutionDisplayName sets the PipelineExecutionDisplayName field's value.
65201func (s *PipelineExecutionSummary) SetPipelineExecutionDisplayName(v string) *PipelineExecutionSummary {
65202	s.PipelineExecutionDisplayName = &v
65203	return s
65204}
65205
65206// SetPipelineExecutionStatus sets the PipelineExecutionStatus field's value.
65207func (s *PipelineExecutionSummary) SetPipelineExecutionStatus(v string) *PipelineExecutionSummary {
65208	s.PipelineExecutionStatus = &v
65209	return s
65210}
65211
65212// SetStartTime sets the StartTime field's value.
65213func (s *PipelineExecutionSummary) SetStartTime(v time.Time) *PipelineExecutionSummary {
65214	s.StartTime = &v
65215	return s
65216}
65217
65218// A summary of a pipeline.
65219type PipelineSummary struct {
65220	_ struct{} `type:"structure"`
65221
65222	// The creation time of the pipeline.
65223	CreationTime *time.Time `type:"timestamp"`
65224
65225	// The last time that a pipeline execution began.
65226	LastExecutionTime *time.Time `type:"timestamp"`
65227
65228	// The time that the pipeline was last modified.
65229	LastModifiedTime *time.Time `type:"timestamp"`
65230
65231	// The Amazon Resource Name (ARN) of the pipeline.
65232	PipelineArn *string `type:"string"`
65233
65234	// The description of the pipeline.
65235	PipelineDescription *string `type:"string"`
65236
65237	// The display name of the pipeline.
65238	PipelineDisplayName *string `min:"1" type:"string"`
65239
65240	// The name of the pipeline.
65241	PipelineName *string `min:"1" type:"string"`
65242
65243	// The Amazon Resource Name (ARN) that the pipeline used to execute.
65244	RoleArn *string `min:"20" type:"string"`
65245}
65246
65247// String returns the string representation
65248func (s PipelineSummary) String() string {
65249	return awsutil.Prettify(s)
65250}
65251
65252// GoString returns the string representation
65253func (s PipelineSummary) GoString() string {
65254	return s.String()
65255}
65256
65257// SetCreationTime sets the CreationTime field's value.
65258func (s *PipelineSummary) SetCreationTime(v time.Time) *PipelineSummary {
65259	s.CreationTime = &v
65260	return s
65261}
65262
65263// SetLastExecutionTime sets the LastExecutionTime field's value.
65264func (s *PipelineSummary) SetLastExecutionTime(v time.Time) *PipelineSummary {
65265	s.LastExecutionTime = &v
65266	return s
65267}
65268
65269// SetLastModifiedTime sets the LastModifiedTime field's value.
65270func (s *PipelineSummary) SetLastModifiedTime(v time.Time) *PipelineSummary {
65271	s.LastModifiedTime = &v
65272	return s
65273}
65274
65275// SetPipelineArn sets the PipelineArn field's value.
65276func (s *PipelineSummary) SetPipelineArn(v string) *PipelineSummary {
65277	s.PipelineArn = &v
65278	return s
65279}
65280
65281// SetPipelineDescription sets the PipelineDescription field's value.
65282func (s *PipelineSummary) SetPipelineDescription(v string) *PipelineSummary {
65283	s.PipelineDescription = &v
65284	return s
65285}
65286
65287// SetPipelineDisplayName sets the PipelineDisplayName field's value.
65288func (s *PipelineSummary) SetPipelineDisplayName(v string) *PipelineSummary {
65289	s.PipelineDisplayName = &v
65290	return s
65291}
65292
65293// SetPipelineName sets the PipelineName field's value.
65294func (s *PipelineSummary) SetPipelineName(v string) *PipelineSummary {
65295	s.PipelineName = &v
65296	return s
65297}
65298
65299// SetRoleArn sets the RoleArn field's value.
65300func (s *PipelineSummary) SetRoleArn(v string) *PipelineSummary {
65301	s.RoleArn = &v
65302	return s
65303}
65304
65305// Configuration for the cluster used to run a processing job.
65306type ProcessingClusterConfig struct {
65307	_ struct{} `type:"structure"`
65308
65309	// The number of ML compute instances to use in the processing job. For distributed
65310	// processing jobs, specify a value greater than 1. The default value is 1.
65311	//
65312	// InstanceCount is a required field
65313	InstanceCount *int64 `min:"1" type:"integer" required:"true"`
65314
65315	// The ML compute instance type for the processing job.
65316	//
65317	// InstanceType is a required field
65318	InstanceType *string `type:"string" required:"true" enum:"ProcessingInstanceType"`
65319
65320	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
65321	// encrypt data on the storage volume attached to the ML compute instance(s)
65322	// that run the processing job.
65323	VolumeKmsKeyId *string `type:"string"`
65324
65325	// The size of the ML storage volume in gigabytes that you want to provision.
65326	// You must specify sufficient ML storage for your scenario.
65327	//
65328	// VolumeSizeInGB is a required field
65329	VolumeSizeInGB *int64 `min:"1" type:"integer" required:"true"`
65330}
65331
65332// String returns the string representation
65333func (s ProcessingClusterConfig) String() string {
65334	return awsutil.Prettify(s)
65335}
65336
65337// GoString returns the string representation
65338func (s ProcessingClusterConfig) GoString() string {
65339	return s.String()
65340}
65341
65342// Validate inspects the fields of the type to determine if they are valid.
65343func (s *ProcessingClusterConfig) Validate() error {
65344	invalidParams := request.ErrInvalidParams{Context: "ProcessingClusterConfig"}
65345	if s.InstanceCount == nil {
65346		invalidParams.Add(request.NewErrParamRequired("InstanceCount"))
65347	}
65348	if s.InstanceCount != nil && *s.InstanceCount < 1 {
65349		invalidParams.Add(request.NewErrParamMinValue("InstanceCount", 1))
65350	}
65351	if s.InstanceType == nil {
65352		invalidParams.Add(request.NewErrParamRequired("InstanceType"))
65353	}
65354	if s.VolumeSizeInGB == nil {
65355		invalidParams.Add(request.NewErrParamRequired("VolumeSizeInGB"))
65356	}
65357	if s.VolumeSizeInGB != nil && *s.VolumeSizeInGB < 1 {
65358		invalidParams.Add(request.NewErrParamMinValue("VolumeSizeInGB", 1))
65359	}
65360
65361	if invalidParams.Len() > 0 {
65362		return invalidParams
65363	}
65364	return nil
65365}
65366
65367// SetInstanceCount sets the InstanceCount field's value.
65368func (s *ProcessingClusterConfig) SetInstanceCount(v int64) *ProcessingClusterConfig {
65369	s.InstanceCount = &v
65370	return s
65371}
65372
65373// SetInstanceType sets the InstanceType field's value.
65374func (s *ProcessingClusterConfig) SetInstanceType(v string) *ProcessingClusterConfig {
65375	s.InstanceType = &v
65376	return s
65377}
65378
65379// SetVolumeKmsKeyId sets the VolumeKmsKeyId field's value.
65380func (s *ProcessingClusterConfig) SetVolumeKmsKeyId(v string) *ProcessingClusterConfig {
65381	s.VolumeKmsKeyId = &v
65382	return s
65383}
65384
65385// SetVolumeSizeInGB sets the VolumeSizeInGB field's value.
65386func (s *ProcessingClusterConfig) SetVolumeSizeInGB(v int64) *ProcessingClusterConfig {
65387	s.VolumeSizeInGB = &v
65388	return s
65389}
65390
65391// Configuration for processing job outputs in Amazon SageMaker Feature Store.
65392type ProcessingFeatureStoreOutput struct {
65393	_ struct{} `type:"structure"`
65394
65395	// The name of the Amazon SageMaker FeatureGroup to use as the destination for
65396	// processing job output. Note that your processing script is responsible for
65397	// putting records into your Feature Store.
65398	//
65399	// FeatureGroupName is a required field
65400	FeatureGroupName *string `min:"1" type:"string" required:"true"`
65401}
65402
65403// String returns the string representation
65404func (s ProcessingFeatureStoreOutput) String() string {
65405	return awsutil.Prettify(s)
65406}
65407
65408// GoString returns the string representation
65409func (s ProcessingFeatureStoreOutput) GoString() string {
65410	return s.String()
65411}
65412
65413// Validate inspects the fields of the type to determine if they are valid.
65414func (s *ProcessingFeatureStoreOutput) Validate() error {
65415	invalidParams := request.ErrInvalidParams{Context: "ProcessingFeatureStoreOutput"}
65416	if s.FeatureGroupName == nil {
65417		invalidParams.Add(request.NewErrParamRequired("FeatureGroupName"))
65418	}
65419	if s.FeatureGroupName != nil && len(*s.FeatureGroupName) < 1 {
65420		invalidParams.Add(request.NewErrParamMinLen("FeatureGroupName", 1))
65421	}
65422
65423	if invalidParams.Len() > 0 {
65424		return invalidParams
65425	}
65426	return nil
65427}
65428
65429// SetFeatureGroupName sets the FeatureGroupName field's value.
65430func (s *ProcessingFeatureStoreOutput) SetFeatureGroupName(v string) *ProcessingFeatureStoreOutput {
65431	s.FeatureGroupName = &v
65432	return s
65433}
65434
65435// The inputs for a processing job. The processing input must specify exactly
65436// one of either S3Input or DatasetDefinition types.
65437type ProcessingInput struct {
65438	_ struct{} `type:"structure"`
65439
65440	// When True, input operations such as data download are managed natively by
65441	// the processing job application. When False (default), input operations are
65442	// managed by Amazon SageMaker.
65443	AppManaged *bool `type:"boolean"`
65444
65445	// Configuration for a Dataset Definition input.
65446	DatasetDefinition *DatasetDefinition `type:"structure"`
65447
65448	// The name for the processing job input.
65449	//
65450	// InputName is a required field
65451	InputName *string `type:"string" required:"true"`
65452
65453	// Configuration for downloading input data from Amazon S3 into the processing
65454	// container.
65455	S3Input *ProcessingS3Input `type:"structure"`
65456}
65457
65458// String returns the string representation
65459func (s ProcessingInput) String() string {
65460	return awsutil.Prettify(s)
65461}
65462
65463// GoString returns the string representation
65464func (s ProcessingInput) GoString() string {
65465	return s.String()
65466}
65467
65468// Validate inspects the fields of the type to determine if they are valid.
65469func (s *ProcessingInput) Validate() error {
65470	invalidParams := request.ErrInvalidParams{Context: "ProcessingInput"}
65471	if s.InputName == nil {
65472		invalidParams.Add(request.NewErrParamRequired("InputName"))
65473	}
65474	if s.DatasetDefinition != nil {
65475		if err := s.DatasetDefinition.Validate(); err != nil {
65476			invalidParams.AddNested("DatasetDefinition", err.(request.ErrInvalidParams))
65477		}
65478	}
65479	if s.S3Input != nil {
65480		if err := s.S3Input.Validate(); err != nil {
65481			invalidParams.AddNested("S3Input", err.(request.ErrInvalidParams))
65482		}
65483	}
65484
65485	if invalidParams.Len() > 0 {
65486		return invalidParams
65487	}
65488	return nil
65489}
65490
65491// SetAppManaged sets the AppManaged field's value.
65492func (s *ProcessingInput) SetAppManaged(v bool) *ProcessingInput {
65493	s.AppManaged = &v
65494	return s
65495}
65496
65497// SetDatasetDefinition sets the DatasetDefinition field's value.
65498func (s *ProcessingInput) SetDatasetDefinition(v *DatasetDefinition) *ProcessingInput {
65499	s.DatasetDefinition = v
65500	return s
65501}
65502
65503// SetInputName sets the InputName field's value.
65504func (s *ProcessingInput) SetInputName(v string) *ProcessingInput {
65505	s.InputName = &v
65506	return s
65507}
65508
65509// SetS3Input sets the S3Input field's value.
65510func (s *ProcessingInput) SetS3Input(v *ProcessingS3Input) *ProcessingInput {
65511	s.S3Input = v
65512	return s
65513}
65514
65515// An Amazon SageMaker processing job that is used to analyze data and evaluate
65516// models. For more information, see Process Data and Evaluate Models (https://docs.aws.amazon.com/sagemaker/latest/dg/processing-job.html).
65517type ProcessingJob struct {
65518	_ struct{} `type:"structure"`
65519
65520	// Configuration to run a processing job in a specified container image.
65521	AppSpecification *AppSpecification `type:"structure"`
65522
65523	// The Amazon Resource Name (ARN) of the AutoML job associated with this processing
65524	// job.
65525	AutoMLJobArn *string `min:"1" type:"string"`
65526
65527	// The time the processing job was created.
65528	CreationTime *time.Time `type:"timestamp"`
65529
65530	// Sets the environment variables in the Docker container.
65531	Environment map[string]*string `type:"map"`
65532
65533	// A string, up to one KB in size, that contains metadata from the processing
65534	// container when the processing job exits.
65535	ExitMessage *string `type:"string"`
65536
65537	// Associates a SageMaker job as a trial component with an experiment and trial.
65538	// Specified when you call the following APIs:
65539	//
65540	//    * CreateProcessingJob
65541	//
65542	//    * CreateTrainingJob
65543	//
65544	//    * CreateTransformJob
65545	ExperimentConfig *ExperimentConfig `type:"structure"`
65546
65547	// A string, up to one KB in size, that contains the reason a processing job
65548	// failed, if it failed.
65549	FailureReason *string `type:"string"`
65550
65551	// The time the processing job was last modified.
65552	LastModifiedTime *time.Time `type:"timestamp"`
65553
65554	// The ARN of a monitoring schedule for an endpoint associated with this processing
65555	// job.
65556	MonitoringScheduleArn *string `type:"string"`
65557
65558	// Networking options for a job, such as network traffic encryption between
65559	// containers, whether to allow inbound and outbound network calls to and from
65560	// containers, and the VPC subnets and security groups to use for VPC-enabled
65561	// jobs.
65562	NetworkConfig *NetworkConfig `type:"structure"`
65563
65564	// The time that the processing job ended.
65565	ProcessingEndTime *time.Time `type:"timestamp"`
65566
65567	// List of input configurations for the processing job.
65568	ProcessingInputs []*ProcessingInput `type:"list"`
65569
65570	// The ARN of the processing job.
65571	ProcessingJobArn *string `type:"string"`
65572
65573	// The name of the processing job.
65574	ProcessingJobName *string `min:"1" type:"string"`
65575
65576	// The status of the processing job.
65577	ProcessingJobStatus *string `type:"string" enum:"ProcessingJobStatus"`
65578
65579	// Configuration for uploading output from the processing container.
65580	ProcessingOutputConfig *ProcessingOutputConfig `type:"structure"`
65581
65582	// Identifies the resources, ML compute instances, and ML storage volumes to
65583	// deploy for a processing job. In distributed training, you specify more than
65584	// one instance.
65585	ProcessingResources *ProcessingResources `type:"structure"`
65586
65587	// The time that the processing job started.
65588	ProcessingStartTime *time.Time `type:"timestamp"`
65589
65590	// The ARN of the role used to create the processing job.
65591	RoleArn *string `min:"20" type:"string"`
65592
65593	// Configures conditions under which the processing job should be stopped, such
65594	// as how long the processing job has been running. After the condition is met,
65595	// the processing job is stopped.
65596	StoppingCondition *ProcessingStoppingCondition `type:"structure"`
65597
65598	// An array of key-value pairs. For more information, see Using Cost Allocation
65599	// Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-whatURL)
65600	// in the AWS Billing and Cost Management User Guide.
65601	Tags []*Tag `type:"list"`
65602
65603	// The ARN of the training job associated with this processing job.
65604	TrainingJobArn *string `type:"string"`
65605}
65606
65607// String returns the string representation
65608func (s ProcessingJob) String() string {
65609	return awsutil.Prettify(s)
65610}
65611
65612// GoString returns the string representation
65613func (s ProcessingJob) GoString() string {
65614	return s.String()
65615}
65616
65617// SetAppSpecification sets the AppSpecification field's value.
65618func (s *ProcessingJob) SetAppSpecification(v *AppSpecification) *ProcessingJob {
65619	s.AppSpecification = v
65620	return s
65621}
65622
65623// SetAutoMLJobArn sets the AutoMLJobArn field's value.
65624func (s *ProcessingJob) SetAutoMLJobArn(v string) *ProcessingJob {
65625	s.AutoMLJobArn = &v
65626	return s
65627}
65628
65629// SetCreationTime sets the CreationTime field's value.
65630func (s *ProcessingJob) SetCreationTime(v time.Time) *ProcessingJob {
65631	s.CreationTime = &v
65632	return s
65633}
65634
65635// SetEnvironment sets the Environment field's value.
65636func (s *ProcessingJob) SetEnvironment(v map[string]*string) *ProcessingJob {
65637	s.Environment = v
65638	return s
65639}
65640
65641// SetExitMessage sets the ExitMessage field's value.
65642func (s *ProcessingJob) SetExitMessage(v string) *ProcessingJob {
65643	s.ExitMessage = &v
65644	return s
65645}
65646
65647// SetExperimentConfig sets the ExperimentConfig field's value.
65648func (s *ProcessingJob) SetExperimentConfig(v *ExperimentConfig) *ProcessingJob {
65649	s.ExperimentConfig = v
65650	return s
65651}
65652
65653// SetFailureReason sets the FailureReason field's value.
65654func (s *ProcessingJob) SetFailureReason(v string) *ProcessingJob {
65655	s.FailureReason = &v
65656	return s
65657}
65658
65659// SetLastModifiedTime sets the LastModifiedTime field's value.
65660func (s *ProcessingJob) SetLastModifiedTime(v time.Time) *ProcessingJob {
65661	s.LastModifiedTime = &v
65662	return s
65663}
65664
65665// SetMonitoringScheduleArn sets the MonitoringScheduleArn field's value.
65666func (s *ProcessingJob) SetMonitoringScheduleArn(v string) *ProcessingJob {
65667	s.MonitoringScheduleArn = &v
65668	return s
65669}
65670
65671// SetNetworkConfig sets the NetworkConfig field's value.
65672func (s *ProcessingJob) SetNetworkConfig(v *NetworkConfig) *ProcessingJob {
65673	s.NetworkConfig = v
65674	return s
65675}
65676
65677// SetProcessingEndTime sets the ProcessingEndTime field's value.
65678func (s *ProcessingJob) SetProcessingEndTime(v time.Time) *ProcessingJob {
65679	s.ProcessingEndTime = &v
65680	return s
65681}
65682
65683// SetProcessingInputs sets the ProcessingInputs field's value.
65684func (s *ProcessingJob) SetProcessingInputs(v []*ProcessingInput) *ProcessingJob {
65685	s.ProcessingInputs = v
65686	return s
65687}
65688
65689// SetProcessingJobArn sets the ProcessingJobArn field's value.
65690func (s *ProcessingJob) SetProcessingJobArn(v string) *ProcessingJob {
65691	s.ProcessingJobArn = &v
65692	return s
65693}
65694
65695// SetProcessingJobName sets the ProcessingJobName field's value.
65696func (s *ProcessingJob) SetProcessingJobName(v string) *ProcessingJob {
65697	s.ProcessingJobName = &v
65698	return s
65699}
65700
65701// SetProcessingJobStatus sets the ProcessingJobStatus field's value.
65702func (s *ProcessingJob) SetProcessingJobStatus(v string) *ProcessingJob {
65703	s.ProcessingJobStatus = &v
65704	return s
65705}
65706
65707// SetProcessingOutputConfig sets the ProcessingOutputConfig field's value.
65708func (s *ProcessingJob) SetProcessingOutputConfig(v *ProcessingOutputConfig) *ProcessingJob {
65709	s.ProcessingOutputConfig = v
65710	return s
65711}
65712
65713// SetProcessingResources sets the ProcessingResources field's value.
65714func (s *ProcessingJob) SetProcessingResources(v *ProcessingResources) *ProcessingJob {
65715	s.ProcessingResources = v
65716	return s
65717}
65718
65719// SetProcessingStartTime sets the ProcessingStartTime field's value.
65720func (s *ProcessingJob) SetProcessingStartTime(v time.Time) *ProcessingJob {
65721	s.ProcessingStartTime = &v
65722	return s
65723}
65724
65725// SetRoleArn sets the RoleArn field's value.
65726func (s *ProcessingJob) SetRoleArn(v string) *ProcessingJob {
65727	s.RoleArn = &v
65728	return s
65729}
65730
65731// SetStoppingCondition sets the StoppingCondition field's value.
65732func (s *ProcessingJob) SetStoppingCondition(v *ProcessingStoppingCondition) *ProcessingJob {
65733	s.StoppingCondition = v
65734	return s
65735}
65736
65737// SetTags sets the Tags field's value.
65738func (s *ProcessingJob) SetTags(v []*Tag) *ProcessingJob {
65739	s.Tags = v
65740	return s
65741}
65742
65743// SetTrainingJobArn sets the TrainingJobArn field's value.
65744func (s *ProcessingJob) SetTrainingJobArn(v string) *ProcessingJob {
65745	s.TrainingJobArn = &v
65746	return s
65747}
65748
65749// Metadata for a processing job step.
65750type ProcessingJobStepMetadata struct {
65751	_ struct{} `type:"structure"`
65752
65753	// The Amazon Resource Name (ARN) of the processing job.
65754	Arn *string `type:"string"`
65755}
65756
65757// String returns the string representation
65758func (s ProcessingJobStepMetadata) String() string {
65759	return awsutil.Prettify(s)
65760}
65761
65762// GoString returns the string representation
65763func (s ProcessingJobStepMetadata) GoString() string {
65764	return s.String()
65765}
65766
65767// SetArn sets the Arn field's value.
65768func (s *ProcessingJobStepMetadata) SetArn(v string) *ProcessingJobStepMetadata {
65769	s.Arn = &v
65770	return s
65771}
65772
65773// Summary of information about a processing job.
65774type ProcessingJobSummary struct {
65775	_ struct{} `type:"structure"`
65776
65777	// The time at which the processing job was created.
65778	//
65779	// CreationTime is a required field
65780	CreationTime *time.Time `type:"timestamp" required:"true"`
65781
65782	// An optional string, up to one KB in size, that contains metadata from the
65783	// processing container when the processing job exits.
65784	ExitMessage *string `type:"string"`
65785
65786	// A string, up to one KB in size, that contains the reason a processing job
65787	// failed, if it failed.
65788	FailureReason *string `type:"string"`
65789
65790	// A timestamp that indicates the last time the processing job was modified.
65791	LastModifiedTime *time.Time `type:"timestamp"`
65792
65793	// The time at which the processing job completed.
65794	ProcessingEndTime *time.Time `type:"timestamp"`
65795
65796	// The Amazon Resource Name (ARN) of the processing job..
65797	//
65798	// ProcessingJobArn is a required field
65799	ProcessingJobArn *string `type:"string" required:"true"`
65800
65801	// The name of the processing job.
65802	//
65803	// ProcessingJobName is a required field
65804	ProcessingJobName *string `min:"1" type:"string" required:"true"`
65805
65806	// The status of the processing job.
65807	//
65808	// ProcessingJobStatus is a required field
65809	ProcessingJobStatus *string `type:"string" required:"true" enum:"ProcessingJobStatus"`
65810}
65811
65812// String returns the string representation
65813func (s ProcessingJobSummary) String() string {
65814	return awsutil.Prettify(s)
65815}
65816
65817// GoString returns the string representation
65818func (s ProcessingJobSummary) GoString() string {
65819	return s.String()
65820}
65821
65822// SetCreationTime sets the CreationTime field's value.
65823func (s *ProcessingJobSummary) SetCreationTime(v time.Time) *ProcessingJobSummary {
65824	s.CreationTime = &v
65825	return s
65826}
65827
65828// SetExitMessage sets the ExitMessage field's value.
65829func (s *ProcessingJobSummary) SetExitMessage(v string) *ProcessingJobSummary {
65830	s.ExitMessage = &v
65831	return s
65832}
65833
65834// SetFailureReason sets the FailureReason field's value.
65835func (s *ProcessingJobSummary) SetFailureReason(v string) *ProcessingJobSummary {
65836	s.FailureReason = &v
65837	return s
65838}
65839
65840// SetLastModifiedTime sets the LastModifiedTime field's value.
65841func (s *ProcessingJobSummary) SetLastModifiedTime(v time.Time) *ProcessingJobSummary {
65842	s.LastModifiedTime = &v
65843	return s
65844}
65845
65846// SetProcessingEndTime sets the ProcessingEndTime field's value.
65847func (s *ProcessingJobSummary) SetProcessingEndTime(v time.Time) *ProcessingJobSummary {
65848	s.ProcessingEndTime = &v
65849	return s
65850}
65851
65852// SetProcessingJobArn sets the ProcessingJobArn field's value.
65853func (s *ProcessingJobSummary) SetProcessingJobArn(v string) *ProcessingJobSummary {
65854	s.ProcessingJobArn = &v
65855	return s
65856}
65857
65858// SetProcessingJobName sets the ProcessingJobName field's value.
65859func (s *ProcessingJobSummary) SetProcessingJobName(v string) *ProcessingJobSummary {
65860	s.ProcessingJobName = &v
65861	return s
65862}
65863
65864// SetProcessingJobStatus sets the ProcessingJobStatus field's value.
65865func (s *ProcessingJobSummary) SetProcessingJobStatus(v string) *ProcessingJobSummary {
65866	s.ProcessingJobStatus = &v
65867	return s
65868}
65869
65870// Describes the results of a processing job. The processing output must specify
65871// exactly one of either S3Output or FeatureStoreOutput types.
65872type ProcessingOutput struct {
65873	_ struct{} `type:"structure"`
65874
65875	// When True, output operations such as data upload are managed natively by
65876	// the processing job application. When False (default), output operations are
65877	// managed by Amazon SageMaker.
65878	AppManaged *bool `type:"boolean"`
65879
65880	// Configuration for processing job outputs in Amazon SageMaker Feature Store.
65881	// This processing output type is only supported when AppManaged is specified.
65882	FeatureStoreOutput *ProcessingFeatureStoreOutput `type:"structure"`
65883
65884	// The name for the processing job output.
65885	//
65886	// OutputName is a required field
65887	OutputName *string `type:"string" required:"true"`
65888
65889	// Configuration for processing job outputs in Amazon S3.
65890	S3Output *ProcessingS3Output `type:"structure"`
65891}
65892
65893// String returns the string representation
65894func (s ProcessingOutput) String() string {
65895	return awsutil.Prettify(s)
65896}
65897
65898// GoString returns the string representation
65899func (s ProcessingOutput) GoString() string {
65900	return s.String()
65901}
65902
65903// Validate inspects the fields of the type to determine if they are valid.
65904func (s *ProcessingOutput) Validate() error {
65905	invalidParams := request.ErrInvalidParams{Context: "ProcessingOutput"}
65906	if s.OutputName == nil {
65907		invalidParams.Add(request.NewErrParamRequired("OutputName"))
65908	}
65909	if s.FeatureStoreOutput != nil {
65910		if err := s.FeatureStoreOutput.Validate(); err != nil {
65911			invalidParams.AddNested("FeatureStoreOutput", err.(request.ErrInvalidParams))
65912		}
65913	}
65914	if s.S3Output != nil {
65915		if err := s.S3Output.Validate(); err != nil {
65916			invalidParams.AddNested("S3Output", err.(request.ErrInvalidParams))
65917		}
65918	}
65919
65920	if invalidParams.Len() > 0 {
65921		return invalidParams
65922	}
65923	return nil
65924}
65925
65926// SetAppManaged sets the AppManaged field's value.
65927func (s *ProcessingOutput) SetAppManaged(v bool) *ProcessingOutput {
65928	s.AppManaged = &v
65929	return s
65930}
65931
65932// SetFeatureStoreOutput sets the FeatureStoreOutput field's value.
65933func (s *ProcessingOutput) SetFeatureStoreOutput(v *ProcessingFeatureStoreOutput) *ProcessingOutput {
65934	s.FeatureStoreOutput = v
65935	return s
65936}
65937
65938// SetOutputName sets the OutputName field's value.
65939func (s *ProcessingOutput) SetOutputName(v string) *ProcessingOutput {
65940	s.OutputName = &v
65941	return s
65942}
65943
65944// SetS3Output sets the S3Output field's value.
65945func (s *ProcessingOutput) SetS3Output(v *ProcessingS3Output) *ProcessingOutput {
65946	s.S3Output = v
65947	return s
65948}
65949
65950// Configuration for uploading output from the processing container.
65951type ProcessingOutputConfig struct {
65952	_ struct{} `type:"structure"`
65953
65954	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
65955	// encrypt the processing job output. KmsKeyId can be an ID of a KMS key, ARN
65956	// of a KMS key, alias of a KMS key, or alias of a KMS key. The KmsKeyId is
65957	// applied to all outputs.
65958	KmsKeyId *string `type:"string"`
65959
65960	// An array of outputs configuring the data to upload from the processing container.
65961	//
65962	// Outputs is a required field
65963	Outputs []*ProcessingOutput `type:"list" required:"true"`
65964}
65965
65966// String returns the string representation
65967func (s ProcessingOutputConfig) String() string {
65968	return awsutil.Prettify(s)
65969}
65970
65971// GoString returns the string representation
65972func (s ProcessingOutputConfig) GoString() string {
65973	return s.String()
65974}
65975
65976// Validate inspects the fields of the type to determine if they are valid.
65977func (s *ProcessingOutputConfig) Validate() error {
65978	invalidParams := request.ErrInvalidParams{Context: "ProcessingOutputConfig"}
65979	if s.Outputs == nil {
65980		invalidParams.Add(request.NewErrParamRequired("Outputs"))
65981	}
65982	if s.Outputs != nil {
65983		for i, v := range s.Outputs {
65984			if v == nil {
65985				continue
65986			}
65987			if err := v.Validate(); err != nil {
65988				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Outputs", i), err.(request.ErrInvalidParams))
65989			}
65990		}
65991	}
65992
65993	if invalidParams.Len() > 0 {
65994		return invalidParams
65995	}
65996	return nil
65997}
65998
65999// SetKmsKeyId sets the KmsKeyId field's value.
66000func (s *ProcessingOutputConfig) SetKmsKeyId(v string) *ProcessingOutputConfig {
66001	s.KmsKeyId = &v
66002	return s
66003}
66004
66005// SetOutputs sets the Outputs field's value.
66006func (s *ProcessingOutputConfig) SetOutputs(v []*ProcessingOutput) *ProcessingOutputConfig {
66007	s.Outputs = v
66008	return s
66009}
66010
66011// Identifies the resources, ML compute instances, and ML storage volumes to
66012// deploy for a processing job. In distributed training, you specify more than
66013// one instance.
66014type ProcessingResources struct {
66015	_ struct{} `type:"structure"`
66016
66017	// The configuration for the resources in a cluster used to run the processing
66018	// job.
66019	//
66020	// ClusterConfig is a required field
66021	ClusterConfig *ProcessingClusterConfig `type:"structure" required:"true"`
66022}
66023
66024// String returns the string representation
66025func (s ProcessingResources) String() string {
66026	return awsutil.Prettify(s)
66027}
66028
66029// GoString returns the string representation
66030func (s ProcessingResources) GoString() string {
66031	return s.String()
66032}
66033
66034// Validate inspects the fields of the type to determine if they are valid.
66035func (s *ProcessingResources) Validate() error {
66036	invalidParams := request.ErrInvalidParams{Context: "ProcessingResources"}
66037	if s.ClusterConfig == nil {
66038		invalidParams.Add(request.NewErrParamRequired("ClusterConfig"))
66039	}
66040	if s.ClusterConfig != nil {
66041		if err := s.ClusterConfig.Validate(); err != nil {
66042			invalidParams.AddNested("ClusterConfig", err.(request.ErrInvalidParams))
66043		}
66044	}
66045
66046	if invalidParams.Len() > 0 {
66047		return invalidParams
66048	}
66049	return nil
66050}
66051
66052// SetClusterConfig sets the ClusterConfig field's value.
66053func (s *ProcessingResources) SetClusterConfig(v *ProcessingClusterConfig) *ProcessingResources {
66054	s.ClusterConfig = v
66055	return s
66056}
66057
66058// Configuration for downloading input data from Amazon S3 into the processing
66059// container.
66060type ProcessingS3Input struct {
66061	_ struct{} `type:"structure"`
66062
66063	// The local path in your container where you want Amazon SageMaker to write
66064	// input data to. LocalPath is an absolute path to the input data and must begin
66065	// with /opt/ml/processing/. LocalPath is a required parameter when AppManaged
66066	// is False (default).
66067	LocalPath *string `type:"string"`
66068
66069	// Whether to GZIP-decompress the data in Amazon S3 as it is streamed into the
66070	// processing container. Gzip can only be used when Pipe mode is specified as
66071	// the S3InputMode. In Pipe mode, Amazon SageMaker streams input data from the
66072	// source directly to your container without using the EBS volume.
66073	S3CompressionType *string `type:"string" enum:"ProcessingS3CompressionType"`
66074
66075	// Whether to distribute the data from Amazon S3 to all processing instances
66076	// with FullyReplicated, or whether the data from Amazon S3 is shared by Amazon
66077	// S3 key, downloading one shard of data to each processing instance.
66078	S3DataDistributionType *string `type:"string" enum:"ProcessingS3DataDistributionType"`
66079
66080	// Whether you use an S3Prefix or a ManifestFile for the data type. If you choose
66081	// S3Prefix, S3Uri identifies a key name prefix. Amazon SageMaker uses all objects
66082	// with the specified key name prefix for the processing job. If you choose
66083	// ManifestFile, S3Uri identifies an object that is a manifest file containing
66084	// a list of object keys that you want Amazon SageMaker to use for the processing
66085	// job.
66086	//
66087	// S3DataType is a required field
66088	S3DataType *string `type:"string" required:"true" enum:"ProcessingS3DataType"`
66089
66090	// Whether to use File or Pipe input mode. In File mode, Amazon SageMaker copies
66091	// the data from the input source onto the local ML storage volume before starting
66092	// your processing container. This is the most commonly used input mode. In
66093	// Pipe mode, Amazon SageMaker streams input data from the source directly to
66094	// your processing container into named pipes without using the ML storage volume.
66095	S3InputMode *string `type:"string" enum:"ProcessingS3InputMode"`
66096
66097	// The URI of the Amazon S3 prefix Amazon SageMaker downloads data required
66098	// to run a processing job.
66099	//
66100	// S3Uri is a required field
66101	S3Uri *string `type:"string" required:"true"`
66102}
66103
66104// String returns the string representation
66105func (s ProcessingS3Input) String() string {
66106	return awsutil.Prettify(s)
66107}
66108
66109// GoString returns the string representation
66110func (s ProcessingS3Input) GoString() string {
66111	return s.String()
66112}
66113
66114// Validate inspects the fields of the type to determine if they are valid.
66115func (s *ProcessingS3Input) Validate() error {
66116	invalidParams := request.ErrInvalidParams{Context: "ProcessingS3Input"}
66117	if s.S3DataType == nil {
66118		invalidParams.Add(request.NewErrParamRequired("S3DataType"))
66119	}
66120	if s.S3Uri == nil {
66121		invalidParams.Add(request.NewErrParamRequired("S3Uri"))
66122	}
66123
66124	if invalidParams.Len() > 0 {
66125		return invalidParams
66126	}
66127	return nil
66128}
66129
66130// SetLocalPath sets the LocalPath field's value.
66131func (s *ProcessingS3Input) SetLocalPath(v string) *ProcessingS3Input {
66132	s.LocalPath = &v
66133	return s
66134}
66135
66136// SetS3CompressionType sets the S3CompressionType field's value.
66137func (s *ProcessingS3Input) SetS3CompressionType(v string) *ProcessingS3Input {
66138	s.S3CompressionType = &v
66139	return s
66140}
66141
66142// SetS3DataDistributionType sets the S3DataDistributionType field's value.
66143func (s *ProcessingS3Input) SetS3DataDistributionType(v string) *ProcessingS3Input {
66144	s.S3DataDistributionType = &v
66145	return s
66146}
66147
66148// SetS3DataType sets the S3DataType field's value.
66149func (s *ProcessingS3Input) SetS3DataType(v string) *ProcessingS3Input {
66150	s.S3DataType = &v
66151	return s
66152}
66153
66154// SetS3InputMode sets the S3InputMode field's value.
66155func (s *ProcessingS3Input) SetS3InputMode(v string) *ProcessingS3Input {
66156	s.S3InputMode = &v
66157	return s
66158}
66159
66160// SetS3Uri sets the S3Uri field's value.
66161func (s *ProcessingS3Input) SetS3Uri(v string) *ProcessingS3Input {
66162	s.S3Uri = &v
66163	return s
66164}
66165
66166// Configuration for uploading output data to Amazon S3 from the processing
66167// container.
66168type ProcessingS3Output struct {
66169	_ struct{} `type:"structure"`
66170
66171	// The local path of a directory where you want Amazon SageMaker to upload its
66172	// contents to Amazon S3. LocalPath is an absolute path to a directory containing
66173	// output files. This directory will be created by the platform and exist when
66174	// your container's entrypoint is invoked.
66175	//
66176	// LocalPath is a required field
66177	LocalPath *string `type:"string" required:"true"`
66178
66179	// Whether to upload the results of the processing job continuously or after
66180	// the job completes.
66181	//
66182	// S3UploadMode is a required field
66183	S3UploadMode *string `type:"string" required:"true" enum:"ProcessingS3UploadMode"`
66184
66185	// A URI that identifies the Amazon S3 bucket where you want Amazon SageMaker
66186	// to save the results of a processing job.
66187	//
66188	// S3Uri is a required field
66189	S3Uri *string `type:"string" required:"true"`
66190}
66191
66192// String returns the string representation
66193func (s ProcessingS3Output) String() string {
66194	return awsutil.Prettify(s)
66195}
66196
66197// GoString returns the string representation
66198func (s ProcessingS3Output) GoString() string {
66199	return s.String()
66200}
66201
66202// Validate inspects the fields of the type to determine if they are valid.
66203func (s *ProcessingS3Output) Validate() error {
66204	invalidParams := request.ErrInvalidParams{Context: "ProcessingS3Output"}
66205	if s.LocalPath == nil {
66206		invalidParams.Add(request.NewErrParamRequired("LocalPath"))
66207	}
66208	if s.S3UploadMode == nil {
66209		invalidParams.Add(request.NewErrParamRequired("S3UploadMode"))
66210	}
66211	if s.S3Uri == nil {
66212		invalidParams.Add(request.NewErrParamRequired("S3Uri"))
66213	}
66214
66215	if invalidParams.Len() > 0 {
66216		return invalidParams
66217	}
66218	return nil
66219}
66220
66221// SetLocalPath sets the LocalPath field's value.
66222func (s *ProcessingS3Output) SetLocalPath(v string) *ProcessingS3Output {
66223	s.LocalPath = &v
66224	return s
66225}
66226
66227// SetS3UploadMode sets the S3UploadMode field's value.
66228func (s *ProcessingS3Output) SetS3UploadMode(v string) *ProcessingS3Output {
66229	s.S3UploadMode = &v
66230	return s
66231}
66232
66233// SetS3Uri sets the S3Uri field's value.
66234func (s *ProcessingS3Output) SetS3Uri(v string) *ProcessingS3Output {
66235	s.S3Uri = &v
66236	return s
66237}
66238
66239// Configures conditions under which the processing job should be stopped, such
66240// as how long the processing job has been running. After the condition is met,
66241// the processing job is stopped.
66242type ProcessingStoppingCondition struct {
66243	_ struct{} `type:"structure"`
66244
66245	// Specifies the maximum runtime in seconds.
66246	//
66247	// MaxRuntimeInSeconds is a required field
66248	MaxRuntimeInSeconds *int64 `min:"1" type:"integer" required:"true"`
66249}
66250
66251// String returns the string representation
66252func (s ProcessingStoppingCondition) String() string {
66253	return awsutil.Prettify(s)
66254}
66255
66256// GoString returns the string representation
66257func (s ProcessingStoppingCondition) GoString() string {
66258	return s.String()
66259}
66260
66261// Validate inspects the fields of the type to determine if they are valid.
66262func (s *ProcessingStoppingCondition) Validate() error {
66263	invalidParams := request.ErrInvalidParams{Context: "ProcessingStoppingCondition"}
66264	if s.MaxRuntimeInSeconds == nil {
66265		invalidParams.Add(request.NewErrParamRequired("MaxRuntimeInSeconds"))
66266	}
66267	if s.MaxRuntimeInSeconds != nil && *s.MaxRuntimeInSeconds < 1 {
66268		invalidParams.Add(request.NewErrParamMinValue("MaxRuntimeInSeconds", 1))
66269	}
66270
66271	if invalidParams.Len() > 0 {
66272		return invalidParams
66273	}
66274	return nil
66275}
66276
66277// SetMaxRuntimeInSeconds sets the MaxRuntimeInSeconds field's value.
66278func (s *ProcessingStoppingCondition) SetMaxRuntimeInSeconds(v int64) *ProcessingStoppingCondition {
66279	s.MaxRuntimeInSeconds = &v
66280	return s
66281}
66282
66283// Identifies a model that you want to host and the resources to deploy for
66284// hosting it. If you are deploying multiple models, tell Amazon SageMaker how
66285// to distribute traffic among the models by specifying variant weights.
66286type ProductionVariant struct {
66287	_ struct{} `type:"structure"`
66288
66289	// The size of the Elastic Inference (EI) instance to use for the production
66290	// variant. EI instances provide on-demand GPU computing for inference. For
66291	// more information, see Using Elastic Inference in Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/ei.html).
66292	AcceleratorType *string `type:"string" enum:"ProductionVariantAcceleratorType"`
66293
66294	// Specifies configuration for a core dump from the model container when the
66295	// process crashes.
66296	CoreDumpConfig *ProductionVariantCoreDumpConfig `type:"structure"`
66297
66298	// Number of instances to launch initially.
66299	//
66300	// InitialInstanceCount is a required field
66301	InitialInstanceCount *int64 `min:"1" type:"integer" required:"true"`
66302
66303	// Determines initial traffic distribution among all of the models that you
66304	// specify in the endpoint configuration. The traffic to a production variant
66305	// is determined by the ratio of the VariantWeight to the sum of all VariantWeight
66306	// values across all ProductionVariants. If unspecified, it defaults to 1.0.
66307	InitialVariantWeight *float64 `type:"float"`
66308
66309	// The ML compute instance type.
66310	//
66311	// InstanceType is a required field
66312	InstanceType *string `type:"string" required:"true" enum:"ProductionVariantInstanceType"`
66313
66314	// The name of the model that you want to host. This is the name that you specified
66315	// when creating the model.
66316	//
66317	// ModelName is a required field
66318	ModelName *string `type:"string" required:"true"`
66319
66320	// The name of the production variant.
66321	//
66322	// VariantName is a required field
66323	VariantName *string `type:"string" required:"true"`
66324}
66325
66326// String returns the string representation
66327func (s ProductionVariant) String() string {
66328	return awsutil.Prettify(s)
66329}
66330
66331// GoString returns the string representation
66332func (s ProductionVariant) GoString() string {
66333	return s.String()
66334}
66335
66336// Validate inspects the fields of the type to determine if they are valid.
66337func (s *ProductionVariant) Validate() error {
66338	invalidParams := request.ErrInvalidParams{Context: "ProductionVariant"}
66339	if s.InitialInstanceCount == nil {
66340		invalidParams.Add(request.NewErrParamRequired("InitialInstanceCount"))
66341	}
66342	if s.InitialInstanceCount != nil && *s.InitialInstanceCount < 1 {
66343		invalidParams.Add(request.NewErrParamMinValue("InitialInstanceCount", 1))
66344	}
66345	if s.InstanceType == nil {
66346		invalidParams.Add(request.NewErrParamRequired("InstanceType"))
66347	}
66348	if s.ModelName == nil {
66349		invalidParams.Add(request.NewErrParamRequired("ModelName"))
66350	}
66351	if s.VariantName == nil {
66352		invalidParams.Add(request.NewErrParamRequired("VariantName"))
66353	}
66354	if s.CoreDumpConfig != nil {
66355		if err := s.CoreDumpConfig.Validate(); err != nil {
66356			invalidParams.AddNested("CoreDumpConfig", err.(request.ErrInvalidParams))
66357		}
66358	}
66359
66360	if invalidParams.Len() > 0 {
66361		return invalidParams
66362	}
66363	return nil
66364}
66365
66366// SetAcceleratorType sets the AcceleratorType field's value.
66367func (s *ProductionVariant) SetAcceleratorType(v string) *ProductionVariant {
66368	s.AcceleratorType = &v
66369	return s
66370}
66371
66372// SetCoreDumpConfig sets the CoreDumpConfig field's value.
66373func (s *ProductionVariant) SetCoreDumpConfig(v *ProductionVariantCoreDumpConfig) *ProductionVariant {
66374	s.CoreDumpConfig = v
66375	return s
66376}
66377
66378// SetInitialInstanceCount sets the InitialInstanceCount field's value.
66379func (s *ProductionVariant) SetInitialInstanceCount(v int64) *ProductionVariant {
66380	s.InitialInstanceCount = &v
66381	return s
66382}
66383
66384// SetInitialVariantWeight sets the InitialVariantWeight field's value.
66385func (s *ProductionVariant) SetInitialVariantWeight(v float64) *ProductionVariant {
66386	s.InitialVariantWeight = &v
66387	return s
66388}
66389
66390// SetInstanceType sets the InstanceType field's value.
66391func (s *ProductionVariant) SetInstanceType(v string) *ProductionVariant {
66392	s.InstanceType = &v
66393	return s
66394}
66395
66396// SetModelName sets the ModelName field's value.
66397func (s *ProductionVariant) SetModelName(v string) *ProductionVariant {
66398	s.ModelName = &v
66399	return s
66400}
66401
66402// SetVariantName sets the VariantName field's value.
66403func (s *ProductionVariant) SetVariantName(v string) *ProductionVariant {
66404	s.VariantName = &v
66405	return s
66406}
66407
66408// Specifies configuration for a core dump from the model container when the
66409// process crashes.
66410type ProductionVariantCoreDumpConfig struct {
66411	_ struct{} `type:"structure"`
66412
66413	// The Amazon S3 bucket to send the core dump to.
66414	//
66415	// DestinationS3Uri is a required field
66416	DestinationS3Uri *string `type:"string" required:"true"`
66417
66418	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
66419	// encrypt the core dump data at rest using Amazon S3 server-side encryption.
66420	// The KmsKeyId can be any of the following formats:
66421	//
66422	//    * // KMS Key ID "1234abcd-12ab-34cd-56ef-1234567890ab"
66423	//
66424	//    * // Amazon Resource Name (ARN) of a KMS Key "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
66425	//
66426	//    * // KMS Key Alias "alias/ExampleAlias"
66427	//
66428	//    * // Amazon Resource Name (ARN) of a KMS Key Alias "arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias"
66429	//
66430	// If you use a KMS key ID or an alias of your master key, the Amazon SageMaker
66431	// execution role must include permissions to call kms:Encrypt. If you don't
66432	// provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon
66433	// S3 for your role's account. Amazon SageMaker uses server-side encryption
66434	// with KMS-managed keys for OutputDataConfig. If you use a bucket policy with
66435	// an s3:PutObject permission that only allows objects with server-side encryption,
66436	// set the condition key of s3:x-amz-server-side-encryption to "aws:kms". For
66437	// more information, see KMS-Managed Encryption Keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html)
66438	// in the Amazon Simple Storage Service Developer Guide.
66439	//
66440	// The KMS key policy must grant permission to the IAM role that you specify
66441	// in your CreateEndpoint and UpdateEndpoint requests. For more information,
66442	// see Using Key Policies in AWS KMS (https://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html)
66443	// in the AWS Key Management Service Developer Guide.
66444	KmsKeyId *string `type:"string"`
66445}
66446
66447// String returns the string representation
66448func (s ProductionVariantCoreDumpConfig) String() string {
66449	return awsutil.Prettify(s)
66450}
66451
66452// GoString returns the string representation
66453func (s ProductionVariantCoreDumpConfig) GoString() string {
66454	return s.String()
66455}
66456
66457// Validate inspects the fields of the type to determine if they are valid.
66458func (s *ProductionVariantCoreDumpConfig) Validate() error {
66459	invalidParams := request.ErrInvalidParams{Context: "ProductionVariantCoreDumpConfig"}
66460	if s.DestinationS3Uri == nil {
66461		invalidParams.Add(request.NewErrParamRequired("DestinationS3Uri"))
66462	}
66463
66464	if invalidParams.Len() > 0 {
66465		return invalidParams
66466	}
66467	return nil
66468}
66469
66470// SetDestinationS3Uri sets the DestinationS3Uri field's value.
66471func (s *ProductionVariantCoreDumpConfig) SetDestinationS3Uri(v string) *ProductionVariantCoreDumpConfig {
66472	s.DestinationS3Uri = &v
66473	return s
66474}
66475
66476// SetKmsKeyId sets the KmsKeyId field's value.
66477func (s *ProductionVariantCoreDumpConfig) SetKmsKeyId(v string) *ProductionVariantCoreDumpConfig {
66478	s.KmsKeyId = &v
66479	return s
66480}
66481
66482// Describes weight and capacities for a production variant associated with
66483// an endpoint. If you sent a request to the UpdateEndpointWeightsAndCapacities
66484// API and the endpoint status is Updating, you get different desired and current
66485// values.
66486type ProductionVariantSummary struct {
66487	_ struct{} `type:"structure"`
66488
66489	// The number of instances associated with the variant.
66490	CurrentInstanceCount *int64 `min:"1" type:"integer"`
66491
66492	// The weight associated with the variant.
66493	CurrentWeight *float64 `type:"float"`
66494
66495	// An array of DeployedImage objects that specify the Amazon EC2 Container Registry
66496	// paths of the inference images deployed on instances of this ProductionVariant.
66497	DeployedImages []*DeployedImage `type:"list"`
66498
66499	// The number of instances requested in the UpdateEndpointWeightsAndCapacities
66500	// request.
66501	DesiredInstanceCount *int64 `min:"1" type:"integer"`
66502
66503	// The requested weight, as specified in the UpdateEndpointWeightsAndCapacities
66504	// request.
66505	DesiredWeight *float64 `type:"float"`
66506
66507	// The name of the variant.
66508	//
66509	// VariantName is a required field
66510	VariantName *string `type:"string" required:"true"`
66511}
66512
66513// String returns the string representation
66514func (s ProductionVariantSummary) String() string {
66515	return awsutil.Prettify(s)
66516}
66517
66518// GoString returns the string representation
66519func (s ProductionVariantSummary) GoString() string {
66520	return s.String()
66521}
66522
66523// SetCurrentInstanceCount sets the CurrentInstanceCount field's value.
66524func (s *ProductionVariantSummary) SetCurrentInstanceCount(v int64) *ProductionVariantSummary {
66525	s.CurrentInstanceCount = &v
66526	return s
66527}
66528
66529// SetCurrentWeight sets the CurrentWeight field's value.
66530func (s *ProductionVariantSummary) SetCurrentWeight(v float64) *ProductionVariantSummary {
66531	s.CurrentWeight = &v
66532	return s
66533}
66534
66535// SetDeployedImages sets the DeployedImages field's value.
66536func (s *ProductionVariantSummary) SetDeployedImages(v []*DeployedImage) *ProductionVariantSummary {
66537	s.DeployedImages = v
66538	return s
66539}
66540
66541// SetDesiredInstanceCount sets the DesiredInstanceCount field's value.
66542func (s *ProductionVariantSummary) SetDesiredInstanceCount(v int64) *ProductionVariantSummary {
66543	s.DesiredInstanceCount = &v
66544	return s
66545}
66546
66547// SetDesiredWeight sets the DesiredWeight field's value.
66548func (s *ProductionVariantSummary) SetDesiredWeight(v float64) *ProductionVariantSummary {
66549	s.DesiredWeight = &v
66550	return s
66551}
66552
66553// SetVariantName sets the VariantName field's value.
66554func (s *ProductionVariantSummary) SetVariantName(v string) *ProductionVariantSummary {
66555	s.VariantName = &v
66556	return s
66557}
66558
66559// Configuration information for Debugger system monitoring, framework profiling,
66560// and storage paths.
66561type ProfilerConfig struct {
66562	_ struct{} `type:"structure"`
66563
66564	// A time interval for capturing system metrics in milliseconds. Available values
66565	// are 100, 200, 500, 1000 (1 second), 5000 (5 seconds), and 60000 (1 minute)
66566	// milliseconds. The default value is 500 milliseconds.
66567	ProfilingIntervalInMilliseconds *int64 `type:"long"`
66568
66569	// Configuration information for capturing framework metrics. Available key
66570	// strings for different profiling options are DetailedProfilingConfig, PythonProfilingConfig,
66571	// and DataLoaderProfilingConfig. The following codes are configuration structures
66572	// for the ProfilingParameters parameter. To learn more about how to configure
66573	// the ProfilingParameters parameter, see Use the SageMaker and Debugger Configuration
66574	// API Operations to Create, Update, and Debug Your Training Job (https://docs.aws.amazon.com/sagemaker/latest/dg/debugger-createtrainingjob-api.html).
66575	ProfilingParameters map[string]*string `type:"map"`
66576
66577	// Path to Amazon S3 storage location for system and framework metrics.
66578	//
66579	// S3OutputPath is a required field
66580	S3OutputPath *string `type:"string" required:"true"`
66581}
66582
66583// String returns the string representation
66584func (s ProfilerConfig) String() string {
66585	return awsutil.Prettify(s)
66586}
66587
66588// GoString returns the string representation
66589func (s ProfilerConfig) GoString() string {
66590	return s.String()
66591}
66592
66593// Validate inspects the fields of the type to determine if they are valid.
66594func (s *ProfilerConfig) Validate() error {
66595	invalidParams := request.ErrInvalidParams{Context: "ProfilerConfig"}
66596	if s.S3OutputPath == nil {
66597		invalidParams.Add(request.NewErrParamRequired("S3OutputPath"))
66598	}
66599
66600	if invalidParams.Len() > 0 {
66601		return invalidParams
66602	}
66603	return nil
66604}
66605
66606// SetProfilingIntervalInMilliseconds sets the ProfilingIntervalInMilliseconds field's value.
66607func (s *ProfilerConfig) SetProfilingIntervalInMilliseconds(v int64) *ProfilerConfig {
66608	s.ProfilingIntervalInMilliseconds = &v
66609	return s
66610}
66611
66612// SetProfilingParameters sets the ProfilingParameters field's value.
66613func (s *ProfilerConfig) SetProfilingParameters(v map[string]*string) *ProfilerConfig {
66614	s.ProfilingParameters = v
66615	return s
66616}
66617
66618// SetS3OutputPath sets the S3OutputPath field's value.
66619func (s *ProfilerConfig) SetS3OutputPath(v string) *ProfilerConfig {
66620	s.S3OutputPath = &v
66621	return s
66622}
66623
66624// Configuration information for updating the Debugger profile parameters, system
66625// and framework metrics configurations, and storage paths.
66626type ProfilerConfigForUpdate struct {
66627	_ struct{} `type:"structure"`
66628
66629	// To disable Debugger monitoring and profiling, set to True.
66630	DisableProfiler *bool `type:"boolean"`
66631
66632	// A time interval for capturing system metrics in milliseconds. Available values
66633	// are 100, 200, 500, 1000 (1 second), 5000 (5 seconds), and 60000 (1 minute)
66634	// milliseconds. The default value is 500 milliseconds.
66635	ProfilingIntervalInMilliseconds *int64 `type:"long"`
66636
66637	// Configuration information for capturing framework metrics. Available key
66638	// strings for different profiling options are DetailedProfilingConfig, PythonProfilingConfig,
66639	// and DataLoaderProfilingConfig. The following codes are configuration structures
66640	// for the ProfilingParameters parameter. To learn more about how to configure
66641	// the ProfilingParameters parameter, see Use the SageMaker and Debugger Configuration
66642	// API Operations to Create, Update, and Debug Your Training Job (https://docs.aws.amazon.com/sagemaker/latest/dg/debugger-createtrainingjob-api.html).
66643	ProfilingParameters map[string]*string `type:"map"`
66644
66645	// Path to Amazon S3 storage location for system and framework metrics.
66646	S3OutputPath *string `type:"string"`
66647}
66648
66649// String returns the string representation
66650func (s ProfilerConfigForUpdate) String() string {
66651	return awsutil.Prettify(s)
66652}
66653
66654// GoString returns the string representation
66655func (s ProfilerConfigForUpdate) GoString() string {
66656	return s.String()
66657}
66658
66659// SetDisableProfiler sets the DisableProfiler field's value.
66660func (s *ProfilerConfigForUpdate) SetDisableProfiler(v bool) *ProfilerConfigForUpdate {
66661	s.DisableProfiler = &v
66662	return s
66663}
66664
66665// SetProfilingIntervalInMilliseconds sets the ProfilingIntervalInMilliseconds field's value.
66666func (s *ProfilerConfigForUpdate) SetProfilingIntervalInMilliseconds(v int64) *ProfilerConfigForUpdate {
66667	s.ProfilingIntervalInMilliseconds = &v
66668	return s
66669}
66670
66671// SetProfilingParameters sets the ProfilingParameters field's value.
66672func (s *ProfilerConfigForUpdate) SetProfilingParameters(v map[string]*string) *ProfilerConfigForUpdate {
66673	s.ProfilingParameters = v
66674	return s
66675}
66676
66677// SetS3OutputPath sets the S3OutputPath field's value.
66678func (s *ProfilerConfigForUpdate) SetS3OutputPath(v string) *ProfilerConfigForUpdate {
66679	s.S3OutputPath = &v
66680	return s
66681}
66682
66683// Configuration information for profiling rules.
66684type ProfilerRuleConfiguration struct {
66685	_ struct{} `type:"structure"`
66686
66687	// The instance type to deploy a Debugger custom rule for profiling a training
66688	// job.
66689	InstanceType *string `type:"string" enum:"ProcessingInstanceType"`
66690
66691	// Path to local storage location for output of rules. Defaults to /opt/ml/processing/output/rule/.
66692	LocalPath *string `type:"string"`
66693
66694	// The name of the rule configuration. It must be unique relative to other rule
66695	// configuration names.
66696	//
66697	// RuleConfigurationName is a required field
66698	RuleConfigurationName *string `min:"1" type:"string" required:"true"`
66699
66700	// The Amazon Elastic Container (ECR) Image for the managed rule evaluation.
66701	//
66702	// RuleEvaluatorImage is a required field
66703	RuleEvaluatorImage *string `type:"string" required:"true"`
66704
66705	// Runtime configuration for rule container.
66706	RuleParameters map[string]*string `type:"map"`
66707
66708	// Path to Amazon S3 storage location for rules.
66709	S3OutputPath *string `type:"string"`
66710
66711	// The size, in GB, of the ML storage volume attached to the processing instance.
66712	VolumeSizeInGB *int64 `type:"integer"`
66713}
66714
66715// String returns the string representation
66716func (s ProfilerRuleConfiguration) String() string {
66717	return awsutil.Prettify(s)
66718}
66719
66720// GoString returns the string representation
66721func (s ProfilerRuleConfiguration) GoString() string {
66722	return s.String()
66723}
66724
66725// Validate inspects the fields of the type to determine if they are valid.
66726func (s *ProfilerRuleConfiguration) Validate() error {
66727	invalidParams := request.ErrInvalidParams{Context: "ProfilerRuleConfiguration"}
66728	if s.RuleConfigurationName == nil {
66729		invalidParams.Add(request.NewErrParamRequired("RuleConfigurationName"))
66730	}
66731	if s.RuleConfigurationName != nil && len(*s.RuleConfigurationName) < 1 {
66732		invalidParams.Add(request.NewErrParamMinLen("RuleConfigurationName", 1))
66733	}
66734	if s.RuleEvaluatorImage == nil {
66735		invalidParams.Add(request.NewErrParamRequired("RuleEvaluatorImage"))
66736	}
66737
66738	if invalidParams.Len() > 0 {
66739		return invalidParams
66740	}
66741	return nil
66742}
66743
66744// SetInstanceType sets the InstanceType field's value.
66745func (s *ProfilerRuleConfiguration) SetInstanceType(v string) *ProfilerRuleConfiguration {
66746	s.InstanceType = &v
66747	return s
66748}
66749
66750// SetLocalPath sets the LocalPath field's value.
66751func (s *ProfilerRuleConfiguration) SetLocalPath(v string) *ProfilerRuleConfiguration {
66752	s.LocalPath = &v
66753	return s
66754}
66755
66756// SetRuleConfigurationName sets the RuleConfigurationName field's value.
66757func (s *ProfilerRuleConfiguration) SetRuleConfigurationName(v string) *ProfilerRuleConfiguration {
66758	s.RuleConfigurationName = &v
66759	return s
66760}
66761
66762// SetRuleEvaluatorImage sets the RuleEvaluatorImage field's value.
66763func (s *ProfilerRuleConfiguration) SetRuleEvaluatorImage(v string) *ProfilerRuleConfiguration {
66764	s.RuleEvaluatorImage = &v
66765	return s
66766}
66767
66768// SetRuleParameters sets the RuleParameters field's value.
66769func (s *ProfilerRuleConfiguration) SetRuleParameters(v map[string]*string) *ProfilerRuleConfiguration {
66770	s.RuleParameters = v
66771	return s
66772}
66773
66774// SetS3OutputPath sets the S3OutputPath field's value.
66775func (s *ProfilerRuleConfiguration) SetS3OutputPath(v string) *ProfilerRuleConfiguration {
66776	s.S3OutputPath = &v
66777	return s
66778}
66779
66780// SetVolumeSizeInGB sets the VolumeSizeInGB field's value.
66781func (s *ProfilerRuleConfiguration) SetVolumeSizeInGB(v int64) *ProfilerRuleConfiguration {
66782	s.VolumeSizeInGB = &v
66783	return s
66784}
66785
66786// Information about the status of the rule evaluation.
66787type ProfilerRuleEvaluationStatus struct {
66788	_ struct{} `type:"structure"`
66789
66790	// Timestamp when the rule evaluation status was last modified.
66791	LastModifiedTime *time.Time `type:"timestamp"`
66792
66793	// The name of the rule configuration.
66794	RuleConfigurationName *string `min:"1" type:"string"`
66795
66796	// The Amazon Resource Name (ARN) of the rule evaluation job.
66797	RuleEvaluationJobArn *string `type:"string"`
66798
66799	// Status of the rule evaluation.
66800	RuleEvaluationStatus *string `type:"string" enum:"RuleEvaluationStatus"`
66801
66802	// Details from the rule evaluation.
66803	StatusDetails *string `type:"string"`
66804}
66805
66806// String returns the string representation
66807func (s ProfilerRuleEvaluationStatus) String() string {
66808	return awsutil.Prettify(s)
66809}
66810
66811// GoString returns the string representation
66812func (s ProfilerRuleEvaluationStatus) GoString() string {
66813	return s.String()
66814}
66815
66816// SetLastModifiedTime sets the LastModifiedTime field's value.
66817func (s *ProfilerRuleEvaluationStatus) SetLastModifiedTime(v time.Time) *ProfilerRuleEvaluationStatus {
66818	s.LastModifiedTime = &v
66819	return s
66820}
66821
66822// SetRuleConfigurationName sets the RuleConfigurationName field's value.
66823func (s *ProfilerRuleEvaluationStatus) SetRuleConfigurationName(v string) *ProfilerRuleEvaluationStatus {
66824	s.RuleConfigurationName = &v
66825	return s
66826}
66827
66828// SetRuleEvaluationJobArn sets the RuleEvaluationJobArn field's value.
66829func (s *ProfilerRuleEvaluationStatus) SetRuleEvaluationJobArn(v string) *ProfilerRuleEvaluationStatus {
66830	s.RuleEvaluationJobArn = &v
66831	return s
66832}
66833
66834// SetRuleEvaluationStatus sets the RuleEvaluationStatus field's value.
66835func (s *ProfilerRuleEvaluationStatus) SetRuleEvaluationStatus(v string) *ProfilerRuleEvaluationStatus {
66836	s.RuleEvaluationStatus = &v
66837	return s
66838}
66839
66840// SetStatusDetails sets the StatusDetails field's value.
66841func (s *ProfilerRuleEvaluationStatus) SetStatusDetails(v string) *ProfilerRuleEvaluationStatus {
66842	s.StatusDetails = &v
66843	return s
66844}
66845
66846// Information about a project.
66847type ProjectSummary struct {
66848	_ struct{} `type:"structure"`
66849
66850	// The time that the project was created.
66851	//
66852	// CreationTime is a required field
66853	CreationTime *time.Time `type:"timestamp" required:"true"`
66854
66855	// The Amazon Resource Name (ARN) of the project.
66856	//
66857	// ProjectArn is a required field
66858	ProjectArn *string `min:"1" type:"string" required:"true"`
66859
66860	// The description of the project.
66861	ProjectDescription *string `type:"string"`
66862
66863	// The ID of the project.
66864	//
66865	// ProjectId is a required field
66866	ProjectId *string `min:"1" type:"string" required:"true"`
66867
66868	// The name of the project.
66869	//
66870	// ProjectName is a required field
66871	ProjectName *string `min:"1" type:"string" required:"true"`
66872
66873	// The status of the project.
66874	//
66875	// ProjectStatus is a required field
66876	ProjectStatus *string `type:"string" required:"true" enum:"ProjectStatus"`
66877}
66878
66879// String returns the string representation
66880func (s ProjectSummary) String() string {
66881	return awsutil.Prettify(s)
66882}
66883
66884// GoString returns the string representation
66885func (s ProjectSummary) GoString() string {
66886	return s.String()
66887}
66888
66889// SetCreationTime sets the CreationTime field's value.
66890func (s *ProjectSummary) SetCreationTime(v time.Time) *ProjectSummary {
66891	s.CreationTime = &v
66892	return s
66893}
66894
66895// SetProjectArn sets the ProjectArn field's value.
66896func (s *ProjectSummary) SetProjectArn(v string) *ProjectSummary {
66897	s.ProjectArn = &v
66898	return s
66899}
66900
66901// SetProjectDescription sets the ProjectDescription field's value.
66902func (s *ProjectSummary) SetProjectDescription(v string) *ProjectSummary {
66903	s.ProjectDescription = &v
66904	return s
66905}
66906
66907// SetProjectId sets the ProjectId field's value.
66908func (s *ProjectSummary) SetProjectId(v string) *ProjectSummary {
66909	s.ProjectId = &v
66910	return s
66911}
66912
66913// SetProjectName sets the ProjectName field's value.
66914func (s *ProjectSummary) SetProjectName(v string) *ProjectSummary {
66915	s.ProjectName = &v
66916	return s
66917}
66918
66919// SetProjectStatus sets the ProjectStatus field's value.
66920func (s *ProjectSummary) SetProjectStatus(v string) *ProjectSummary {
66921	s.ProjectStatus = &v
66922	return s
66923}
66924
66925// Part of the SuggestionQuery type. Specifies a hint for retrieving property
66926// names that begin with the specified text.
66927type PropertyNameQuery struct {
66928	_ struct{} `type:"structure"`
66929
66930	// Text that begins a property's name.
66931	//
66932	// PropertyNameHint is a required field
66933	PropertyNameHint *string `type:"string" required:"true"`
66934}
66935
66936// String returns the string representation
66937func (s PropertyNameQuery) String() string {
66938	return awsutil.Prettify(s)
66939}
66940
66941// GoString returns the string representation
66942func (s PropertyNameQuery) GoString() string {
66943	return s.String()
66944}
66945
66946// Validate inspects the fields of the type to determine if they are valid.
66947func (s *PropertyNameQuery) Validate() error {
66948	invalidParams := request.ErrInvalidParams{Context: "PropertyNameQuery"}
66949	if s.PropertyNameHint == nil {
66950		invalidParams.Add(request.NewErrParamRequired("PropertyNameHint"))
66951	}
66952
66953	if invalidParams.Len() > 0 {
66954		return invalidParams
66955	}
66956	return nil
66957}
66958
66959// SetPropertyNameHint sets the PropertyNameHint field's value.
66960func (s *PropertyNameQuery) SetPropertyNameHint(v string) *PropertyNameQuery {
66961	s.PropertyNameHint = &v
66962	return s
66963}
66964
66965// A property name returned from a GetSearchSuggestions call that specifies
66966// a value in the PropertyNameQuery field.
66967type PropertyNameSuggestion struct {
66968	_ struct{} `type:"structure"`
66969
66970	// A suggested property name based on what you entered in the search textbox
66971	// in the Amazon SageMaker console.
66972	PropertyName *string `min:"1" type:"string"`
66973}
66974
66975// String returns the string representation
66976func (s PropertyNameSuggestion) String() string {
66977	return awsutil.Prettify(s)
66978}
66979
66980// GoString returns the string representation
66981func (s PropertyNameSuggestion) GoString() string {
66982	return s.String()
66983}
66984
66985// SetPropertyName sets the PropertyName field's value.
66986func (s *PropertyNameSuggestion) SetPropertyName(v string) *PropertyNameSuggestion {
66987	s.PropertyName = &v
66988	return s
66989}
66990
66991// A key value pair used when you provision a project as a service catalog product.
66992// For information, see What is AWS Service Catalog (https://docs.aws.amazon.com/servicecatalog/latest/adminguide/introduction.html).
66993type ProvisioningParameter struct {
66994	_ struct{} `type:"structure"`
66995
66996	// The key that identifies a provisioning parameter.
66997	Key *string `min:"1" type:"string"`
66998
66999	// The value of the provisioning parameter.
67000	Value *string `type:"string"`
67001}
67002
67003// String returns the string representation
67004func (s ProvisioningParameter) String() string {
67005	return awsutil.Prettify(s)
67006}
67007
67008// GoString returns the string representation
67009func (s ProvisioningParameter) GoString() string {
67010	return s.String()
67011}
67012
67013// Validate inspects the fields of the type to determine if they are valid.
67014func (s *ProvisioningParameter) Validate() error {
67015	invalidParams := request.ErrInvalidParams{Context: "ProvisioningParameter"}
67016	if s.Key != nil && len(*s.Key) < 1 {
67017		invalidParams.Add(request.NewErrParamMinLen("Key", 1))
67018	}
67019
67020	if invalidParams.Len() > 0 {
67021		return invalidParams
67022	}
67023	return nil
67024}
67025
67026// SetKey sets the Key field's value.
67027func (s *ProvisioningParameter) SetKey(v string) *ProvisioningParameter {
67028	s.Key = &v
67029	return s
67030}
67031
67032// SetValue sets the Value field's value.
67033func (s *ProvisioningParameter) SetValue(v string) *ProvisioningParameter {
67034	s.Value = &v
67035	return s
67036}
67037
67038// Defines the amount of money paid to an Amazon Mechanical Turk worker for
67039// each task performed.
67040//
67041// Use one of the following prices for bounding box tasks. Prices are in US
67042// dollars and should be based on the complexity of the task; the longer it
67043// takes in your initial testing, the more you should offer.
67044//
67045//    * 0.036
67046//
67047//    * 0.048
67048//
67049//    * 0.060
67050//
67051//    * 0.072
67052//
67053//    * 0.120
67054//
67055//    * 0.240
67056//
67057//    * 0.360
67058//
67059//    * 0.480
67060//
67061//    * 0.600
67062//
67063//    * 0.720
67064//
67065//    * 0.840
67066//
67067//    * 0.960
67068//
67069//    * 1.080
67070//
67071//    * 1.200
67072//
67073// Use one of the following prices for image classification, text classification,
67074// and custom tasks. Prices are in US dollars.
67075//
67076//    * 0.012
67077//
67078//    * 0.024
67079//
67080//    * 0.036
67081//
67082//    * 0.048
67083//
67084//    * 0.060
67085//
67086//    * 0.072
67087//
67088//    * 0.120
67089//
67090//    * 0.240
67091//
67092//    * 0.360
67093//
67094//    * 0.480
67095//
67096//    * 0.600
67097//
67098//    * 0.720
67099//
67100//    * 0.840
67101//
67102//    * 0.960
67103//
67104//    * 1.080
67105//
67106//    * 1.200
67107//
67108// Use one of the following prices for semantic segmentation tasks. Prices are
67109// in US dollars.
67110//
67111//    * 0.840
67112//
67113//    * 0.960
67114//
67115//    * 1.080
67116//
67117//    * 1.200
67118//
67119// Use one of the following prices for Textract AnalyzeDocument Important Form
67120// Key Amazon Augmented AI review tasks. Prices are in US dollars.
67121//
67122//    * 2.400
67123//
67124//    * 2.280
67125//
67126//    * 2.160
67127//
67128//    * 2.040
67129//
67130//    * 1.920
67131//
67132//    * 1.800
67133//
67134//    * 1.680
67135//
67136//    * 1.560
67137//
67138//    * 1.440
67139//
67140//    * 1.320
67141//
67142//    * 1.200
67143//
67144//    * 1.080
67145//
67146//    * 0.960
67147//
67148//    * 0.840
67149//
67150//    * 0.720
67151//
67152//    * 0.600
67153//
67154//    * 0.480
67155//
67156//    * 0.360
67157//
67158//    * 0.240
67159//
67160//    * 0.120
67161//
67162//    * 0.072
67163//
67164//    * 0.060
67165//
67166//    * 0.048
67167//
67168//    * 0.036
67169//
67170//    * 0.024
67171//
67172//    * 0.012
67173//
67174// Use one of the following prices for Rekognition DetectModerationLabels Amazon
67175// Augmented AI review tasks. Prices are in US dollars.
67176//
67177//    * 1.200
67178//
67179//    * 1.080
67180//
67181//    * 0.960
67182//
67183//    * 0.840
67184//
67185//    * 0.720
67186//
67187//    * 0.600
67188//
67189//    * 0.480
67190//
67191//    * 0.360
67192//
67193//    * 0.240
67194//
67195//    * 0.120
67196//
67197//    * 0.072
67198//
67199//    * 0.060
67200//
67201//    * 0.048
67202//
67203//    * 0.036
67204//
67205//    * 0.024
67206//
67207//    * 0.012
67208//
67209// Use one of the following prices for Amazon Augmented AI custom human review
67210// tasks. Prices are in US dollars.
67211//
67212//    * 1.200
67213//
67214//    * 1.080
67215//
67216//    * 0.960
67217//
67218//    * 0.840
67219//
67220//    * 0.720
67221//
67222//    * 0.600
67223//
67224//    * 0.480
67225//
67226//    * 0.360
67227//
67228//    * 0.240
67229//
67230//    * 0.120
67231//
67232//    * 0.072
67233//
67234//    * 0.060
67235//
67236//    * 0.048
67237//
67238//    * 0.036
67239//
67240//    * 0.024
67241//
67242//    * 0.012
67243type PublicWorkforceTaskPrice struct {
67244	_ struct{} `type:"structure"`
67245
67246	// Defines the amount of money paid to an Amazon Mechanical Turk worker in United
67247	// States dollars.
67248	AmountInUsd *USD `type:"structure"`
67249}
67250
67251// String returns the string representation
67252func (s PublicWorkforceTaskPrice) String() string {
67253	return awsutil.Prettify(s)
67254}
67255
67256// GoString returns the string representation
67257func (s PublicWorkforceTaskPrice) GoString() string {
67258	return s.String()
67259}
67260
67261// SetAmountInUsd sets the AmountInUsd field's value.
67262func (s *PublicWorkforceTaskPrice) SetAmountInUsd(v *USD) *PublicWorkforceTaskPrice {
67263	s.AmountInUsd = v
67264	return s
67265}
67266
67267type PutModelPackageGroupPolicyInput struct {
67268	_ struct{} `type:"structure"`
67269
67270	// The name of the model group to add a resource policy to.
67271	//
67272	// ModelPackageGroupName is a required field
67273	ModelPackageGroupName *string `min:"1" type:"string" required:"true"`
67274
67275	// The resource policy for the model group.
67276	//
67277	// ResourcePolicy is a required field
67278	ResourcePolicy *string `min:"1" type:"string" required:"true"`
67279}
67280
67281// String returns the string representation
67282func (s PutModelPackageGroupPolicyInput) String() string {
67283	return awsutil.Prettify(s)
67284}
67285
67286// GoString returns the string representation
67287func (s PutModelPackageGroupPolicyInput) GoString() string {
67288	return s.String()
67289}
67290
67291// Validate inspects the fields of the type to determine if they are valid.
67292func (s *PutModelPackageGroupPolicyInput) Validate() error {
67293	invalidParams := request.ErrInvalidParams{Context: "PutModelPackageGroupPolicyInput"}
67294	if s.ModelPackageGroupName == nil {
67295		invalidParams.Add(request.NewErrParamRequired("ModelPackageGroupName"))
67296	}
67297	if s.ModelPackageGroupName != nil && len(*s.ModelPackageGroupName) < 1 {
67298		invalidParams.Add(request.NewErrParamMinLen("ModelPackageGroupName", 1))
67299	}
67300	if s.ResourcePolicy == nil {
67301		invalidParams.Add(request.NewErrParamRequired("ResourcePolicy"))
67302	}
67303	if s.ResourcePolicy != nil && len(*s.ResourcePolicy) < 1 {
67304		invalidParams.Add(request.NewErrParamMinLen("ResourcePolicy", 1))
67305	}
67306
67307	if invalidParams.Len() > 0 {
67308		return invalidParams
67309	}
67310	return nil
67311}
67312
67313// SetModelPackageGroupName sets the ModelPackageGroupName field's value.
67314func (s *PutModelPackageGroupPolicyInput) SetModelPackageGroupName(v string) *PutModelPackageGroupPolicyInput {
67315	s.ModelPackageGroupName = &v
67316	return s
67317}
67318
67319// SetResourcePolicy sets the ResourcePolicy field's value.
67320func (s *PutModelPackageGroupPolicyInput) SetResourcePolicy(v string) *PutModelPackageGroupPolicyInput {
67321	s.ResourcePolicy = &v
67322	return s
67323}
67324
67325type PutModelPackageGroupPolicyOutput struct {
67326	_ struct{} `type:"structure"`
67327
67328	// The Amazon Resource Name (ARN) of the model package group.
67329	//
67330	// ModelPackageGroupArn is a required field
67331	ModelPackageGroupArn *string `min:"1" type:"string" required:"true"`
67332}
67333
67334// String returns the string representation
67335func (s PutModelPackageGroupPolicyOutput) String() string {
67336	return awsutil.Prettify(s)
67337}
67338
67339// GoString returns the string representation
67340func (s PutModelPackageGroupPolicyOutput) GoString() string {
67341	return s.String()
67342}
67343
67344// SetModelPackageGroupArn sets the ModelPackageGroupArn field's value.
67345func (s *PutModelPackageGroupPolicyOutput) SetModelPackageGroupArn(v string) *PutModelPackageGroupPolicyOutput {
67346	s.ModelPackageGroupArn = &v
67347	return s
67348}
67349
67350// Configuration for Redshift Dataset Definition input.
67351type RedshiftDatasetDefinition struct {
67352	_ struct{} `type:"structure"`
67353
67354	// The Redshift cluster Identifier.
67355	//
67356	// ClusterId is a required field
67357	ClusterId *string `min:"1" type:"string" required:"true"`
67358
67359	// The IAM role attached to your Redshift cluster that Amazon SageMaker uses
67360	// to generate datasets.
67361	//
67362	// ClusterRoleArn is a required field
67363	ClusterRoleArn *string `min:"20" type:"string" required:"true"`
67364
67365	// The name of the Redshift database used in Redshift query execution.
67366	//
67367	// Database is a required field
67368	Database *string `min:"1" type:"string" required:"true"`
67369
67370	// The database user name used in Redshift query execution.
67371	//
67372	// DbUser is a required field
67373	DbUser *string `min:"1" type:"string" required:"true"`
67374
67375	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
67376	// encrypt data from a Redshift execution.
67377	KmsKeyId *string `type:"string"`
67378
67379	// The compression used for Redshift query results.
67380	OutputCompression *string `type:"string" enum:"RedshiftResultCompressionType"`
67381
67382	// The data storage format for Redshift query results.
67383	//
67384	// OutputFormat is a required field
67385	OutputFormat *string `type:"string" required:"true" enum:"RedshiftResultFormat"`
67386
67387	// The location in Amazon S3 where the Redshift query results are stored.
67388	//
67389	// OutputS3Uri is a required field
67390	OutputS3Uri *string `type:"string" required:"true"`
67391
67392	// The SQL query statements to be executed.
67393	//
67394	// QueryString is a required field
67395	QueryString *string `min:"1" type:"string" required:"true"`
67396}
67397
67398// String returns the string representation
67399func (s RedshiftDatasetDefinition) String() string {
67400	return awsutil.Prettify(s)
67401}
67402
67403// GoString returns the string representation
67404func (s RedshiftDatasetDefinition) GoString() string {
67405	return s.String()
67406}
67407
67408// Validate inspects the fields of the type to determine if they are valid.
67409func (s *RedshiftDatasetDefinition) Validate() error {
67410	invalidParams := request.ErrInvalidParams{Context: "RedshiftDatasetDefinition"}
67411	if s.ClusterId == nil {
67412		invalidParams.Add(request.NewErrParamRequired("ClusterId"))
67413	}
67414	if s.ClusterId != nil && len(*s.ClusterId) < 1 {
67415		invalidParams.Add(request.NewErrParamMinLen("ClusterId", 1))
67416	}
67417	if s.ClusterRoleArn == nil {
67418		invalidParams.Add(request.NewErrParamRequired("ClusterRoleArn"))
67419	}
67420	if s.ClusterRoleArn != nil && len(*s.ClusterRoleArn) < 20 {
67421		invalidParams.Add(request.NewErrParamMinLen("ClusterRoleArn", 20))
67422	}
67423	if s.Database == nil {
67424		invalidParams.Add(request.NewErrParamRequired("Database"))
67425	}
67426	if s.Database != nil && len(*s.Database) < 1 {
67427		invalidParams.Add(request.NewErrParamMinLen("Database", 1))
67428	}
67429	if s.DbUser == nil {
67430		invalidParams.Add(request.NewErrParamRequired("DbUser"))
67431	}
67432	if s.DbUser != nil && len(*s.DbUser) < 1 {
67433		invalidParams.Add(request.NewErrParamMinLen("DbUser", 1))
67434	}
67435	if s.OutputFormat == nil {
67436		invalidParams.Add(request.NewErrParamRequired("OutputFormat"))
67437	}
67438	if s.OutputS3Uri == nil {
67439		invalidParams.Add(request.NewErrParamRequired("OutputS3Uri"))
67440	}
67441	if s.QueryString == nil {
67442		invalidParams.Add(request.NewErrParamRequired("QueryString"))
67443	}
67444	if s.QueryString != nil && len(*s.QueryString) < 1 {
67445		invalidParams.Add(request.NewErrParamMinLen("QueryString", 1))
67446	}
67447
67448	if invalidParams.Len() > 0 {
67449		return invalidParams
67450	}
67451	return nil
67452}
67453
67454// SetClusterId sets the ClusterId field's value.
67455func (s *RedshiftDatasetDefinition) SetClusterId(v string) *RedshiftDatasetDefinition {
67456	s.ClusterId = &v
67457	return s
67458}
67459
67460// SetClusterRoleArn sets the ClusterRoleArn field's value.
67461func (s *RedshiftDatasetDefinition) SetClusterRoleArn(v string) *RedshiftDatasetDefinition {
67462	s.ClusterRoleArn = &v
67463	return s
67464}
67465
67466// SetDatabase sets the Database field's value.
67467func (s *RedshiftDatasetDefinition) SetDatabase(v string) *RedshiftDatasetDefinition {
67468	s.Database = &v
67469	return s
67470}
67471
67472// SetDbUser sets the DbUser field's value.
67473func (s *RedshiftDatasetDefinition) SetDbUser(v string) *RedshiftDatasetDefinition {
67474	s.DbUser = &v
67475	return s
67476}
67477
67478// SetKmsKeyId sets the KmsKeyId field's value.
67479func (s *RedshiftDatasetDefinition) SetKmsKeyId(v string) *RedshiftDatasetDefinition {
67480	s.KmsKeyId = &v
67481	return s
67482}
67483
67484// SetOutputCompression sets the OutputCompression field's value.
67485func (s *RedshiftDatasetDefinition) SetOutputCompression(v string) *RedshiftDatasetDefinition {
67486	s.OutputCompression = &v
67487	return s
67488}
67489
67490// SetOutputFormat sets the OutputFormat field's value.
67491func (s *RedshiftDatasetDefinition) SetOutputFormat(v string) *RedshiftDatasetDefinition {
67492	s.OutputFormat = &v
67493	return s
67494}
67495
67496// SetOutputS3Uri sets the OutputS3Uri field's value.
67497func (s *RedshiftDatasetDefinition) SetOutputS3Uri(v string) *RedshiftDatasetDefinition {
67498	s.OutputS3Uri = &v
67499	return s
67500}
67501
67502// SetQueryString sets the QueryString field's value.
67503func (s *RedshiftDatasetDefinition) SetQueryString(v string) *RedshiftDatasetDefinition {
67504	s.QueryString = &v
67505	return s
67506}
67507
67508type RegisterDevicesInput struct {
67509	_ struct{} `type:"structure"`
67510
67511	// The name of the fleet.
67512	//
67513	// DeviceFleetName is a required field
67514	DeviceFleetName *string `min:"1" type:"string" required:"true"`
67515
67516	// A list of devices to register with SageMaker Edge Manager.
67517	//
67518	// Devices is a required field
67519	Devices []*Device `type:"list" required:"true"`
67520
67521	// The tags associated with devices.
67522	Tags []*Tag `type:"list"`
67523}
67524
67525// String returns the string representation
67526func (s RegisterDevicesInput) String() string {
67527	return awsutil.Prettify(s)
67528}
67529
67530// GoString returns the string representation
67531func (s RegisterDevicesInput) GoString() string {
67532	return s.String()
67533}
67534
67535// Validate inspects the fields of the type to determine if they are valid.
67536func (s *RegisterDevicesInput) Validate() error {
67537	invalidParams := request.ErrInvalidParams{Context: "RegisterDevicesInput"}
67538	if s.DeviceFleetName == nil {
67539		invalidParams.Add(request.NewErrParamRequired("DeviceFleetName"))
67540	}
67541	if s.DeviceFleetName != nil && len(*s.DeviceFleetName) < 1 {
67542		invalidParams.Add(request.NewErrParamMinLen("DeviceFleetName", 1))
67543	}
67544	if s.Devices == nil {
67545		invalidParams.Add(request.NewErrParamRequired("Devices"))
67546	}
67547	if s.Devices != nil {
67548		for i, v := range s.Devices {
67549			if v == nil {
67550				continue
67551			}
67552			if err := v.Validate(); err != nil {
67553				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Devices", i), err.(request.ErrInvalidParams))
67554			}
67555		}
67556	}
67557	if s.Tags != nil {
67558		for i, v := range s.Tags {
67559			if v == nil {
67560				continue
67561			}
67562			if err := v.Validate(); err != nil {
67563				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
67564			}
67565		}
67566	}
67567
67568	if invalidParams.Len() > 0 {
67569		return invalidParams
67570	}
67571	return nil
67572}
67573
67574// SetDeviceFleetName sets the DeviceFleetName field's value.
67575func (s *RegisterDevicesInput) SetDeviceFleetName(v string) *RegisterDevicesInput {
67576	s.DeviceFleetName = &v
67577	return s
67578}
67579
67580// SetDevices sets the Devices field's value.
67581func (s *RegisterDevicesInput) SetDevices(v []*Device) *RegisterDevicesInput {
67582	s.Devices = v
67583	return s
67584}
67585
67586// SetTags sets the Tags field's value.
67587func (s *RegisterDevicesInput) SetTags(v []*Tag) *RegisterDevicesInput {
67588	s.Tags = v
67589	return s
67590}
67591
67592type RegisterDevicesOutput struct {
67593	_ struct{} `type:"structure"`
67594}
67595
67596// String returns the string representation
67597func (s RegisterDevicesOutput) String() string {
67598	return awsutil.Prettify(s)
67599}
67600
67601// GoString returns the string representation
67602func (s RegisterDevicesOutput) GoString() string {
67603	return s.String()
67604}
67605
67606// Metadata for a register model job step.
67607type RegisterModelStepMetadata struct {
67608	_ struct{} `type:"structure"`
67609
67610	// The Amazon Resource Name (ARN) of the model package.
67611	Arn *string `type:"string"`
67612}
67613
67614// String returns the string representation
67615func (s RegisterModelStepMetadata) String() string {
67616	return awsutil.Prettify(s)
67617}
67618
67619// GoString returns the string representation
67620func (s RegisterModelStepMetadata) GoString() string {
67621	return s.String()
67622}
67623
67624// SetArn sets the Arn field's value.
67625func (s *RegisterModelStepMetadata) SetArn(v string) *RegisterModelStepMetadata {
67626	s.Arn = &v
67627	return s
67628}
67629
67630type RenderUiTemplateInput struct {
67631	_ struct{} `type:"structure"`
67632
67633	// The HumanTaskUiArn of the worker UI that you want to render. Do not provide
67634	// a HumanTaskUiArn if you use the UiTemplate parameter.
67635	//
67636	// See a list of available Human Ui Amazon Resource Names (ARNs) in UiConfig.
67637	HumanTaskUiArn *string `type:"string"`
67638
67639	// The Amazon Resource Name (ARN) that has access to the S3 objects that are
67640	// used by the template.
67641	//
67642	// RoleArn is a required field
67643	RoleArn *string `min:"20" type:"string" required:"true"`
67644
67645	// A RenderableTask object containing a representative task to render.
67646	//
67647	// Task is a required field
67648	Task *RenderableTask `type:"structure" required:"true"`
67649
67650	// A Template object containing the worker UI template to render.
67651	UiTemplate *UiTemplate `type:"structure"`
67652}
67653
67654// String returns the string representation
67655func (s RenderUiTemplateInput) String() string {
67656	return awsutil.Prettify(s)
67657}
67658
67659// GoString returns the string representation
67660func (s RenderUiTemplateInput) GoString() string {
67661	return s.String()
67662}
67663
67664// Validate inspects the fields of the type to determine if they are valid.
67665func (s *RenderUiTemplateInput) Validate() error {
67666	invalidParams := request.ErrInvalidParams{Context: "RenderUiTemplateInput"}
67667	if s.RoleArn == nil {
67668		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
67669	}
67670	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
67671		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
67672	}
67673	if s.Task == nil {
67674		invalidParams.Add(request.NewErrParamRequired("Task"))
67675	}
67676	if s.Task != nil {
67677		if err := s.Task.Validate(); err != nil {
67678			invalidParams.AddNested("Task", err.(request.ErrInvalidParams))
67679		}
67680	}
67681	if s.UiTemplate != nil {
67682		if err := s.UiTemplate.Validate(); err != nil {
67683			invalidParams.AddNested("UiTemplate", err.(request.ErrInvalidParams))
67684		}
67685	}
67686
67687	if invalidParams.Len() > 0 {
67688		return invalidParams
67689	}
67690	return nil
67691}
67692
67693// SetHumanTaskUiArn sets the HumanTaskUiArn field's value.
67694func (s *RenderUiTemplateInput) SetHumanTaskUiArn(v string) *RenderUiTemplateInput {
67695	s.HumanTaskUiArn = &v
67696	return s
67697}
67698
67699// SetRoleArn sets the RoleArn field's value.
67700func (s *RenderUiTemplateInput) SetRoleArn(v string) *RenderUiTemplateInput {
67701	s.RoleArn = &v
67702	return s
67703}
67704
67705// SetTask sets the Task field's value.
67706func (s *RenderUiTemplateInput) SetTask(v *RenderableTask) *RenderUiTemplateInput {
67707	s.Task = v
67708	return s
67709}
67710
67711// SetUiTemplate sets the UiTemplate field's value.
67712func (s *RenderUiTemplateInput) SetUiTemplate(v *UiTemplate) *RenderUiTemplateInput {
67713	s.UiTemplate = v
67714	return s
67715}
67716
67717type RenderUiTemplateOutput struct {
67718	_ struct{} `type:"structure"`
67719
67720	// A list of one or more RenderingError objects if any were encountered while
67721	// rendering the template. If there were no errors, the list is empty.
67722	//
67723	// Errors is a required field
67724	Errors []*RenderingError `type:"list" required:"true"`
67725
67726	// A Liquid template that renders the HTML for the worker UI.
67727	//
67728	// RenderedContent is a required field
67729	RenderedContent *string `type:"string" required:"true"`
67730}
67731
67732// String returns the string representation
67733func (s RenderUiTemplateOutput) String() string {
67734	return awsutil.Prettify(s)
67735}
67736
67737// GoString returns the string representation
67738func (s RenderUiTemplateOutput) GoString() string {
67739	return s.String()
67740}
67741
67742// SetErrors sets the Errors field's value.
67743func (s *RenderUiTemplateOutput) SetErrors(v []*RenderingError) *RenderUiTemplateOutput {
67744	s.Errors = v
67745	return s
67746}
67747
67748// SetRenderedContent sets the RenderedContent field's value.
67749func (s *RenderUiTemplateOutput) SetRenderedContent(v string) *RenderUiTemplateOutput {
67750	s.RenderedContent = &v
67751	return s
67752}
67753
67754// Contains input values for a task.
67755type RenderableTask struct {
67756	_ struct{} `type:"structure"`
67757
67758	// A JSON object that contains values for the variables defined in the template.
67759	// It is made available to the template under the substitution variable task.input.
67760	// For example, if you define a variable task.input.text in your template, you
67761	// can supply the variable in the JSON object as "text": "sample text".
67762	//
67763	// Input is a required field
67764	Input *string `min:"2" type:"string" required:"true"`
67765}
67766
67767// String returns the string representation
67768func (s RenderableTask) String() string {
67769	return awsutil.Prettify(s)
67770}
67771
67772// GoString returns the string representation
67773func (s RenderableTask) GoString() string {
67774	return s.String()
67775}
67776
67777// Validate inspects the fields of the type to determine if they are valid.
67778func (s *RenderableTask) Validate() error {
67779	invalidParams := request.ErrInvalidParams{Context: "RenderableTask"}
67780	if s.Input == nil {
67781		invalidParams.Add(request.NewErrParamRequired("Input"))
67782	}
67783	if s.Input != nil && len(*s.Input) < 2 {
67784		invalidParams.Add(request.NewErrParamMinLen("Input", 2))
67785	}
67786
67787	if invalidParams.Len() > 0 {
67788		return invalidParams
67789	}
67790	return nil
67791}
67792
67793// SetInput sets the Input field's value.
67794func (s *RenderableTask) SetInput(v string) *RenderableTask {
67795	s.Input = &v
67796	return s
67797}
67798
67799// A description of an error that occurred while rendering the template.
67800type RenderingError struct {
67801	_ struct{} `type:"structure"`
67802
67803	// A unique identifier for a specific class of errors.
67804	//
67805	// Code is a required field
67806	Code *string `type:"string" required:"true"`
67807
67808	// A human-readable message describing the error.
67809	//
67810	// Message is a required field
67811	Message *string `type:"string" required:"true"`
67812}
67813
67814// String returns the string representation
67815func (s RenderingError) String() string {
67816	return awsutil.Prettify(s)
67817}
67818
67819// GoString returns the string representation
67820func (s RenderingError) GoString() string {
67821	return s.String()
67822}
67823
67824// SetCode sets the Code field's value.
67825func (s *RenderingError) SetCode(v string) *RenderingError {
67826	s.Code = &v
67827	return s
67828}
67829
67830// SetMessage sets the Message field's value.
67831func (s *RenderingError) SetMessage(v string) *RenderingError {
67832	s.Message = &v
67833	return s
67834}
67835
67836// The resolved attributes.
67837type ResolvedAttributes struct {
67838	_ struct{} `type:"structure"`
67839
67840	// Specifies a metric to minimize or maximize as the objective of a job.
67841	AutoMLJobObjective *AutoMLJobObjective `type:"structure"`
67842
67843	// How long a job is allowed to run, or how many candidates a job is allowed
67844	// to generate.
67845	CompletionCriteria *AutoMLJobCompletionCriteria `type:"structure"`
67846
67847	// The problem type.
67848	ProblemType *string `type:"string" enum:"ProblemType"`
67849}
67850
67851// String returns the string representation
67852func (s ResolvedAttributes) String() string {
67853	return awsutil.Prettify(s)
67854}
67855
67856// GoString returns the string representation
67857func (s ResolvedAttributes) GoString() string {
67858	return s.String()
67859}
67860
67861// SetAutoMLJobObjective sets the AutoMLJobObjective field's value.
67862func (s *ResolvedAttributes) SetAutoMLJobObjective(v *AutoMLJobObjective) *ResolvedAttributes {
67863	s.AutoMLJobObjective = v
67864	return s
67865}
67866
67867// SetCompletionCriteria sets the CompletionCriteria field's value.
67868func (s *ResolvedAttributes) SetCompletionCriteria(v *AutoMLJobCompletionCriteria) *ResolvedAttributes {
67869	s.CompletionCriteria = v
67870	return s
67871}
67872
67873// SetProblemType sets the ProblemType field's value.
67874func (s *ResolvedAttributes) SetProblemType(v string) *ResolvedAttributes {
67875	s.ProblemType = &v
67876	return s
67877}
67878
67879// Describes the resources, including ML compute instances and ML storage volumes,
67880// to use for model training.
67881type ResourceConfig struct {
67882	_ struct{} `type:"structure"`
67883
67884	// The number of ML compute instances to use. For distributed training, provide
67885	// a value greater than 1.
67886	//
67887	// InstanceCount is a required field
67888	InstanceCount *int64 `min:"1" type:"integer" required:"true"`
67889
67890	// The ML compute instance type.
67891	//
67892	// InstanceType is a required field
67893	InstanceType *string `type:"string" required:"true" enum:"TrainingInstanceType"`
67894
67895	// The AWS KMS key that Amazon SageMaker uses to encrypt data on the storage
67896	// volume attached to the ML compute instance(s) that run the training job.
67897	//
67898	// Certain Nitro-based instances include local storage, dependent on the instance
67899	// type. Local storage volumes are encrypted using a hardware module on the
67900	// instance. You can't request a VolumeKmsKeyId when using an instance type
67901	// with local storage.
67902	//
67903	// For a list of instance types that support local instance storage, see Instance
67904	// Store Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#instance-store-volumes).
67905	//
67906	// For more information about local instance storage encryption, see SSD Instance
67907	// Store Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ssd-instance-store.html).
67908	//
67909	// The VolumeKmsKeyId can be in any of the following formats:
67910	//
67911	//    * // KMS Key ID "1234abcd-12ab-34cd-56ef-1234567890ab"
67912	//
67913	//    * // Amazon Resource Name (ARN) of a KMS Key "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
67914	VolumeKmsKeyId *string `type:"string"`
67915
67916	// The size of the ML storage volume that you want to provision.
67917	//
67918	// ML storage volumes store model artifacts and incremental states. Training
67919	// algorithms might also use the ML storage volume for scratch space. If you
67920	// want to store the training data in the ML storage volume, choose File as
67921	// the TrainingInputMode in the algorithm specification.
67922	//
67923	// You must specify sufficient ML storage for your scenario.
67924	//
67925	// Amazon SageMaker supports only the General Purpose SSD (gp2) ML storage volume
67926	// type.
67927	//
67928	// Certain Nitro-based instances include local storage with a fixed total size,
67929	// dependent on the instance type. When using these instances for training,
67930	// Amazon SageMaker mounts the local instance storage instead of Amazon EBS
67931	// gp2 storage. You can't request a VolumeSizeInGB greater than the total size
67932	// of the local instance storage.
67933	//
67934	// For a list of instance types that support local instance storage, including
67935	// the total size per instance type, see Instance Store Volumes (https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html#instance-store-volumes).
67936	//
67937	// VolumeSizeInGB is a required field
67938	VolumeSizeInGB *int64 `min:"1" type:"integer" required:"true"`
67939}
67940
67941// String returns the string representation
67942func (s ResourceConfig) String() string {
67943	return awsutil.Prettify(s)
67944}
67945
67946// GoString returns the string representation
67947func (s ResourceConfig) GoString() string {
67948	return s.String()
67949}
67950
67951// Validate inspects the fields of the type to determine if they are valid.
67952func (s *ResourceConfig) Validate() error {
67953	invalidParams := request.ErrInvalidParams{Context: "ResourceConfig"}
67954	if s.InstanceCount == nil {
67955		invalidParams.Add(request.NewErrParamRequired("InstanceCount"))
67956	}
67957	if s.InstanceCount != nil && *s.InstanceCount < 1 {
67958		invalidParams.Add(request.NewErrParamMinValue("InstanceCount", 1))
67959	}
67960	if s.InstanceType == nil {
67961		invalidParams.Add(request.NewErrParamRequired("InstanceType"))
67962	}
67963	if s.VolumeSizeInGB == nil {
67964		invalidParams.Add(request.NewErrParamRequired("VolumeSizeInGB"))
67965	}
67966	if s.VolumeSizeInGB != nil && *s.VolumeSizeInGB < 1 {
67967		invalidParams.Add(request.NewErrParamMinValue("VolumeSizeInGB", 1))
67968	}
67969
67970	if invalidParams.Len() > 0 {
67971		return invalidParams
67972	}
67973	return nil
67974}
67975
67976// SetInstanceCount sets the InstanceCount field's value.
67977func (s *ResourceConfig) SetInstanceCount(v int64) *ResourceConfig {
67978	s.InstanceCount = &v
67979	return s
67980}
67981
67982// SetInstanceType sets the InstanceType field's value.
67983func (s *ResourceConfig) SetInstanceType(v string) *ResourceConfig {
67984	s.InstanceType = &v
67985	return s
67986}
67987
67988// SetVolumeKmsKeyId sets the VolumeKmsKeyId field's value.
67989func (s *ResourceConfig) SetVolumeKmsKeyId(v string) *ResourceConfig {
67990	s.VolumeKmsKeyId = &v
67991	return s
67992}
67993
67994// SetVolumeSizeInGB sets the VolumeSizeInGB field's value.
67995func (s *ResourceConfig) SetVolumeSizeInGB(v int64) *ResourceConfig {
67996	s.VolumeSizeInGB = &v
67997	return s
67998}
67999
68000// Resource being accessed is in use.
68001type ResourceInUse struct {
68002	_            struct{}                  `type:"structure"`
68003	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
68004
68005	Message_ *string `locationName:"Message" type:"string"`
68006}
68007
68008// String returns the string representation
68009func (s ResourceInUse) String() string {
68010	return awsutil.Prettify(s)
68011}
68012
68013// GoString returns the string representation
68014func (s ResourceInUse) GoString() string {
68015	return s.String()
68016}
68017
68018func newErrorResourceInUse(v protocol.ResponseMetadata) error {
68019	return &ResourceInUse{
68020		RespMetadata: v,
68021	}
68022}
68023
68024// Code returns the exception type name.
68025func (s *ResourceInUse) Code() string {
68026	return "ResourceInUse"
68027}
68028
68029// Message returns the exception's message.
68030func (s *ResourceInUse) Message() string {
68031	if s.Message_ != nil {
68032		return *s.Message_
68033	}
68034	return ""
68035}
68036
68037// OrigErr always returns nil, satisfies awserr.Error interface.
68038func (s *ResourceInUse) OrigErr() error {
68039	return nil
68040}
68041
68042func (s *ResourceInUse) Error() string {
68043	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
68044}
68045
68046// Status code returns the HTTP status code for the request's response error.
68047func (s *ResourceInUse) StatusCode() int {
68048	return s.RespMetadata.StatusCode
68049}
68050
68051// RequestID returns the service's response RequestID for request.
68052func (s *ResourceInUse) RequestID() string {
68053	return s.RespMetadata.RequestID
68054}
68055
68056// You have exceeded an Amazon SageMaker resource limit. For example, you might
68057// have too many training jobs created.
68058type ResourceLimitExceeded struct {
68059	_            struct{}                  `type:"structure"`
68060	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
68061
68062	Message_ *string `locationName:"Message" type:"string"`
68063}
68064
68065// String returns the string representation
68066func (s ResourceLimitExceeded) String() string {
68067	return awsutil.Prettify(s)
68068}
68069
68070// GoString returns the string representation
68071func (s ResourceLimitExceeded) GoString() string {
68072	return s.String()
68073}
68074
68075func newErrorResourceLimitExceeded(v protocol.ResponseMetadata) error {
68076	return &ResourceLimitExceeded{
68077		RespMetadata: v,
68078	}
68079}
68080
68081// Code returns the exception type name.
68082func (s *ResourceLimitExceeded) Code() string {
68083	return "ResourceLimitExceeded"
68084}
68085
68086// Message returns the exception's message.
68087func (s *ResourceLimitExceeded) Message() string {
68088	if s.Message_ != nil {
68089		return *s.Message_
68090	}
68091	return ""
68092}
68093
68094// OrigErr always returns nil, satisfies awserr.Error interface.
68095func (s *ResourceLimitExceeded) OrigErr() error {
68096	return nil
68097}
68098
68099func (s *ResourceLimitExceeded) Error() string {
68100	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
68101}
68102
68103// Status code returns the HTTP status code for the request's response error.
68104func (s *ResourceLimitExceeded) StatusCode() int {
68105	return s.RespMetadata.StatusCode
68106}
68107
68108// RequestID returns the service's response RequestID for request.
68109func (s *ResourceLimitExceeded) RequestID() string {
68110	return s.RespMetadata.RequestID
68111}
68112
68113// Specifies the maximum number of training jobs and parallel training jobs
68114// that a hyperparameter tuning job can launch.
68115type ResourceLimits struct {
68116	_ struct{} `type:"structure"`
68117
68118	// The maximum number of training jobs that a hyperparameter tuning job can
68119	// launch.
68120	//
68121	// MaxNumberOfTrainingJobs is a required field
68122	MaxNumberOfTrainingJobs *int64 `min:"1" type:"integer" required:"true"`
68123
68124	// The maximum number of concurrent training jobs that a hyperparameter tuning
68125	// job can launch.
68126	//
68127	// MaxParallelTrainingJobs is a required field
68128	MaxParallelTrainingJobs *int64 `min:"1" type:"integer" required:"true"`
68129}
68130
68131// String returns the string representation
68132func (s ResourceLimits) String() string {
68133	return awsutil.Prettify(s)
68134}
68135
68136// GoString returns the string representation
68137func (s ResourceLimits) GoString() string {
68138	return s.String()
68139}
68140
68141// Validate inspects the fields of the type to determine if they are valid.
68142func (s *ResourceLimits) Validate() error {
68143	invalidParams := request.ErrInvalidParams{Context: "ResourceLimits"}
68144	if s.MaxNumberOfTrainingJobs == nil {
68145		invalidParams.Add(request.NewErrParamRequired("MaxNumberOfTrainingJobs"))
68146	}
68147	if s.MaxNumberOfTrainingJobs != nil && *s.MaxNumberOfTrainingJobs < 1 {
68148		invalidParams.Add(request.NewErrParamMinValue("MaxNumberOfTrainingJobs", 1))
68149	}
68150	if s.MaxParallelTrainingJobs == nil {
68151		invalidParams.Add(request.NewErrParamRequired("MaxParallelTrainingJobs"))
68152	}
68153	if s.MaxParallelTrainingJobs != nil && *s.MaxParallelTrainingJobs < 1 {
68154		invalidParams.Add(request.NewErrParamMinValue("MaxParallelTrainingJobs", 1))
68155	}
68156
68157	if invalidParams.Len() > 0 {
68158		return invalidParams
68159	}
68160	return nil
68161}
68162
68163// SetMaxNumberOfTrainingJobs sets the MaxNumberOfTrainingJobs field's value.
68164func (s *ResourceLimits) SetMaxNumberOfTrainingJobs(v int64) *ResourceLimits {
68165	s.MaxNumberOfTrainingJobs = &v
68166	return s
68167}
68168
68169// SetMaxParallelTrainingJobs sets the MaxParallelTrainingJobs field's value.
68170func (s *ResourceLimits) SetMaxParallelTrainingJobs(v int64) *ResourceLimits {
68171	s.MaxParallelTrainingJobs = &v
68172	return s
68173}
68174
68175// Resource being access is not found.
68176type ResourceNotFound struct {
68177	_            struct{}                  `type:"structure"`
68178	RespMetadata protocol.ResponseMetadata `json:"-" xml:"-"`
68179
68180	Message_ *string `locationName:"Message" type:"string"`
68181}
68182
68183// String returns the string representation
68184func (s ResourceNotFound) String() string {
68185	return awsutil.Prettify(s)
68186}
68187
68188// GoString returns the string representation
68189func (s ResourceNotFound) GoString() string {
68190	return s.String()
68191}
68192
68193func newErrorResourceNotFound(v protocol.ResponseMetadata) error {
68194	return &ResourceNotFound{
68195		RespMetadata: v,
68196	}
68197}
68198
68199// Code returns the exception type name.
68200func (s *ResourceNotFound) Code() string {
68201	return "ResourceNotFound"
68202}
68203
68204// Message returns the exception's message.
68205func (s *ResourceNotFound) Message() string {
68206	if s.Message_ != nil {
68207		return *s.Message_
68208	}
68209	return ""
68210}
68211
68212// OrigErr always returns nil, satisfies awserr.Error interface.
68213func (s *ResourceNotFound) OrigErr() error {
68214	return nil
68215}
68216
68217func (s *ResourceNotFound) Error() string {
68218	return fmt.Sprintf("%s: %s", s.Code(), s.Message())
68219}
68220
68221// Status code returns the HTTP status code for the request's response error.
68222func (s *ResourceNotFound) StatusCode() int {
68223	return s.RespMetadata.StatusCode
68224}
68225
68226// RequestID returns the service's response RequestID for request.
68227func (s *ResourceNotFound) RequestID() string {
68228	return s.RespMetadata.RequestID
68229}
68230
68231// Specifies the ARN's of a SageMaker image and SageMaker image version, and
68232// the instance type that the version runs on.
68233type ResourceSpec struct {
68234	_ struct{} `type:"structure"`
68235
68236	// The instance type that the image version runs on.
68237	InstanceType *string `type:"string" enum:"AppInstanceType"`
68238
68239	// The ARN of the SageMaker image that the image version belongs to.
68240	SageMakerImageArn *string `type:"string"`
68241
68242	// The ARN of the image version created on the instance.
68243	SageMakerImageVersionArn *string `type:"string"`
68244}
68245
68246// String returns the string representation
68247func (s ResourceSpec) String() string {
68248	return awsutil.Prettify(s)
68249}
68250
68251// GoString returns the string representation
68252func (s ResourceSpec) GoString() string {
68253	return s.String()
68254}
68255
68256// SetInstanceType sets the InstanceType field's value.
68257func (s *ResourceSpec) SetInstanceType(v string) *ResourceSpec {
68258	s.InstanceType = &v
68259	return s
68260}
68261
68262// SetSageMakerImageArn sets the SageMakerImageArn field's value.
68263func (s *ResourceSpec) SetSageMakerImageArn(v string) *ResourceSpec {
68264	s.SageMakerImageArn = &v
68265	return s
68266}
68267
68268// SetSageMakerImageVersionArn sets the SageMakerImageVersionArn field's value.
68269func (s *ResourceSpec) SetSageMakerImageVersionArn(v string) *ResourceSpec {
68270	s.SageMakerImageVersionArn = &v
68271	return s
68272}
68273
68274// The retention policy for data stored on an Amazon Elastic File System (EFS)
68275// volume.
68276type RetentionPolicy struct {
68277	_ struct{} `type:"structure"`
68278
68279	// The default is Retain, which specifies to keep the data stored on the EFS
68280	// volume.
68281	//
68282	// Specify Delete to delete the data stored on the EFS volume.
68283	HomeEfsFileSystem *string `type:"string" enum:"RetentionType"`
68284}
68285
68286// String returns the string representation
68287func (s RetentionPolicy) String() string {
68288	return awsutil.Prettify(s)
68289}
68290
68291// GoString returns the string representation
68292func (s RetentionPolicy) GoString() string {
68293	return s.String()
68294}
68295
68296// SetHomeEfsFileSystem sets the HomeEfsFileSystem field's value.
68297func (s *RetentionPolicy) SetHomeEfsFileSystem(v string) *RetentionPolicy {
68298	s.HomeEfsFileSystem = &v
68299	return s
68300}
68301
68302// Describes the S3 data source.
68303type S3DataSource struct {
68304	_ struct{} `type:"structure"`
68305
68306	// A list of one or more attribute names to use that are found in a specified
68307	// augmented manifest file.
68308	AttributeNames []*string `type:"list"`
68309
68310	// If you want Amazon SageMaker to replicate the entire dataset on each ML compute
68311	// instance that is launched for model training, specify FullyReplicated.
68312	//
68313	// If you want Amazon SageMaker to replicate a subset of data on each ML compute
68314	// instance that is launched for model training, specify ShardedByS3Key. If
68315	// there are n ML compute instances launched for a training job, each instance
68316	// gets approximately 1/n of the number of S3 objects. In this case, model training
68317	// on each machine uses only the subset of training data.
68318	//
68319	// Don't choose more ML compute instances for training than available S3 objects.
68320	// If you do, some nodes won't get any data and you will pay for nodes that
68321	// aren't getting any training data. This applies in both File and Pipe modes.
68322	// Keep this in mind when developing algorithms.
68323	//
68324	// In distributed training, where you use multiple ML compute EC2 instances,
68325	// you might choose ShardedByS3Key. If the algorithm requires copying training
68326	// data to the ML storage volume (when TrainingInputMode is set to File), this
68327	// copies 1/n of the number of objects.
68328	S3DataDistributionType *string `type:"string" enum:"S3DataDistribution"`
68329
68330	// If you choose S3Prefix, S3Uri identifies a key name prefix. Amazon SageMaker
68331	// uses all objects that match the specified key name prefix for model training.
68332	//
68333	// If you choose ManifestFile, S3Uri identifies an object that is a manifest
68334	// file containing a list of object keys that you want Amazon SageMaker to use
68335	// for model training.
68336	//
68337	// If you choose AugmentedManifestFile, S3Uri identifies an object that is an
68338	// augmented manifest file in JSON lines format. This file contains the data
68339	// you want to use for model training. AugmentedManifestFile can only be used
68340	// if the Channel's input mode is Pipe.
68341	//
68342	// S3DataType is a required field
68343	S3DataType *string `type:"string" required:"true" enum:"S3DataType"`
68344
68345	// Depending on the value specified for the S3DataType, identifies either a
68346	// key name prefix or a manifest. For example:
68347	//
68348	//    * A key name prefix might look like this: s3://bucketname/exampleprefix
68349	//
68350	//    * A manifest might look like this: s3://bucketname/example.manifest A
68351	//    manifest is an S3 object which is a JSON file consisting of an array of
68352	//    elements. The first element is a prefix which is followed by one or more
68353	//    suffixes. SageMaker appends the suffix elements to the prefix to get a
68354	//    full set of S3Uri. Note that the prefix must be a valid non-empty S3Uri
68355	//    that precludes users from specifying a manifest whose individual S3Uri
68356	//    is sourced from different S3 buckets. The following code example shows
68357	//    a valid manifest format: [ {"prefix": "s3://customer_bucket/some/prefix/"},
68358	//    "relative/path/to/custdata-1", "relative/path/custdata-2", ... "relative/path/custdata-N"
68359	//    ] This JSON is equivalent to the following S3Uri list: s3://customer_bucket/some/prefix/relative/path/to/custdata-1
68360	//    s3://customer_bucket/some/prefix/relative/path/custdata-2 ... s3://customer_bucket/some/prefix/relative/path/custdata-N
68361	//    The complete set of S3Uri in this manifest is the input data for the channel
68362	//    for this data source. The object that each S3Uri points to must be readable
68363	//    by the IAM role that Amazon SageMaker uses to perform tasks on your behalf.
68364	//
68365	// S3Uri is a required field
68366	S3Uri *string `type:"string" required:"true"`
68367}
68368
68369// String returns the string representation
68370func (s S3DataSource) String() string {
68371	return awsutil.Prettify(s)
68372}
68373
68374// GoString returns the string representation
68375func (s S3DataSource) GoString() string {
68376	return s.String()
68377}
68378
68379// Validate inspects the fields of the type to determine if they are valid.
68380func (s *S3DataSource) Validate() error {
68381	invalidParams := request.ErrInvalidParams{Context: "S3DataSource"}
68382	if s.S3DataType == nil {
68383		invalidParams.Add(request.NewErrParamRequired("S3DataType"))
68384	}
68385	if s.S3Uri == nil {
68386		invalidParams.Add(request.NewErrParamRequired("S3Uri"))
68387	}
68388
68389	if invalidParams.Len() > 0 {
68390		return invalidParams
68391	}
68392	return nil
68393}
68394
68395// SetAttributeNames sets the AttributeNames field's value.
68396func (s *S3DataSource) SetAttributeNames(v []*string) *S3DataSource {
68397	s.AttributeNames = v
68398	return s
68399}
68400
68401// SetS3DataDistributionType sets the S3DataDistributionType field's value.
68402func (s *S3DataSource) SetS3DataDistributionType(v string) *S3DataSource {
68403	s.S3DataDistributionType = &v
68404	return s
68405}
68406
68407// SetS3DataType sets the S3DataType field's value.
68408func (s *S3DataSource) SetS3DataType(v string) *S3DataSource {
68409	s.S3DataType = &v
68410	return s
68411}
68412
68413// SetS3Uri sets the S3Uri field's value.
68414func (s *S3DataSource) SetS3Uri(v string) *S3DataSource {
68415	s.S3Uri = &v
68416	return s
68417}
68418
68419// The Amazon Simple Storage (Amazon S3) location and and security configuration
68420// for OfflineStore.
68421type S3StorageConfig struct {
68422	_ struct{} `type:"structure"`
68423
68424	// The AWS Key Management Service (KMS) key ID of the key used to encrypt any
68425	// objects written into the OfflineStore S3 location.
68426	//
68427	// The IAM roleARN that is passed as a parameter to CreateFeatureGroup must
68428	// have below permissions to the KmsKeyId:
68429	//
68430	//    * "kms:GenerateDataKey"
68431	KmsKeyId *string `type:"string"`
68432
68433	// The S3 URI, or location in Amazon S3, of OfflineStore.
68434	//
68435	// S3 URIs have a format similar to the following: s3://example-bucket/prefix/.
68436	//
68437	// S3Uri is a required field
68438	S3Uri *string `type:"string" required:"true"`
68439}
68440
68441// String returns the string representation
68442func (s S3StorageConfig) String() string {
68443	return awsutil.Prettify(s)
68444}
68445
68446// GoString returns the string representation
68447func (s S3StorageConfig) GoString() string {
68448	return s.String()
68449}
68450
68451// Validate inspects the fields of the type to determine if they are valid.
68452func (s *S3StorageConfig) Validate() error {
68453	invalidParams := request.ErrInvalidParams{Context: "S3StorageConfig"}
68454	if s.S3Uri == nil {
68455		invalidParams.Add(request.NewErrParamRequired("S3Uri"))
68456	}
68457
68458	if invalidParams.Len() > 0 {
68459		return invalidParams
68460	}
68461	return nil
68462}
68463
68464// SetKmsKeyId sets the KmsKeyId field's value.
68465func (s *S3StorageConfig) SetKmsKeyId(v string) *S3StorageConfig {
68466	s.KmsKeyId = &v
68467	return s
68468}
68469
68470// SetS3Uri sets the S3Uri field's value.
68471func (s *S3StorageConfig) SetS3Uri(v string) *S3StorageConfig {
68472	s.S3Uri = &v
68473	return s
68474}
68475
68476// Configuration details about the monitoring schedule.
68477type ScheduleConfig struct {
68478	_ struct{} `type:"structure"`
68479
68480	// A cron expression that describes details about the monitoring schedule.
68481	//
68482	// Currently the only supported cron expressions are:
68483	//
68484	//    * If you want to set the job to start every hour, please use the following:
68485	//    Hourly: cron(0 * ? * * *)
68486	//
68487	//    * If you want to start the job daily: cron(0 [00-23] ? * * *)
68488	//
68489	// For example, the following are valid cron expressions:
68490	//
68491	//    * Daily at noon UTC: cron(0 12 ? * * *)
68492	//
68493	//    * Daily at midnight UTC: cron(0 0 ? * * *)
68494	//
68495	// To support running every 6, 12 hours, the following are also supported:
68496	//
68497	// cron(0 [00-23]/[01-24] ? * * *)
68498	//
68499	// For example, the following are valid cron expressions:
68500	//
68501	//    * Every 12 hours, starting at 5pm UTC: cron(0 17/12 ? * * *)
68502	//
68503	//    * Every two hours starting at midnight: cron(0 0/2 ? * * *)
68504	//
68505	//    * Even though the cron expression is set to start at 5PM UTC, note that
68506	//    there could be a delay of 0-20 minutes from the actual requested time
68507	//    to run the execution.
68508	//
68509	//    * We recommend that if you would like a daily schedule, you do not provide
68510	//    this parameter. Amazon SageMaker will pick a time for running every day.
68511	//
68512	// ScheduleExpression is a required field
68513	ScheduleExpression *string `min:"1" type:"string" required:"true"`
68514}
68515
68516// String returns the string representation
68517func (s ScheduleConfig) String() string {
68518	return awsutil.Prettify(s)
68519}
68520
68521// GoString returns the string representation
68522func (s ScheduleConfig) GoString() string {
68523	return s.String()
68524}
68525
68526// Validate inspects the fields of the type to determine if they are valid.
68527func (s *ScheduleConfig) Validate() error {
68528	invalidParams := request.ErrInvalidParams{Context: "ScheduleConfig"}
68529	if s.ScheduleExpression == nil {
68530		invalidParams.Add(request.NewErrParamRequired("ScheduleExpression"))
68531	}
68532	if s.ScheduleExpression != nil && len(*s.ScheduleExpression) < 1 {
68533		invalidParams.Add(request.NewErrParamMinLen("ScheduleExpression", 1))
68534	}
68535
68536	if invalidParams.Len() > 0 {
68537		return invalidParams
68538	}
68539	return nil
68540}
68541
68542// SetScheduleExpression sets the ScheduleExpression field's value.
68543func (s *ScheduleConfig) SetScheduleExpression(v string) *ScheduleConfig {
68544	s.ScheduleExpression = &v
68545	return s
68546}
68547
68548// A multi-expression that searches for the specified resource or resources
68549// in a search. All resource objects that satisfy the expression's condition
68550// are included in the search results. You must specify at least one subexpression,
68551// filter, or nested filter. A SearchExpression can contain up to twenty elements.
68552//
68553// A SearchExpression contains the following components:
68554//
68555//    * A list of Filter objects. Each filter defines a simple Boolean expression
68556//    comprised of a resource property name, Boolean operator, and value.
68557//
68558//    * A list of NestedFilter objects. Each nested filter defines a list of
68559//    Boolean expressions using a list of resource properties. A nested filter
68560//    is satisfied if a single object in the list satisfies all Boolean expressions.
68561//
68562//    * A list of SearchExpression objects. A search expression object can be
68563//    nested in a list of search expression objects.
68564//
68565//    * A Boolean operator: And or Or.
68566type SearchExpression struct {
68567	_ struct{} `type:"structure"`
68568
68569	// A list of filter objects.
68570	Filters []*Filter `min:"1" type:"list"`
68571
68572	// A list of nested filter objects.
68573	NestedFilters []*NestedFilters `min:"1" type:"list"`
68574
68575	// A Boolean operator used to evaluate the search expression. If you want every
68576	// conditional statement in all lists to be satisfied for the entire search
68577	// expression to be true, specify And. If only a single conditional statement
68578	// needs to be true for the entire search expression to be true, specify Or.
68579	// The default value is And.
68580	Operator *string `type:"string" enum:"BooleanOperator"`
68581
68582	// A list of search expression objects.
68583	SubExpressions []*SearchExpression `min:"1" type:"list"`
68584}
68585
68586// String returns the string representation
68587func (s SearchExpression) String() string {
68588	return awsutil.Prettify(s)
68589}
68590
68591// GoString returns the string representation
68592func (s SearchExpression) GoString() string {
68593	return s.String()
68594}
68595
68596// Validate inspects the fields of the type to determine if they are valid.
68597func (s *SearchExpression) Validate() error {
68598	invalidParams := request.ErrInvalidParams{Context: "SearchExpression"}
68599	if s.Filters != nil && len(s.Filters) < 1 {
68600		invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
68601	}
68602	if s.NestedFilters != nil && len(s.NestedFilters) < 1 {
68603		invalidParams.Add(request.NewErrParamMinLen("NestedFilters", 1))
68604	}
68605	if s.SubExpressions != nil && len(s.SubExpressions) < 1 {
68606		invalidParams.Add(request.NewErrParamMinLen("SubExpressions", 1))
68607	}
68608	if s.Filters != nil {
68609		for i, v := range s.Filters {
68610			if v == nil {
68611				continue
68612			}
68613			if err := v.Validate(); err != nil {
68614				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
68615			}
68616		}
68617	}
68618	if s.NestedFilters != nil {
68619		for i, v := range s.NestedFilters {
68620			if v == nil {
68621				continue
68622			}
68623			if err := v.Validate(); err != nil {
68624				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "NestedFilters", i), err.(request.ErrInvalidParams))
68625			}
68626		}
68627	}
68628	if s.SubExpressions != nil {
68629		for i, v := range s.SubExpressions {
68630			if v == nil {
68631				continue
68632			}
68633			if err := v.Validate(); err != nil {
68634				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SubExpressions", i), err.(request.ErrInvalidParams))
68635			}
68636		}
68637	}
68638
68639	if invalidParams.Len() > 0 {
68640		return invalidParams
68641	}
68642	return nil
68643}
68644
68645// SetFilters sets the Filters field's value.
68646func (s *SearchExpression) SetFilters(v []*Filter) *SearchExpression {
68647	s.Filters = v
68648	return s
68649}
68650
68651// SetNestedFilters sets the NestedFilters field's value.
68652func (s *SearchExpression) SetNestedFilters(v []*NestedFilters) *SearchExpression {
68653	s.NestedFilters = v
68654	return s
68655}
68656
68657// SetOperator sets the Operator field's value.
68658func (s *SearchExpression) SetOperator(v string) *SearchExpression {
68659	s.Operator = &v
68660	return s
68661}
68662
68663// SetSubExpressions sets the SubExpressions field's value.
68664func (s *SearchExpression) SetSubExpressions(v []*SearchExpression) *SearchExpression {
68665	s.SubExpressions = v
68666	return s
68667}
68668
68669type SearchInput struct {
68670	_ struct{} `type:"structure"`
68671
68672	// The maximum number of results to return.
68673	MaxResults *int64 `min:"1" type:"integer"`
68674
68675	// If more than MaxResults resources match the specified SearchExpression, the
68676	// response includes a NextToken. The NextToken can be passed to the next SearchRequest
68677	// to continue retrieving results.
68678	NextToken *string `type:"string"`
68679
68680	// The name of the Amazon SageMaker resource to search for.
68681	//
68682	// Resource is a required field
68683	Resource *string `type:"string" required:"true" enum:"ResourceType"`
68684
68685	// A Boolean conditional statement. Resources must satisfy this condition to
68686	// be included in search results. You must provide at least one subexpression,
68687	// filter, or nested filter. The maximum number of recursive SubExpressions,
68688	// NestedFilters, and Filters that can be included in a SearchExpression object
68689	// is 50.
68690	SearchExpression *SearchExpression `type:"structure"`
68691
68692	// The name of the resource property used to sort the SearchResults. The default
68693	// is LastModifiedTime.
68694	SortBy *string `min:"1" type:"string"`
68695
68696	// How SearchResults are ordered. Valid values are Ascending or Descending.
68697	// The default is Descending.
68698	SortOrder *string `type:"string" enum:"SearchSortOrder"`
68699}
68700
68701// String returns the string representation
68702func (s SearchInput) String() string {
68703	return awsutil.Prettify(s)
68704}
68705
68706// GoString returns the string representation
68707func (s SearchInput) GoString() string {
68708	return s.String()
68709}
68710
68711// Validate inspects the fields of the type to determine if they are valid.
68712func (s *SearchInput) Validate() error {
68713	invalidParams := request.ErrInvalidParams{Context: "SearchInput"}
68714	if s.MaxResults != nil && *s.MaxResults < 1 {
68715		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
68716	}
68717	if s.Resource == nil {
68718		invalidParams.Add(request.NewErrParamRequired("Resource"))
68719	}
68720	if s.SortBy != nil && len(*s.SortBy) < 1 {
68721		invalidParams.Add(request.NewErrParamMinLen("SortBy", 1))
68722	}
68723	if s.SearchExpression != nil {
68724		if err := s.SearchExpression.Validate(); err != nil {
68725			invalidParams.AddNested("SearchExpression", err.(request.ErrInvalidParams))
68726		}
68727	}
68728
68729	if invalidParams.Len() > 0 {
68730		return invalidParams
68731	}
68732	return nil
68733}
68734
68735// SetMaxResults sets the MaxResults field's value.
68736func (s *SearchInput) SetMaxResults(v int64) *SearchInput {
68737	s.MaxResults = &v
68738	return s
68739}
68740
68741// SetNextToken sets the NextToken field's value.
68742func (s *SearchInput) SetNextToken(v string) *SearchInput {
68743	s.NextToken = &v
68744	return s
68745}
68746
68747// SetResource sets the Resource field's value.
68748func (s *SearchInput) SetResource(v string) *SearchInput {
68749	s.Resource = &v
68750	return s
68751}
68752
68753// SetSearchExpression sets the SearchExpression field's value.
68754func (s *SearchInput) SetSearchExpression(v *SearchExpression) *SearchInput {
68755	s.SearchExpression = v
68756	return s
68757}
68758
68759// SetSortBy sets the SortBy field's value.
68760func (s *SearchInput) SetSortBy(v string) *SearchInput {
68761	s.SortBy = &v
68762	return s
68763}
68764
68765// SetSortOrder sets the SortOrder field's value.
68766func (s *SearchInput) SetSortOrder(v string) *SearchInput {
68767	s.SortOrder = &v
68768	return s
68769}
68770
68771type SearchOutput struct {
68772	_ struct{} `type:"structure"`
68773
68774	// If the result of the previous Search request was truncated, the response
68775	// includes a NextToken. To retrieve the next set of results, use the token
68776	// in the next request.
68777	NextToken *string `type:"string"`
68778
68779	// A list of SearchRecord objects.
68780	Results []*SearchRecord `type:"list"`
68781}
68782
68783// String returns the string representation
68784func (s SearchOutput) String() string {
68785	return awsutil.Prettify(s)
68786}
68787
68788// GoString returns the string representation
68789func (s SearchOutput) GoString() string {
68790	return s.String()
68791}
68792
68793// SetNextToken sets the NextToken field's value.
68794func (s *SearchOutput) SetNextToken(v string) *SearchOutput {
68795	s.NextToken = &v
68796	return s
68797}
68798
68799// SetResults sets the Results field's value.
68800func (s *SearchOutput) SetResults(v []*SearchRecord) *SearchOutput {
68801	s.Results = v
68802	return s
68803}
68804
68805// A single resource returned as part of the Search API response.
68806type SearchRecord struct {
68807	_ struct{} `type:"structure"`
68808
68809	// A hosted endpoint for real-time inference.
68810	Endpoint *Endpoint `type:"structure"`
68811
68812	// The properties of an experiment.
68813	Experiment *Experiment `type:"structure"`
68814
68815	// Amazon SageMaker Feature Store stores features in a collection called Feature
68816	// Group. A Feature Group can be visualized as a table which has rows, with
68817	// a unique identifier for each row where each column in the table is a feature.
68818	// In principle, a Feature Group is composed of features and values per features.
68819	FeatureGroup *FeatureGroup `type:"structure"`
68820
68821	// A versioned model that can be deployed for SageMaker inference.
68822	ModelPackage *ModelPackage `type:"structure"`
68823
68824	// A group of versioned models in the model registry.
68825	ModelPackageGroup *ModelPackageGroup `type:"structure"`
68826
68827	// A SageMaker Model Building Pipeline instance.
68828	Pipeline *Pipeline `type:"structure"`
68829
68830	// An execution of a pipeline.
68831	PipelineExecution *PipelineExecution `type:"structure"`
68832
68833	// The properties of a training job.
68834	TrainingJob *TrainingJob `type:"structure"`
68835
68836	// The properties of a trial.
68837	Trial *Trial `type:"structure"`
68838
68839	// The properties of a trial component.
68840	TrialComponent *TrialComponent `type:"structure"`
68841}
68842
68843// String returns the string representation
68844func (s SearchRecord) String() string {
68845	return awsutil.Prettify(s)
68846}
68847
68848// GoString returns the string representation
68849func (s SearchRecord) GoString() string {
68850	return s.String()
68851}
68852
68853// SetEndpoint sets the Endpoint field's value.
68854func (s *SearchRecord) SetEndpoint(v *Endpoint) *SearchRecord {
68855	s.Endpoint = v
68856	return s
68857}
68858
68859// SetExperiment sets the Experiment field's value.
68860func (s *SearchRecord) SetExperiment(v *Experiment) *SearchRecord {
68861	s.Experiment = v
68862	return s
68863}
68864
68865// SetFeatureGroup sets the FeatureGroup field's value.
68866func (s *SearchRecord) SetFeatureGroup(v *FeatureGroup) *SearchRecord {
68867	s.FeatureGroup = v
68868	return s
68869}
68870
68871// SetModelPackage sets the ModelPackage field's value.
68872func (s *SearchRecord) SetModelPackage(v *ModelPackage) *SearchRecord {
68873	s.ModelPackage = v
68874	return s
68875}
68876
68877// SetModelPackageGroup sets the ModelPackageGroup field's value.
68878func (s *SearchRecord) SetModelPackageGroup(v *ModelPackageGroup) *SearchRecord {
68879	s.ModelPackageGroup = v
68880	return s
68881}
68882
68883// SetPipeline sets the Pipeline field's value.
68884func (s *SearchRecord) SetPipeline(v *Pipeline) *SearchRecord {
68885	s.Pipeline = v
68886	return s
68887}
68888
68889// SetPipelineExecution sets the PipelineExecution field's value.
68890func (s *SearchRecord) SetPipelineExecution(v *PipelineExecution) *SearchRecord {
68891	s.PipelineExecution = v
68892	return s
68893}
68894
68895// SetTrainingJob sets the TrainingJob field's value.
68896func (s *SearchRecord) SetTrainingJob(v *TrainingJob) *SearchRecord {
68897	s.TrainingJob = v
68898	return s
68899}
68900
68901// SetTrial sets the Trial field's value.
68902func (s *SearchRecord) SetTrial(v *Trial) *SearchRecord {
68903	s.Trial = v
68904	return s
68905}
68906
68907// SetTrialComponent sets the TrialComponent field's value.
68908func (s *SearchRecord) SetTrialComponent(v *TrialComponent) *SearchRecord {
68909	s.TrialComponent = v
68910	return s
68911}
68912
68913// An array element of DescribeTrainingJobResponse$SecondaryStatusTransitions.
68914// It provides additional details about a status that the training job has transitioned
68915// through. A training job can be in one of several states, for example, starting,
68916// downloading, training, or uploading. Within each state, there are a number
68917// of intermediate states. For example, within the starting state, Amazon SageMaker
68918// could be starting the training job or launching the ML instances. These transitional
68919// states are referred to as the job's secondary status.
68920type SecondaryStatusTransition struct {
68921	_ struct{} `type:"structure"`
68922
68923	// A timestamp that shows when the training job transitioned out of this secondary
68924	// status state into another secondary status state or when the training job
68925	// has ended.
68926	EndTime *time.Time `type:"timestamp"`
68927
68928	// A timestamp that shows when the training job transitioned to the current
68929	// secondary status state.
68930	//
68931	// StartTime is a required field
68932	StartTime *time.Time `type:"timestamp" required:"true"`
68933
68934	// Contains a secondary status information from a training job.
68935	//
68936	// Status might be one of the following secondary statuses:
68937	//
68938	// InProgress
68939	//
68940	//    * Starting - Starting the training job.
68941	//
68942	//    * Downloading - An optional stage for algorithms that support File training
68943	//    input mode. It indicates that data is being downloaded to the ML storage
68944	//    volumes.
68945	//
68946	//    * Training - Training is in progress.
68947	//
68948	//    * Uploading - Training is complete and the model artifacts are being uploaded
68949	//    to the S3 location.
68950	//
68951	// Completed
68952	//
68953	//    * Completed - The training job has completed.
68954	//
68955	// Failed
68956	//
68957	//    * Failed - The training job has failed. The reason for the failure is
68958	//    returned in the FailureReason field of DescribeTrainingJobResponse.
68959	//
68960	// Stopped
68961	//
68962	//    * MaxRuntimeExceeded - The job stopped because it exceeded the maximum
68963	//    allowed runtime.
68964	//
68965	//    * Stopped - The training job has stopped.
68966	//
68967	// Stopping
68968	//
68969	//    * Stopping - Stopping the training job.
68970	//
68971	// We no longer support the following secondary statuses:
68972	//
68973	//    * LaunchingMLInstances
68974	//
68975	//    * PreparingTrainingStack
68976	//
68977	//    * DownloadingTrainingImage
68978	//
68979	// Status is a required field
68980	Status *string `type:"string" required:"true" enum:"SecondaryStatus"`
68981
68982	// A detailed description of the progress within a secondary status.
68983	//
68984	// Amazon SageMaker provides secondary statuses and status messages that apply
68985	// to each of them:
68986	//
68987	// Starting
68988	//
68989	//    * Starting the training job.
68990	//
68991	//    * Launching requested ML instances.
68992	//
68993	//    * Insufficient capacity error from EC2 while launching instances, retrying!
68994	//
68995	//    * Launched instance was unhealthy, replacing it!
68996	//
68997	//    * Preparing the instances for training.
68998	//
68999	// Training
69000	//
69001	//    * Downloading the training image.
69002	//
69003	//    * Training image download completed. Training in progress.
69004	//
69005	// Status messages are subject to change. Therefore, we recommend not including
69006	// them in code that programmatically initiates actions. For examples, don't
69007	// use status messages in if statements.
69008	//
69009	// To have an overview of your training job's progress, view TrainingJobStatus
69010	// and SecondaryStatus in DescribeTrainingJob, and StatusMessage together. For
69011	// example, at the start of a training job, you might see the following:
69012	//
69013	//    * TrainingJobStatus - InProgress
69014	//
69015	//    * SecondaryStatus - Training
69016	//
69017	//    * StatusMessage - Downloading the training image
69018	StatusMessage *string `type:"string"`
69019}
69020
69021// String returns the string representation
69022func (s SecondaryStatusTransition) String() string {
69023	return awsutil.Prettify(s)
69024}
69025
69026// GoString returns the string representation
69027func (s SecondaryStatusTransition) GoString() string {
69028	return s.String()
69029}
69030
69031// SetEndTime sets the EndTime field's value.
69032func (s *SecondaryStatusTransition) SetEndTime(v time.Time) *SecondaryStatusTransition {
69033	s.EndTime = &v
69034	return s
69035}
69036
69037// SetStartTime sets the StartTime field's value.
69038func (s *SecondaryStatusTransition) SetStartTime(v time.Time) *SecondaryStatusTransition {
69039	s.StartTime = &v
69040	return s
69041}
69042
69043// SetStatus sets the Status field's value.
69044func (s *SecondaryStatusTransition) SetStatus(v string) *SecondaryStatusTransition {
69045	s.Status = &v
69046	return s
69047}
69048
69049// SetStatusMessage sets the StatusMessage field's value.
69050func (s *SecondaryStatusTransition) SetStatusMessage(v string) *SecondaryStatusTransition {
69051	s.StatusMessage = &v
69052	return s
69053}
69054
69055// Details of a provisioned service catalog product. For information about service
69056// catalog, see What is AWS Service Catalog (https://docs.aws.amazon.com/servicecatalog/latest/adminguide/introduction.html).
69057type ServiceCatalogProvisionedProductDetails struct {
69058	_ struct{} `type:"structure"`
69059
69060	// The ID of the provisioned product.
69061	ProvisionedProductId *string `min:"1" type:"string"`
69062
69063	// The current status of the product.
69064	//
69065	//    * AVAILABLE - Stable state, ready to perform any operation. The most recent
69066	//    operation succeeded and completed.
69067	//
69068	//    * UNDER_CHANGE - Transitive state. Operations performed might not have
69069	//    valid results. Wait for an AVAILABLE status before performing operations.
69070	//
69071	//    * TAINTED - Stable state, ready to perform any operation. The stack has
69072	//    completed the requested operation but is not exactly what was requested.
69073	//    For example, a request to update to a new version failed and the stack
69074	//    rolled back to the current version.
69075	//
69076	//    * ERROR - An unexpected error occurred. The provisioned product exists
69077	//    but the stack is not running. For example, CloudFormation received a parameter
69078	//    value that was not valid and could not launch the stack.
69079	//
69080	//    * PLAN_IN_PROGRESS - Transitive state. The plan operations were performed
69081	//    to provision a new product, but resources have not yet been created. After
69082	//    reviewing the list of resources to be created, execute the plan. Wait
69083	//    for an AVAILABLE status before performing operations.
69084	ProvisionedProductStatusMessage *string `type:"string"`
69085}
69086
69087// String returns the string representation
69088func (s ServiceCatalogProvisionedProductDetails) String() string {
69089	return awsutil.Prettify(s)
69090}
69091
69092// GoString returns the string representation
69093func (s ServiceCatalogProvisionedProductDetails) GoString() string {
69094	return s.String()
69095}
69096
69097// SetProvisionedProductId sets the ProvisionedProductId field's value.
69098func (s *ServiceCatalogProvisionedProductDetails) SetProvisionedProductId(v string) *ServiceCatalogProvisionedProductDetails {
69099	s.ProvisionedProductId = &v
69100	return s
69101}
69102
69103// SetProvisionedProductStatusMessage sets the ProvisionedProductStatusMessage field's value.
69104func (s *ServiceCatalogProvisionedProductDetails) SetProvisionedProductStatusMessage(v string) *ServiceCatalogProvisionedProductDetails {
69105	s.ProvisionedProductStatusMessage = &v
69106	return s
69107}
69108
69109// Details that you specify to provision a service catalog product. For information
69110// about service catalog, see .What is AWS Service Catalog (https://docs.aws.amazon.com/servicecatalog/latest/adminguide/introduction.html).
69111type ServiceCatalogProvisioningDetails struct {
69112	_ struct{} `type:"structure"`
69113
69114	// The path identifier of the product. This value is optional if the product
69115	// has a default path, and required if the product has more than one path.
69116	PathId *string `min:"1" type:"string"`
69117
69118	// The ID of the product to provision.
69119	//
69120	// ProductId is a required field
69121	ProductId *string `min:"1" type:"string" required:"true"`
69122
69123	// The ID of the provisioning artifact.
69124	//
69125	// ProvisioningArtifactId is a required field
69126	ProvisioningArtifactId *string `min:"1" type:"string" required:"true"`
69127
69128	// A list of key value pairs that you specify when you provision a product.
69129	ProvisioningParameters []*ProvisioningParameter `type:"list"`
69130}
69131
69132// String returns the string representation
69133func (s ServiceCatalogProvisioningDetails) String() string {
69134	return awsutil.Prettify(s)
69135}
69136
69137// GoString returns the string representation
69138func (s ServiceCatalogProvisioningDetails) GoString() string {
69139	return s.String()
69140}
69141
69142// Validate inspects the fields of the type to determine if they are valid.
69143func (s *ServiceCatalogProvisioningDetails) Validate() error {
69144	invalidParams := request.ErrInvalidParams{Context: "ServiceCatalogProvisioningDetails"}
69145	if s.PathId != nil && len(*s.PathId) < 1 {
69146		invalidParams.Add(request.NewErrParamMinLen("PathId", 1))
69147	}
69148	if s.ProductId == nil {
69149		invalidParams.Add(request.NewErrParamRequired("ProductId"))
69150	}
69151	if s.ProductId != nil && len(*s.ProductId) < 1 {
69152		invalidParams.Add(request.NewErrParamMinLen("ProductId", 1))
69153	}
69154	if s.ProvisioningArtifactId == nil {
69155		invalidParams.Add(request.NewErrParamRequired("ProvisioningArtifactId"))
69156	}
69157	if s.ProvisioningArtifactId != nil && len(*s.ProvisioningArtifactId) < 1 {
69158		invalidParams.Add(request.NewErrParamMinLen("ProvisioningArtifactId", 1))
69159	}
69160	if s.ProvisioningParameters != nil {
69161		for i, v := range s.ProvisioningParameters {
69162			if v == nil {
69163				continue
69164			}
69165			if err := v.Validate(); err != nil {
69166				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ProvisioningParameters", i), err.(request.ErrInvalidParams))
69167			}
69168		}
69169	}
69170
69171	if invalidParams.Len() > 0 {
69172		return invalidParams
69173	}
69174	return nil
69175}
69176
69177// SetPathId sets the PathId field's value.
69178func (s *ServiceCatalogProvisioningDetails) SetPathId(v string) *ServiceCatalogProvisioningDetails {
69179	s.PathId = &v
69180	return s
69181}
69182
69183// SetProductId sets the ProductId field's value.
69184func (s *ServiceCatalogProvisioningDetails) SetProductId(v string) *ServiceCatalogProvisioningDetails {
69185	s.ProductId = &v
69186	return s
69187}
69188
69189// SetProvisioningArtifactId sets the ProvisioningArtifactId field's value.
69190func (s *ServiceCatalogProvisioningDetails) SetProvisioningArtifactId(v string) *ServiceCatalogProvisioningDetails {
69191	s.ProvisioningArtifactId = &v
69192	return s
69193}
69194
69195// SetProvisioningParameters sets the ProvisioningParameters field's value.
69196func (s *ServiceCatalogProvisioningDetails) SetProvisioningParameters(v []*ProvisioningParameter) *ServiceCatalogProvisioningDetails {
69197	s.ProvisioningParameters = v
69198	return s
69199}
69200
69201// Specifies options when sharing an Amazon SageMaker Studio notebook. These
69202// settings are specified as part of DefaultUserSettings when the CreateDomain
69203// API is called, and as part of UserSettings when the CreateUserProfile API
69204// is called.
69205type SharingSettings struct {
69206	_ struct{} `type:"structure"`
69207
69208	// Whether to include the notebook cell output when sharing the notebook. The
69209	// default is Disabled.
69210	NotebookOutputOption *string `type:"string" enum:"NotebookOutputOption"`
69211
69212	// When NotebookOutputOption is Allowed, the AWS Key Management Service (KMS)
69213	// encryption key ID used to encrypt the notebook cell output in the Amazon
69214	// S3 bucket.
69215	S3KmsKeyId *string `type:"string"`
69216
69217	// When NotebookOutputOption is Allowed, the Amazon S3 bucket used to store
69218	// the shared notebook snapshots.
69219	S3OutputPath *string `type:"string"`
69220}
69221
69222// String returns the string representation
69223func (s SharingSettings) String() string {
69224	return awsutil.Prettify(s)
69225}
69226
69227// GoString returns the string representation
69228func (s SharingSettings) GoString() string {
69229	return s.String()
69230}
69231
69232// SetNotebookOutputOption sets the NotebookOutputOption field's value.
69233func (s *SharingSettings) SetNotebookOutputOption(v string) *SharingSettings {
69234	s.NotebookOutputOption = &v
69235	return s
69236}
69237
69238// SetS3KmsKeyId sets the S3KmsKeyId field's value.
69239func (s *SharingSettings) SetS3KmsKeyId(v string) *SharingSettings {
69240	s.S3KmsKeyId = &v
69241	return s
69242}
69243
69244// SetS3OutputPath sets the S3OutputPath field's value.
69245func (s *SharingSettings) SetS3OutputPath(v string) *SharingSettings {
69246	s.S3OutputPath = &v
69247	return s
69248}
69249
69250// A configuration for a shuffle option for input data in a channel. If you
69251// use S3Prefix for S3DataType, the results of the S3 key prefix matches are
69252// shuffled. If you use ManifestFile, the order of the S3 object references
69253// in the ManifestFile is shuffled. If you use AugmentedManifestFile, the order
69254// of the JSON lines in the AugmentedManifestFile is shuffled. The shuffling
69255// order is determined using the Seed value.
69256//
69257// For Pipe input mode, when ShuffleConfig is specified shuffling is done at
69258// the start of every epoch. With large datasets, this ensures that the order
69259// of the training data is different for each epoch, and it helps reduce bias
69260// and possible overfitting. In a multi-node training job when ShuffleConfig
69261// is combined with S3DataDistributionType of ShardedByS3Key, the data is shuffled
69262// across nodes so that the content sent to a particular node on the first epoch
69263// might be sent to a different node on the second epoch.
69264type ShuffleConfig struct {
69265	_ struct{} `type:"structure"`
69266
69267	// Determines the shuffling order in ShuffleConfig value.
69268	//
69269	// Seed is a required field
69270	Seed *int64 `type:"long" required:"true"`
69271}
69272
69273// String returns the string representation
69274func (s ShuffleConfig) String() string {
69275	return awsutil.Prettify(s)
69276}
69277
69278// GoString returns the string representation
69279func (s ShuffleConfig) GoString() string {
69280	return s.String()
69281}
69282
69283// Validate inspects the fields of the type to determine if they are valid.
69284func (s *ShuffleConfig) Validate() error {
69285	invalidParams := request.ErrInvalidParams{Context: "ShuffleConfig"}
69286	if s.Seed == nil {
69287		invalidParams.Add(request.NewErrParamRequired("Seed"))
69288	}
69289
69290	if invalidParams.Len() > 0 {
69291		return invalidParams
69292	}
69293	return nil
69294}
69295
69296// SetSeed sets the Seed field's value.
69297func (s *ShuffleConfig) SetSeed(v int64) *ShuffleConfig {
69298	s.Seed = &v
69299	return s
69300}
69301
69302// Specifies an algorithm that was used to create the model package. The algorithm
69303// must be either an algorithm resource in your Amazon SageMaker account or
69304// an algorithm in AWS Marketplace that you are subscribed to.
69305type SourceAlgorithm struct {
69306	_ struct{} `type:"structure"`
69307
69308	// The name of an algorithm that was used to create the model package. The algorithm
69309	// must be either an algorithm resource in your Amazon SageMaker account or
69310	// an algorithm in AWS Marketplace that you are subscribed to.
69311	//
69312	// AlgorithmName is a required field
69313	AlgorithmName *string `min:"1" type:"string" required:"true"`
69314
69315	// The Amazon S3 path where the model artifacts, which result from model training,
69316	// are stored. This path must point to a single gzip compressed tar archive
69317	// (.tar.gz suffix).
69318	//
69319	// The model artifacts must be in an S3 bucket that is in the same region as
69320	// the algorithm.
69321	ModelDataUrl *string `type:"string"`
69322}
69323
69324// String returns the string representation
69325func (s SourceAlgorithm) String() string {
69326	return awsutil.Prettify(s)
69327}
69328
69329// GoString returns the string representation
69330func (s SourceAlgorithm) GoString() string {
69331	return s.String()
69332}
69333
69334// Validate inspects the fields of the type to determine if they are valid.
69335func (s *SourceAlgorithm) Validate() error {
69336	invalidParams := request.ErrInvalidParams{Context: "SourceAlgorithm"}
69337	if s.AlgorithmName == nil {
69338		invalidParams.Add(request.NewErrParamRequired("AlgorithmName"))
69339	}
69340	if s.AlgorithmName != nil && len(*s.AlgorithmName) < 1 {
69341		invalidParams.Add(request.NewErrParamMinLen("AlgorithmName", 1))
69342	}
69343
69344	if invalidParams.Len() > 0 {
69345		return invalidParams
69346	}
69347	return nil
69348}
69349
69350// SetAlgorithmName sets the AlgorithmName field's value.
69351func (s *SourceAlgorithm) SetAlgorithmName(v string) *SourceAlgorithm {
69352	s.AlgorithmName = &v
69353	return s
69354}
69355
69356// SetModelDataUrl sets the ModelDataUrl field's value.
69357func (s *SourceAlgorithm) SetModelDataUrl(v string) *SourceAlgorithm {
69358	s.ModelDataUrl = &v
69359	return s
69360}
69361
69362// A list of algorithms that were used to create a model package.
69363type SourceAlgorithmSpecification struct {
69364	_ struct{} `type:"structure"`
69365
69366	// A list of the algorithms that were used to create a model package.
69367	//
69368	// SourceAlgorithms is a required field
69369	SourceAlgorithms []*SourceAlgorithm `min:"1" type:"list" required:"true"`
69370}
69371
69372// String returns the string representation
69373func (s SourceAlgorithmSpecification) String() string {
69374	return awsutil.Prettify(s)
69375}
69376
69377// GoString returns the string representation
69378func (s SourceAlgorithmSpecification) GoString() string {
69379	return s.String()
69380}
69381
69382// Validate inspects the fields of the type to determine if they are valid.
69383func (s *SourceAlgorithmSpecification) Validate() error {
69384	invalidParams := request.ErrInvalidParams{Context: "SourceAlgorithmSpecification"}
69385	if s.SourceAlgorithms == nil {
69386		invalidParams.Add(request.NewErrParamRequired("SourceAlgorithms"))
69387	}
69388	if s.SourceAlgorithms != nil && len(s.SourceAlgorithms) < 1 {
69389		invalidParams.Add(request.NewErrParamMinLen("SourceAlgorithms", 1))
69390	}
69391	if s.SourceAlgorithms != nil {
69392		for i, v := range s.SourceAlgorithms {
69393			if v == nil {
69394				continue
69395			}
69396			if err := v.Validate(); err != nil {
69397				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SourceAlgorithms", i), err.(request.ErrInvalidParams))
69398			}
69399		}
69400	}
69401
69402	if invalidParams.Len() > 0 {
69403		return invalidParams
69404	}
69405	return nil
69406}
69407
69408// SetSourceAlgorithms sets the SourceAlgorithms field's value.
69409func (s *SourceAlgorithmSpecification) SetSourceAlgorithms(v []*SourceAlgorithm) *SourceAlgorithmSpecification {
69410	s.SourceAlgorithms = v
69411	return s
69412}
69413
69414// A list of IP address ranges (CIDRs (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html)).
69415// Used to create an allow list of IP addresses for a private workforce. Workers
69416// will only be able to login to their worker portal from an IP address within
69417// this range. By default, a workforce isn't restricted to specific IP addresses.
69418type SourceIpConfig struct {
69419	_ struct{} `type:"structure"`
69420
69421	// A list of one to ten Classless Inter-Domain Routing (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html)
69422	// (CIDR) values.
69423	//
69424	// Maximum: Ten CIDR values
69425	//
69426	// The following Length Constraints apply to individual CIDR values in the CIDR
69427	// value list.
69428	//
69429	// Cidrs is a required field
69430	Cidrs []*string `type:"list" required:"true"`
69431}
69432
69433// String returns the string representation
69434func (s SourceIpConfig) String() string {
69435	return awsutil.Prettify(s)
69436}
69437
69438// GoString returns the string representation
69439func (s SourceIpConfig) GoString() string {
69440	return s.String()
69441}
69442
69443// Validate inspects the fields of the type to determine if they are valid.
69444func (s *SourceIpConfig) Validate() error {
69445	invalidParams := request.ErrInvalidParams{Context: "SourceIpConfig"}
69446	if s.Cidrs == nil {
69447		invalidParams.Add(request.NewErrParamRequired("Cidrs"))
69448	}
69449
69450	if invalidParams.Len() > 0 {
69451		return invalidParams
69452	}
69453	return nil
69454}
69455
69456// SetCidrs sets the Cidrs field's value.
69457func (s *SourceIpConfig) SetCidrs(v []*string) *SourceIpConfig {
69458	s.Cidrs = v
69459	return s
69460}
69461
69462type StartMonitoringScheduleInput struct {
69463	_ struct{} `type:"structure"`
69464
69465	// The name of the schedule to start.
69466	//
69467	// MonitoringScheduleName is a required field
69468	MonitoringScheduleName *string `min:"1" type:"string" required:"true"`
69469}
69470
69471// String returns the string representation
69472func (s StartMonitoringScheduleInput) String() string {
69473	return awsutil.Prettify(s)
69474}
69475
69476// GoString returns the string representation
69477func (s StartMonitoringScheduleInput) GoString() string {
69478	return s.String()
69479}
69480
69481// Validate inspects the fields of the type to determine if they are valid.
69482func (s *StartMonitoringScheduleInput) Validate() error {
69483	invalidParams := request.ErrInvalidParams{Context: "StartMonitoringScheduleInput"}
69484	if s.MonitoringScheduleName == nil {
69485		invalidParams.Add(request.NewErrParamRequired("MonitoringScheduleName"))
69486	}
69487	if s.MonitoringScheduleName != nil && len(*s.MonitoringScheduleName) < 1 {
69488		invalidParams.Add(request.NewErrParamMinLen("MonitoringScheduleName", 1))
69489	}
69490
69491	if invalidParams.Len() > 0 {
69492		return invalidParams
69493	}
69494	return nil
69495}
69496
69497// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
69498func (s *StartMonitoringScheduleInput) SetMonitoringScheduleName(v string) *StartMonitoringScheduleInput {
69499	s.MonitoringScheduleName = &v
69500	return s
69501}
69502
69503type StartMonitoringScheduleOutput struct {
69504	_ struct{} `type:"structure"`
69505}
69506
69507// String returns the string representation
69508func (s StartMonitoringScheduleOutput) String() string {
69509	return awsutil.Prettify(s)
69510}
69511
69512// GoString returns the string representation
69513func (s StartMonitoringScheduleOutput) GoString() string {
69514	return s.String()
69515}
69516
69517type StartNotebookInstanceInput struct {
69518	_ struct{} `type:"structure"`
69519
69520	// The name of the notebook instance to start.
69521	//
69522	// NotebookInstanceName is a required field
69523	NotebookInstanceName *string `type:"string" required:"true"`
69524}
69525
69526// String returns the string representation
69527func (s StartNotebookInstanceInput) String() string {
69528	return awsutil.Prettify(s)
69529}
69530
69531// GoString returns the string representation
69532func (s StartNotebookInstanceInput) GoString() string {
69533	return s.String()
69534}
69535
69536// Validate inspects the fields of the type to determine if they are valid.
69537func (s *StartNotebookInstanceInput) Validate() error {
69538	invalidParams := request.ErrInvalidParams{Context: "StartNotebookInstanceInput"}
69539	if s.NotebookInstanceName == nil {
69540		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName"))
69541	}
69542
69543	if invalidParams.Len() > 0 {
69544		return invalidParams
69545	}
69546	return nil
69547}
69548
69549// SetNotebookInstanceName sets the NotebookInstanceName field's value.
69550func (s *StartNotebookInstanceInput) SetNotebookInstanceName(v string) *StartNotebookInstanceInput {
69551	s.NotebookInstanceName = &v
69552	return s
69553}
69554
69555type StartNotebookInstanceOutput struct {
69556	_ struct{} `type:"structure"`
69557}
69558
69559// String returns the string representation
69560func (s StartNotebookInstanceOutput) String() string {
69561	return awsutil.Prettify(s)
69562}
69563
69564// GoString returns the string representation
69565func (s StartNotebookInstanceOutput) GoString() string {
69566	return s.String()
69567}
69568
69569type StartPipelineExecutionInput struct {
69570	_ struct{} `type:"structure"`
69571
69572	// A unique, case-sensitive identifier that you provide to ensure the idempotency
69573	// of the operation. An idempotent operation completes no more than one time.
69574	ClientRequestToken *string `min:"32" type:"string" idempotencyToken:"true"`
69575
69576	// The description of the pipeline execution.
69577	PipelineExecutionDescription *string `type:"string"`
69578
69579	// The display name of the pipeline execution.
69580	PipelineExecutionDisplayName *string `min:"1" type:"string"`
69581
69582	// The name of the pipeline.
69583	//
69584	// PipelineName is a required field
69585	PipelineName *string `min:"1" type:"string" required:"true"`
69586
69587	// Contains a list of pipeline parameters. This list can be empty.
69588	PipelineParameters []*Parameter `type:"list"`
69589}
69590
69591// String returns the string representation
69592func (s StartPipelineExecutionInput) String() string {
69593	return awsutil.Prettify(s)
69594}
69595
69596// GoString returns the string representation
69597func (s StartPipelineExecutionInput) GoString() string {
69598	return s.String()
69599}
69600
69601// Validate inspects the fields of the type to determine if they are valid.
69602func (s *StartPipelineExecutionInput) Validate() error {
69603	invalidParams := request.ErrInvalidParams{Context: "StartPipelineExecutionInput"}
69604	if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 32 {
69605		invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 32))
69606	}
69607	if s.PipelineExecutionDisplayName != nil && len(*s.PipelineExecutionDisplayName) < 1 {
69608		invalidParams.Add(request.NewErrParamMinLen("PipelineExecutionDisplayName", 1))
69609	}
69610	if s.PipelineName == nil {
69611		invalidParams.Add(request.NewErrParamRequired("PipelineName"))
69612	}
69613	if s.PipelineName != nil && len(*s.PipelineName) < 1 {
69614		invalidParams.Add(request.NewErrParamMinLen("PipelineName", 1))
69615	}
69616	if s.PipelineParameters != nil {
69617		for i, v := range s.PipelineParameters {
69618			if v == nil {
69619				continue
69620			}
69621			if err := v.Validate(); err != nil {
69622				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "PipelineParameters", i), err.(request.ErrInvalidParams))
69623			}
69624		}
69625	}
69626
69627	if invalidParams.Len() > 0 {
69628		return invalidParams
69629	}
69630	return nil
69631}
69632
69633// SetClientRequestToken sets the ClientRequestToken field's value.
69634func (s *StartPipelineExecutionInput) SetClientRequestToken(v string) *StartPipelineExecutionInput {
69635	s.ClientRequestToken = &v
69636	return s
69637}
69638
69639// SetPipelineExecutionDescription sets the PipelineExecutionDescription field's value.
69640func (s *StartPipelineExecutionInput) SetPipelineExecutionDescription(v string) *StartPipelineExecutionInput {
69641	s.PipelineExecutionDescription = &v
69642	return s
69643}
69644
69645// SetPipelineExecutionDisplayName sets the PipelineExecutionDisplayName field's value.
69646func (s *StartPipelineExecutionInput) SetPipelineExecutionDisplayName(v string) *StartPipelineExecutionInput {
69647	s.PipelineExecutionDisplayName = &v
69648	return s
69649}
69650
69651// SetPipelineName sets the PipelineName field's value.
69652func (s *StartPipelineExecutionInput) SetPipelineName(v string) *StartPipelineExecutionInput {
69653	s.PipelineName = &v
69654	return s
69655}
69656
69657// SetPipelineParameters sets the PipelineParameters field's value.
69658func (s *StartPipelineExecutionInput) SetPipelineParameters(v []*Parameter) *StartPipelineExecutionInput {
69659	s.PipelineParameters = v
69660	return s
69661}
69662
69663type StartPipelineExecutionOutput struct {
69664	_ struct{} `type:"structure"`
69665
69666	// The Amazon Resource Name (ARN) of the pipeline execution.
69667	PipelineExecutionArn *string `type:"string"`
69668}
69669
69670// String returns the string representation
69671func (s StartPipelineExecutionOutput) String() string {
69672	return awsutil.Prettify(s)
69673}
69674
69675// GoString returns the string representation
69676func (s StartPipelineExecutionOutput) GoString() string {
69677	return s.String()
69678}
69679
69680// SetPipelineExecutionArn sets the PipelineExecutionArn field's value.
69681func (s *StartPipelineExecutionOutput) SetPipelineExecutionArn(v string) *StartPipelineExecutionOutput {
69682	s.PipelineExecutionArn = &v
69683	return s
69684}
69685
69686type StopAutoMLJobInput struct {
69687	_ struct{} `type:"structure"`
69688
69689	// The name of the object you are requesting.
69690	//
69691	// AutoMLJobName is a required field
69692	AutoMLJobName *string `min:"1" type:"string" required:"true"`
69693}
69694
69695// String returns the string representation
69696func (s StopAutoMLJobInput) String() string {
69697	return awsutil.Prettify(s)
69698}
69699
69700// GoString returns the string representation
69701func (s StopAutoMLJobInput) GoString() string {
69702	return s.String()
69703}
69704
69705// Validate inspects the fields of the type to determine if they are valid.
69706func (s *StopAutoMLJobInput) Validate() error {
69707	invalidParams := request.ErrInvalidParams{Context: "StopAutoMLJobInput"}
69708	if s.AutoMLJobName == nil {
69709		invalidParams.Add(request.NewErrParamRequired("AutoMLJobName"))
69710	}
69711	if s.AutoMLJobName != nil && len(*s.AutoMLJobName) < 1 {
69712		invalidParams.Add(request.NewErrParamMinLen("AutoMLJobName", 1))
69713	}
69714
69715	if invalidParams.Len() > 0 {
69716		return invalidParams
69717	}
69718	return nil
69719}
69720
69721// SetAutoMLJobName sets the AutoMLJobName field's value.
69722func (s *StopAutoMLJobInput) SetAutoMLJobName(v string) *StopAutoMLJobInput {
69723	s.AutoMLJobName = &v
69724	return s
69725}
69726
69727type StopAutoMLJobOutput struct {
69728	_ struct{} `type:"structure"`
69729}
69730
69731// String returns the string representation
69732func (s StopAutoMLJobOutput) String() string {
69733	return awsutil.Prettify(s)
69734}
69735
69736// GoString returns the string representation
69737func (s StopAutoMLJobOutput) GoString() string {
69738	return s.String()
69739}
69740
69741type StopCompilationJobInput struct {
69742	_ struct{} `type:"structure"`
69743
69744	// The name of the model compilation job to stop.
69745	//
69746	// CompilationJobName is a required field
69747	CompilationJobName *string `min:"1" type:"string" required:"true"`
69748}
69749
69750// String returns the string representation
69751func (s StopCompilationJobInput) String() string {
69752	return awsutil.Prettify(s)
69753}
69754
69755// GoString returns the string representation
69756func (s StopCompilationJobInput) GoString() string {
69757	return s.String()
69758}
69759
69760// Validate inspects the fields of the type to determine if they are valid.
69761func (s *StopCompilationJobInput) Validate() error {
69762	invalidParams := request.ErrInvalidParams{Context: "StopCompilationJobInput"}
69763	if s.CompilationJobName == nil {
69764		invalidParams.Add(request.NewErrParamRequired("CompilationJobName"))
69765	}
69766	if s.CompilationJobName != nil && len(*s.CompilationJobName) < 1 {
69767		invalidParams.Add(request.NewErrParamMinLen("CompilationJobName", 1))
69768	}
69769
69770	if invalidParams.Len() > 0 {
69771		return invalidParams
69772	}
69773	return nil
69774}
69775
69776// SetCompilationJobName sets the CompilationJobName field's value.
69777func (s *StopCompilationJobInput) SetCompilationJobName(v string) *StopCompilationJobInput {
69778	s.CompilationJobName = &v
69779	return s
69780}
69781
69782type StopCompilationJobOutput struct {
69783	_ struct{} `type:"structure"`
69784}
69785
69786// String returns the string representation
69787func (s StopCompilationJobOutput) String() string {
69788	return awsutil.Prettify(s)
69789}
69790
69791// GoString returns the string representation
69792func (s StopCompilationJobOutput) GoString() string {
69793	return s.String()
69794}
69795
69796type StopEdgePackagingJobInput struct {
69797	_ struct{} `type:"structure"`
69798
69799	// The name of the edge packaging job.
69800	//
69801	// EdgePackagingJobName is a required field
69802	EdgePackagingJobName *string `min:"1" type:"string" required:"true"`
69803}
69804
69805// String returns the string representation
69806func (s StopEdgePackagingJobInput) String() string {
69807	return awsutil.Prettify(s)
69808}
69809
69810// GoString returns the string representation
69811func (s StopEdgePackagingJobInput) GoString() string {
69812	return s.String()
69813}
69814
69815// Validate inspects the fields of the type to determine if they are valid.
69816func (s *StopEdgePackagingJobInput) Validate() error {
69817	invalidParams := request.ErrInvalidParams{Context: "StopEdgePackagingJobInput"}
69818	if s.EdgePackagingJobName == nil {
69819		invalidParams.Add(request.NewErrParamRequired("EdgePackagingJobName"))
69820	}
69821	if s.EdgePackagingJobName != nil && len(*s.EdgePackagingJobName) < 1 {
69822		invalidParams.Add(request.NewErrParamMinLen("EdgePackagingJobName", 1))
69823	}
69824
69825	if invalidParams.Len() > 0 {
69826		return invalidParams
69827	}
69828	return nil
69829}
69830
69831// SetEdgePackagingJobName sets the EdgePackagingJobName field's value.
69832func (s *StopEdgePackagingJobInput) SetEdgePackagingJobName(v string) *StopEdgePackagingJobInput {
69833	s.EdgePackagingJobName = &v
69834	return s
69835}
69836
69837type StopEdgePackagingJobOutput struct {
69838	_ struct{} `type:"structure"`
69839}
69840
69841// String returns the string representation
69842func (s StopEdgePackagingJobOutput) String() string {
69843	return awsutil.Prettify(s)
69844}
69845
69846// GoString returns the string representation
69847func (s StopEdgePackagingJobOutput) GoString() string {
69848	return s.String()
69849}
69850
69851type StopHyperParameterTuningJobInput struct {
69852	_ struct{} `type:"structure"`
69853
69854	// The name of the tuning job to stop.
69855	//
69856	// HyperParameterTuningJobName is a required field
69857	HyperParameterTuningJobName *string `min:"1" type:"string" required:"true"`
69858}
69859
69860// String returns the string representation
69861func (s StopHyperParameterTuningJobInput) String() string {
69862	return awsutil.Prettify(s)
69863}
69864
69865// GoString returns the string representation
69866func (s StopHyperParameterTuningJobInput) GoString() string {
69867	return s.String()
69868}
69869
69870// Validate inspects the fields of the type to determine if they are valid.
69871func (s *StopHyperParameterTuningJobInput) Validate() error {
69872	invalidParams := request.ErrInvalidParams{Context: "StopHyperParameterTuningJobInput"}
69873	if s.HyperParameterTuningJobName == nil {
69874		invalidParams.Add(request.NewErrParamRequired("HyperParameterTuningJobName"))
69875	}
69876	if s.HyperParameterTuningJobName != nil && len(*s.HyperParameterTuningJobName) < 1 {
69877		invalidParams.Add(request.NewErrParamMinLen("HyperParameterTuningJobName", 1))
69878	}
69879
69880	if invalidParams.Len() > 0 {
69881		return invalidParams
69882	}
69883	return nil
69884}
69885
69886// SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value.
69887func (s *StopHyperParameterTuningJobInput) SetHyperParameterTuningJobName(v string) *StopHyperParameterTuningJobInput {
69888	s.HyperParameterTuningJobName = &v
69889	return s
69890}
69891
69892type StopHyperParameterTuningJobOutput struct {
69893	_ struct{} `type:"structure"`
69894}
69895
69896// String returns the string representation
69897func (s StopHyperParameterTuningJobOutput) String() string {
69898	return awsutil.Prettify(s)
69899}
69900
69901// GoString returns the string representation
69902func (s StopHyperParameterTuningJobOutput) GoString() string {
69903	return s.String()
69904}
69905
69906type StopLabelingJobInput struct {
69907	_ struct{} `type:"structure"`
69908
69909	// The name of the labeling job to stop.
69910	//
69911	// LabelingJobName is a required field
69912	LabelingJobName *string `min:"1" type:"string" required:"true"`
69913}
69914
69915// String returns the string representation
69916func (s StopLabelingJobInput) String() string {
69917	return awsutil.Prettify(s)
69918}
69919
69920// GoString returns the string representation
69921func (s StopLabelingJobInput) GoString() string {
69922	return s.String()
69923}
69924
69925// Validate inspects the fields of the type to determine if they are valid.
69926func (s *StopLabelingJobInput) Validate() error {
69927	invalidParams := request.ErrInvalidParams{Context: "StopLabelingJobInput"}
69928	if s.LabelingJobName == nil {
69929		invalidParams.Add(request.NewErrParamRequired("LabelingJobName"))
69930	}
69931	if s.LabelingJobName != nil && len(*s.LabelingJobName) < 1 {
69932		invalidParams.Add(request.NewErrParamMinLen("LabelingJobName", 1))
69933	}
69934
69935	if invalidParams.Len() > 0 {
69936		return invalidParams
69937	}
69938	return nil
69939}
69940
69941// SetLabelingJobName sets the LabelingJobName field's value.
69942func (s *StopLabelingJobInput) SetLabelingJobName(v string) *StopLabelingJobInput {
69943	s.LabelingJobName = &v
69944	return s
69945}
69946
69947type StopLabelingJobOutput struct {
69948	_ struct{} `type:"structure"`
69949}
69950
69951// String returns the string representation
69952func (s StopLabelingJobOutput) String() string {
69953	return awsutil.Prettify(s)
69954}
69955
69956// GoString returns the string representation
69957func (s StopLabelingJobOutput) GoString() string {
69958	return s.String()
69959}
69960
69961type StopMonitoringScheduleInput struct {
69962	_ struct{} `type:"structure"`
69963
69964	// The name of the schedule to stop.
69965	//
69966	// MonitoringScheduleName is a required field
69967	MonitoringScheduleName *string `min:"1" type:"string" required:"true"`
69968}
69969
69970// String returns the string representation
69971func (s StopMonitoringScheduleInput) String() string {
69972	return awsutil.Prettify(s)
69973}
69974
69975// GoString returns the string representation
69976func (s StopMonitoringScheduleInput) GoString() string {
69977	return s.String()
69978}
69979
69980// Validate inspects the fields of the type to determine if they are valid.
69981func (s *StopMonitoringScheduleInput) Validate() error {
69982	invalidParams := request.ErrInvalidParams{Context: "StopMonitoringScheduleInput"}
69983	if s.MonitoringScheduleName == nil {
69984		invalidParams.Add(request.NewErrParamRequired("MonitoringScheduleName"))
69985	}
69986	if s.MonitoringScheduleName != nil && len(*s.MonitoringScheduleName) < 1 {
69987		invalidParams.Add(request.NewErrParamMinLen("MonitoringScheduleName", 1))
69988	}
69989
69990	if invalidParams.Len() > 0 {
69991		return invalidParams
69992	}
69993	return nil
69994}
69995
69996// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
69997func (s *StopMonitoringScheduleInput) SetMonitoringScheduleName(v string) *StopMonitoringScheduleInput {
69998	s.MonitoringScheduleName = &v
69999	return s
70000}
70001
70002type StopMonitoringScheduleOutput struct {
70003	_ struct{} `type:"structure"`
70004}
70005
70006// String returns the string representation
70007func (s StopMonitoringScheduleOutput) String() string {
70008	return awsutil.Prettify(s)
70009}
70010
70011// GoString returns the string representation
70012func (s StopMonitoringScheduleOutput) GoString() string {
70013	return s.String()
70014}
70015
70016type StopNotebookInstanceInput struct {
70017	_ struct{} `type:"structure"`
70018
70019	// The name of the notebook instance to terminate.
70020	//
70021	// NotebookInstanceName is a required field
70022	NotebookInstanceName *string `type:"string" required:"true"`
70023}
70024
70025// String returns the string representation
70026func (s StopNotebookInstanceInput) String() string {
70027	return awsutil.Prettify(s)
70028}
70029
70030// GoString returns the string representation
70031func (s StopNotebookInstanceInput) GoString() string {
70032	return s.String()
70033}
70034
70035// Validate inspects the fields of the type to determine if they are valid.
70036func (s *StopNotebookInstanceInput) Validate() error {
70037	invalidParams := request.ErrInvalidParams{Context: "StopNotebookInstanceInput"}
70038	if s.NotebookInstanceName == nil {
70039		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName"))
70040	}
70041
70042	if invalidParams.Len() > 0 {
70043		return invalidParams
70044	}
70045	return nil
70046}
70047
70048// SetNotebookInstanceName sets the NotebookInstanceName field's value.
70049func (s *StopNotebookInstanceInput) SetNotebookInstanceName(v string) *StopNotebookInstanceInput {
70050	s.NotebookInstanceName = &v
70051	return s
70052}
70053
70054type StopNotebookInstanceOutput struct {
70055	_ struct{} `type:"structure"`
70056}
70057
70058// String returns the string representation
70059func (s StopNotebookInstanceOutput) String() string {
70060	return awsutil.Prettify(s)
70061}
70062
70063// GoString returns the string representation
70064func (s StopNotebookInstanceOutput) GoString() string {
70065	return s.String()
70066}
70067
70068type StopPipelineExecutionInput struct {
70069	_ struct{} `type:"structure"`
70070
70071	// A unique, case-sensitive identifier that you provide to ensure the idempotency
70072	// of the operation. An idempotent operation completes no more than one time.
70073	ClientRequestToken *string `min:"32" type:"string" idempotencyToken:"true"`
70074
70075	// The Amazon Resource Name (ARN) of the pipeline execution.
70076	//
70077	// PipelineExecutionArn is a required field
70078	PipelineExecutionArn *string `type:"string" required:"true"`
70079}
70080
70081// String returns the string representation
70082func (s StopPipelineExecutionInput) String() string {
70083	return awsutil.Prettify(s)
70084}
70085
70086// GoString returns the string representation
70087func (s StopPipelineExecutionInput) GoString() string {
70088	return s.String()
70089}
70090
70091// Validate inspects the fields of the type to determine if they are valid.
70092func (s *StopPipelineExecutionInput) Validate() error {
70093	invalidParams := request.ErrInvalidParams{Context: "StopPipelineExecutionInput"}
70094	if s.ClientRequestToken != nil && len(*s.ClientRequestToken) < 32 {
70095		invalidParams.Add(request.NewErrParamMinLen("ClientRequestToken", 32))
70096	}
70097	if s.PipelineExecutionArn == nil {
70098		invalidParams.Add(request.NewErrParamRequired("PipelineExecutionArn"))
70099	}
70100
70101	if invalidParams.Len() > 0 {
70102		return invalidParams
70103	}
70104	return nil
70105}
70106
70107// SetClientRequestToken sets the ClientRequestToken field's value.
70108func (s *StopPipelineExecutionInput) SetClientRequestToken(v string) *StopPipelineExecutionInput {
70109	s.ClientRequestToken = &v
70110	return s
70111}
70112
70113// SetPipelineExecutionArn sets the PipelineExecutionArn field's value.
70114func (s *StopPipelineExecutionInput) SetPipelineExecutionArn(v string) *StopPipelineExecutionInput {
70115	s.PipelineExecutionArn = &v
70116	return s
70117}
70118
70119type StopPipelineExecutionOutput struct {
70120	_ struct{} `type:"structure"`
70121
70122	// The Amazon Resource Name (ARN) of the pipeline execution.
70123	PipelineExecutionArn *string `type:"string"`
70124}
70125
70126// String returns the string representation
70127func (s StopPipelineExecutionOutput) String() string {
70128	return awsutil.Prettify(s)
70129}
70130
70131// GoString returns the string representation
70132func (s StopPipelineExecutionOutput) GoString() string {
70133	return s.String()
70134}
70135
70136// SetPipelineExecutionArn sets the PipelineExecutionArn field's value.
70137func (s *StopPipelineExecutionOutput) SetPipelineExecutionArn(v string) *StopPipelineExecutionOutput {
70138	s.PipelineExecutionArn = &v
70139	return s
70140}
70141
70142type StopProcessingJobInput struct {
70143	_ struct{} `type:"structure"`
70144
70145	// The name of the processing job to stop.
70146	//
70147	// ProcessingJobName is a required field
70148	ProcessingJobName *string `min:"1" type:"string" required:"true"`
70149}
70150
70151// String returns the string representation
70152func (s StopProcessingJobInput) String() string {
70153	return awsutil.Prettify(s)
70154}
70155
70156// GoString returns the string representation
70157func (s StopProcessingJobInput) GoString() string {
70158	return s.String()
70159}
70160
70161// Validate inspects the fields of the type to determine if they are valid.
70162func (s *StopProcessingJobInput) Validate() error {
70163	invalidParams := request.ErrInvalidParams{Context: "StopProcessingJobInput"}
70164	if s.ProcessingJobName == nil {
70165		invalidParams.Add(request.NewErrParamRequired("ProcessingJobName"))
70166	}
70167	if s.ProcessingJobName != nil && len(*s.ProcessingJobName) < 1 {
70168		invalidParams.Add(request.NewErrParamMinLen("ProcessingJobName", 1))
70169	}
70170
70171	if invalidParams.Len() > 0 {
70172		return invalidParams
70173	}
70174	return nil
70175}
70176
70177// SetProcessingJobName sets the ProcessingJobName field's value.
70178func (s *StopProcessingJobInput) SetProcessingJobName(v string) *StopProcessingJobInput {
70179	s.ProcessingJobName = &v
70180	return s
70181}
70182
70183type StopProcessingJobOutput struct {
70184	_ struct{} `type:"structure"`
70185}
70186
70187// String returns the string representation
70188func (s StopProcessingJobOutput) String() string {
70189	return awsutil.Prettify(s)
70190}
70191
70192// GoString returns the string representation
70193func (s StopProcessingJobOutput) GoString() string {
70194	return s.String()
70195}
70196
70197type StopTrainingJobInput struct {
70198	_ struct{} `type:"structure"`
70199
70200	// The name of the training job to stop.
70201	//
70202	// TrainingJobName is a required field
70203	TrainingJobName *string `min:"1" type:"string" required:"true"`
70204}
70205
70206// String returns the string representation
70207func (s StopTrainingJobInput) String() string {
70208	return awsutil.Prettify(s)
70209}
70210
70211// GoString returns the string representation
70212func (s StopTrainingJobInput) GoString() string {
70213	return s.String()
70214}
70215
70216// Validate inspects the fields of the type to determine if they are valid.
70217func (s *StopTrainingJobInput) Validate() error {
70218	invalidParams := request.ErrInvalidParams{Context: "StopTrainingJobInput"}
70219	if s.TrainingJobName == nil {
70220		invalidParams.Add(request.NewErrParamRequired("TrainingJobName"))
70221	}
70222	if s.TrainingJobName != nil && len(*s.TrainingJobName) < 1 {
70223		invalidParams.Add(request.NewErrParamMinLen("TrainingJobName", 1))
70224	}
70225
70226	if invalidParams.Len() > 0 {
70227		return invalidParams
70228	}
70229	return nil
70230}
70231
70232// SetTrainingJobName sets the TrainingJobName field's value.
70233func (s *StopTrainingJobInput) SetTrainingJobName(v string) *StopTrainingJobInput {
70234	s.TrainingJobName = &v
70235	return s
70236}
70237
70238type StopTrainingJobOutput struct {
70239	_ struct{} `type:"structure"`
70240}
70241
70242// String returns the string representation
70243func (s StopTrainingJobOutput) String() string {
70244	return awsutil.Prettify(s)
70245}
70246
70247// GoString returns the string representation
70248func (s StopTrainingJobOutput) GoString() string {
70249	return s.String()
70250}
70251
70252type StopTransformJobInput struct {
70253	_ struct{} `type:"structure"`
70254
70255	// The name of the transform job to stop.
70256	//
70257	// TransformJobName is a required field
70258	TransformJobName *string `min:"1" type:"string" required:"true"`
70259}
70260
70261// String returns the string representation
70262func (s StopTransformJobInput) String() string {
70263	return awsutil.Prettify(s)
70264}
70265
70266// GoString returns the string representation
70267func (s StopTransformJobInput) GoString() string {
70268	return s.String()
70269}
70270
70271// Validate inspects the fields of the type to determine if they are valid.
70272func (s *StopTransformJobInput) Validate() error {
70273	invalidParams := request.ErrInvalidParams{Context: "StopTransformJobInput"}
70274	if s.TransformJobName == nil {
70275		invalidParams.Add(request.NewErrParamRequired("TransformJobName"))
70276	}
70277	if s.TransformJobName != nil && len(*s.TransformJobName) < 1 {
70278		invalidParams.Add(request.NewErrParamMinLen("TransformJobName", 1))
70279	}
70280
70281	if invalidParams.Len() > 0 {
70282		return invalidParams
70283	}
70284	return nil
70285}
70286
70287// SetTransformJobName sets the TransformJobName field's value.
70288func (s *StopTransformJobInput) SetTransformJobName(v string) *StopTransformJobInput {
70289	s.TransformJobName = &v
70290	return s
70291}
70292
70293type StopTransformJobOutput struct {
70294	_ struct{} `type:"structure"`
70295}
70296
70297// String returns the string representation
70298func (s StopTransformJobOutput) String() string {
70299	return awsutil.Prettify(s)
70300}
70301
70302// GoString returns the string representation
70303func (s StopTransformJobOutput) GoString() string {
70304	return s.String()
70305}
70306
70307// Specifies a limit to how long a model training or compilation job can run.
70308// It also specifies how long you are willing to wait for a managed spot training
70309// job to complete. When the job reaches the time limit, Amazon SageMaker ends
70310// the training or compilation job. Use this API to cap model training costs.
70311//
70312// To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal, which
70313// delays job termination for 120 seconds. Algorithms can use this 120-second
70314// window to save the model artifacts, so the results of training are not lost.
70315//
70316// The training algorithms provided by Amazon SageMaker automatically save the
70317// intermediate results of a model training job when possible. This attempt
70318// to save artifacts is only a best effort case as model might not be in a state
70319// from which it can be saved. For example, if training has just started, the
70320// model might not be ready to save. When saved, this intermediate data is a
70321// valid model artifact. You can use it to create a model with CreateModel.
70322//
70323// The Neural Topic Model (NTM) currently does not support saving intermediate
70324// model artifacts. When training NTMs, make sure that the maximum runtime is
70325// sufficient for the training job to complete.
70326type StoppingCondition struct {
70327	_ struct{} `type:"structure"`
70328
70329	// The maximum length of time, in seconds, that the training or compilation
70330	// job can run. If job does not complete during this time, Amazon SageMaker
70331	// ends the job. If value is not specified, default value is 1 day. The maximum
70332	// value is 28 days.
70333	MaxRuntimeInSeconds *int64 `min:"1" type:"integer"`
70334
70335	// The maximum length of time, in seconds, how long you are willing to wait
70336	// for a managed spot training job to complete. It is the amount of time spent
70337	// waiting for Spot capacity plus the amount of time the training job runs.
70338	// It must be equal to or greater than MaxRuntimeInSeconds.
70339	MaxWaitTimeInSeconds *int64 `min:"1" type:"integer"`
70340}
70341
70342// String returns the string representation
70343func (s StoppingCondition) String() string {
70344	return awsutil.Prettify(s)
70345}
70346
70347// GoString returns the string representation
70348func (s StoppingCondition) GoString() string {
70349	return s.String()
70350}
70351
70352// Validate inspects the fields of the type to determine if they are valid.
70353func (s *StoppingCondition) Validate() error {
70354	invalidParams := request.ErrInvalidParams{Context: "StoppingCondition"}
70355	if s.MaxRuntimeInSeconds != nil && *s.MaxRuntimeInSeconds < 1 {
70356		invalidParams.Add(request.NewErrParamMinValue("MaxRuntimeInSeconds", 1))
70357	}
70358	if s.MaxWaitTimeInSeconds != nil && *s.MaxWaitTimeInSeconds < 1 {
70359		invalidParams.Add(request.NewErrParamMinValue("MaxWaitTimeInSeconds", 1))
70360	}
70361
70362	if invalidParams.Len() > 0 {
70363		return invalidParams
70364	}
70365	return nil
70366}
70367
70368// SetMaxRuntimeInSeconds sets the MaxRuntimeInSeconds field's value.
70369func (s *StoppingCondition) SetMaxRuntimeInSeconds(v int64) *StoppingCondition {
70370	s.MaxRuntimeInSeconds = &v
70371	return s
70372}
70373
70374// SetMaxWaitTimeInSeconds sets the MaxWaitTimeInSeconds field's value.
70375func (s *StoppingCondition) SetMaxWaitTimeInSeconds(v int64) *StoppingCondition {
70376	s.MaxWaitTimeInSeconds = &v
70377	return s
70378}
70379
70380// Describes a work team of a vendor that does the a labelling job.
70381type SubscribedWorkteam struct {
70382	_ struct{} `type:"structure"`
70383
70384	// Marketplace product listing ID.
70385	ListingId *string `type:"string"`
70386
70387	// The description of the vendor from the Amazon Marketplace.
70388	MarketplaceDescription *string `min:"1" type:"string"`
70389
70390	// The title of the service provided by the vendor in the Amazon Marketplace.
70391	MarketplaceTitle *string `min:"1" type:"string"`
70392
70393	// The name of the vendor in the Amazon Marketplace.
70394	SellerName *string `type:"string"`
70395
70396	// The Amazon Resource Name (ARN) of the vendor that you have subscribed.
70397	//
70398	// WorkteamArn is a required field
70399	WorkteamArn *string `type:"string" required:"true"`
70400}
70401
70402// String returns the string representation
70403func (s SubscribedWorkteam) String() string {
70404	return awsutil.Prettify(s)
70405}
70406
70407// GoString returns the string representation
70408func (s SubscribedWorkteam) GoString() string {
70409	return s.String()
70410}
70411
70412// SetListingId sets the ListingId field's value.
70413func (s *SubscribedWorkteam) SetListingId(v string) *SubscribedWorkteam {
70414	s.ListingId = &v
70415	return s
70416}
70417
70418// SetMarketplaceDescription sets the MarketplaceDescription field's value.
70419func (s *SubscribedWorkteam) SetMarketplaceDescription(v string) *SubscribedWorkteam {
70420	s.MarketplaceDescription = &v
70421	return s
70422}
70423
70424// SetMarketplaceTitle sets the MarketplaceTitle field's value.
70425func (s *SubscribedWorkteam) SetMarketplaceTitle(v string) *SubscribedWorkteam {
70426	s.MarketplaceTitle = &v
70427	return s
70428}
70429
70430// SetSellerName sets the SellerName field's value.
70431func (s *SubscribedWorkteam) SetSellerName(v string) *SubscribedWorkteam {
70432	s.SellerName = &v
70433	return s
70434}
70435
70436// SetWorkteamArn sets the WorkteamArn field's value.
70437func (s *SubscribedWorkteam) SetWorkteamArn(v string) *SubscribedWorkteam {
70438	s.WorkteamArn = &v
70439	return s
70440}
70441
70442// Specified in the GetSearchSuggestions request. Limits the property names
70443// that are included in the response.
70444type SuggestionQuery struct {
70445	_ struct{} `type:"structure"`
70446
70447	// Defines a property name hint. Only property names that begin with the specified
70448	// hint are included in the response.
70449	PropertyNameQuery *PropertyNameQuery `type:"structure"`
70450}
70451
70452// String returns the string representation
70453func (s SuggestionQuery) String() string {
70454	return awsutil.Prettify(s)
70455}
70456
70457// GoString returns the string representation
70458func (s SuggestionQuery) GoString() string {
70459	return s.String()
70460}
70461
70462// Validate inspects the fields of the type to determine if they are valid.
70463func (s *SuggestionQuery) Validate() error {
70464	invalidParams := request.ErrInvalidParams{Context: "SuggestionQuery"}
70465	if s.PropertyNameQuery != nil {
70466		if err := s.PropertyNameQuery.Validate(); err != nil {
70467			invalidParams.AddNested("PropertyNameQuery", err.(request.ErrInvalidParams))
70468		}
70469	}
70470
70471	if invalidParams.Len() > 0 {
70472		return invalidParams
70473	}
70474	return nil
70475}
70476
70477// SetPropertyNameQuery sets the PropertyNameQuery field's value.
70478func (s *SuggestionQuery) SetPropertyNameQuery(v *PropertyNameQuery) *SuggestionQuery {
70479	s.PropertyNameQuery = v
70480	return s
70481}
70482
70483// Describes a tag.
70484type Tag struct {
70485	_ struct{} `type:"structure"`
70486
70487	// The tag key.
70488	//
70489	// Key is a required field
70490	Key *string `min:"1" type:"string" required:"true"`
70491
70492	// The tag value.
70493	//
70494	// Value is a required field
70495	Value *string `type:"string" required:"true"`
70496}
70497
70498// String returns the string representation
70499func (s Tag) String() string {
70500	return awsutil.Prettify(s)
70501}
70502
70503// GoString returns the string representation
70504func (s Tag) GoString() string {
70505	return s.String()
70506}
70507
70508// Validate inspects the fields of the type to determine if they are valid.
70509func (s *Tag) Validate() error {
70510	invalidParams := request.ErrInvalidParams{Context: "Tag"}
70511	if s.Key == nil {
70512		invalidParams.Add(request.NewErrParamRequired("Key"))
70513	}
70514	if s.Key != nil && len(*s.Key) < 1 {
70515		invalidParams.Add(request.NewErrParamMinLen("Key", 1))
70516	}
70517	if s.Value == nil {
70518		invalidParams.Add(request.NewErrParamRequired("Value"))
70519	}
70520
70521	if invalidParams.Len() > 0 {
70522		return invalidParams
70523	}
70524	return nil
70525}
70526
70527// SetKey sets the Key field's value.
70528func (s *Tag) SetKey(v string) *Tag {
70529	s.Key = &v
70530	return s
70531}
70532
70533// SetValue sets the Value field's value.
70534func (s *Tag) SetValue(v string) *Tag {
70535	s.Value = &v
70536	return s
70537}
70538
70539// Contains information about a target platform that you want your model to
70540// run on, such as OS, architecture, and accelerators. It is an alternative
70541// of TargetDevice.
70542type TargetPlatform struct {
70543	_ struct{} `type:"structure"`
70544
70545	// Specifies a target platform accelerator (optional).
70546	//
70547	//    * NVIDIA: Nvidia graphics processing unit. It also requires gpu-code,
70548	//    trt-ver, cuda-ver compiler options
70549	//
70550	//    * MALI: ARM Mali graphics processor
70551	//
70552	//    * INTEL_GRAPHICS: Integrated Intel graphics
70553	Accelerator *string `type:"string" enum:"TargetPlatformAccelerator"`
70554
70555	// Specifies a target platform architecture.
70556	//
70557	//    * X86_64: 64-bit version of the x86 instruction set.
70558	//
70559	//    * X86: 32-bit version of the x86 instruction set.
70560	//
70561	//    * ARM64: ARMv8 64-bit CPU.
70562	//
70563	//    * ARM_EABIHF: ARMv7 32-bit, Hard Float.
70564	//
70565	//    * ARM_EABI: ARMv7 32-bit, Soft Float. Used by Android 32-bit ARM platform.
70566	//
70567	// Arch is a required field
70568	Arch *string `type:"string" required:"true" enum:"TargetPlatformArch"`
70569
70570	// Specifies a target platform OS.
70571	//
70572	//    * LINUX: Linux-based operating systems.
70573	//
70574	//    * ANDROID: Android operating systems. Android API level can be specified
70575	//    using the ANDROID_PLATFORM compiler option. For example, "CompilerOptions":
70576	//    {'ANDROID_PLATFORM': 28}
70577	//
70578	// Os is a required field
70579	Os *string `type:"string" required:"true" enum:"TargetPlatformOs"`
70580}
70581
70582// String returns the string representation
70583func (s TargetPlatform) String() string {
70584	return awsutil.Prettify(s)
70585}
70586
70587// GoString returns the string representation
70588func (s TargetPlatform) GoString() string {
70589	return s.String()
70590}
70591
70592// Validate inspects the fields of the type to determine if they are valid.
70593func (s *TargetPlatform) Validate() error {
70594	invalidParams := request.ErrInvalidParams{Context: "TargetPlatform"}
70595	if s.Arch == nil {
70596		invalidParams.Add(request.NewErrParamRequired("Arch"))
70597	}
70598	if s.Os == nil {
70599		invalidParams.Add(request.NewErrParamRequired("Os"))
70600	}
70601
70602	if invalidParams.Len() > 0 {
70603		return invalidParams
70604	}
70605	return nil
70606}
70607
70608// SetAccelerator sets the Accelerator field's value.
70609func (s *TargetPlatform) SetAccelerator(v string) *TargetPlatform {
70610	s.Accelerator = &v
70611	return s
70612}
70613
70614// SetArch sets the Arch field's value.
70615func (s *TargetPlatform) SetArch(v string) *TargetPlatform {
70616	s.Arch = &v
70617	return s
70618}
70619
70620// SetOs sets the Os field's value.
70621func (s *TargetPlatform) SetOs(v string) *TargetPlatform {
70622	s.Os = &v
70623	return s
70624}
70625
70626// The TensorBoard app settings.
70627type TensorBoardAppSettings struct {
70628	_ struct{} `type:"structure"`
70629
70630	// The default instance type and the Amazon Resource Name (ARN) of the SageMaker
70631	// image created on the instance.
70632	DefaultResourceSpec *ResourceSpec `type:"structure"`
70633}
70634
70635// String returns the string representation
70636func (s TensorBoardAppSettings) String() string {
70637	return awsutil.Prettify(s)
70638}
70639
70640// GoString returns the string representation
70641func (s TensorBoardAppSettings) GoString() string {
70642	return s.String()
70643}
70644
70645// SetDefaultResourceSpec sets the DefaultResourceSpec field's value.
70646func (s *TensorBoardAppSettings) SetDefaultResourceSpec(v *ResourceSpec) *TensorBoardAppSettings {
70647	s.DefaultResourceSpec = v
70648	return s
70649}
70650
70651// Configuration of storage locations for the Debugger TensorBoard output data.
70652type TensorBoardOutputConfig struct {
70653	_ struct{} `type:"structure"`
70654
70655	// Path to local storage location for tensorBoard output. Defaults to /opt/ml/output/tensorboard.
70656	LocalPath *string `type:"string"`
70657
70658	// Path to Amazon S3 storage location for TensorBoard output.
70659	//
70660	// S3OutputPath is a required field
70661	S3OutputPath *string `type:"string" required:"true"`
70662}
70663
70664// String returns the string representation
70665func (s TensorBoardOutputConfig) String() string {
70666	return awsutil.Prettify(s)
70667}
70668
70669// GoString returns the string representation
70670func (s TensorBoardOutputConfig) GoString() string {
70671	return s.String()
70672}
70673
70674// Validate inspects the fields of the type to determine if they are valid.
70675func (s *TensorBoardOutputConfig) Validate() error {
70676	invalidParams := request.ErrInvalidParams{Context: "TensorBoardOutputConfig"}
70677	if s.S3OutputPath == nil {
70678		invalidParams.Add(request.NewErrParamRequired("S3OutputPath"))
70679	}
70680
70681	if invalidParams.Len() > 0 {
70682		return invalidParams
70683	}
70684	return nil
70685}
70686
70687// SetLocalPath sets the LocalPath field's value.
70688func (s *TensorBoardOutputConfig) SetLocalPath(v string) *TensorBoardOutputConfig {
70689	s.LocalPath = &v
70690	return s
70691}
70692
70693// SetS3OutputPath sets the S3OutputPath field's value.
70694func (s *TensorBoardOutputConfig) SetS3OutputPath(v string) *TensorBoardOutputConfig {
70695	s.S3OutputPath = &v
70696	return s
70697}
70698
70699// Currently, the TrafficRoutingConfig API is not supported.
70700type TrafficRoutingConfig struct {
70701	_ struct{} `type:"structure"`
70702
70703	// Currently, the CapacitySize API is not supported.
70704	CanarySize *CapacitySize `type:"structure"`
70705
70706	// Type is a required field
70707	Type *string `type:"string" required:"true" enum:"TrafficRoutingConfigType"`
70708
70709	// WaitIntervalInSeconds is a required field
70710	WaitIntervalInSeconds *int64 `type:"integer" required:"true"`
70711}
70712
70713// String returns the string representation
70714func (s TrafficRoutingConfig) String() string {
70715	return awsutil.Prettify(s)
70716}
70717
70718// GoString returns the string representation
70719func (s TrafficRoutingConfig) GoString() string {
70720	return s.String()
70721}
70722
70723// Validate inspects the fields of the type to determine if they are valid.
70724func (s *TrafficRoutingConfig) Validate() error {
70725	invalidParams := request.ErrInvalidParams{Context: "TrafficRoutingConfig"}
70726	if s.Type == nil {
70727		invalidParams.Add(request.NewErrParamRequired("Type"))
70728	}
70729	if s.WaitIntervalInSeconds == nil {
70730		invalidParams.Add(request.NewErrParamRequired("WaitIntervalInSeconds"))
70731	}
70732	if s.CanarySize != nil {
70733		if err := s.CanarySize.Validate(); err != nil {
70734			invalidParams.AddNested("CanarySize", err.(request.ErrInvalidParams))
70735		}
70736	}
70737
70738	if invalidParams.Len() > 0 {
70739		return invalidParams
70740	}
70741	return nil
70742}
70743
70744// SetCanarySize sets the CanarySize field's value.
70745func (s *TrafficRoutingConfig) SetCanarySize(v *CapacitySize) *TrafficRoutingConfig {
70746	s.CanarySize = v
70747	return s
70748}
70749
70750// SetType sets the Type field's value.
70751func (s *TrafficRoutingConfig) SetType(v string) *TrafficRoutingConfig {
70752	s.Type = &v
70753	return s
70754}
70755
70756// SetWaitIntervalInSeconds sets the WaitIntervalInSeconds field's value.
70757func (s *TrafficRoutingConfig) SetWaitIntervalInSeconds(v int64) *TrafficRoutingConfig {
70758	s.WaitIntervalInSeconds = &v
70759	return s
70760}
70761
70762// Contains information about a training job.
70763type TrainingJob struct {
70764	_ struct{} `type:"structure"`
70765
70766	// Information about the algorithm used for training, and algorithm metadata.
70767	AlgorithmSpecification *AlgorithmSpecification `type:"structure"`
70768
70769	// The Amazon Resource Name (ARN) of the job.
70770	AutoMLJobArn *string `min:"1" type:"string"`
70771
70772	// The billable time in seconds.
70773	BillableTimeInSeconds *int64 `min:"1" type:"integer"`
70774
70775	// Contains information about the output location for managed spot training
70776	// checkpoint data.
70777	CheckpointConfig *CheckpointConfig `type:"structure"`
70778
70779	// A timestamp that indicates when the training job was created.
70780	CreationTime *time.Time `type:"timestamp"`
70781
70782	// Configuration information for the Debugger hook parameters, metric and tensor
70783	// collections, and storage paths. To learn more about how to configure the
70784	// DebugHookConfig parameter, see Use the SageMaker and Debugger Configuration
70785	// API Operations to Create, Update, and Debug Your Training Job (https://docs.aws.amazon.com/sagemaker/latest/dg/debugger-createtrainingjob-api.html).
70786	DebugHookConfig *DebugHookConfig `type:"structure"`
70787
70788	// Information about the debug rule configuration.
70789	DebugRuleConfigurations []*DebugRuleConfiguration `type:"list"`
70790
70791	// Information about the evaluation status of the rules for the training job.
70792	DebugRuleEvaluationStatuses []*DebugRuleEvaluationStatus `type:"list"`
70793
70794	// To encrypt all communications between ML compute instances in distributed
70795	// training, choose True. Encryption provides greater security for distributed
70796	// training, but training might take longer. How long it takes depends on the
70797	// amount of communication between compute instances, especially if you use
70798	// a deep learning algorithm in distributed training.
70799	EnableInterContainerTrafficEncryption *bool `type:"boolean"`
70800
70801	// When true, enables managed spot training using Amazon EC2 Spot instances
70802	// to run training jobs instead of on-demand instances. For more information,
70803	// see Managed Spot Training (https://docs.aws.amazon.com/sagemaker/latest/dg/model-managed-spot-training.html).
70804	EnableManagedSpotTraining *bool `type:"boolean"`
70805
70806	// If the TrainingJob was created with network isolation, the value is set to
70807	// true. If network isolation is enabled, nodes can't communicate beyond the
70808	// VPC they run in.
70809	EnableNetworkIsolation *bool `type:"boolean"`
70810
70811	// Associates a SageMaker job as a trial component with an experiment and trial.
70812	// Specified when you call the following APIs:
70813	//
70814	//    * CreateProcessingJob
70815	//
70816	//    * CreateTrainingJob
70817	//
70818	//    * CreateTransformJob
70819	ExperimentConfig *ExperimentConfig `type:"structure"`
70820
70821	// If the training job failed, the reason it failed.
70822	FailureReason *string `type:"string"`
70823
70824	// A list of final metric values that are set when the training job completes.
70825	// Used only if the training job was configured to use metrics.
70826	FinalMetricDataList []*MetricData `type:"list"`
70827
70828	// Algorithm-specific parameters.
70829	HyperParameters map[string]*string `type:"map"`
70830
70831	// An array of Channel objects that describes each data input channel.
70832	InputDataConfig []*Channel `min:"1" type:"list"`
70833
70834	// The Amazon Resource Name (ARN) of the labeling job.
70835	LabelingJobArn *string `type:"string"`
70836
70837	// A timestamp that indicates when the status of the training job was last modified.
70838	LastModifiedTime *time.Time `type:"timestamp"`
70839
70840	// Information about the Amazon S3 location that is configured for storing model
70841	// artifacts.
70842	ModelArtifacts *ModelArtifacts `type:"structure"`
70843
70844	// The S3 path where model artifacts that you configured when creating the job
70845	// are stored. Amazon SageMaker creates subfolders for model artifacts.
70846	OutputDataConfig *OutputDataConfig `type:"structure"`
70847
70848	// Resources, including ML compute instances and ML storage volumes, that are
70849	// configured for model training.
70850	ResourceConfig *ResourceConfig `type:"structure"`
70851
70852	// The AWS Identity and Access Management (IAM) role configured for the training
70853	// job.
70854	RoleArn *string `min:"20" type:"string"`
70855
70856	// Provides detailed information about the state of the training job. For detailed
70857	// information about the secondary status of the training job, see StatusMessage
70858	// under SecondaryStatusTransition.
70859	//
70860	// Amazon SageMaker provides primary statuses and secondary statuses that apply
70861	// to each of them:
70862	//
70863	// InProgress
70864	//
70865	//    * Starting - Starting the training job.
70866	//
70867	//    * Downloading - An optional stage for algorithms that support File training
70868	//    input mode. It indicates that data is being downloaded to the ML storage
70869	//    volumes.
70870	//
70871	//    * Training - Training is in progress.
70872	//
70873	//    * Uploading - Training is complete and the model artifacts are being uploaded
70874	//    to the S3 location.
70875	//
70876	// Completed
70877	//
70878	//    * Completed - The training job has completed.
70879	//
70880	// Failed
70881	//
70882	//    * Failed - The training job has failed. The reason for the failure is
70883	//    returned in the FailureReason field of DescribeTrainingJobResponse.
70884	//
70885	// Stopped
70886	//
70887	//    * MaxRuntimeExceeded - The job stopped because it exceeded the maximum
70888	//    allowed runtime.
70889	//
70890	//    * Stopped - The training job has stopped.
70891	//
70892	// Stopping
70893	//
70894	//    * Stopping - Stopping the training job.
70895	//
70896	// Valid values for SecondaryStatus are subject to change.
70897	//
70898	// We no longer support the following secondary statuses:
70899	//
70900	//    * LaunchingMLInstances
70901	//
70902	//    * PreparingTrainingStack
70903	//
70904	//    * DownloadingTrainingImage
70905	SecondaryStatus *string `type:"string" enum:"SecondaryStatus"`
70906
70907	// A history of all of the secondary statuses that the training job has transitioned
70908	// through.
70909	SecondaryStatusTransitions []*SecondaryStatusTransition `type:"list"`
70910
70911	// Specifies a limit to how long a model training job can run. When the job
70912	// reaches the time limit, Amazon SageMaker ends the training job. Use this
70913	// API to cap model training costs.
70914	//
70915	// To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal, which
70916	// delays job termination for 120 seconds. Algorithms can use this 120-second
70917	// window to save the model artifacts, so the results of training are not lost.
70918	StoppingCondition *StoppingCondition `type:"structure"`
70919
70920	// An array of key-value pairs. You can use tags to categorize your AWS resources
70921	// in different ways, for example, by purpose, owner, or environment. For more
70922	// information, see Tagging AWS Resources (https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html).
70923	Tags []*Tag `type:"list"`
70924
70925	// Configuration of storage locations for the Debugger TensorBoard output data.
70926	TensorBoardOutputConfig *TensorBoardOutputConfig `type:"structure"`
70927
70928	// Indicates the time when the training job ends on training instances. You
70929	// are billed for the time interval between the value of TrainingStartTime and
70930	// this time. For successful jobs and stopped jobs, this is the time after model
70931	// artifacts are uploaded. For failed jobs, this is the time when Amazon SageMaker
70932	// detects a job failure.
70933	TrainingEndTime *time.Time `type:"timestamp"`
70934
70935	// The Amazon Resource Name (ARN) of the training job.
70936	TrainingJobArn *string `type:"string"`
70937
70938	// The name of the training job.
70939	TrainingJobName *string `min:"1" type:"string"`
70940
70941	// The status of the training job.
70942	//
70943	// Training job statuses are:
70944	//
70945	//    * InProgress - The training is in progress.
70946	//
70947	//    * Completed - The training job has completed.
70948	//
70949	//    * Failed - The training job has failed. To see the reason for the failure,
70950	//    see the FailureReason field in the response to a DescribeTrainingJobResponse
70951	//    call.
70952	//
70953	//    * Stopping - The training job is stopping.
70954	//
70955	//    * Stopped - The training job has stopped.
70956	//
70957	// For more detailed information, see SecondaryStatus.
70958	TrainingJobStatus *string `type:"string" enum:"TrainingJobStatus"`
70959
70960	// Indicates the time when the training job starts on training instances. You
70961	// are billed for the time interval between this time and the value of TrainingEndTime.
70962	// The start time in CloudWatch Logs might be later than this time. The difference
70963	// is due to the time it takes to download the training data and to the size
70964	// of the training container.
70965	TrainingStartTime *time.Time `type:"timestamp"`
70966
70967	// The training time in seconds.
70968	TrainingTimeInSeconds *int64 `min:"1" type:"integer"`
70969
70970	// The Amazon Resource Name (ARN) of the associated hyperparameter tuning job
70971	// if the training job was launched by a hyperparameter tuning job.
70972	TuningJobArn *string `type:"string"`
70973
70974	// A VpcConfig object that specifies the VPC that this training job has access
70975	// to. For more information, see Protect Training Jobs by Using an Amazon Virtual
70976	// Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html).
70977	VpcConfig *VpcConfig `type:"structure"`
70978}
70979
70980// String returns the string representation
70981func (s TrainingJob) String() string {
70982	return awsutil.Prettify(s)
70983}
70984
70985// GoString returns the string representation
70986func (s TrainingJob) GoString() string {
70987	return s.String()
70988}
70989
70990// SetAlgorithmSpecification sets the AlgorithmSpecification field's value.
70991func (s *TrainingJob) SetAlgorithmSpecification(v *AlgorithmSpecification) *TrainingJob {
70992	s.AlgorithmSpecification = v
70993	return s
70994}
70995
70996// SetAutoMLJobArn sets the AutoMLJobArn field's value.
70997func (s *TrainingJob) SetAutoMLJobArn(v string) *TrainingJob {
70998	s.AutoMLJobArn = &v
70999	return s
71000}
71001
71002// SetBillableTimeInSeconds sets the BillableTimeInSeconds field's value.
71003func (s *TrainingJob) SetBillableTimeInSeconds(v int64) *TrainingJob {
71004	s.BillableTimeInSeconds = &v
71005	return s
71006}
71007
71008// SetCheckpointConfig sets the CheckpointConfig field's value.
71009func (s *TrainingJob) SetCheckpointConfig(v *CheckpointConfig) *TrainingJob {
71010	s.CheckpointConfig = v
71011	return s
71012}
71013
71014// SetCreationTime sets the CreationTime field's value.
71015func (s *TrainingJob) SetCreationTime(v time.Time) *TrainingJob {
71016	s.CreationTime = &v
71017	return s
71018}
71019
71020// SetDebugHookConfig sets the DebugHookConfig field's value.
71021func (s *TrainingJob) SetDebugHookConfig(v *DebugHookConfig) *TrainingJob {
71022	s.DebugHookConfig = v
71023	return s
71024}
71025
71026// SetDebugRuleConfigurations sets the DebugRuleConfigurations field's value.
71027func (s *TrainingJob) SetDebugRuleConfigurations(v []*DebugRuleConfiguration) *TrainingJob {
71028	s.DebugRuleConfigurations = v
71029	return s
71030}
71031
71032// SetDebugRuleEvaluationStatuses sets the DebugRuleEvaluationStatuses field's value.
71033func (s *TrainingJob) SetDebugRuleEvaluationStatuses(v []*DebugRuleEvaluationStatus) *TrainingJob {
71034	s.DebugRuleEvaluationStatuses = v
71035	return s
71036}
71037
71038// SetEnableInterContainerTrafficEncryption sets the EnableInterContainerTrafficEncryption field's value.
71039func (s *TrainingJob) SetEnableInterContainerTrafficEncryption(v bool) *TrainingJob {
71040	s.EnableInterContainerTrafficEncryption = &v
71041	return s
71042}
71043
71044// SetEnableManagedSpotTraining sets the EnableManagedSpotTraining field's value.
71045func (s *TrainingJob) SetEnableManagedSpotTraining(v bool) *TrainingJob {
71046	s.EnableManagedSpotTraining = &v
71047	return s
71048}
71049
71050// SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value.
71051func (s *TrainingJob) SetEnableNetworkIsolation(v bool) *TrainingJob {
71052	s.EnableNetworkIsolation = &v
71053	return s
71054}
71055
71056// SetExperimentConfig sets the ExperimentConfig field's value.
71057func (s *TrainingJob) SetExperimentConfig(v *ExperimentConfig) *TrainingJob {
71058	s.ExperimentConfig = v
71059	return s
71060}
71061
71062// SetFailureReason sets the FailureReason field's value.
71063func (s *TrainingJob) SetFailureReason(v string) *TrainingJob {
71064	s.FailureReason = &v
71065	return s
71066}
71067
71068// SetFinalMetricDataList sets the FinalMetricDataList field's value.
71069func (s *TrainingJob) SetFinalMetricDataList(v []*MetricData) *TrainingJob {
71070	s.FinalMetricDataList = v
71071	return s
71072}
71073
71074// SetHyperParameters sets the HyperParameters field's value.
71075func (s *TrainingJob) SetHyperParameters(v map[string]*string) *TrainingJob {
71076	s.HyperParameters = v
71077	return s
71078}
71079
71080// SetInputDataConfig sets the InputDataConfig field's value.
71081func (s *TrainingJob) SetInputDataConfig(v []*Channel) *TrainingJob {
71082	s.InputDataConfig = v
71083	return s
71084}
71085
71086// SetLabelingJobArn sets the LabelingJobArn field's value.
71087func (s *TrainingJob) SetLabelingJobArn(v string) *TrainingJob {
71088	s.LabelingJobArn = &v
71089	return s
71090}
71091
71092// SetLastModifiedTime sets the LastModifiedTime field's value.
71093func (s *TrainingJob) SetLastModifiedTime(v time.Time) *TrainingJob {
71094	s.LastModifiedTime = &v
71095	return s
71096}
71097
71098// SetModelArtifacts sets the ModelArtifacts field's value.
71099func (s *TrainingJob) SetModelArtifacts(v *ModelArtifacts) *TrainingJob {
71100	s.ModelArtifacts = v
71101	return s
71102}
71103
71104// SetOutputDataConfig sets the OutputDataConfig field's value.
71105func (s *TrainingJob) SetOutputDataConfig(v *OutputDataConfig) *TrainingJob {
71106	s.OutputDataConfig = v
71107	return s
71108}
71109
71110// SetResourceConfig sets the ResourceConfig field's value.
71111func (s *TrainingJob) SetResourceConfig(v *ResourceConfig) *TrainingJob {
71112	s.ResourceConfig = v
71113	return s
71114}
71115
71116// SetRoleArn sets the RoleArn field's value.
71117func (s *TrainingJob) SetRoleArn(v string) *TrainingJob {
71118	s.RoleArn = &v
71119	return s
71120}
71121
71122// SetSecondaryStatus sets the SecondaryStatus field's value.
71123func (s *TrainingJob) SetSecondaryStatus(v string) *TrainingJob {
71124	s.SecondaryStatus = &v
71125	return s
71126}
71127
71128// SetSecondaryStatusTransitions sets the SecondaryStatusTransitions field's value.
71129func (s *TrainingJob) SetSecondaryStatusTransitions(v []*SecondaryStatusTransition) *TrainingJob {
71130	s.SecondaryStatusTransitions = v
71131	return s
71132}
71133
71134// SetStoppingCondition sets the StoppingCondition field's value.
71135func (s *TrainingJob) SetStoppingCondition(v *StoppingCondition) *TrainingJob {
71136	s.StoppingCondition = v
71137	return s
71138}
71139
71140// SetTags sets the Tags field's value.
71141func (s *TrainingJob) SetTags(v []*Tag) *TrainingJob {
71142	s.Tags = v
71143	return s
71144}
71145
71146// SetTensorBoardOutputConfig sets the TensorBoardOutputConfig field's value.
71147func (s *TrainingJob) SetTensorBoardOutputConfig(v *TensorBoardOutputConfig) *TrainingJob {
71148	s.TensorBoardOutputConfig = v
71149	return s
71150}
71151
71152// SetTrainingEndTime sets the TrainingEndTime field's value.
71153func (s *TrainingJob) SetTrainingEndTime(v time.Time) *TrainingJob {
71154	s.TrainingEndTime = &v
71155	return s
71156}
71157
71158// SetTrainingJobArn sets the TrainingJobArn field's value.
71159func (s *TrainingJob) SetTrainingJobArn(v string) *TrainingJob {
71160	s.TrainingJobArn = &v
71161	return s
71162}
71163
71164// SetTrainingJobName sets the TrainingJobName field's value.
71165func (s *TrainingJob) SetTrainingJobName(v string) *TrainingJob {
71166	s.TrainingJobName = &v
71167	return s
71168}
71169
71170// SetTrainingJobStatus sets the TrainingJobStatus field's value.
71171func (s *TrainingJob) SetTrainingJobStatus(v string) *TrainingJob {
71172	s.TrainingJobStatus = &v
71173	return s
71174}
71175
71176// SetTrainingStartTime sets the TrainingStartTime field's value.
71177func (s *TrainingJob) SetTrainingStartTime(v time.Time) *TrainingJob {
71178	s.TrainingStartTime = &v
71179	return s
71180}
71181
71182// SetTrainingTimeInSeconds sets the TrainingTimeInSeconds field's value.
71183func (s *TrainingJob) SetTrainingTimeInSeconds(v int64) *TrainingJob {
71184	s.TrainingTimeInSeconds = &v
71185	return s
71186}
71187
71188// SetTuningJobArn sets the TuningJobArn field's value.
71189func (s *TrainingJob) SetTuningJobArn(v string) *TrainingJob {
71190	s.TuningJobArn = &v
71191	return s
71192}
71193
71194// SetVpcConfig sets the VpcConfig field's value.
71195func (s *TrainingJob) SetVpcConfig(v *VpcConfig) *TrainingJob {
71196	s.VpcConfig = v
71197	return s
71198}
71199
71200// Defines the input needed to run a training job using the algorithm.
71201type TrainingJobDefinition struct {
71202	_ struct{} `type:"structure"`
71203
71204	// The hyperparameters used for the training job.
71205	HyperParameters map[string]*string `type:"map"`
71206
71207	// An array of Channel objects, each of which specifies an input source.
71208	//
71209	// InputDataConfig is a required field
71210	InputDataConfig []*Channel `min:"1" type:"list" required:"true"`
71211
71212	// the path to the S3 bucket where you want to store model artifacts. Amazon
71213	// SageMaker creates subfolders for the artifacts.
71214	//
71215	// OutputDataConfig is a required field
71216	OutputDataConfig *OutputDataConfig `type:"structure" required:"true"`
71217
71218	// The resources, including the ML compute instances and ML storage volumes,
71219	// to use for model training.
71220	//
71221	// ResourceConfig is a required field
71222	ResourceConfig *ResourceConfig `type:"structure" required:"true"`
71223
71224	// Specifies a limit to how long a model training job can run. When the job
71225	// reaches the time limit, Amazon SageMaker ends the training job. Use this
71226	// API to cap model training costs.
71227	//
71228	// To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal, which
71229	// delays job termination for 120 seconds. Algorithms can use this 120-second
71230	// window to save the model artifacts.
71231	//
71232	// StoppingCondition is a required field
71233	StoppingCondition *StoppingCondition `type:"structure" required:"true"`
71234
71235	// The input mode used by the algorithm for the training job. For the input
71236	// modes that Amazon SageMaker algorithms support, see Algorithms (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html).
71237	//
71238	// If an algorithm supports the File input mode, Amazon SageMaker downloads
71239	// the training data from S3 to the provisioned ML storage Volume, and mounts
71240	// the directory to docker volume for training container. If an algorithm supports
71241	// the Pipe input mode, Amazon SageMaker streams data directly from S3 to the
71242	// container.
71243	//
71244	// TrainingInputMode is a required field
71245	TrainingInputMode *string `type:"string" required:"true" enum:"TrainingInputMode"`
71246}
71247
71248// String returns the string representation
71249func (s TrainingJobDefinition) String() string {
71250	return awsutil.Prettify(s)
71251}
71252
71253// GoString returns the string representation
71254func (s TrainingJobDefinition) GoString() string {
71255	return s.String()
71256}
71257
71258// Validate inspects the fields of the type to determine if they are valid.
71259func (s *TrainingJobDefinition) Validate() error {
71260	invalidParams := request.ErrInvalidParams{Context: "TrainingJobDefinition"}
71261	if s.InputDataConfig == nil {
71262		invalidParams.Add(request.NewErrParamRequired("InputDataConfig"))
71263	}
71264	if s.InputDataConfig != nil && len(s.InputDataConfig) < 1 {
71265		invalidParams.Add(request.NewErrParamMinLen("InputDataConfig", 1))
71266	}
71267	if s.OutputDataConfig == nil {
71268		invalidParams.Add(request.NewErrParamRequired("OutputDataConfig"))
71269	}
71270	if s.ResourceConfig == nil {
71271		invalidParams.Add(request.NewErrParamRequired("ResourceConfig"))
71272	}
71273	if s.StoppingCondition == nil {
71274		invalidParams.Add(request.NewErrParamRequired("StoppingCondition"))
71275	}
71276	if s.TrainingInputMode == nil {
71277		invalidParams.Add(request.NewErrParamRequired("TrainingInputMode"))
71278	}
71279	if s.InputDataConfig != nil {
71280		for i, v := range s.InputDataConfig {
71281			if v == nil {
71282				continue
71283			}
71284			if err := v.Validate(); err != nil {
71285				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputDataConfig", i), err.(request.ErrInvalidParams))
71286			}
71287		}
71288	}
71289	if s.OutputDataConfig != nil {
71290		if err := s.OutputDataConfig.Validate(); err != nil {
71291			invalidParams.AddNested("OutputDataConfig", err.(request.ErrInvalidParams))
71292		}
71293	}
71294	if s.ResourceConfig != nil {
71295		if err := s.ResourceConfig.Validate(); err != nil {
71296			invalidParams.AddNested("ResourceConfig", err.(request.ErrInvalidParams))
71297		}
71298	}
71299	if s.StoppingCondition != nil {
71300		if err := s.StoppingCondition.Validate(); err != nil {
71301			invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams))
71302		}
71303	}
71304
71305	if invalidParams.Len() > 0 {
71306		return invalidParams
71307	}
71308	return nil
71309}
71310
71311// SetHyperParameters sets the HyperParameters field's value.
71312func (s *TrainingJobDefinition) SetHyperParameters(v map[string]*string) *TrainingJobDefinition {
71313	s.HyperParameters = v
71314	return s
71315}
71316
71317// SetInputDataConfig sets the InputDataConfig field's value.
71318func (s *TrainingJobDefinition) SetInputDataConfig(v []*Channel) *TrainingJobDefinition {
71319	s.InputDataConfig = v
71320	return s
71321}
71322
71323// SetOutputDataConfig sets the OutputDataConfig field's value.
71324func (s *TrainingJobDefinition) SetOutputDataConfig(v *OutputDataConfig) *TrainingJobDefinition {
71325	s.OutputDataConfig = v
71326	return s
71327}
71328
71329// SetResourceConfig sets the ResourceConfig field's value.
71330func (s *TrainingJobDefinition) SetResourceConfig(v *ResourceConfig) *TrainingJobDefinition {
71331	s.ResourceConfig = v
71332	return s
71333}
71334
71335// SetStoppingCondition sets the StoppingCondition field's value.
71336func (s *TrainingJobDefinition) SetStoppingCondition(v *StoppingCondition) *TrainingJobDefinition {
71337	s.StoppingCondition = v
71338	return s
71339}
71340
71341// SetTrainingInputMode sets the TrainingInputMode field's value.
71342func (s *TrainingJobDefinition) SetTrainingInputMode(v string) *TrainingJobDefinition {
71343	s.TrainingInputMode = &v
71344	return s
71345}
71346
71347// The numbers of training jobs launched by a hyperparameter tuning job, categorized
71348// by status.
71349type TrainingJobStatusCounters struct {
71350	_ struct{} `type:"structure"`
71351
71352	// The number of completed training jobs launched by the hyperparameter tuning
71353	// job.
71354	Completed *int64 `type:"integer"`
71355
71356	// The number of in-progress training jobs launched by a hyperparameter tuning
71357	// job.
71358	InProgress *int64 `type:"integer"`
71359
71360	// The number of training jobs that failed and can't be retried. A failed training
71361	// job can't be retried if it failed because a client error occurred.
71362	NonRetryableError *int64 `type:"integer"`
71363
71364	// The number of training jobs that failed, but can be retried. A failed training
71365	// job can be retried only if it failed because an internal service error occurred.
71366	RetryableError *int64 `type:"integer"`
71367
71368	// The number of training jobs launched by a hyperparameter tuning job that
71369	// were manually stopped.
71370	Stopped *int64 `type:"integer"`
71371}
71372
71373// String returns the string representation
71374func (s TrainingJobStatusCounters) String() string {
71375	return awsutil.Prettify(s)
71376}
71377
71378// GoString returns the string representation
71379func (s TrainingJobStatusCounters) GoString() string {
71380	return s.String()
71381}
71382
71383// SetCompleted sets the Completed field's value.
71384func (s *TrainingJobStatusCounters) SetCompleted(v int64) *TrainingJobStatusCounters {
71385	s.Completed = &v
71386	return s
71387}
71388
71389// SetInProgress sets the InProgress field's value.
71390func (s *TrainingJobStatusCounters) SetInProgress(v int64) *TrainingJobStatusCounters {
71391	s.InProgress = &v
71392	return s
71393}
71394
71395// SetNonRetryableError sets the NonRetryableError field's value.
71396func (s *TrainingJobStatusCounters) SetNonRetryableError(v int64) *TrainingJobStatusCounters {
71397	s.NonRetryableError = &v
71398	return s
71399}
71400
71401// SetRetryableError sets the RetryableError field's value.
71402func (s *TrainingJobStatusCounters) SetRetryableError(v int64) *TrainingJobStatusCounters {
71403	s.RetryableError = &v
71404	return s
71405}
71406
71407// SetStopped sets the Stopped field's value.
71408func (s *TrainingJobStatusCounters) SetStopped(v int64) *TrainingJobStatusCounters {
71409	s.Stopped = &v
71410	return s
71411}
71412
71413// Metadata for a training job step.
71414type TrainingJobStepMetadata struct {
71415	_ struct{} `type:"structure"`
71416
71417	// The Amazon Resource Name (ARN) of the training job that was run by this step
71418	// execution.
71419	Arn *string `type:"string"`
71420}
71421
71422// String returns the string representation
71423func (s TrainingJobStepMetadata) String() string {
71424	return awsutil.Prettify(s)
71425}
71426
71427// GoString returns the string representation
71428func (s TrainingJobStepMetadata) GoString() string {
71429	return s.String()
71430}
71431
71432// SetArn sets the Arn field's value.
71433func (s *TrainingJobStepMetadata) SetArn(v string) *TrainingJobStepMetadata {
71434	s.Arn = &v
71435	return s
71436}
71437
71438// Provides summary information about a training job.
71439type TrainingJobSummary struct {
71440	_ struct{} `type:"structure"`
71441
71442	// A timestamp that shows when the training job was created.
71443	//
71444	// CreationTime is a required field
71445	CreationTime *time.Time `type:"timestamp" required:"true"`
71446
71447	// Timestamp when the training job was last modified.
71448	LastModifiedTime *time.Time `type:"timestamp"`
71449
71450	// A timestamp that shows when the training job ended. This field is set only
71451	// if the training job has one of the terminal statuses (Completed, Failed,
71452	// or Stopped).
71453	TrainingEndTime *time.Time `type:"timestamp"`
71454
71455	// The Amazon Resource Name (ARN) of the training job.
71456	//
71457	// TrainingJobArn is a required field
71458	TrainingJobArn *string `type:"string" required:"true"`
71459
71460	// The name of the training job that you want a summary for.
71461	//
71462	// TrainingJobName is a required field
71463	TrainingJobName *string `min:"1" type:"string" required:"true"`
71464
71465	// The status of the training job.
71466	//
71467	// TrainingJobStatus is a required field
71468	TrainingJobStatus *string `type:"string" required:"true" enum:"TrainingJobStatus"`
71469}
71470
71471// String returns the string representation
71472func (s TrainingJobSummary) String() string {
71473	return awsutil.Prettify(s)
71474}
71475
71476// GoString returns the string representation
71477func (s TrainingJobSummary) GoString() string {
71478	return s.String()
71479}
71480
71481// SetCreationTime sets the CreationTime field's value.
71482func (s *TrainingJobSummary) SetCreationTime(v time.Time) *TrainingJobSummary {
71483	s.CreationTime = &v
71484	return s
71485}
71486
71487// SetLastModifiedTime sets the LastModifiedTime field's value.
71488func (s *TrainingJobSummary) SetLastModifiedTime(v time.Time) *TrainingJobSummary {
71489	s.LastModifiedTime = &v
71490	return s
71491}
71492
71493// SetTrainingEndTime sets the TrainingEndTime field's value.
71494func (s *TrainingJobSummary) SetTrainingEndTime(v time.Time) *TrainingJobSummary {
71495	s.TrainingEndTime = &v
71496	return s
71497}
71498
71499// SetTrainingJobArn sets the TrainingJobArn field's value.
71500func (s *TrainingJobSummary) SetTrainingJobArn(v string) *TrainingJobSummary {
71501	s.TrainingJobArn = &v
71502	return s
71503}
71504
71505// SetTrainingJobName sets the TrainingJobName field's value.
71506func (s *TrainingJobSummary) SetTrainingJobName(v string) *TrainingJobSummary {
71507	s.TrainingJobName = &v
71508	return s
71509}
71510
71511// SetTrainingJobStatus sets the TrainingJobStatus field's value.
71512func (s *TrainingJobSummary) SetTrainingJobStatus(v string) *TrainingJobSummary {
71513	s.TrainingJobStatus = &v
71514	return s
71515}
71516
71517// Defines how the algorithm is used for a training job.
71518type TrainingSpecification struct {
71519	_ struct{} `type:"structure"`
71520
71521	// A list of MetricDefinition objects, which are used for parsing metrics generated
71522	// by the algorithm.
71523	MetricDefinitions []*MetricDefinition `type:"list"`
71524
71525	// A list of the HyperParameterSpecification objects, that define the supported
71526	// hyperparameters. This is required if the algorithm supports automatic model
71527	// tuning.>
71528	SupportedHyperParameters []*HyperParameterSpecification `type:"list"`
71529
71530	// A list of the instance types that this algorithm can use for training.
71531	//
71532	// SupportedTrainingInstanceTypes is a required field
71533	SupportedTrainingInstanceTypes []*string `type:"list" required:"true"`
71534
71535	// A list of the metrics that the algorithm emits that can be used as the objective
71536	// metric in a hyperparameter tuning job.
71537	SupportedTuningJobObjectiveMetrics []*HyperParameterTuningJobObjective `type:"list"`
71538
71539	// Indicates whether the algorithm supports distributed training. If set to
71540	// false, buyers can't request more than one instance during training.
71541	SupportsDistributedTraining *bool `type:"boolean"`
71542
71543	// A list of ChannelSpecification objects, which specify the input sources to
71544	// be used by the algorithm.
71545	//
71546	// TrainingChannels is a required field
71547	TrainingChannels []*ChannelSpecification `min:"1" type:"list" required:"true"`
71548
71549	// The Amazon ECR registry path of the Docker image that contains the training
71550	// algorithm.
71551	//
71552	// TrainingImage is a required field
71553	TrainingImage *string `type:"string" required:"true"`
71554
71555	// An MD5 hash of the training algorithm that identifies the Docker image used
71556	// for training.
71557	TrainingImageDigest *string `type:"string"`
71558}
71559
71560// String returns the string representation
71561func (s TrainingSpecification) String() string {
71562	return awsutil.Prettify(s)
71563}
71564
71565// GoString returns the string representation
71566func (s TrainingSpecification) GoString() string {
71567	return s.String()
71568}
71569
71570// Validate inspects the fields of the type to determine if they are valid.
71571func (s *TrainingSpecification) Validate() error {
71572	invalidParams := request.ErrInvalidParams{Context: "TrainingSpecification"}
71573	if s.SupportedTrainingInstanceTypes == nil {
71574		invalidParams.Add(request.NewErrParamRequired("SupportedTrainingInstanceTypes"))
71575	}
71576	if s.TrainingChannels == nil {
71577		invalidParams.Add(request.NewErrParamRequired("TrainingChannels"))
71578	}
71579	if s.TrainingChannels != nil && len(s.TrainingChannels) < 1 {
71580		invalidParams.Add(request.NewErrParamMinLen("TrainingChannels", 1))
71581	}
71582	if s.TrainingImage == nil {
71583		invalidParams.Add(request.NewErrParamRequired("TrainingImage"))
71584	}
71585	if s.MetricDefinitions != nil {
71586		for i, v := range s.MetricDefinitions {
71587			if v == nil {
71588				continue
71589			}
71590			if err := v.Validate(); err != nil {
71591				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MetricDefinitions", i), err.(request.ErrInvalidParams))
71592			}
71593		}
71594	}
71595	if s.SupportedHyperParameters != nil {
71596		for i, v := range s.SupportedHyperParameters {
71597			if v == nil {
71598				continue
71599			}
71600			if err := v.Validate(); err != nil {
71601				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SupportedHyperParameters", i), err.(request.ErrInvalidParams))
71602			}
71603		}
71604	}
71605	if s.SupportedTuningJobObjectiveMetrics != nil {
71606		for i, v := range s.SupportedTuningJobObjectiveMetrics {
71607			if v == nil {
71608				continue
71609			}
71610			if err := v.Validate(); err != nil {
71611				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SupportedTuningJobObjectiveMetrics", i), err.(request.ErrInvalidParams))
71612			}
71613		}
71614	}
71615	if s.TrainingChannels != nil {
71616		for i, v := range s.TrainingChannels {
71617			if v == nil {
71618				continue
71619			}
71620			if err := v.Validate(); err != nil {
71621				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "TrainingChannels", i), err.(request.ErrInvalidParams))
71622			}
71623		}
71624	}
71625
71626	if invalidParams.Len() > 0 {
71627		return invalidParams
71628	}
71629	return nil
71630}
71631
71632// SetMetricDefinitions sets the MetricDefinitions field's value.
71633func (s *TrainingSpecification) SetMetricDefinitions(v []*MetricDefinition) *TrainingSpecification {
71634	s.MetricDefinitions = v
71635	return s
71636}
71637
71638// SetSupportedHyperParameters sets the SupportedHyperParameters field's value.
71639func (s *TrainingSpecification) SetSupportedHyperParameters(v []*HyperParameterSpecification) *TrainingSpecification {
71640	s.SupportedHyperParameters = v
71641	return s
71642}
71643
71644// SetSupportedTrainingInstanceTypes sets the SupportedTrainingInstanceTypes field's value.
71645func (s *TrainingSpecification) SetSupportedTrainingInstanceTypes(v []*string) *TrainingSpecification {
71646	s.SupportedTrainingInstanceTypes = v
71647	return s
71648}
71649
71650// SetSupportedTuningJobObjectiveMetrics sets the SupportedTuningJobObjectiveMetrics field's value.
71651func (s *TrainingSpecification) SetSupportedTuningJobObjectiveMetrics(v []*HyperParameterTuningJobObjective) *TrainingSpecification {
71652	s.SupportedTuningJobObjectiveMetrics = v
71653	return s
71654}
71655
71656// SetSupportsDistributedTraining sets the SupportsDistributedTraining field's value.
71657func (s *TrainingSpecification) SetSupportsDistributedTraining(v bool) *TrainingSpecification {
71658	s.SupportsDistributedTraining = &v
71659	return s
71660}
71661
71662// SetTrainingChannels sets the TrainingChannels field's value.
71663func (s *TrainingSpecification) SetTrainingChannels(v []*ChannelSpecification) *TrainingSpecification {
71664	s.TrainingChannels = v
71665	return s
71666}
71667
71668// SetTrainingImage sets the TrainingImage field's value.
71669func (s *TrainingSpecification) SetTrainingImage(v string) *TrainingSpecification {
71670	s.TrainingImage = &v
71671	return s
71672}
71673
71674// SetTrainingImageDigest sets the TrainingImageDigest field's value.
71675func (s *TrainingSpecification) SetTrainingImageDigest(v string) *TrainingSpecification {
71676	s.TrainingImageDigest = &v
71677	return s
71678}
71679
71680// Describes the location of the channel data.
71681type TransformDataSource struct {
71682	_ struct{} `type:"structure"`
71683
71684	// The S3 location of the data source that is associated with a channel.
71685	//
71686	// S3DataSource is a required field
71687	S3DataSource *TransformS3DataSource `type:"structure" required:"true"`
71688}
71689
71690// String returns the string representation
71691func (s TransformDataSource) String() string {
71692	return awsutil.Prettify(s)
71693}
71694
71695// GoString returns the string representation
71696func (s TransformDataSource) GoString() string {
71697	return s.String()
71698}
71699
71700// Validate inspects the fields of the type to determine if they are valid.
71701func (s *TransformDataSource) Validate() error {
71702	invalidParams := request.ErrInvalidParams{Context: "TransformDataSource"}
71703	if s.S3DataSource == nil {
71704		invalidParams.Add(request.NewErrParamRequired("S3DataSource"))
71705	}
71706	if s.S3DataSource != nil {
71707		if err := s.S3DataSource.Validate(); err != nil {
71708			invalidParams.AddNested("S3DataSource", err.(request.ErrInvalidParams))
71709		}
71710	}
71711
71712	if invalidParams.Len() > 0 {
71713		return invalidParams
71714	}
71715	return nil
71716}
71717
71718// SetS3DataSource sets the S3DataSource field's value.
71719func (s *TransformDataSource) SetS3DataSource(v *TransformS3DataSource) *TransformDataSource {
71720	s.S3DataSource = v
71721	return s
71722}
71723
71724// Describes the input source of a transform job and the way the transform job
71725// consumes it.
71726type TransformInput struct {
71727	_ struct{} `type:"structure"`
71728
71729	// If your transform data is compressed, specify the compression type. Amazon
71730	// SageMaker automatically decompresses the data for the transform job accordingly.
71731	// The default value is None.
71732	CompressionType *string `type:"string" enum:"CompressionType"`
71733
71734	// The multipurpose internet mail extension (MIME) type of the data. Amazon
71735	// SageMaker uses the MIME type with each http call to transfer data to the
71736	// transform job.
71737	ContentType *string `type:"string"`
71738
71739	// Describes the location of the channel data, which is, the S3 location of
71740	// the input data that the model can consume.
71741	//
71742	// DataSource is a required field
71743	DataSource *TransformDataSource `type:"structure" required:"true"`
71744
71745	// The method to use to split the transform job's data files into smaller batches.
71746	// Splitting is necessary when the total size of each object is too large to
71747	// fit in a single request. You can also use data splitting to improve performance
71748	// by processing multiple concurrent mini-batches. The default value for SplitType
71749	// is None, which indicates that input data files are not split, and request
71750	// payloads contain the entire contents of an input object. Set the value of
71751	// this parameter to Line to split records on a newline character boundary.
71752	// SplitType also supports a number of record-oriented binary data formats.
71753	// Currently, the supported record formats are:
71754	//
71755	//    * RecordIO
71756	//
71757	//    * TFRecord
71758	//
71759	// When splitting is enabled, the size of a mini-batch depends on the values
71760	// of the BatchStrategy and MaxPayloadInMB parameters. When the value of BatchStrategy
71761	// is MultiRecord, Amazon SageMaker sends the maximum number of records in each
71762	// request, up to the MaxPayloadInMB limit. If the value of BatchStrategy is
71763	// SingleRecord, Amazon SageMaker sends individual records in each request.
71764	//
71765	// Some data formats represent a record as a binary payload wrapped with extra
71766	// padding bytes. When splitting is applied to a binary data format, padding
71767	// is removed if the value of BatchStrategy is set to SingleRecord. Padding
71768	// is not removed if the value of BatchStrategy is set to MultiRecord.
71769	//
71770	// For more information about RecordIO, see Create a Dataset Using RecordIO
71771	// (https://mxnet.apache.org/api/faq/recordio) in the MXNet documentation. For
71772	// more information about TFRecord, see Consuming TFRecord data (https://www.tensorflow.org/guide/datasets#consuming_tfrecord_data)
71773	// in the TensorFlow documentation.
71774	SplitType *string `type:"string" enum:"SplitType"`
71775}
71776
71777// String returns the string representation
71778func (s TransformInput) String() string {
71779	return awsutil.Prettify(s)
71780}
71781
71782// GoString returns the string representation
71783func (s TransformInput) GoString() string {
71784	return s.String()
71785}
71786
71787// Validate inspects the fields of the type to determine if they are valid.
71788func (s *TransformInput) Validate() error {
71789	invalidParams := request.ErrInvalidParams{Context: "TransformInput"}
71790	if s.DataSource == nil {
71791		invalidParams.Add(request.NewErrParamRequired("DataSource"))
71792	}
71793	if s.DataSource != nil {
71794		if err := s.DataSource.Validate(); err != nil {
71795			invalidParams.AddNested("DataSource", err.(request.ErrInvalidParams))
71796		}
71797	}
71798
71799	if invalidParams.Len() > 0 {
71800		return invalidParams
71801	}
71802	return nil
71803}
71804
71805// SetCompressionType sets the CompressionType field's value.
71806func (s *TransformInput) SetCompressionType(v string) *TransformInput {
71807	s.CompressionType = &v
71808	return s
71809}
71810
71811// SetContentType sets the ContentType field's value.
71812func (s *TransformInput) SetContentType(v string) *TransformInput {
71813	s.ContentType = &v
71814	return s
71815}
71816
71817// SetDataSource sets the DataSource field's value.
71818func (s *TransformInput) SetDataSource(v *TransformDataSource) *TransformInput {
71819	s.DataSource = v
71820	return s
71821}
71822
71823// SetSplitType sets the SplitType field's value.
71824func (s *TransformInput) SetSplitType(v string) *TransformInput {
71825	s.SplitType = &v
71826	return s
71827}
71828
71829// A batch transform job. For information about SageMaker batch transform, see
71830// Use Batch Transform (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform.html).
71831type TransformJob struct {
71832	_ struct{} `type:"structure"`
71833
71834	// The Amazon Resource Name (ARN) of the AutoML job that created the transform
71835	// job.
71836	AutoMLJobArn *string `min:"1" type:"string"`
71837
71838	// Specifies the number of records to include in a mini-batch for an HTTP inference
71839	// request. A record is a single unit of input data that inference can be made
71840	// on. For example, a single line in a CSV file is a record.
71841	BatchStrategy *string `type:"string" enum:"BatchStrategy"`
71842
71843	// A timestamp that shows when the transform Job was created.
71844	CreationTime *time.Time `type:"timestamp"`
71845
71846	// The data structure used to specify the data to be used for inference in a
71847	// batch transform job and to associate the data that is relevant to the prediction
71848	// results in the output. The input filter provided allows you to exclude input
71849	// data that is not needed for inference in a batch transform job. The output
71850	// filter provided allows you to include input data relevant to interpreting
71851	// the predictions in the output from the job. For more information, see Associate
71852	// Prediction Results with their Corresponding Input Records (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-data-processing.html).
71853	DataProcessing *DataProcessing `type:"structure"`
71854
71855	// The environment variables to set in the Docker container. We support up to
71856	// 16 key and values entries in the map.
71857	Environment map[string]*string `type:"map"`
71858
71859	// Associates a SageMaker job as a trial component with an experiment and trial.
71860	// Specified when you call the following APIs:
71861	//
71862	//    * CreateProcessingJob
71863	//
71864	//    * CreateTrainingJob
71865	//
71866	//    * CreateTransformJob
71867	ExperimentConfig *ExperimentConfig `type:"structure"`
71868
71869	// If the transform job failed, the reason it failed.
71870	FailureReason *string `type:"string"`
71871
71872	// The Amazon Resource Name (ARN) of the labeling job that created the transform
71873	// job.
71874	LabelingJobArn *string `type:"string"`
71875
71876	// The maximum number of parallel requests that can be sent to each instance
71877	// in a transform job. If MaxConcurrentTransforms is set to 0 or left unset,
71878	// SageMaker checks the optional execution-parameters to determine the settings
71879	// for your chosen algorithm. If the execution-parameters endpoint is not enabled,
71880	// the default value is 1. For built-in algorithms, you don't need to set a
71881	// value for MaxConcurrentTransforms.
71882	MaxConcurrentTransforms *int64 `type:"integer"`
71883
71884	// The maximum allowed size of the payload, in MB. A payload is the data portion
71885	// of a record (without metadata). The value in MaxPayloadInMB must be greater
71886	// than, or equal to, the size of a single record. To estimate the size of a
71887	// record in MB, divide the size of your dataset by the number of records. To
71888	// ensure that the records fit within the maximum payload size, we recommend
71889	// using a slightly larger value. The default value is 6 MB. For cases where
71890	// the payload might be arbitrarily large and is transmitted using HTTP chunked
71891	// encoding, set the value to 0. This feature works only in supported algorithms.
71892	// Currently, SageMaker built-in algorithms do not support HTTP chunked encoding.
71893	MaxPayloadInMB *int64 `type:"integer"`
71894
71895	// Configures the timeout and maximum number of retries for processing a transform
71896	// job invocation.
71897	ModelClientConfig *ModelClientConfig `type:"structure"`
71898
71899	// The name of the model associated with the transform job.
71900	ModelName *string `type:"string"`
71901
71902	// A list of tags associated with the transform job.
71903	Tags []*Tag `type:"list"`
71904
71905	// Indicates when the transform job has been completed, or has stopped or failed.
71906	// You are billed for the time interval between this time and the value of TransformStartTime.
71907	TransformEndTime *time.Time `type:"timestamp"`
71908
71909	// Describes the input source of a transform job and the way the transform job
71910	// consumes it.
71911	TransformInput *TransformInput `type:"structure"`
71912
71913	// The Amazon Resource Name (ARN) of the transform job.
71914	TransformJobArn *string `type:"string"`
71915
71916	// The name of the transform job.
71917	TransformJobName *string `min:"1" type:"string"`
71918
71919	// The status of the transform job.
71920	//
71921	// Transform job statuses are:
71922	//
71923	//    * InProgress - The job is in progress.
71924	//
71925	//    * Completed - The job has completed.
71926	//
71927	//    * Failed - The transform job has failed. To see the reason for the failure,
71928	//    see the FailureReason field in the response to a DescribeTransformJob
71929	//    call.
71930	//
71931	//    * Stopping - The transform job is stopping.
71932	//
71933	//    * Stopped - The transform job has stopped.
71934	TransformJobStatus *string `type:"string" enum:"TransformJobStatus"`
71935
71936	// Describes the results of a transform job.
71937	TransformOutput *TransformOutput `type:"structure"`
71938
71939	// Describes the resources, including ML instance types and ML instance count,
71940	// to use for transform job.
71941	TransformResources *TransformResources `type:"structure"`
71942
71943	// Indicates when the transform job starts on ML instances. You are billed for
71944	// the time interval between this time and the value of TransformEndTime.
71945	TransformStartTime *time.Time `type:"timestamp"`
71946}
71947
71948// String returns the string representation
71949func (s TransformJob) String() string {
71950	return awsutil.Prettify(s)
71951}
71952
71953// GoString returns the string representation
71954func (s TransformJob) GoString() string {
71955	return s.String()
71956}
71957
71958// SetAutoMLJobArn sets the AutoMLJobArn field's value.
71959func (s *TransformJob) SetAutoMLJobArn(v string) *TransformJob {
71960	s.AutoMLJobArn = &v
71961	return s
71962}
71963
71964// SetBatchStrategy sets the BatchStrategy field's value.
71965func (s *TransformJob) SetBatchStrategy(v string) *TransformJob {
71966	s.BatchStrategy = &v
71967	return s
71968}
71969
71970// SetCreationTime sets the CreationTime field's value.
71971func (s *TransformJob) SetCreationTime(v time.Time) *TransformJob {
71972	s.CreationTime = &v
71973	return s
71974}
71975
71976// SetDataProcessing sets the DataProcessing field's value.
71977func (s *TransformJob) SetDataProcessing(v *DataProcessing) *TransformJob {
71978	s.DataProcessing = v
71979	return s
71980}
71981
71982// SetEnvironment sets the Environment field's value.
71983func (s *TransformJob) SetEnvironment(v map[string]*string) *TransformJob {
71984	s.Environment = v
71985	return s
71986}
71987
71988// SetExperimentConfig sets the ExperimentConfig field's value.
71989func (s *TransformJob) SetExperimentConfig(v *ExperimentConfig) *TransformJob {
71990	s.ExperimentConfig = v
71991	return s
71992}
71993
71994// SetFailureReason sets the FailureReason field's value.
71995func (s *TransformJob) SetFailureReason(v string) *TransformJob {
71996	s.FailureReason = &v
71997	return s
71998}
71999
72000// SetLabelingJobArn sets the LabelingJobArn field's value.
72001func (s *TransformJob) SetLabelingJobArn(v string) *TransformJob {
72002	s.LabelingJobArn = &v
72003	return s
72004}
72005
72006// SetMaxConcurrentTransforms sets the MaxConcurrentTransforms field's value.
72007func (s *TransformJob) SetMaxConcurrentTransforms(v int64) *TransformJob {
72008	s.MaxConcurrentTransforms = &v
72009	return s
72010}
72011
72012// SetMaxPayloadInMB sets the MaxPayloadInMB field's value.
72013func (s *TransformJob) SetMaxPayloadInMB(v int64) *TransformJob {
72014	s.MaxPayloadInMB = &v
72015	return s
72016}
72017
72018// SetModelClientConfig sets the ModelClientConfig field's value.
72019func (s *TransformJob) SetModelClientConfig(v *ModelClientConfig) *TransformJob {
72020	s.ModelClientConfig = v
72021	return s
72022}
72023
72024// SetModelName sets the ModelName field's value.
72025func (s *TransformJob) SetModelName(v string) *TransformJob {
72026	s.ModelName = &v
72027	return s
72028}
72029
72030// SetTags sets the Tags field's value.
72031func (s *TransformJob) SetTags(v []*Tag) *TransformJob {
72032	s.Tags = v
72033	return s
72034}
72035
72036// SetTransformEndTime sets the TransformEndTime field's value.
72037func (s *TransformJob) SetTransformEndTime(v time.Time) *TransformJob {
72038	s.TransformEndTime = &v
72039	return s
72040}
72041
72042// SetTransformInput sets the TransformInput field's value.
72043func (s *TransformJob) SetTransformInput(v *TransformInput) *TransformJob {
72044	s.TransformInput = v
72045	return s
72046}
72047
72048// SetTransformJobArn sets the TransformJobArn field's value.
72049func (s *TransformJob) SetTransformJobArn(v string) *TransformJob {
72050	s.TransformJobArn = &v
72051	return s
72052}
72053
72054// SetTransformJobName sets the TransformJobName field's value.
72055func (s *TransformJob) SetTransformJobName(v string) *TransformJob {
72056	s.TransformJobName = &v
72057	return s
72058}
72059
72060// SetTransformJobStatus sets the TransformJobStatus field's value.
72061func (s *TransformJob) SetTransformJobStatus(v string) *TransformJob {
72062	s.TransformJobStatus = &v
72063	return s
72064}
72065
72066// SetTransformOutput sets the TransformOutput field's value.
72067func (s *TransformJob) SetTransformOutput(v *TransformOutput) *TransformJob {
72068	s.TransformOutput = v
72069	return s
72070}
72071
72072// SetTransformResources sets the TransformResources field's value.
72073func (s *TransformJob) SetTransformResources(v *TransformResources) *TransformJob {
72074	s.TransformResources = v
72075	return s
72076}
72077
72078// SetTransformStartTime sets the TransformStartTime field's value.
72079func (s *TransformJob) SetTransformStartTime(v time.Time) *TransformJob {
72080	s.TransformStartTime = &v
72081	return s
72082}
72083
72084// Defines the input needed to run a transform job using the inference specification
72085// specified in the algorithm.
72086type TransformJobDefinition struct {
72087	_ struct{} `type:"structure"`
72088
72089	// A string that determines the number of records included in a single mini-batch.
72090	//
72091	// SingleRecord means only one record is used per mini-batch. MultiRecord means
72092	// a mini-batch is set to contain as many records that can fit within the MaxPayloadInMB
72093	// limit.
72094	BatchStrategy *string `type:"string" enum:"BatchStrategy"`
72095
72096	// The environment variables to set in the Docker container. We support up to
72097	// 16 key and values entries in the map.
72098	Environment map[string]*string `type:"map"`
72099
72100	// The maximum number of parallel requests that can be sent to each instance
72101	// in a transform job. The default value is 1.
72102	MaxConcurrentTransforms *int64 `type:"integer"`
72103
72104	// The maximum payload size allowed, in MB. A payload is the data portion of
72105	// a record (without metadata).
72106	MaxPayloadInMB *int64 `type:"integer"`
72107
72108	// A description of the input source and the way the transform job consumes
72109	// it.
72110	//
72111	// TransformInput is a required field
72112	TransformInput *TransformInput `type:"structure" required:"true"`
72113
72114	// Identifies the Amazon S3 location where you want Amazon SageMaker to save
72115	// the results from the transform job.
72116	//
72117	// TransformOutput is a required field
72118	TransformOutput *TransformOutput `type:"structure" required:"true"`
72119
72120	// Identifies the ML compute instances for the transform job.
72121	//
72122	// TransformResources is a required field
72123	TransformResources *TransformResources `type:"structure" required:"true"`
72124}
72125
72126// String returns the string representation
72127func (s TransformJobDefinition) String() string {
72128	return awsutil.Prettify(s)
72129}
72130
72131// GoString returns the string representation
72132func (s TransformJobDefinition) GoString() string {
72133	return s.String()
72134}
72135
72136// Validate inspects the fields of the type to determine if they are valid.
72137func (s *TransformJobDefinition) Validate() error {
72138	invalidParams := request.ErrInvalidParams{Context: "TransformJobDefinition"}
72139	if s.TransformInput == nil {
72140		invalidParams.Add(request.NewErrParamRequired("TransformInput"))
72141	}
72142	if s.TransformOutput == nil {
72143		invalidParams.Add(request.NewErrParamRequired("TransformOutput"))
72144	}
72145	if s.TransformResources == nil {
72146		invalidParams.Add(request.NewErrParamRequired("TransformResources"))
72147	}
72148	if s.TransformInput != nil {
72149		if err := s.TransformInput.Validate(); err != nil {
72150			invalidParams.AddNested("TransformInput", err.(request.ErrInvalidParams))
72151		}
72152	}
72153	if s.TransformOutput != nil {
72154		if err := s.TransformOutput.Validate(); err != nil {
72155			invalidParams.AddNested("TransformOutput", err.(request.ErrInvalidParams))
72156		}
72157	}
72158	if s.TransformResources != nil {
72159		if err := s.TransformResources.Validate(); err != nil {
72160			invalidParams.AddNested("TransformResources", err.(request.ErrInvalidParams))
72161		}
72162	}
72163
72164	if invalidParams.Len() > 0 {
72165		return invalidParams
72166	}
72167	return nil
72168}
72169
72170// SetBatchStrategy sets the BatchStrategy field's value.
72171func (s *TransformJobDefinition) SetBatchStrategy(v string) *TransformJobDefinition {
72172	s.BatchStrategy = &v
72173	return s
72174}
72175
72176// SetEnvironment sets the Environment field's value.
72177func (s *TransformJobDefinition) SetEnvironment(v map[string]*string) *TransformJobDefinition {
72178	s.Environment = v
72179	return s
72180}
72181
72182// SetMaxConcurrentTransforms sets the MaxConcurrentTransforms field's value.
72183func (s *TransformJobDefinition) SetMaxConcurrentTransforms(v int64) *TransformJobDefinition {
72184	s.MaxConcurrentTransforms = &v
72185	return s
72186}
72187
72188// SetMaxPayloadInMB sets the MaxPayloadInMB field's value.
72189func (s *TransformJobDefinition) SetMaxPayloadInMB(v int64) *TransformJobDefinition {
72190	s.MaxPayloadInMB = &v
72191	return s
72192}
72193
72194// SetTransformInput sets the TransformInput field's value.
72195func (s *TransformJobDefinition) SetTransformInput(v *TransformInput) *TransformJobDefinition {
72196	s.TransformInput = v
72197	return s
72198}
72199
72200// SetTransformOutput sets the TransformOutput field's value.
72201func (s *TransformJobDefinition) SetTransformOutput(v *TransformOutput) *TransformJobDefinition {
72202	s.TransformOutput = v
72203	return s
72204}
72205
72206// SetTransformResources sets the TransformResources field's value.
72207func (s *TransformJobDefinition) SetTransformResources(v *TransformResources) *TransformJobDefinition {
72208	s.TransformResources = v
72209	return s
72210}
72211
72212// Metadata for a transform job step.
72213type TransformJobStepMetadata struct {
72214	_ struct{} `type:"structure"`
72215
72216	// The Amazon Resource Name (ARN) of the transform job that was run by this
72217	// step execution.
72218	Arn *string `type:"string"`
72219}
72220
72221// String returns the string representation
72222func (s TransformJobStepMetadata) String() string {
72223	return awsutil.Prettify(s)
72224}
72225
72226// GoString returns the string representation
72227func (s TransformJobStepMetadata) GoString() string {
72228	return s.String()
72229}
72230
72231// SetArn sets the Arn field's value.
72232func (s *TransformJobStepMetadata) SetArn(v string) *TransformJobStepMetadata {
72233	s.Arn = &v
72234	return s
72235}
72236
72237// Provides a summary of a transform job. Multiple TransformJobSummary objects
72238// are returned as a list after in response to a ListTransformJobs call.
72239type TransformJobSummary struct {
72240	_ struct{} `type:"structure"`
72241
72242	// A timestamp that shows when the transform Job was created.
72243	//
72244	// CreationTime is a required field
72245	CreationTime *time.Time `type:"timestamp" required:"true"`
72246
72247	// If the transform job failed, the reason it failed.
72248	FailureReason *string `type:"string"`
72249
72250	// Indicates when the transform job was last modified.
72251	LastModifiedTime *time.Time `type:"timestamp"`
72252
72253	// Indicates when the transform job ends on compute instances. For successful
72254	// jobs and stopped jobs, this is the exact time recorded after the results
72255	// are uploaded. For failed jobs, this is when Amazon SageMaker detected that
72256	// the job failed.
72257	TransformEndTime *time.Time `type:"timestamp"`
72258
72259	// The Amazon Resource Name (ARN) of the transform job.
72260	//
72261	// TransformJobArn is a required field
72262	TransformJobArn *string `type:"string" required:"true"`
72263
72264	// The name of the transform job.
72265	//
72266	// TransformJobName is a required field
72267	TransformJobName *string `min:"1" type:"string" required:"true"`
72268
72269	// The status of the transform job.
72270	//
72271	// TransformJobStatus is a required field
72272	TransformJobStatus *string `type:"string" required:"true" enum:"TransformJobStatus"`
72273}
72274
72275// String returns the string representation
72276func (s TransformJobSummary) String() string {
72277	return awsutil.Prettify(s)
72278}
72279
72280// GoString returns the string representation
72281func (s TransformJobSummary) GoString() string {
72282	return s.String()
72283}
72284
72285// SetCreationTime sets the CreationTime field's value.
72286func (s *TransformJobSummary) SetCreationTime(v time.Time) *TransformJobSummary {
72287	s.CreationTime = &v
72288	return s
72289}
72290
72291// SetFailureReason sets the FailureReason field's value.
72292func (s *TransformJobSummary) SetFailureReason(v string) *TransformJobSummary {
72293	s.FailureReason = &v
72294	return s
72295}
72296
72297// SetLastModifiedTime sets the LastModifiedTime field's value.
72298func (s *TransformJobSummary) SetLastModifiedTime(v time.Time) *TransformJobSummary {
72299	s.LastModifiedTime = &v
72300	return s
72301}
72302
72303// SetTransformEndTime sets the TransformEndTime field's value.
72304func (s *TransformJobSummary) SetTransformEndTime(v time.Time) *TransformJobSummary {
72305	s.TransformEndTime = &v
72306	return s
72307}
72308
72309// SetTransformJobArn sets the TransformJobArn field's value.
72310func (s *TransformJobSummary) SetTransformJobArn(v string) *TransformJobSummary {
72311	s.TransformJobArn = &v
72312	return s
72313}
72314
72315// SetTransformJobName sets the TransformJobName field's value.
72316func (s *TransformJobSummary) SetTransformJobName(v string) *TransformJobSummary {
72317	s.TransformJobName = &v
72318	return s
72319}
72320
72321// SetTransformJobStatus sets the TransformJobStatus field's value.
72322func (s *TransformJobSummary) SetTransformJobStatus(v string) *TransformJobSummary {
72323	s.TransformJobStatus = &v
72324	return s
72325}
72326
72327// Describes the results of a transform job.
72328type TransformOutput struct {
72329	_ struct{} `type:"structure"`
72330
72331	// The MIME type used to specify the output data. Amazon SageMaker uses the
72332	// MIME type with each http call to transfer data from the transform job.
72333	Accept *string `type:"string"`
72334
72335	// Defines how to assemble the results of the transform job as a single S3 object.
72336	// Choose a format that is most convenient to you. To concatenate the results
72337	// in binary format, specify None. To add a newline character at the end of
72338	// every transformed record, specify Line.
72339	AssembleWith *string `type:"string" enum:"AssemblyType"`
72340
72341	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
72342	// encrypt the model artifacts at rest using Amazon S3 server-side encryption.
72343	// The KmsKeyId can be any of the following formats:
72344	//
72345	//    * Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
72346	//
72347	//    * Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
72348	//
72349	//    * Alias name: alias/ExampleAlias
72350	//
72351	//    * Alias name ARN: arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias
72352	//
72353	// If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS
72354	// key for Amazon S3 for your role's account. For more information, see KMS-Managed
72355	// Encryption Keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html)
72356	// in the Amazon Simple Storage Service Developer Guide.
72357	//
72358	// The KMS key policy must grant permission to the IAM role that you specify
72359	// in your CreateModel request. For more information, see Using Key Policies
72360	// in AWS KMS (http://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html)
72361	// in the AWS Key Management Service Developer Guide.
72362	KmsKeyId *string `type:"string"`
72363
72364	// The Amazon S3 path where you want Amazon SageMaker to store the results of
72365	// the transform job. For example, s3://bucket-name/key-name-prefix.
72366	//
72367	// For every S3 object used as input for the transform job, batch transform
72368	// stores the transformed data with an .out suffix in a corresponding subfolder
72369	// in the location in the output prefix. For example, for the input data stored
72370	// at s3://bucket-name/input-name-prefix/dataset01/data.csv, batch transform
72371	// stores the transformed data at s3://bucket-name/output-name-prefix/input-name-prefix/data.csv.out.
72372	// Batch transform doesn't upload partially processed objects. For an input
72373	// S3 object that contains multiple records, it creates an .out file only if
72374	// the transform job succeeds on the entire file. When the input contains multiple
72375	// S3 objects, the batch transform job processes the listed S3 objects and uploads
72376	// only the output for successfully processed objects. If any object fails in
72377	// the transform job batch transform marks the job as failed to prompt investigation.
72378	//
72379	// S3OutputPath is a required field
72380	S3OutputPath *string `type:"string" required:"true"`
72381}
72382
72383// String returns the string representation
72384func (s TransformOutput) String() string {
72385	return awsutil.Prettify(s)
72386}
72387
72388// GoString returns the string representation
72389func (s TransformOutput) GoString() string {
72390	return s.String()
72391}
72392
72393// Validate inspects the fields of the type to determine if they are valid.
72394func (s *TransformOutput) Validate() error {
72395	invalidParams := request.ErrInvalidParams{Context: "TransformOutput"}
72396	if s.S3OutputPath == nil {
72397		invalidParams.Add(request.NewErrParamRequired("S3OutputPath"))
72398	}
72399
72400	if invalidParams.Len() > 0 {
72401		return invalidParams
72402	}
72403	return nil
72404}
72405
72406// SetAccept sets the Accept field's value.
72407func (s *TransformOutput) SetAccept(v string) *TransformOutput {
72408	s.Accept = &v
72409	return s
72410}
72411
72412// SetAssembleWith sets the AssembleWith field's value.
72413func (s *TransformOutput) SetAssembleWith(v string) *TransformOutput {
72414	s.AssembleWith = &v
72415	return s
72416}
72417
72418// SetKmsKeyId sets the KmsKeyId field's value.
72419func (s *TransformOutput) SetKmsKeyId(v string) *TransformOutput {
72420	s.KmsKeyId = &v
72421	return s
72422}
72423
72424// SetS3OutputPath sets the S3OutputPath field's value.
72425func (s *TransformOutput) SetS3OutputPath(v string) *TransformOutput {
72426	s.S3OutputPath = &v
72427	return s
72428}
72429
72430// Describes the resources, including ML instance types and ML instance count,
72431// to use for transform job.
72432type TransformResources struct {
72433	_ struct{} `type:"structure"`
72434
72435	// The number of ML compute instances to use in the transform job. For distributed
72436	// transform jobs, specify a value greater than 1. The default value is 1.
72437	//
72438	// InstanceCount is a required field
72439	InstanceCount *int64 `min:"1" type:"integer" required:"true"`
72440
72441	// The ML compute instance type for the transform job. If you are using built-in
72442	// algorithms to transform moderately sized datasets, we recommend using ml.m4.xlarge
72443	// or ml.m5.large instance types.
72444	//
72445	// InstanceType is a required field
72446	InstanceType *string `type:"string" required:"true" enum:"TransformInstanceType"`
72447
72448	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
72449	// encrypt model data on the storage volume attached to the ML compute instance(s)
72450	// that run the batch transform job. The VolumeKmsKeyId can be any of the following
72451	// formats:
72452	//
72453	//    * Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab
72454	//
72455	//    * Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab
72456	//
72457	//    * Alias name: alias/ExampleAlias
72458	//
72459	//    * Alias name ARN: arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias
72460	VolumeKmsKeyId *string `type:"string"`
72461}
72462
72463// String returns the string representation
72464func (s TransformResources) String() string {
72465	return awsutil.Prettify(s)
72466}
72467
72468// GoString returns the string representation
72469func (s TransformResources) GoString() string {
72470	return s.String()
72471}
72472
72473// Validate inspects the fields of the type to determine if they are valid.
72474func (s *TransformResources) Validate() error {
72475	invalidParams := request.ErrInvalidParams{Context: "TransformResources"}
72476	if s.InstanceCount == nil {
72477		invalidParams.Add(request.NewErrParamRequired("InstanceCount"))
72478	}
72479	if s.InstanceCount != nil && *s.InstanceCount < 1 {
72480		invalidParams.Add(request.NewErrParamMinValue("InstanceCount", 1))
72481	}
72482	if s.InstanceType == nil {
72483		invalidParams.Add(request.NewErrParamRequired("InstanceType"))
72484	}
72485
72486	if invalidParams.Len() > 0 {
72487		return invalidParams
72488	}
72489	return nil
72490}
72491
72492// SetInstanceCount sets the InstanceCount field's value.
72493func (s *TransformResources) SetInstanceCount(v int64) *TransformResources {
72494	s.InstanceCount = &v
72495	return s
72496}
72497
72498// SetInstanceType sets the InstanceType field's value.
72499func (s *TransformResources) SetInstanceType(v string) *TransformResources {
72500	s.InstanceType = &v
72501	return s
72502}
72503
72504// SetVolumeKmsKeyId sets the VolumeKmsKeyId field's value.
72505func (s *TransformResources) SetVolumeKmsKeyId(v string) *TransformResources {
72506	s.VolumeKmsKeyId = &v
72507	return s
72508}
72509
72510// Describes the S3 data source.
72511type TransformS3DataSource struct {
72512	_ struct{} `type:"structure"`
72513
72514	// If you choose S3Prefix, S3Uri identifies a key name prefix. Amazon SageMaker
72515	// uses all objects with the specified key name prefix for batch transform.
72516	//
72517	// If you choose ManifestFile, S3Uri identifies an object that is a manifest
72518	// file containing a list of object keys that you want Amazon SageMaker to use
72519	// for batch transform.
72520	//
72521	// The following values are compatible: ManifestFile, S3Prefix
72522	//
72523	// The following value is not compatible: AugmentedManifestFile
72524	//
72525	// S3DataType is a required field
72526	S3DataType *string `type:"string" required:"true" enum:"S3DataType"`
72527
72528	// Depending on the value specified for the S3DataType, identifies either a
72529	// key name prefix or a manifest. For example:
72530	//
72531	//    * A key name prefix might look like this: s3://bucketname/exampleprefix.
72532	//
72533	//    * A manifest might look like this: s3://bucketname/example.manifest The
72534	//    manifest is an S3 object which is a JSON file with the following format:
72535	//    [ {"prefix": "s3://customer_bucket/some/prefix/"}, "relative/path/to/custdata-1",
72536	//    "relative/path/custdata-2", ... "relative/path/custdata-N" ] The preceding
72537	//    JSON matches the following S3Uris: s3://customer_bucket/some/prefix/relative/path/to/custdata-1
72538	//    s3://customer_bucket/some/prefix/relative/path/custdata-2 ... s3://customer_bucket/some/prefix/relative/path/custdata-N
72539	//    The complete set of S3Uris in this manifest constitutes the input data
72540	//    for the channel for this datasource. The object that each S3Uris points
72541	//    to must be readable by the IAM role that Amazon SageMaker uses to perform
72542	//    tasks on your behalf.
72543	//
72544	// S3Uri is a required field
72545	S3Uri *string `type:"string" required:"true"`
72546}
72547
72548// String returns the string representation
72549func (s TransformS3DataSource) String() string {
72550	return awsutil.Prettify(s)
72551}
72552
72553// GoString returns the string representation
72554func (s TransformS3DataSource) GoString() string {
72555	return s.String()
72556}
72557
72558// Validate inspects the fields of the type to determine if they are valid.
72559func (s *TransformS3DataSource) Validate() error {
72560	invalidParams := request.ErrInvalidParams{Context: "TransformS3DataSource"}
72561	if s.S3DataType == nil {
72562		invalidParams.Add(request.NewErrParamRequired("S3DataType"))
72563	}
72564	if s.S3Uri == nil {
72565		invalidParams.Add(request.NewErrParamRequired("S3Uri"))
72566	}
72567
72568	if invalidParams.Len() > 0 {
72569		return invalidParams
72570	}
72571	return nil
72572}
72573
72574// SetS3DataType sets the S3DataType field's value.
72575func (s *TransformS3DataSource) SetS3DataType(v string) *TransformS3DataSource {
72576	s.S3DataType = &v
72577	return s
72578}
72579
72580// SetS3Uri sets the S3Uri field's value.
72581func (s *TransformS3DataSource) SetS3Uri(v string) *TransformS3DataSource {
72582	s.S3Uri = &v
72583	return s
72584}
72585
72586// The properties of a trial as returned by the Search API.
72587type Trial struct {
72588	_ struct{} `type:"structure"`
72589
72590	// Information about the user who created or modified an experiment, trial,
72591	// or trial component.
72592	CreatedBy *UserContext `type:"structure"`
72593
72594	// When the trial was created.
72595	CreationTime *time.Time `type:"timestamp"`
72596
72597	// The name of the trial as displayed. If DisplayName isn't specified, TrialName
72598	// is displayed.
72599	DisplayName *string `min:"1" type:"string"`
72600
72601	// The name of the experiment the trial is part of.
72602	ExperimentName *string `min:"1" type:"string"`
72603
72604	// Information about the user who created or modified an experiment, trial,
72605	// or trial component.
72606	LastModifiedBy *UserContext `type:"structure"`
72607
72608	// Who last modified the trial.
72609	LastModifiedTime *time.Time `type:"timestamp"`
72610
72611	// Metadata properties of the tracking entity, trial, or trial component.
72612	MetadataProperties *MetadataProperties `type:"structure"`
72613
72614	// The source of the trial.
72615	Source *TrialSource `type:"structure"`
72616
72617	// The list of tags that are associated with the trial. You can use Search API
72618	// to search on the tags.
72619	Tags []*Tag `type:"list"`
72620
72621	// The Amazon Resource Name (ARN) of the trial.
72622	TrialArn *string `type:"string"`
72623
72624	// A list of the components associated with the trial. For each component, a
72625	// summary of the component's properties is included.
72626	TrialComponentSummaries []*TrialComponentSimpleSummary `type:"list"`
72627
72628	// The name of the trial.
72629	TrialName *string `min:"1" type:"string"`
72630}
72631
72632// String returns the string representation
72633func (s Trial) String() string {
72634	return awsutil.Prettify(s)
72635}
72636
72637// GoString returns the string representation
72638func (s Trial) GoString() string {
72639	return s.String()
72640}
72641
72642// SetCreatedBy sets the CreatedBy field's value.
72643func (s *Trial) SetCreatedBy(v *UserContext) *Trial {
72644	s.CreatedBy = v
72645	return s
72646}
72647
72648// SetCreationTime sets the CreationTime field's value.
72649func (s *Trial) SetCreationTime(v time.Time) *Trial {
72650	s.CreationTime = &v
72651	return s
72652}
72653
72654// SetDisplayName sets the DisplayName field's value.
72655func (s *Trial) SetDisplayName(v string) *Trial {
72656	s.DisplayName = &v
72657	return s
72658}
72659
72660// SetExperimentName sets the ExperimentName field's value.
72661func (s *Trial) SetExperimentName(v string) *Trial {
72662	s.ExperimentName = &v
72663	return s
72664}
72665
72666// SetLastModifiedBy sets the LastModifiedBy field's value.
72667func (s *Trial) SetLastModifiedBy(v *UserContext) *Trial {
72668	s.LastModifiedBy = v
72669	return s
72670}
72671
72672// SetLastModifiedTime sets the LastModifiedTime field's value.
72673func (s *Trial) SetLastModifiedTime(v time.Time) *Trial {
72674	s.LastModifiedTime = &v
72675	return s
72676}
72677
72678// SetMetadataProperties sets the MetadataProperties field's value.
72679func (s *Trial) SetMetadataProperties(v *MetadataProperties) *Trial {
72680	s.MetadataProperties = v
72681	return s
72682}
72683
72684// SetSource sets the Source field's value.
72685func (s *Trial) SetSource(v *TrialSource) *Trial {
72686	s.Source = v
72687	return s
72688}
72689
72690// SetTags sets the Tags field's value.
72691func (s *Trial) SetTags(v []*Tag) *Trial {
72692	s.Tags = v
72693	return s
72694}
72695
72696// SetTrialArn sets the TrialArn field's value.
72697func (s *Trial) SetTrialArn(v string) *Trial {
72698	s.TrialArn = &v
72699	return s
72700}
72701
72702// SetTrialComponentSummaries sets the TrialComponentSummaries field's value.
72703func (s *Trial) SetTrialComponentSummaries(v []*TrialComponentSimpleSummary) *Trial {
72704	s.TrialComponentSummaries = v
72705	return s
72706}
72707
72708// SetTrialName sets the TrialName field's value.
72709func (s *Trial) SetTrialName(v string) *Trial {
72710	s.TrialName = &v
72711	return s
72712}
72713
72714// The properties of a trial component as returned by the Search API.
72715type TrialComponent struct {
72716	_ struct{} `type:"structure"`
72717
72718	// Information about the user who created or modified an experiment, trial,
72719	// or trial component.
72720	CreatedBy *UserContext `type:"structure"`
72721
72722	// When the component was created.
72723	CreationTime *time.Time `type:"timestamp"`
72724
72725	// The name of the component as displayed. If DisplayName isn't specified, TrialComponentName
72726	// is displayed.
72727	DisplayName *string `min:"1" type:"string"`
72728
72729	// When the component ended.
72730	EndTime *time.Time `type:"timestamp"`
72731
72732	// The input artifacts of the component.
72733	InputArtifacts map[string]*TrialComponentArtifact `type:"map"`
72734
72735	// Information about the user who created or modified an experiment, trial,
72736	// or trial component.
72737	LastModifiedBy *UserContext `type:"structure"`
72738
72739	// When the component was last modified.
72740	LastModifiedTime *time.Time `type:"timestamp"`
72741
72742	// Metadata properties of the tracking entity, trial, or trial component.
72743	MetadataProperties *MetadataProperties `type:"structure"`
72744
72745	// The metrics for the component.
72746	Metrics []*TrialComponentMetricSummary `type:"list"`
72747
72748	// The output artifacts of the component.
72749	OutputArtifacts map[string]*TrialComponentArtifact `type:"map"`
72750
72751	// The hyperparameters of the component.
72752	Parameters map[string]*TrialComponentParameterValue `type:"map"`
72753
72754	// An array of the parents of the component. A parent is a trial the component
72755	// is associated with and the experiment the trial is part of. A component might
72756	// not have any parents.
72757	Parents []*Parent `type:"list"`
72758
72759	// The Amazon Resource Name (ARN) and job type of the source of the component.
72760	Source *TrialComponentSource `type:"structure"`
72761
72762	// Details of the source of the component.
72763	SourceDetail *TrialComponentSourceDetail `type:"structure"`
72764
72765	// When the component started.
72766	StartTime *time.Time `type:"timestamp"`
72767
72768	// The status of the trial component.
72769	Status *TrialComponentStatus `type:"structure"`
72770
72771	// The list of tags that are associated with the component. You can use Search
72772	// API to search on the tags.
72773	Tags []*Tag `type:"list"`
72774
72775	// The Amazon Resource Name (ARN) of the trial component.
72776	TrialComponentArn *string `type:"string"`
72777
72778	// The name of the trial component.
72779	TrialComponentName *string `min:"1" type:"string"`
72780}
72781
72782// String returns the string representation
72783func (s TrialComponent) String() string {
72784	return awsutil.Prettify(s)
72785}
72786
72787// GoString returns the string representation
72788func (s TrialComponent) GoString() string {
72789	return s.String()
72790}
72791
72792// SetCreatedBy sets the CreatedBy field's value.
72793func (s *TrialComponent) SetCreatedBy(v *UserContext) *TrialComponent {
72794	s.CreatedBy = v
72795	return s
72796}
72797
72798// SetCreationTime sets the CreationTime field's value.
72799func (s *TrialComponent) SetCreationTime(v time.Time) *TrialComponent {
72800	s.CreationTime = &v
72801	return s
72802}
72803
72804// SetDisplayName sets the DisplayName field's value.
72805func (s *TrialComponent) SetDisplayName(v string) *TrialComponent {
72806	s.DisplayName = &v
72807	return s
72808}
72809
72810// SetEndTime sets the EndTime field's value.
72811func (s *TrialComponent) SetEndTime(v time.Time) *TrialComponent {
72812	s.EndTime = &v
72813	return s
72814}
72815
72816// SetInputArtifacts sets the InputArtifacts field's value.
72817func (s *TrialComponent) SetInputArtifacts(v map[string]*TrialComponentArtifact) *TrialComponent {
72818	s.InputArtifacts = v
72819	return s
72820}
72821
72822// SetLastModifiedBy sets the LastModifiedBy field's value.
72823func (s *TrialComponent) SetLastModifiedBy(v *UserContext) *TrialComponent {
72824	s.LastModifiedBy = v
72825	return s
72826}
72827
72828// SetLastModifiedTime sets the LastModifiedTime field's value.
72829func (s *TrialComponent) SetLastModifiedTime(v time.Time) *TrialComponent {
72830	s.LastModifiedTime = &v
72831	return s
72832}
72833
72834// SetMetadataProperties sets the MetadataProperties field's value.
72835func (s *TrialComponent) SetMetadataProperties(v *MetadataProperties) *TrialComponent {
72836	s.MetadataProperties = v
72837	return s
72838}
72839
72840// SetMetrics sets the Metrics field's value.
72841func (s *TrialComponent) SetMetrics(v []*TrialComponentMetricSummary) *TrialComponent {
72842	s.Metrics = v
72843	return s
72844}
72845
72846// SetOutputArtifacts sets the OutputArtifacts field's value.
72847func (s *TrialComponent) SetOutputArtifacts(v map[string]*TrialComponentArtifact) *TrialComponent {
72848	s.OutputArtifacts = v
72849	return s
72850}
72851
72852// SetParameters sets the Parameters field's value.
72853func (s *TrialComponent) SetParameters(v map[string]*TrialComponentParameterValue) *TrialComponent {
72854	s.Parameters = v
72855	return s
72856}
72857
72858// SetParents sets the Parents field's value.
72859func (s *TrialComponent) SetParents(v []*Parent) *TrialComponent {
72860	s.Parents = v
72861	return s
72862}
72863
72864// SetSource sets the Source field's value.
72865func (s *TrialComponent) SetSource(v *TrialComponentSource) *TrialComponent {
72866	s.Source = v
72867	return s
72868}
72869
72870// SetSourceDetail sets the SourceDetail field's value.
72871func (s *TrialComponent) SetSourceDetail(v *TrialComponentSourceDetail) *TrialComponent {
72872	s.SourceDetail = v
72873	return s
72874}
72875
72876// SetStartTime sets the StartTime field's value.
72877func (s *TrialComponent) SetStartTime(v time.Time) *TrialComponent {
72878	s.StartTime = &v
72879	return s
72880}
72881
72882// SetStatus sets the Status field's value.
72883func (s *TrialComponent) SetStatus(v *TrialComponentStatus) *TrialComponent {
72884	s.Status = v
72885	return s
72886}
72887
72888// SetTags sets the Tags field's value.
72889func (s *TrialComponent) SetTags(v []*Tag) *TrialComponent {
72890	s.Tags = v
72891	return s
72892}
72893
72894// SetTrialComponentArn sets the TrialComponentArn field's value.
72895func (s *TrialComponent) SetTrialComponentArn(v string) *TrialComponent {
72896	s.TrialComponentArn = &v
72897	return s
72898}
72899
72900// SetTrialComponentName sets the TrialComponentName field's value.
72901func (s *TrialComponent) SetTrialComponentName(v string) *TrialComponent {
72902	s.TrialComponentName = &v
72903	return s
72904}
72905
72906// Represents an input or output artifact of a trial component. You specify
72907// TrialComponentArtifact as part of the InputArtifacts and OutputArtifacts
72908// parameters in the CreateTrialComponent request.
72909//
72910// Examples of input artifacts are datasets, algorithms, hyperparameters, source
72911// code, and instance types. Examples of output artifacts are metrics, snapshots,
72912// logs, and images.
72913type TrialComponentArtifact struct {
72914	_ struct{} `type:"structure"`
72915
72916	// The media type of the artifact, which indicates the type of data in the artifact
72917	// file. The media type consists of a type and a subtype concatenated with a
72918	// slash (/) character, for example, text/csv, image/jpeg, and s3/uri. The type
72919	// specifies the category of the media. The subtype specifies the kind of data.
72920	MediaType *string `type:"string"`
72921
72922	// The location of the artifact.
72923	//
72924	// Value is a required field
72925	Value *string `type:"string" required:"true"`
72926}
72927
72928// String returns the string representation
72929func (s TrialComponentArtifact) String() string {
72930	return awsutil.Prettify(s)
72931}
72932
72933// GoString returns the string representation
72934func (s TrialComponentArtifact) GoString() string {
72935	return s.String()
72936}
72937
72938// Validate inspects the fields of the type to determine if they are valid.
72939func (s *TrialComponentArtifact) Validate() error {
72940	invalidParams := request.ErrInvalidParams{Context: "TrialComponentArtifact"}
72941	if s.Value == nil {
72942		invalidParams.Add(request.NewErrParamRequired("Value"))
72943	}
72944
72945	if invalidParams.Len() > 0 {
72946		return invalidParams
72947	}
72948	return nil
72949}
72950
72951// SetMediaType sets the MediaType field's value.
72952func (s *TrialComponentArtifact) SetMediaType(v string) *TrialComponentArtifact {
72953	s.MediaType = &v
72954	return s
72955}
72956
72957// SetValue sets the Value field's value.
72958func (s *TrialComponentArtifact) SetValue(v string) *TrialComponentArtifact {
72959	s.Value = &v
72960	return s
72961}
72962
72963// A summary of the metrics of a trial component.
72964type TrialComponentMetricSummary struct {
72965	_ struct{} `type:"structure"`
72966
72967	// The average value of the metric.
72968	Avg *float64 `type:"double"`
72969
72970	// The number of samples used to generate the metric.
72971	Count *int64 `type:"integer"`
72972
72973	// The most recent value of the metric.
72974	Last *float64 `type:"double"`
72975
72976	// The maximum value of the metric.
72977	Max *float64 `type:"double"`
72978
72979	// The name of the metric.
72980	MetricName *string `min:"1" type:"string"`
72981
72982	// The minimum value of the metric.
72983	Min *float64 `type:"double"`
72984
72985	// The Amazon Resource Name (ARN) of the source.
72986	SourceArn *string `type:"string"`
72987
72988	// The standard deviation of the metric.
72989	StdDev *float64 `type:"double"`
72990
72991	// When the metric was last updated.
72992	TimeStamp *time.Time `type:"timestamp"`
72993}
72994
72995// String returns the string representation
72996func (s TrialComponentMetricSummary) String() string {
72997	return awsutil.Prettify(s)
72998}
72999
73000// GoString returns the string representation
73001func (s TrialComponentMetricSummary) GoString() string {
73002	return s.String()
73003}
73004
73005// SetAvg sets the Avg field's value.
73006func (s *TrialComponentMetricSummary) SetAvg(v float64) *TrialComponentMetricSummary {
73007	s.Avg = &v
73008	return s
73009}
73010
73011// SetCount sets the Count field's value.
73012func (s *TrialComponentMetricSummary) SetCount(v int64) *TrialComponentMetricSummary {
73013	s.Count = &v
73014	return s
73015}
73016
73017// SetLast sets the Last field's value.
73018func (s *TrialComponentMetricSummary) SetLast(v float64) *TrialComponentMetricSummary {
73019	s.Last = &v
73020	return s
73021}
73022
73023// SetMax sets the Max field's value.
73024func (s *TrialComponentMetricSummary) SetMax(v float64) *TrialComponentMetricSummary {
73025	s.Max = &v
73026	return s
73027}
73028
73029// SetMetricName sets the MetricName field's value.
73030func (s *TrialComponentMetricSummary) SetMetricName(v string) *TrialComponentMetricSummary {
73031	s.MetricName = &v
73032	return s
73033}
73034
73035// SetMin sets the Min field's value.
73036func (s *TrialComponentMetricSummary) SetMin(v float64) *TrialComponentMetricSummary {
73037	s.Min = &v
73038	return s
73039}
73040
73041// SetSourceArn sets the SourceArn field's value.
73042func (s *TrialComponentMetricSummary) SetSourceArn(v string) *TrialComponentMetricSummary {
73043	s.SourceArn = &v
73044	return s
73045}
73046
73047// SetStdDev sets the StdDev field's value.
73048func (s *TrialComponentMetricSummary) SetStdDev(v float64) *TrialComponentMetricSummary {
73049	s.StdDev = &v
73050	return s
73051}
73052
73053// SetTimeStamp sets the TimeStamp field's value.
73054func (s *TrialComponentMetricSummary) SetTimeStamp(v time.Time) *TrialComponentMetricSummary {
73055	s.TimeStamp = &v
73056	return s
73057}
73058
73059// The value of a hyperparameter. Only one of NumberValue or StringValue can
73060// be specified.
73061//
73062// This object is specified in the CreateTrialComponent request.
73063type TrialComponentParameterValue struct {
73064	_ struct{} `type:"structure"`
73065
73066	// The numeric value of a numeric hyperparameter. If you specify a value for
73067	// this parameter, you can't specify the StringValue parameter.
73068	NumberValue *float64 `type:"double"`
73069
73070	// The string value of a categorical hyperparameter. If you specify a value
73071	// for this parameter, you can't specify the NumberValue parameter.
73072	StringValue *string `type:"string"`
73073}
73074
73075// String returns the string representation
73076func (s TrialComponentParameterValue) String() string {
73077	return awsutil.Prettify(s)
73078}
73079
73080// GoString returns the string representation
73081func (s TrialComponentParameterValue) GoString() string {
73082	return s.String()
73083}
73084
73085// SetNumberValue sets the NumberValue field's value.
73086func (s *TrialComponentParameterValue) SetNumberValue(v float64) *TrialComponentParameterValue {
73087	s.NumberValue = &v
73088	return s
73089}
73090
73091// SetStringValue sets the StringValue field's value.
73092func (s *TrialComponentParameterValue) SetStringValue(v string) *TrialComponentParameterValue {
73093	s.StringValue = &v
73094	return s
73095}
73096
73097// A short summary of a trial component.
73098type TrialComponentSimpleSummary struct {
73099	_ struct{} `type:"structure"`
73100
73101	// Information about the user who created or modified an experiment, trial,
73102	// or trial component.
73103	CreatedBy *UserContext `type:"structure"`
73104
73105	// When the component was created.
73106	CreationTime *time.Time `type:"timestamp"`
73107
73108	// The Amazon Resource Name (ARN) of the trial component.
73109	TrialComponentArn *string `type:"string"`
73110
73111	// The name of the trial component.
73112	TrialComponentName *string `min:"1" type:"string"`
73113
73114	// The Amazon Resource Name (ARN) and job type of the source of a trial component.
73115	TrialComponentSource *TrialComponentSource `type:"structure"`
73116}
73117
73118// String returns the string representation
73119func (s TrialComponentSimpleSummary) String() string {
73120	return awsutil.Prettify(s)
73121}
73122
73123// GoString returns the string representation
73124func (s TrialComponentSimpleSummary) GoString() string {
73125	return s.String()
73126}
73127
73128// SetCreatedBy sets the CreatedBy field's value.
73129func (s *TrialComponentSimpleSummary) SetCreatedBy(v *UserContext) *TrialComponentSimpleSummary {
73130	s.CreatedBy = v
73131	return s
73132}
73133
73134// SetCreationTime sets the CreationTime field's value.
73135func (s *TrialComponentSimpleSummary) SetCreationTime(v time.Time) *TrialComponentSimpleSummary {
73136	s.CreationTime = &v
73137	return s
73138}
73139
73140// SetTrialComponentArn sets the TrialComponentArn field's value.
73141func (s *TrialComponentSimpleSummary) SetTrialComponentArn(v string) *TrialComponentSimpleSummary {
73142	s.TrialComponentArn = &v
73143	return s
73144}
73145
73146// SetTrialComponentName sets the TrialComponentName field's value.
73147func (s *TrialComponentSimpleSummary) SetTrialComponentName(v string) *TrialComponentSimpleSummary {
73148	s.TrialComponentName = &v
73149	return s
73150}
73151
73152// SetTrialComponentSource sets the TrialComponentSource field's value.
73153func (s *TrialComponentSimpleSummary) SetTrialComponentSource(v *TrialComponentSource) *TrialComponentSimpleSummary {
73154	s.TrialComponentSource = v
73155	return s
73156}
73157
73158// The Amazon Resource Name (ARN) and job type of the source of a trial component.
73159type TrialComponentSource struct {
73160	_ struct{} `type:"structure"`
73161
73162	// The source ARN.
73163	//
73164	// SourceArn is a required field
73165	SourceArn *string `type:"string" required:"true"`
73166
73167	// The source job type.
73168	SourceType *string `type:"string"`
73169}
73170
73171// String returns the string representation
73172func (s TrialComponentSource) String() string {
73173	return awsutil.Prettify(s)
73174}
73175
73176// GoString returns the string representation
73177func (s TrialComponentSource) GoString() string {
73178	return s.String()
73179}
73180
73181// SetSourceArn sets the SourceArn field's value.
73182func (s *TrialComponentSource) SetSourceArn(v string) *TrialComponentSource {
73183	s.SourceArn = &v
73184	return s
73185}
73186
73187// SetSourceType sets the SourceType field's value.
73188func (s *TrialComponentSource) SetSourceType(v string) *TrialComponentSource {
73189	s.SourceType = &v
73190	return s
73191}
73192
73193// Detailed information about the source of a trial component. Either ProcessingJob
73194// or TrainingJob is returned.
73195type TrialComponentSourceDetail struct {
73196	_ struct{} `type:"structure"`
73197
73198	// Information about a processing job that's the source of a trial component.
73199	ProcessingJob *ProcessingJob `type:"structure"`
73200
73201	// The Amazon Resource Name (ARN) of the source.
73202	SourceArn *string `type:"string"`
73203
73204	// Information about a training job that's the source of a trial component.
73205	TrainingJob *TrainingJob `type:"structure"`
73206
73207	// Information about a transform job that's the source of a trial component.
73208	TransformJob *TransformJob `type:"structure"`
73209}
73210
73211// String returns the string representation
73212func (s TrialComponentSourceDetail) String() string {
73213	return awsutil.Prettify(s)
73214}
73215
73216// GoString returns the string representation
73217func (s TrialComponentSourceDetail) GoString() string {
73218	return s.String()
73219}
73220
73221// SetProcessingJob sets the ProcessingJob field's value.
73222func (s *TrialComponentSourceDetail) SetProcessingJob(v *ProcessingJob) *TrialComponentSourceDetail {
73223	s.ProcessingJob = v
73224	return s
73225}
73226
73227// SetSourceArn sets the SourceArn field's value.
73228func (s *TrialComponentSourceDetail) SetSourceArn(v string) *TrialComponentSourceDetail {
73229	s.SourceArn = &v
73230	return s
73231}
73232
73233// SetTrainingJob sets the TrainingJob field's value.
73234func (s *TrialComponentSourceDetail) SetTrainingJob(v *TrainingJob) *TrialComponentSourceDetail {
73235	s.TrainingJob = v
73236	return s
73237}
73238
73239// SetTransformJob sets the TransformJob field's value.
73240func (s *TrialComponentSourceDetail) SetTransformJob(v *TransformJob) *TrialComponentSourceDetail {
73241	s.TransformJob = v
73242	return s
73243}
73244
73245// The status of the trial component.
73246type TrialComponentStatus struct {
73247	_ struct{} `type:"structure"`
73248
73249	// If the component failed, a message describing why.
73250	Message *string `type:"string"`
73251
73252	// The status of the trial component.
73253	PrimaryStatus *string `type:"string" enum:"TrialComponentPrimaryStatus"`
73254}
73255
73256// String returns the string representation
73257func (s TrialComponentStatus) String() string {
73258	return awsutil.Prettify(s)
73259}
73260
73261// GoString returns the string representation
73262func (s TrialComponentStatus) GoString() string {
73263	return s.String()
73264}
73265
73266// SetMessage sets the Message field's value.
73267func (s *TrialComponentStatus) SetMessage(v string) *TrialComponentStatus {
73268	s.Message = &v
73269	return s
73270}
73271
73272// SetPrimaryStatus sets the PrimaryStatus field's value.
73273func (s *TrialComponentStatus) SetPrimaryStatus(v string) *TrialComponentStatus {
73274	s.PrimaryStatus = &v
73275	return s
73276}
73277
73278// A summary of the properties of a trial component. To get all the properties,
73279// call the DescribeTrialComponent API and provide the TrialComponentName.
73280type TrialComponentSummary struct {
73281	_ struct{} `type:"structure"`
73282
73283	// Who created the component.
73284	CreatedBy *UserContext `type:"structure"`
73285
73286	// When the component was created.
73287	CreationTime *time.Time `type:"timestamp"`
73288
73289	// The name of the component as displayed. If DisplayName isn't specified, TrialComponentName
73290	// is displayed.
73291	DisplayName *string `min:"1" type:"string"`
73292
73293	// When the component ended.
73294	EndTime *time.Time `type:"timestamp"`
73295
73296	// Who last modified the component.
73297	LastModifiedBy *UserContext `type:"structure"`
73298
73299	// When the component was last modified.
73300	LastModifiedTime *time.Time `type:"timestamp"`
73301
73302	// When the component started.
73303	StartTime *time.Time `type:"timestamp"`
73304
73305	// The status of the component. States include:
73306	//
73307	//    * InProgress
73308	//
73309	//    * Completed
73310	//
73311	//    * Failed
73312	Status *TrialComponentStatus `type:"structure"`
73313
73314	// The ARN of the trial component.
73315	TrialComponentArn *string `type:"string"`
73316
73317	// The name of the trial component.
73318	TrialComponentName *string `min:"1" type:"string"`
73319
73320	// The Amazon Resource Name (ARN) and job type of the source of a trial component.
73321	TrialComponentSource *TrialComponentSource `type:"structure"`
73322}
73323
73324// String returns the string representation
73325func (s TrialComponentSummary) String() string {
73326	return awsutil.Prettify(s)
73327}
73328
73329// GoString returns the string representation
73330func (s TrialComponentSummary) GoString() string {
73331	return s.String()
73332}
73333
73334// SetCreatedBy sets the CreatedBy field's value.
73335func (s *TrialComponentSummary) SetCreatedBy(v *UserContext) *TrialComponentSummary {
73336	s.CreatedBy = v
73337	return s
73338}
73339
73340// SetCreationTime sets the CreationTime field's value.
73341func (s *TrialComponentSummary) SetCreationTime(v time.Time) *TrialComponentSummary {
73342	s.CreationTime = &v
73343	return s
73344}
73345
73346// SetDisplayName sets the DisplayName field's value.
73347func (s *TrialComponentSummary) SetDisplayName(v string) *TrialComponentSummary {
73348	s.DisplayName = &v
73349	return s
73350}
73351
73352// SetEndTime sets the EndTime field's value.
73353func (s *TrialComponentSummary) SetEndTime(v time.Time) *TrialComponentSummary {
73354	s.EndTime = &v
73355	return s
73356}
73357
73358// SetLastModifiedBy sets the LastModifiedBy field's value.
73359func (s *TrialComponentSummary) SetLastModifiedBy(v *UserContext) *TrialComponentSummary {
73360	s.LastModifiedBy = v
73361	return s
73362}
73363
73364// SetLastModifiedTime sets the LastModifiedTime field's value.
73365func (s *TrialComponentSummary) SetLastModifiedTime(v time.Time) *TrialComponentSummary {
73366	s.LastModifiedTime = &v
73367	return s
73368}
73369
73370// SetStartTime sets the StartTime field's value.
73371func (s *TrialComponentSummary) SetStartTime(v time.Time) *TrialComponentSummary {
73372	s.StartTime = &v
73373	return s
73374}
73375
73376// SetStatus sets the Status field's value.
73377func (s *TrialComponentSummary) SetStatus(v *TrialComponentStatus) *TrialComponentSummary {
73378	s.Status = v
73379	return s
73380}
73381
73382// SetTrialComponentArn sets the TrialComponentArn field's value.
73383func (s *TrialComponentSummary) SetTrialComponentArn(v string) *TrialComponentSummary {
73384	s.TrialComponentArn = &v
73385	return s
73386}
73387
73388// SetTrialComponentName sets the TrialComponentName field's value.
73389func (s *TrialComponentSummary) SetTrialComponentName(v string) *TrialComponentSummary {
73390	s.TrialComponentName = &v
73391	return s
73392}
73393
73394// SetTrialComponentSource sets the TrialComponentSource field's value.
73395func (s *TrialComponentSummary) SetTrialComponentSource(v *TrialComponentSource) *TrialComponentSummary {
73396	s.TrialComponentSource = v
73397	return s
73398}
73399
73400// The source of the trial.
73401type TrialSource struct {
73402	_ struct{} `type:"structure"`
73403
73404	// The Amazon Resource Name (ARN) of the source.
73405	//
73406	// SourceArn is a required field
73407	SourceArn *string `type:"string" required:"true"`
73408
73409	// The source job type.
73410	SourceType *string `type:"string"`
73411}
73412
73413// String returns the string representation
73414func (s TrialSource) String() string {
73415	return awsutil.Prettify(s)
73416}
73417
73418// GoString returns the string representation
73419func (s TrialSource) GoString() string {
73420	return s.String()
73421}
73422
73423// SetSourceArn sets the SourceArn field's value.
73424func (s *TrialSource) SetSourceArn(v string) *TrialSource {
73425	s.SourceArn = &v
73426	return s
73427}
73428
73429// SetSourceType sets the SourceType field's value.
73430func (s *TrialSource) SetSourceType(v string) *TrialSource {
73431	s.SourceType = &v
73432	return s
73433}
73434
73435// A summary of the properties of a trial. To get the complete set of properties,
73436// call the DescribeTrial API and provide the TrialName.
73437type TrialSummary struct {
73438	_ struct{} `type:"structure"`
73439
73440	// When the trial was created.
73441	CreationTime *time.Time `type:"timestamp"`
73442
73443	// The name of the trial as displayed. If DisplayName isn't specified, TrialName
73444	// is displayed.
73445	DisplayName *string `min:"1" type:"string"`
73446
73447	// When the trial was last modified.
73448	LastModifiedTime *time.Time `type:"timestamp"`
73449
73450	// The Amazon Resource Name (ARN) of the trial.
73451	TrialArn *string `type:"string"`
73452
73453	// The name of the trial.
73454	TrialName *string `min:"1" type:"string"`
73455
73456	// The source of the trial.
73457	TrialSource *TrialSource `type:"structure"`
73458}
73459
73460// String returns the string representation
73461func (s TrialSummary) String() string {
73462	return awsutil.Prettify(s)
73463}
73464
73465// GoString returns the string representation
73466func (s TrialSummary) GoString() string {
73467	return s.String()
73468}
73469
73470// SetCreationTime sets the CreationTime field's value.
73471func (s *TrialSummary) SetCreationTime(v time.Time) *TrialSummary {
73472	s.CreationTime = &v
73473	return s
73474}
73475
73476// SetDisplayName sets the DisplayName field's value.
73477func (s *TrialSummary) SetDisplayName(v string) *TrialSummary {
73478	s.DisplayName = &v
73479	return s
73480}
73481
73482// SetLastModifiedTime sets the LastModifiedTime field's value.
73483func (s *TrialSummary) SetLastModifiedTime(v time.Time) *TrialSummary {
73484	s.LastModifiedTime = &v
73485	return s
73486}
73487
73488// SetTrialArn sets the TrialArn field's value.
73489func (s *TrialSummary) SetTrialArn(v string) *TrialSummary {
73490	s.TrialArn = &v
73491	return s
73492}
73493
73494// SetTrialName sets the TrialName field's value.
73495func (s *TrialSummary) SetTrialName(v string) *TrialSummary {
73496	s.TrialName = &v
73497	return s
73498}
73499
73500// SetTrialSource sets the TrialSource field's value.
73501func (s *TrialSummary) SetTrialSource(v *TrialSource) *TrialSummary {
73502	s.TrialSource = v
73503	return s
73504}
73505
73506// The job completion criteria.
73507type TuningJobCompletionCriteria struct {
73508	_ struct{} `type:"structure"`
73509
73510	// The value of the objective metric.
73511	//
73512	// TargetObjectiveMetricValue is a required field
73513	TargetObjectiveMetricValue *float64 `type:"float" required:"true"`
73514}
73515
73516// String returns the string representation
73517func (s TuningJobCompletionCriteria) String() string {
73518	return awsutil.Prettify(s)
73519}
73520
73521// GoString returns the string representation
73522func (s TuningJobCompletionCriteria) GoString() string {
73523	return s.String()
73524}
73525
73526// Validate inspects the fields of the type to determine if they are valid.
73527func (s *TuningJobCompletionCriteria) Validate() error {
73528	invalidParams := request.ErrInvalidParams{Context: "TuningJobCompletionCriteria"}
73529	if s.TargetObjectiveMetricValue == nil {
73530		invalidParams.Add(request.NewErrParamRequired("TargetObjectiveMetricValue"))
73531	}
73532
73533	if invalidParams.Len() > 0 {
73534		return invalidParams
73535	}
73536	return nil
73537}
73538
73539// SetTargetObjectiveMetricValue sets the TargetObjectiveMetricValue field's value.
73540func (s *TuningJobCompletionCriteria) SetTargetObjectiveMetricValue(v float64) *TuningJobCompletionCriteria {
73541	s.TargetObjectiveMetricValue = &v
73542	return s
73543}
73544
73545// Represents an amount of money in United States dollars/
73546type USD struct {
73547	_ struct{} `type:"structure"`
73548
73549	// The fractional portion, in cents, of the amount.
73550	Cents *int64 `type:"integer"`
73551
73552	// The whole number of dollars in the amount.
73553	Dollars *int64 `type:"integer"`
73554
73555	// Fractions of a cent, in tenths.
73556	TenthFractionsOfACent *int64 `type:"integer"`
73557}
73558
73559// String returns the string representation
73560func (s USD) String() string {
73561	return awsutil.Prettify(s)
73562}
73563
73564// GoString returns the string representation
73565func (s USD) GoString() string {
73566	return s.String()
73567}
73568
73569// SetCents sets the Cents field's value.
73570func (s *USD) SetCents(v int64) *USD {
73571	s.Cents = &v
73572	return s
73573}
73574
73575// SetDollars sets the Dollars field's value.
73576func (s *USD) SetDollars(v int64) *USD {
73577	s.Dollars = &v
73578	return s
73579}
73580
73581// SetTenthFractionsOfACent sets the TenthFractionsOfACent field's value.
73582func (s *USD) SetTenthFractionsOfACent(v int64) *USD {
73583	s.TenthFractionsOfACent = &v
73584	return s
73585}
73586
73587// Provided configuration information for the worker UI for a labeling job.
73588type UiConfig struct {
73589	_ struct{} `type:"structure"`
73590
73591	// The ARN of the worker task template used to render the worker UI and tools
73592	// for labeling job tasks.
73593	//
73594	// Use this parameter when you are creating a labeling job for 3D point cloud
73595	// and video fram labeling jobs. Use your labeling job task type to select one
73596	// of the following ARNs and use it with this parameter when you create a labeling
73597	// job. Replace aws-region with the AWS region you are creating your labeling
73598	// job in.
73599	//
73600	// 3D Point Cloud HumanTaskUiArns
73601	//
73602	// Use this HumanTaskUiArn for 3D point cloud object detection and 3D point
73603	// cloud object detection adjustment labeling jobs.
73604	//
73605	//    * arn:aws:sagemaker:aws-region:394669845002:human-task-ui/PointCloudObjectDetection
73606	//
73607	// Use this HumanTaskUiArn for 3D point cloud object tracking and 3D point cloud
73608	// object tracking adjustment labeling jobs.
73609	//
73610	//    * arn:aws:sagemaker:aws-region:394669845002:human-task-ui/PointCloudObjectTracking
73611	//
73612	// Use this HumanTaskUiArn for 3D point cloud semantic segmentation and 3D point
73613	// cloud semantic segmentation adjustment labeling jobs.
73614	//
73615	//    * arn:aws:sagemaker:aws-region:394669845002:human-task-ui/PointCloudSemanticSegmentation
73616	//
73617	// Video Frame HumanTaskUiArns
73618	//
73619	// Use this HumanTaskUiArn for video frame object detection and video frame
73620	// object detection adjustment labeling jobs.
73621	//
73622	//    * arn:aws:sagemaker:region:394669845002:human-task-ui/VideoObjectDetection
73623	//
73624	// Use this HumanTaskUiArn for video frame object tracking and video frame object
73625	// tracking adjustment labeling jobs.
73626	//
73627	//    * arn:aws:sagemaker:aws-region:394669845002:human-task-ui/VideoObjectTracking
73628	HumanTaskUiArn *string `type:"string"`
73629
73630	// The Amazon S3 bucket location of the UI template, or worker task template.
73631	// This is the template used to render the worker UI and tools for labeling
73632	// job tasks. For more information about the contents of a UI template, see
73633	// Creating Your Custom Labeling Task Template (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-custom-templates-step2.html).
73634	UiTemplateS3Uri *string `type:"string"`
73635}
73636
73637// String returns the string representation
73638func (s UiConfig) String() string {
73639	return awsutil.Prettify(s)
73640}
73641
73642// GoString returns the string representation
73643func (s UiConfig) GoString() string {
73644	return s.String()
73645}
73646
73647// SetHumanTaskUiArn sets the HumanTaskUiArn field's value.
73648func (s *UiConfig) SetHumanTaskUiArn(v string) *UiConfig {
73649	s.HumanTaskUiArn = &v
73650	return s
73651}
73652
73653// SetUiTemplateS3Uri sets the UiTemplateS3Uri field's value.
73654func (s *UiConfig) SetUiTemplateS3Uri(v string) *UiConfig {
73655	s.UiTemplateS3Uri = &v
73656	return s
73657}
73658
73659// The Liquid template for the worker user interface.
73660type UiTemplate struct {
73661	_ struct{} `type:"structure"`
73662
73663	// The content of the Liquid template for the worker user interface.
73664	//
73665	// Content is a required field
73666	Content *string `min:"1" type:"string" required:"true"`
73667}
73668
73669// String returns the string representation
73670func (s UiTemplate) String() string {
73671	return awsutil.Prettify(s)
73672}
73673
73674// GoString returns the string representation
73675func (s UiTemplate) GoString() string {
73676	return s.String()
73677}
73678
73679// Validate inspects the fields of the type to determine if they are valid.
73680func (s *UiTemplate) Validate() error {
73681	invalidParams := request.ErrInvalidParams{Context: "UiTemplate"}
73682	if s.Content == nil {
73683		invalidParams.Add(request.NewErrParamRequired("Content"))
73684	}
73685	if s.Content != nil && len(*s.Content) < 1 {
73686		invalidParams.Add(request.NewErrParamMinLen("Content", 1))
73687	}
73688
73689	if invalidParams.Len() > 0 {
73690		return invalidParams
73691	}
73692	return nil
73693}
73694
73695// SetContent sets the Content field's value.
73696func (s *UiTemplate) SetContent(v string) *UiTemplate {
73697	s.Content = &v
73698	return s
73699}
73700
73701// Container for user interface template information.
73702type UiTemplateInfo struct {
73703	_ struct{} `type:"structure"`
73704
73705	// The SHA-256 digest of the contents of the template.
73706	ContentSha256 *string `min:"1" type:"string"`
73707
73708	// The URL for the user interface template.
73709	Url *string `min:"1" type:"string"`
73710}
73711
73712// String returns the string representation
73713func (s UiTemplateInfo) String() string {
73714	return awsutil.Prettify(s)
73715}
73716
73717// GoString returns the string representation
73718func (s UiTemplateInfo) GoString() string {
73719	return s.String()
73720}
73721
73722// SetContentSha256 sets the ContentSha256 field's value.
73723func (s *UiTemplateInfo) SetContentSha256(v string) *UiTemplateInfo {
73724	s.ContentSha256 = &v
73725	return s
73726}
73727
73728// SetUrl sets the Url field's value.
73729func (s *UiTemplateInfo) SetUrl(v string) *UiTemplateInfo {
73730	s.Url = &v
73731	return s
73732}
73733
73734type UpdateActionInput struct {
73735	_ struct{} `type:"structure"`
73736
73737	// The name of the action to update.
73738	//
73739	// ActionName is a required field
73740	ActionName *string `min:"1" type:"string" required:"true"`
73741
73742	// The new description for the action.
73743	Description *string `type:"string"`
73744
73745	// The new list of properties. Overwrites the current property list.
73746	Properties map[string]*string `type:"map"`
73747
73748	// A list of properties to remove.
73749	PropertiesToRemove []*string `type:"list"`
73750
73751	// The new status for the action.
73752	Status *string `type:"string" enum:"ActionStatus"`
73753}
73754
73755// String returns the string representation
73756func (s UpdateActionInput) String() string {
73757	return awsutil.Prettify(s)
73758}
73759
73760// GoString returns the string representation
73761func (s UpdateActionInput) GoString() string {
73762	return s.String()
73763}
73764
73765// Validate inspects the fields of the type to determine if they are valid.
73766func (s *UpdateActionInput) Validate() error {
73767	invalidParams := request.ErrInvalidParams{Context: "UpdateActionInput"}
73768	if s.ActionName == nil {
73769		invalidParams.Add(request.NewErrParamRequired("ActionName"))
73770	}
73771	if s.ActionName != nil && len(*s.ActionName) < 1 {
73772		invalidParams.Add(request.NewErrParamMinLen("ActionName", 1))
73773	}
73774
73775	if invalidParams.Len() > 0 {
73776		return invalidParams
73777	}
73778	return nil
73779}
73780
73781// SetActionName sets the ActionName field's value.
73782func (s *UpdateActionInput) SetActionName(v string) *UpdateActionInput {
73783	s.ActionName = &v
73784	return s
73785}
73786
73787// SetDescription sets the Description field's value.
73788func (s *UpdateActionInput) SetDescription(v string) *UpdateActionInput {
73789	s.Description = &v
73790	return s
73791}
73792
73793// SetProperties sets the Properties field's value.
73794func (s *UpdateActionInput) SetProperties(v map[string]*string) *UpdateActionInput {
73795	s.Properties = v
73796	return s
73797}
73798
73799// SetPropertiesToRemove sets the PropertiesToRemove field's value.
73800func (s *UpdateActionInput) SetPropertiesToRemove(v []*string) *UpdateActionInput {
73801	s.PropertiesToRemove = v
73802	return s
73803}
73804
73805// SetStatus sets the Status field's value.
73806func (s *UpdateActionInput) SetStatus(v string) *UpdateActionInput {
73807	s.Status = &v
73808	return s
73809}
73810
73811type UpdateActionOutput struct {
73812	_ struct{} `type:"structure"`
73813
73814	// The Amazon Resource Name (ARN) of the action.
73815	ActionArn *string `type:"string"`
73816}
73817
73818// String returns the string representation
73819func (s UpdateActionOutput) String() string {
73820	return awsutil.Prettify(s)
73821}
73822
73823// GoString returns the string representation
73824func (s UpdateActionOutput) GoString() string {
73825	return s.String()
73826}
73827
73828// SetActionArn sets the ActionArn field's value.
73829func (s *UpdateActionOutput) SetActionArn(v string) *UpdateActionOutput {
73830	s.ActionArn = &v
73831	return s
73832}
73833
73834type UpdateAppImageConfigInput struct {
73835	_ struct{} `type:"structure"`
73836
73837	// The name of the AppImageConfig to update.
73838	//
73839	// AppImageConfigName is a required field
73840	AppImageConfigName *string `type:"string" required:"true"`
73841
73842	// The new KernelGateway app to run on the image.
73843	KernelGatewayImageConfig *KernelGatewayImageConfig `type:"structure"`
73844}
73845
73846// String returns the string representation
73847func (s UpdateAppImageConfigInput) String() string {
73848	return awsutil.Prettify(s)
73849}
73850
73851// GoString returns the string representation
73852func (s UpdateAppImageConfigInput) GoString() string {
73853	return s.String()
73854}
73855
73856// Validate inspects the fields of the type to determine if they are valid.
73857func (s *UpdateAppImageConfigInput) Validate() error {
73858	invalidParams := request.ErrInvalidParams{Context: "UpdateAppImageConfigInput"}
73859	if s.AppImageConfigName == nil {
73860		invalidParams.Add(request.NewErrParamRequired("AppImageConfigName"))
73861	}
73862	if s.KernelGatewayImageConfig != nil {
73863		if err := s.KernelGatewayImageConfig.Validate(); err != nil {
73864			invalidParams.AddNested("KernelGatewayImageConfig", err.(request.ErrInvalidParams))
73865		}
73866	}
73867
73868	if invalidParams.Len() > 0 {
73869		return invalidParams
73870	}
73871	return nil
73872}
73873
73874// SetAppImageConfigName sets the AppImageConfigName field's value.
73875func (s *UpdateAppImageConfigInput) SetAppImageConfigName(v string) *UpdateAppImageConfigInput {
73876	s.AppImageConfigName = &v
73877	return s
73878}
73879
73880// SetKernelGatewayImageConfig sets the KernelGatewayImageConfig field's value.
73881func (s *UpdateAppImageConfigInput) SetKernelGatewayImageConfig(v *KernelGatewayImageConfig) *UpdateAppImageConfigInput {
73882	s.KernelGatewayImageConfig = v
73883	return s
73884}
73885
73886type UpdateAppImageConfigOutput struct {
73887	_ struct{} `type:"structure"`
73888
73889	// The Amazon Resource Name (ARN) for the AppImageConfig.
73890	AppImageConfigArn *string `type:"string"`
73891}
73892
73893// String returns the string representation
73894func (s UpdateAppImageConfigOutput) String() string {
73895	return awsutil.Prettify(s)
73896}
73897
73898// GoString returns the string representation
73899func (s UpdateAppImageConfigOutput) GoString() string {
73900	return s.String()
73901}
73902
73903// SetAppImageConfigArn sets the AppImageConfigArn field's value.
73904func (s *UpdateAppImageConfigOutput) SetAppImageConfigArn(v string) *UpdateAppImageConfigOutput {
73905	s.AppImageConfigArn = &v
73906	return s
73907}
73908
73909type UpdateArtifactInput struct {
73910	_ struct{} `type:"structure"`
73911
73912	// The Amazon Resource Name (ARN) of the artifact to update.
73913	//
73914	// ArtifactArn is a required field
73915	ArtifactArn *string `type:"string" required:"true"`
73916
73917	// The new name for the artifact.
73918	ArtifactName *string `min:"1" type:"string"`
73919
73920	// The new list of properties. Overwrites the current property list.
73921	Properties map[string]*string `type:"map"`
73922
73923	// A list of properties to remove.
73924	PropertiesToRemove []*string `type:"list"`
73925}
73926
73927// String returns the string representation
73928func (s UpdateArtifactInput) String() string {
73929	return awsutil.Prettify(s)
73930}
73931
73932// GoString returns the string representation
73933func (s UpdateArtifactInput) GoString() string {
73934	return s.String()
73935}
73936
73937// Validate inspects the fields of the type to determine if they are valid.
73938func (s *UpdateArtifactInput) Validate() error {
73939	invalidParams := request.ErrInvalidParams{Context: "UpdateArtifactInput"}
73940	if s.ArtifactArn == nil {
73941		invalidParams.Add(request.NewErrParamRequired("ArtifactArn"))
73942	}
73943	if s.ArtifactName != nil && len(*s.ArtifactName) < 1 {
73944		invalidParams.Add(request.NewErrParamMinLen("ArtifactName", 1))
73945	}
73946
73947	if invalidParams.Len() > 0 {
73948		return invalidParams
73949	}
73950	return nil
73951}
73952
73953// SetArtifactArn sets the ArtifactArn field's value.
73954func (s *UpdateArtifactInput) SetArtifactArn(v string) *UpdateArtifactInput {
73955	s.ArtifactArn = &v
73956	return s
73957}
73958
73959// SetArtifactName sets the ArtifactName field's value.
73960func (s *UpdateArtifactInput) SetArtifactName(v string) *UpdateArtifactInput {
73961	s.ArtifactName = &v
73962	return s
73963}
73964
73965// SetProperties sets the Properties field's value.
73966func (s *UpdateArtifactInput) SetProperties(v map[string]*string) *UpdateArtifactInput {
73967	s.Properties = v
73968	return s
73969}
73970
73971// SetPropertiesToRemove sets the PropertiesToRemove field's value.
73972func (s *UpdateArtifactInput) SetPropertiesToRemove(v []*string) *UpdateArtifactInput {
73973	s.PropertiesToRemove = v
73974	return s
73975}
73976
73977type UpdateArtifactOutput struct {
73978	_ struct{} `type:"structure"`
73979
73980	// The Amazon Resource Name (ARN) of the artifact.
73981	ArtifactArn *string `type:"string"`
73982}
73983
73984// String returns the string representation
73985func (s UpdateArtifactOutput) String() string {
73986	return awsutil.Prettify(s)
73987}
73988
73989// GoString returns the string representation
73990func (s UpdateArtifactOutput) GoString() string {
73991	return s.String()
73992}
73993
73994// SetArtifactArn sets the ArtifactArn field's value.
73995func (s *UpdateArtifactOutput) SetArtifactArn(v string) *UpdateArtifactOutput {
73996	s.ArtifactArn = &v
73997	return s
73998}
73999
74000type UpdateCodeRepositoryInput struct {
74001	_ struct{} `type:"structure"`
74002
74003	// The name of the Git repository to update.
74004	//
74005	// CodeRepositoryName is a required field
74006	CodeRepositoryName *string `min:"1" type:"string" required:"true"`
74007
74008	// The configuration of the git repository, including the URL and the Amazon
74009	// Resource Name (ARN) of the AWS Secrets Manager secret that contains the credentials
74010	// used to access the repository. The secret must have a staging label of AWSCURRENT
74011	// and must be in the following format:
74012	//
74013	// {"username": UserName, "password": Password}
74014	GitConfig *GitConfigForUpdate `type:"structure"`
74015}
74016
74017// String returns the string representation
74018func (s UpdateCodeRepositoryInput) String() string {
74019	return awsutil.Prettify(s)
74020}
74021
74022// GoString returns the string representation
74023func (s UpdateCodeRepositoryInput) GoString() string {
74024	return s.String()
74025}
74026
74027// Validate inspects the fields of the type to determine if they are valid.
74028func (s *UpdateCodeRepositoryInput) Validate() error {
74029	invalidParams := request.ErrInvalidParams{Context: "UpdateCodeRepositoryInput"}
74030	if s.CodeRepositoryName == nil {
74031		invalidParams.Add(request.NewErrParamRequired("CodeRepositoryName"))
74032	}
74033	if s.CodeRepositoryName != nil && len(*s.CodeRepositoryName) < 1 {
74034		invalidParams.Add(request.NewErrParamMinLen("CodeRepositoryName", 1))
74035	}
74036	if s.GitConfig != nil {
74037		if err := s.GitConfig.Validate(); err != nil {
74038			invalidParams.AddNested("GitConfig", err.(request.ErrInvalidParams))
74039		}
74040	}
74041
74042	if invalidParams.Len() > 0 {
74043		return invalidParams
74044	}
74045	return nil
74046}
74047
74048// SetCodeRepositoryName sets the CodeRepositoryName field's value.
74049func (s *UpdateCodeRepositoryInput) SetCodeRepositoryName(v string) *UpdateCodeRepositoryInput {
74050	s.CodeRepositoryName = &v
74051	return s
74052}
74053
74054// SetGitConfig sets the GitConfig field's value.
74055func (s *UpdateCodeRepositoryInput) SetGitConfig(v *GitConfigForUpdate) *UpdateCodeRepositoryInput {
74056	s.GitConfig = v
74057	return s
74058}
74059
74060type UpdateCodeRepositoryOutput struct {
74061	_ struct{} `type:"structure"`
74062
74063	// The ARN of the Git repository.
74064	//
74065	// CodeRepositoryArn is a required field
74066	CodeRepositoryArn *string `min:"1" type:"string" required:"true"`
74067}
74068
74069// String returns the string representation
74070func (s UpdateCodeRepositoryOutput) String() string {
74071	return awsutil.Prettify(s)
74072}
74073
74074// GoString returns the string representation
74075func (s UpdateCodeRepositoryOutput) GoString() string {
74076	return s.String()
74077}
74078
74079// SetCodeRepositoryArn sets the CodeRepositoryArn field's value.
74080func (s *UpdateCodeRepositoryOutput) SetCodeRepositoryArn(v string) *UpdateCodeRepositoryOutput {
74081	s.CodeRepositoryArn = &v
74082	return s
74083}
74084
74085type UpdateContextInput struct {
74086	_ struct{} `type:"structure"`
74087
74088	// The name of the context to update.
74089	//
74090	// ContextName is a required field
74091	ContextName *string `min:"1" type:"string" required:"true"`
74092
74093	// The new description for the context.
74094	Description *string `type:"string"`
74095
74096	// The new list of properties. Overwrites the current property list.
74097	Properties map[string]*string `type:"map"`
74098
74099	// A list of properties to remove.
74100	PropertiesToRemove []*string `type:"list"`
74101}
74102
74103// String returns the string representation
74104func (s UpdateContextInput) String() string {
74105	return awsutil.Prettify(s)
74106}
74107
74108// GoString returns the string representation
74109func (s UpdateContextInput) GoString() string {
74110	return s.String()
74111}
74112
74113// Validate inspects the fields of the type to determine if they are valid.
74114func (s *UpdateContextInput) Validate() error {
74115	invalidParams := request.ErrInvalidParams{Context: "UpdateContextInput"}
74116	if s.ContextName == nil {
74117		invalidParams.Add(request.NewErrParamRequired("ContextName"))
74118	}
74119	if s.ContextName != nil && len(*s.ContextName) < 1 {
74120		invalidParams.Add(request.NewErrParamMinLen("ContextName", 1))
74121	}
74122
74123	if invalidParams.Len() > 0 {
74124		return invalidParams
74125	}
74126	return nil
74127}
74128
74129// SetContextName sets the ContextName field's value.
74130func (s *UpdateContextInput) SetContextName(v string) *UpdateContextInput {
74131	s.ContextName = &v
74132	return s
74133}
74134
74135// SetDescription sets the Description field's value.
74136func (s *UpdateContextInput) SetDescription(v string) *UpdateContextInput {
74137	s.Description = &v
74138	return s
74139}
74140
74141// SetProperties sets the Properties field's value.
74142func (s *UpdateContextInput) SetProperties(v map[string]*string) *UpdateContextInput {
74143	s.Properties = v
74144	return s
74145}
74146
74147// SetPropertiesToRemove sets the PropertiesToRemove field's value.
74148func (s *UpdateContextInput) SetPropertiesToRemove(v []*string) *UpdateContextInput {
74149	s.PropertiesToRemove = v
74150	return s
74151}
74152
74153type UpdateContextOutput struct {
74154	_ struct{} `type:"structure"`
74155
74156	// The Amazon Resource Name (ARN) of the context.
74157	ContextArn *string `type:"string"`
74158}
74159
74160// String returns the string representation
74161func (s UpdateContextOutput) String() string {
74162	return awsutil.Prettify(s)
74163}
74164
74165// GoString returns the string representation
74166func (s UpdateContextOutput) GoString() string {
74167	return s.String()
74168}
74169
74170// SetContextArn sets the ContextArn field's value.
74171func (s *UpdateContextOutput) SetContextArn(v string) *UpdateContextOutput {
74172	s.ContextArn = &v
74173	return s
74174}
74175
74176type UpdateDeviceFleetInput struct {
74177	_ struct{} `type:"structure"`
74178
74179	// Description of the fleet.
74180	Description *string `min:"1" type:"string"`
74181
74182	// The name of the fleet.
74183	//
74184	// DeviceFleetName is a required field
74185	DeviceFleetName *string `min:"1" type:"string" required:"true"`
74186
74187	// Output configuration for storing sample data collected by the fleet.
74188	//
74189	// OutputConfig is a required field
74190	OutputConfig *EdgeOutputConfig `type:"structure" required:"true"`
74191
74192	// The Amazon Resource Name (ARN) of the device.
74193	RoleArn *string `min:"20" type:"string"`
74194}
74195
74196// String returns the string representation
74197func (s UpdateDeviceFleetInput) String() string {
74198	return awsutil.Prettify(s)
74199}
74200
74201// GoString returns the string representation
74202func (s UpdateDeviceFleetInput) GoString() string {
74203	return s.String()
74204}
74205
74206// Validate inspects the fields of the type to determine if they are valid.
74207func (s *UpdateDeviceFleetInput) Validate() error {
74208	invalidParams := request.ErrInvalidParams{Context: "UpdateDeviceFleetInput"}
74209	if s.Description != nil && len(*s.Description) < 1 {
74210		invalidParams.Add(request.NewErrParamMinLen("Description", 1))
74211	}
74212	if s.DeviceFleetName == nil {
74213		invalidParams.Add(request.NewErrParamRequired("DeviceFleetName"))
74214	}
74215	if s.DeviceFleetName != nil && len(*s.DeviceFleetName) < 1 {
74216		invalidParams.Add(request.NewErrParamMinLen("DeviceFleetName", 1))
74217	}
74218	if s.OutputConfig == nil {
74219		invalidParams.Add(request.NewErrParamRequired("OutputConfig"))
74220	}
74221	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
74222		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
74223	}
74224	if s.OutputConfig != nil {
74225		if err := s.OutputConfig.Validate(); err != nil {
74226			invalidParams.AddNested("OutputConfig", err.(request.ErrInvalidParams))
74227		}
74228	}
74229
74230	if invalidParams.Len() > 0 {
74231		return invalidParams
74232	}
74233	return nil
74234}
74235
74236// SetDescription sets the Description field's value.
74237func (s *UpdateDeviceFleetInput) SetDescription(v string) *UpdateDeviceFleetInput {
74238	s.Description = &v
74239	return s
74240}
74241
74242// SetDeviceFleetName sets the DeviceFleetName field's value.
74243func (s *UpdateDeviceFleetInput) SetDeviceFleetName(v string) *UpdateDeviceFleetInput {
74244	s.DeviceFleetName = &v
74245	return s
74246}
74247
74248// SetOutputConfig sets the OutputConfig field's value.
74249func (s *UpdateDeviceFleetInput) SetOutputConfig(v *EdgeOutputConfig) *UpdateDeviceFleetInput {
74250	s.OutputConfig = v
74251	return s
74252}
74253
74254// SetRoleArn sets the RoleArn field's value.
74255func (s *UpdateDeviceFleetInput) SetRoleArn(v string) *UpdateDeviceFleetInput {
74256	s.RoleArn = &v
74257	return s
74258}
74259
74260type UpdateDeviceFleetOutput struct {
74261	_ struct{} `type:"structure"`
74262}
74263
74264// String returns the string representation
74265func (s UpdateDeviceFleetOutput) String() string {
74266	return awsutil.Prettify(s)
74267}
74268
74269// GoString returns the string representation
74270func (s UpdateDeviceFleetOutput) GoString() string {
74271	return s.String()
74272}
74273
74274type UpdateDevicesInput struct {
74275	_ struct{} `type:"structure"`
74276
74277	// The name of the fleet the devices belong to.
74278	//
74279	// DeviceFleetName is a required field
74280	DeviceFleetName *string `min:"1" type:"string" required:"true"`
74281
74282	// List of devices to register with Edge Manager agent.
74283	//
74284	// Devices is a required field
74285	Devices []*Device `type:"list" required:"true"`
74286}
74287
74288// String returns the string representation
74289func (s UpdateDevicesInput) String() string {
74290	return awsutil.Prettify(s)
74291}
74292
74293// GoString returns the string representation
74294func (s UpdateDevicesInput) GoString() string {
74295	return s.String()
74296}
74297
74298// Validate inspects the fields of the type to determine if they are valid.
74299func (s *UpdateDevicesInput) Validate() error {
74300	invalidParams := request.ErrInvalidParams{Context: "UpdateDevicesInput"}
74301	if s.DeviceFleetName == nil {
74302		invalidParams.Add(request.NewErrParamRequired("DeviceFleetName"))
74303	}
74304	if s.DeviceFleetName != nil && len(*s.DeviceFleetName) < 1 {
74305		invalidParams.Add(request.NewErrParamMinLen("DeviceFleetName", 1))
74306	}
74307	if s.Devices == nil {
74308		invalidParams.Add(request.NewErrParamRequired("Devices"))
74309	}
74310	if s.Devices != nil {
74311		for i, v := range s.Devices {
74312			if v == nil {
74313				continue
74314			}
74315			if err := v.Validate(); err != nil {
74316				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Devices", i), err.(request.ErrInvalidParams))
74317			}
74318		}
74319	}
74320
74321	if invalidParams.Len() > 0 {
74322		return invalidParams
74323	}
74324	return nil
74325}
74326
74327// SetDeviceFleetName sets the DeviceFleetName field's value.
74328func (s *UpdateDevicesInput) SetDeviceFleetName(v string) *UpdateDevicesInput {
74329	s.DeviceFleetName = &v
74330	return s
74331}
74332
74333// SetDevices sets the Devices field's value.
74334func (s *UpdateDevicesInput) SetDevices(v []*Device) *UpdateDevicesInput {
74335	s.Devices = v
74336	return s
74337}
74338
74339type UpdateDevicesOutput struct {
74340	_ struct{} `type:"structure"`
74341}
74342
74343// String returns the string representation
74344func (s UpdateDevicesOutput) String() string {
74345	return awsutil.Prettify(s)
74346}
74347
74348// GoString returns the string representation
74349func (s UpdateDevicesOutput) GoString() string {
74350	return s.String()
74351}
74352
74353type UpdateDomainInput struct {
74354	_ struct{} `type:"structure"`
74355
74356	// A collection of settings.
74357	DefaultUserSettings *UserSettings `type:"structure"`
74358
74359	// The ID of the domain to be updated.
74360	//
74361	// DomainId is a required field
74362	DomainId *string `type:"string" required:"true"`
74363}
74364
74365// String returns the string representation
74366func (s UpdateDomainInput) String() string {
74367	return awsutil.Prettify(s)
74368}
74369
74370// GoString returns the string representation
74371func (s UpdateDomainInput) GoString() string {
74372	return s.String()
74373}
74374
74375// Validate inspects the fields of the type to determine if they are valid.
74376func (s *UpdateDomainInput) Validate() error {
74377	invalidParams := request.ErrInvalidParams{Context: "UpdateDomainInput"}
74378	if s.DomainId == nil {
74379		invalidParams.Add(request.NewErrParamRequired("DomainId"))
74380	}
74381	if s.DefaultUserSettings != nil {
74382		if err := s.DefaultUserSettings.Validate(); err != nil {
74383			invalidParams.AddNested("DefaultUserSettings", err.(request.ErrInvalidParams))
74384		}
74385	}
74386
74387	if invalidParams.Len() > 0 {
74388		return invalidParams
74389	}
74390	return nil
74391}
74392
74393// SetDefaultUserSettings sets the DefaultUserSettings field's value.
74394func (s *UpdateDomainInput) SetDefaultUserSettings(v *UserSettings) *UpdateDomainInput {
74395	s.DefaultUserSettings = v
74396	return s
74397}
74398
74399// SetDomainId sets the DomainId field's value.
74400func (s *UpdateDomainInput) SetDomainId(v string) *UpdateDomainInput {
74401	s.DomainId = &v
74402	return s
74403}
74404
74405type UpdateDomainOutput struct {
74406	_ struct{} `type:"structure"`
74407
74408	// The Amazon Resource Name (ARN) of the domain.
74409	DomainArn *string `type:"string"`
74410}
74411
74412// String returns the string representation
74413func (s UpdateDomainOutput) String() string {
74414	return awsutil.Prettify(s)
74415}
74416
74417// GoString returns the string representation
74418func (s UpdateDomainOutput) GoString() string {
74419	return s.String()
74420}
74421
74422// SetDomainArn sets the DomainArn field's value.
74423func (s *UpdateDomainOutput) SetDomainArn(v string) *UpdateDomainOutput {
74424	s.DomainArn = &v
74425	return s
74426}
74427
74428type UpdateEndpointInput struct {
74429	_ struct{} `type:"structure"`
74430
74431	// The deployment configuration for the endpoint to be updated.
74432	DeploymentConfig *DeploymentConfig `type:"structure"`
74433
74434	// The name of the new endpoint configuration.
74435	//
74436	// EndpointConfigName is a required field
74437	EndpointConfigName *string `type:"string" required:"true"`
74438
74439	// The name of the endpoint whose configuration you want to update.
74440	//
74441	// EndpointName is a required field
74442	EndpointName *string `type:"string" required:"true"`
74443
74444	// When you are updating endpoint resources with UpdateEndpointInput$RetainAllVariantProperties,
74445	// whose value is set to true, ExcludeRetainedVariantProperties specifies the
74446	// list of type VariantProperty to override with the values provided by EndpointConfig.
74447	// If you don't specify a value for ExcludeAllVariantProperties, no variant
74448	// properties are overridden.
74449	ExcludeRetainedVariantProperties []*VariantProperty `type:"list"`
74450
74451	// When updating endpoint resources, enables or disables the retention of variant
74452	// properties (https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_VariantProperty.html),
74453	// such as the instance count or the variant weight. To retain the variant properties
74454	// of an endpoint when updating it, set RetainAllVariantProperties to true.
74455	// To use the variant properties specified in a new EndpointConfig call when
74456	// updating an endpoint, set RetainAllVariantProperties to false. The default
74457	// is false.
74458	RetainAllVariantProperties *bool `type:"boolean"`
74459}
74460
74461// String returns the string representation
74462func (s UpdateEndpointInput) String() string {
74463	return awsutil.Prettify(s)
74464}
74465
74466// GoString returns the string representation
74467func (s UpdateEndpointInput) GoString() string {
74468	return s.String()
74469}
74470
74471// Validate inspects the fields of the type to determine if they are valid.
74472func (s *UpdateEndpointInput) Validate() error {
74473	invalidParams := request.ErrInvalidParams{Context: "UpdateEndpointInput"}
74474	if s.EndpointConfigName == nil {
74475		invalidParams.Add(request.NewErrParamRequired("EndpointConfigName"))
74476	}
74477	if s.EndpointName == nil {
74478		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
74479	}
74480	if s.DeploymentConfig != nil {
74481		if err := s.DeploymentConfig.Validate(); err != nil {
74482			invalidParams.AddNested("DeploymentConfig", err.(request.ErrInvalidParams))
74483		}
74484	}
74485	if s.ExcludeRetainedVariantProperties != nil {
74486		for i, v := range s.ExcludeRetainedVariantProperties {
74487			if v == nil {
74488				continue
74489			}
74490			if err := v.Validate(); err != nil {
74491				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ExcludeRetainedVariantProperties", i), err.(request.ErrInvalidParams))
74492			}
74493		}
74494	}
74495
74496	if invalidParams.Len() > 0 {
74497		return invalidParams
74498	}
74499	return nil
74500}
74501
74502// SetDeploymentConfig sets the DeploymentConfig field's value.
74503func (s *UpdateEndpointInput) SetDeploymentConfig(v *DeploymentConfig) *UpdateEndpointInput {
74504	s.DeploymentConfig = v
74505	return s
74506}
74507
74508// SetEndpointConfigName sets the EndpointConfigName field's value.
74509func (s *UpdateEndpointInput) SetEndpointConfigName(v string) *UpdateEndpointInput {
74510	s.EndpointConfigName = &v
74511	return s
74512}
74513
74514// SetEndpointName sets the EndpointName field's value.
74515func (s *UpdateEndpointInput) SetEndpointName(v string) *UpdateEndpointInput {
74516	s.EndpointName = &v
74517	return s
74518}
74519
74520// SetExcludeRetainedVariantProperties sets the ExcludeRetainedVariantProperties field's value.
74521func (s *UpdateEndpointInput) SetExcludeRetainedVariantProperties(v []*VariantProperty) *UpdateEndpointInput {
74522	s.ExcludeRetainedVariantProperties = v
74523	return s
74524}
74525
74526// SetRetainAllVariantProperties sets the RetainAllVariantProperties field's value.
74527func (s *UpdateEndpointInput) SetRetainAllVariantProperties(v bool) *UpdateEndpointInput {
74528	s.RetainAllVariantProperties = &v
74529	return s
74530}
74531
74532type UpdateEndpointOutput struct {
74533	_ struct{} `type:"structure"`
74534
74535	// The Amazon Resource Name (ARN) of the endpoint.
74536	//
74537	// EndpointArn is a required field
74538	EndpointArn *string `min:"20" type:"string" required:"true"`
74539}
74540
74541// String returns the string representation
74542func (s UpdateEndpointOutput) String() string {
74543	return awsutil.Prettify(s)
74544}
74545
74546// GoString returns the string representation
74547func (s UpdateEndpointOutput) GoString() string {
74548	return s.String()
74549}
74550
74551// SetEndpointArn sets the EndpointArn field's value.
74552func (s *UpdateEndpointOutput) SetEndpointArn(v string) *UpdateEndpointOutput {
74553	s.EndpointArn = &v
74554	return s
74555}
74556
74557type UpdateEndpointWeightsAndCapacitiesInput struct {
74558	_ struct{} `type:"structure"`
74559
74560	// An object that provides new capacity and weight values for a variant.
74561	//
74562	// DesiredWeightsAndCapacities is a required field
74563	DesiredWeightsAndCapacities []*DesiredWeightAndCapacity `min:"1" type:"list" required:"true"`
74564
74565	// The name of an existing Amazon SageMaker endpoint.
74566	//
74567	// EndpointName is a required field
74568	EndpointName *string `type:"string" required:"true"`
74569}
74570
74571// String returns the string representation
74572func (s UpdateEndpointWeightsAndCapacitiesInput) String() string {
74573	return awsutil.Prettify(s)
74574}
74575
74576// GoString returns the string representation
74577func (s UpdateEndpointWeightsAndCapacitiesInput) GoString() string {
74578	return s.String()
74579}
74580
74581// Validate inspects the fields of the type to determine if they are valid.
74582func (s *UpdateEndpointWeightsAndCapacitiesInput) Validate() error {
74583	invalidParams := request.ErrInvalidParams{Context: "UpdateEndpointWeightsAndCapacitiesInput"}
74584	if s.DesiredWeightsAndCapacities == nil {
74585		invalidParams.Add(request.NewErrParamRequired("DesiredWeightsAndCapacities"))
74586	}
74587	if s.DesiredWeightsAndCapacities != nil && len(s.DesiredWeightsAndCapacities) < 1 {
74588		invalidParams.Add(request.NewErrParamMinLen("DesiredWeightsAndCapacities", 1))
74589	}
74590	if s.EndpointName == nil {
74591		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
74592	}
74593	if s.DesiredWeightsAndCapacities != nil {
74594		for i, v := range s.DesiredWeightsAndCapacities {
74595			if v == nil {
74596				continue
74597			}
74598			if err := v.Validate(); err != nil {
74599				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DesiredWeightsAndCapacities", i), err.(request.ErrInvalidParams))
74600			}
74601		}
74602	}
74603
74604	if invalidParams.Len() > 0 {
74605		return invalidParams
74606	}
74607	return nil
74608}
74609
74610// SetDesiredWeightsAndCapacities sets the DesiredWeightsAndCapacities field's value.
74611func (s *UpdateEndpointWeightsAndCapacitiesInput) SetDesiredWeightsAndCapacities(v []*DesiredWeightAndCapacity) *UpdateEndpointWeightsAndCapacitiesInput {
74612	s.DesiredWeightsAndCapacities = v
74613	return s
74614}
74615
74616// SetEndpointName sets the EndpointName field's value.
74617func (s *UpdateEndpointWeightsAndCapacitiesInput) SetEndpointName(v string) *UpdateEndpointWeightsAndCapacitiesInput {
74618	s.EndpointName = &v
74619	return s
74620}
74621
74622type UpdateEndpointWeightsAndCapacitiesOutput struct {
74623	_ struct{} `type:"structure"`
74624
74625	// The Amazon Resource Name (ARN) of the updated endpoint.
74626	//
74627	// EndpointArn is a required field
74628	EndpointArn *string `min:"20" type:"string" required:"true"`
74629}
74630
74631// String returns the string representation
74632func (s UpdateEndpointWeightsAndCapacitiesOutput) String() string {
74633	return awsutil.Prettify(s)
74634}
74635
74636// GoString returns the string representation
74637func (s UpdateEndpointWeightsAndCapacitiesOutput) GoString() string {
74638	return s.String()
74639}
74640
74641// SetEndpointArn sets the EndpointArn field's value.
74642func (s *UpdateEndpointWeightsAndCapacitiesOutput) SetEndpointArn(v string) *UpdateEndpointWeightsAndCapacitiesOutput {
74643	s.EndpointArn = &v
74644	return s
74645}
74646
74647type UpdateExperimentInput struct {
74648	_ struct{} `type:"structure"`
74649
74650	// The description of the experiment.
74651	Description *string `type:"string"`
74652
74653	// The name of the experiment as displayed. The name doesn't need to be unique.
74654	// If DisplayName isn't specified, ExperimentName is displayed.
74655	DisplayName *string `min:"1" type:"string"`
74656
74657	// The name of the experiment to update.
74658	//
74659	// ExperimentName is a required field
74660	ExperimentName *string `min:"1" type:"string" required:"true"`
74661}
74662
74663// String returns the string representation
74664func (s UpdateExperimentInput) String() string {
74665	return awsutil.Prettify(s)
74666}
74667
74668// GoString returns the string representation
74669func (s UpdateExperimentInput) GoString() string {
74670	return s.String()
74671}
74672
74673// Validate inspects the fields of the type to determine if they are valid.
74674func (s *UpdateExperimentInput) Validate() error {
74675	invalidParams := request.ErrInvalidParams{Context: "UpdateExperimentInput"}
74676	if s.DisplayName != nil && len(*s.DisplayName) < 1 {
74677		invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1))
74678	}
74679	if s.ExperimentName == nil {
74680		invalidParams.Add(request.NewErrParamRequired("ExperimentName"))
74681	}
74682	if s.ExperimentName != nil && len(*s.ExperimentName) < 1 {
74683		invalidParams.Add(request.NewErrParamMinLen("ExperimentName", 1))
74684	}
74685
74686	if invalidParams.Len() > 0 {
74687		return invalidParams
74688	}
74689	return nil
74690}
74691
74692// SetDescription sets the Description field's value.
74693func (s *UpdateExperimentInput) SetDescription(v string) *UpdateExperimentInput {
74694	s.Description = &v
74695	return s
74696}
74697
74698// SetDisplayName sets the DisplayName field's value.
74699func (s *UpdateExperimentInput) SetDisplayName(v string) *UpdateExperimentInput {
74700	s.DisplayName = &v
74701	return s
74702}
74703
74704// SetExperimentName sets the ExperimentName field's value.
74705func (s *UpdateExperimentInput) SetExperimentName(v string) *UpdateExperimentInput {
74706	s.ExperimentName = &v
74707	return s
74708}
74709
74710type UpdateExperimentOutput struct {
74711	_ struct{} `type:"structure"`
74712
74713	// The Amazon Resource Name (ARN) of the experiment.
74714	ExperimentArn *string `type:"string"`
74715}
74716
74717// String returns the string representation
74718func (s UpdateExperimentOutput) String() string {
74719	return awsutil.Prettify(s)
74720}
74721
74722// GoString returns the string representation
74723func (s UpdateExperimentOutput) GoString() string {
74724	return s.String()
74725}
74726
74727// SetExperimentArn sets the ExperimentArn field's value.
74728func (s *UpdateExperimentOutput) SetExperimentArn(v string) *UpdateExperimentOutput {
74729	s.ExperimentArn = &v
74730	return s
74731}
74732
74733type UpdateImageInput struct {
74734	_ struct{} `type:"structure"`
74735
74736	// A list of properties to delete. Only the Description and DisplayName properties
74737	// can be deleted.
74738	DeleteProperties []*string `type:"list"`
74739
74740	// The new description for the image.
74741	Description *string `min:"1" type:"string"`
74742
74743	// The new display name for the image.
74744	DisplayName *string `min:"1" type:"string"`
74745
74746	// The name of the image to update.
74747	//
74748	// ImageName is a required field
74749	ImageName *string `min:"1" type:"string" required:"true"`
74750
74751	// The new Amazon Resource Name (ARN) for the IAM role that enables Amazon SageMaker
74752	// to perform tasks on your behalf.
74753	RoleArn *string `min:"20" type:"string"`
74754}
74755
74756// String returns the string representation
74757func (s UpdateImageInput) String() string {
74758	return awsutil.Prettify(s)
74759}
74760
74761// GoString returns the string representation
74762func (s UpdateImageInput) GoString() string {
74763	return s.String()
74764}
74765
74766// Validate inspects the fields of the type to determine if they are valid.
74767func (s *UpdateImageInput) Validate() error {
74768	invalidParams := request.ErrInvalidParams{Context: "UpdateImageInput"}
74769	if s.Description != nil && len(*s.Description) < 1 {
74770		invalidParams.Add(request.NewErrParamMinLen("Description", 1))
74771	}
74772	if s.DisplayName != nil && len(*s.DisplayName) < 1 {
74773		invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1))
74774	}
74775	if s.ImageName == nil {
74776		invalidParams.Add(request.NewErrParamRequired("ImageName"))
74777	}
74778	if s.ImageName != nil && len(*s.ImageName) < 1 {
74779		invalidParams.Add(request.NewErrParamMinLen("ImageName", 1))
74780	}
74781	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
74782		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
74783	}
74784
74785	if invalidParams.Len() > 0 {
74786		return invalidParams
74787	}
74788	return nil
74789}
74790
74791// SetDeleteProperties sets the DeleteProperties field's value.
74792func (s *UpdateImageInput) SetDeleteProperties(v []*string) *UpdateImageInput {
74793	s.DeleteProperties = v
74794	return s
74795}
74796
74797// SetDescription sets the Description field's value.
74798func (s *UpdateImageInput) SetDescription(v string) *UpdateImageInput {
74799	s.Description = &v
74800	return s
74801}
74802
74803// SetDisplayName sets the DisplayName field's value.
74804func (s *UpdateImageInput) SetDisplayName(v string) *UpdateImageInput {
74805	s.DisplayName = &v
74806	return s
74807}
74808
74809// SetImageName sets the ImageName field's value.
74810func (s *UpdateImageInput) SetImageName(v string) *UpdateImageInput {
74811	s.ImageName = &v
74812	return s
74813}
74814
74815// SetRoleArn sets the RoleArn field's value.
74816func (s *UpdateImageInput) SetRoleArn(v string) *UpdateImageInput {
74817	s.RoleArn = &v
74818	return s
74819}
74820
74821type UpdateImageOutput struct {
74822	_ struct{} `type:"structure"`
74823
74824	// The Amazon Resource Name (ARN) of the image.
74825	ImageArn *string `type:"string"`
74826}
74827
74828// String returns the string representation
74829func (s UpdateImageOutput) String() string {
74830	return awsutil.Prettify(s)
74831}
74832
74833// GoString returns the string representation
74834func (s UpdateImageOutput) GoString() string {
74835	return s.String()
74836}
74837
74838// SetImageArn sets the ImageArn field's value.
74839func (s *UpdateImageOutput) SetImageArn(v string) *UpdateImageOutput {
74840	s.ImageArn = &v
74841	return s
74842}
74843
74844type UpdateModelPackageInput struct {
74845	_ struct{} `type:"structure"`
74846
74847	// A description for the approval status of the model.
74848	ApprovalDescription *string `type:"string"`
74849
74850	// The approval status of the model.
74851	//
74852	// ModelApprovalStatus is a required field
74853	ModelApprovalStatus *string `type:"string" required:"true" enum:"ModelApprovalStatus"`
74854
74855	// The Amazon Resource Name (ARN) of the model.
74856	//
74857	// ModelPackageArn is a required field
74858	ModelPackageArn *string `min:"1" type:"string" required:"true"`
74859}
74860
74861// String returns the string representation
74862func (s UpdateModelPackageInput) String() string {
74863	return awsutil.Prettify(s)
74864}
74865
74866// GoString returns the string representation
74867func (s UpdateModelPackageInput) GoString() string {
74868	return s.String()
74869}
74870
74871// Validate inspects the fields of the type to determine if they are valid.
74872func (s *UpdateModelPackageInput) Validate() error {
74873	invalidParams := request.ErrInvalidParams{Context: "UpdateModelPackageInput"}
74874	if s.ModelApprovalStatus == nil {
74875		invalidParams.Add(request.NewErrParamRequired("ModelApprovalStatus"))
74876	}
74877	if s.ModelPackageArn == nil {
74878		invalidParams.Add(request.NewErrParamRequired("ModelPackageArn"))
74879	}
74880	if s.ModelPackageArn != nil && len(*s.ModelPackageArn) < 1 {
74881		invalidParams.Add(request.NewErrParamMinLen("ModelPackageArn", 1))
74882	}
74883
74884	if invalidParams.Len() > 0 {
74885		return invalidParams
74886	}
74887	return nil
74888}
74889
74890// SetApprovalDescription sets the ApprovalDescription field's value.
74891func (s *UpdateModelPackageInput) SetApprovalDescription(v string) *UpdateModelPackageInput {
74892	s.ApprovalDescription = &v
74893	return s
74894}
74895
74896// SetModelApprovalStatus sets the ModelApprovalStatus field's value.
74897func (s *UpdateModelPackageInput) SetModelApprovalStatus(v string) *UpdateModelPackageInput {
74898	s.ModelApprovalStatus = &v
74899	return s
74900}
74901
74902// SetModelPackageArn sets the ModelPackageArn field's value.
74903func (s *UpdateModelPackageInput) SetModelPackageArn(v string) *UpdateModelPackageInput {
74904	s.ModelPackageArn = &v
74905	return s
74906}
74907
74908type UpdateModelPackageOutput struct {
74909	_ struct{} `type:"structure"`
74910
74911	// The Amazon Resource Name (ARN) of the model.
74912	//
74913	// ModelPackageArn is a required field
74914	ModelPackageArn *string `min:"1" type:"string" required:"true"`
74915}
74916
74917// String returns the string representation
74918func (s UpdateModelPackageOutput) String() string {
74919	return awsutil.Prettify(s)
74920}
74921
74922// GoString returns the string representation
74923func (s UpdateModelPackageOutput) GoString() string {
74924	return s.String()
74925}
74926
74927// SetModelPackageArn sets the ModelPackageArn field's value.
74928func (s *UpdateModelPackageOutput) SetModelPackageArn(v string) *UpdateModelPackageOutput {
74929	s.ModelPackageArn = &v
74930	return s
74931}
74932
74933type UpdateMonitoringScheduleInput struct {
74934	_ struct{} `type:"structure"`
74935
74936	// The configuration object that specifies the monitoring schedule and defines
74937	// the monitoring job.
74938	//
74939	// MonitoringScheduleConfig is a required field
74940	MonitoringScheduleConfig *MonitoringScheduleConfig `type:"structure" required:"true"`
74941
74942	// The name of the monitoring schedule. The name must be unique within an AWS
74943	// Region within an AWS account.
74944	//
74945	// MonitoringScheduleName is a required field
74946	MonitoringScheduleName *string `min:"1" type:"string" required:"true"`
74947}
74948
74949// String returns the string representation
74950func (s UpdateMonitoringScheduleInput) String() string {
74951	return awsutil.Prettify(s)
74952}
74953
74954// GoString returns the string representation
74955func (s UpdateMonitoringScheduleInput) GoString() string {
74956	return s.String()
74957}
74958
74959// Validate inspects the fields of the type to determine if they are valid.
74960func (s *UpdateMonitoringScheduleInput) Validate() error {
74961	invalidParams := request.ErrInvalidParams{Context: "UpdateMonitoringScheduleInput"}
74962	if s.MonitoringScheduleConfig == nil {
74963		invalidParams.Add(request.NewErrParamRequired("MonitoringScheduleConfig"))
74964	}
74965	if s.MonitoringScheduleName == nil {
74966		invalidParams.Add(request.NewErrParamRequired("MonitoringScheduleName"))
74967	}
74968	if s.MonitoringScheduleName != nil && len(*s.MonitoringScheduleName) < 1 {
74969		invalidParams.Add(request.NewErrParamMinLen("MonitoringScheduleName", 1))
74970	}
74971	if s.MonitoringScheduleConfig != nil {
74972		if err := s.MonitoringScheduleConfig.Validate(); err != nil {
74973			invalidParams.AddNested("MonitoringScheduleConfig", err.(request.ErrInvalidParams))
74974		}
74975	}
74976
74977	if invalidParams.Len() > 0 {
74978		return invalidParams
74979	}
74980	return nil
74981}
74982
74983// SetMonitoringScheduleConfig sets the MonitoringScheduleConfig field's value.
74984func (s *UpdateMonitoringScheduleInput) SetMonitoringScheduleConfig(v *MonitoringScheduleConfig) *UpdateMonitoringScheduleInput {
74985	s.MonitoringScheduleConfig = v
74986	return s
74987}
74988
74989// SetMonitoringScheduleName sets the MonitoringScheduleName field's value.
74990func (s *UpdateMonitoringScheduleInput) SetMonitoringScheduleName(v string) *UpdateMonitoringScheduleInput {
74991	s.MonitoringScheduleName = &v
74992	return s
74993}
74994
74995type UpdateMonitoringScheduleOutput struct {
74996	_ struct{} `type:"structure"`
74997
74998	// The Amazon Resource Name (ARN) of the monitoring schedule.
74999	//
75000	// MonitoringScheduleArn is a required field
75001	MonitoringScheduleArn *string `type:"string" required:"true"`
75002}
75003
75004// String returns the string representation
75005func (s UpdateMonitoringScheduleOutput) String() string {
75006	return awsutil.Prettify(s)
75007}
75008
75009// GoString returns the string representation
75010func (s UpdateMonitoringScheduleOutput) GoString() string {
75011	return s.String()
75012}
75013
75014// SetMonitoringScheduleArn sets the MonitoringScheduleArn field's value.
75015func (s *UpdateMonitoringScheduleOutput) SetMonitoringScheduleArn(v string) *UpdateMonitoringScheduleOutput {
75016	s.MonitoringScheduleArn = &v
75017	return s
75018}
75019
75020type UpdateNotebookInstanceInput struct {
75021	_ struct{} `type:"structure"`
75022
75023	// A list of the Elastic Inference (EI) instance types to associate with this
75024	// notebook instance. Currently only one EI instance type can be associated
75025	// with a notebook instance. For more information, see Using Elastic Inference
75026	// in Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/ei.html).
75027	AcceleratorTypes []*string `type:"list"`
75028
75029	// An array of up to three Git repositories to associate with the notebook instance.
75030	// These can be either the names of Git repositories stored as resources in
75031	// your account, or the URL of Git repositories in AWS CodeCommit (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html)
75032	// or in any other Git repository. These repositories are cloned at the same
75033	// level as the default repository of your notebook instance. For more information,
75034	// see Associating Git Repositories with Amazon SageMaker Notebook Instances
75035	// (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).
75036	AdditionalCodeRepositories []*string `type:"list"`
75037
75038	// The Git repository to associate with the notebook instance as its default
75039	// code repository. This can be either the name of a Git repository stored as
75040	// a resource in your account, or the URL of a Git repository in AWS CodeCommit
75041	// (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html) or
75042	// in any other Git repository. When you open a notebook instance, it opens
75043	// in the directory that contains this repository. For more information, see
75044	// Associating Git Repositories with Amazon SageMaker Notebook Instances (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).
75045	DefaultCodeRepository *string `min:"1" type:"string"`
75046
75047	// A list of the Elastic Inference (EI) instance types to remove from this notebook
75048	// instance. This operation is idempotent. If you specify an accelerator type
75049	// that is not associated with the notebook instance when you call this method,
75050	// it does not throw an error.
75051	DisassociateAcceleratorTypes *bool `type:"boolean"`
75052
75053	// A list of names or URLs of the default Git repositories to remove from this
75054	// notebook instance. This operation is idempotent. If you specify a Git repository
75055	// that is not associated with the notebook instance when you call this method,
75056	// it does not throw an error.
75057	DisassociateAdditionalCodeRepositories *bool `type:"boolean"`
75058
75059	// The name or URL of the default Git repository to remove from this notebook
75060	// instance. This operation is idempotent. If you specify a Git repository that
75061	// is not associated with the notebook instance when you call this method, it
75062	// does not throw an error.
75063	DisassociateDefaultCodeRepository *bool `type:"boolean"`
75064
75065	// Set to true to remove the notebook instance lifecycle configuration currently
75066	// associated with the notebook instance. This operation is idempotent. If you
75067	// specify a lifecycle configuration that is not associated with the notebook
75068	// instance when you call this method, it does not throw an error.
75069	DisassociateLifecycleConfig *bool `type:"boolean"`
75070
75071	// The Amazon ML compute instance type.
75072	InstanceType *string `type:"string" enum:"InstanceType"`
75073
75074	// The name of a lifecycle configuration to associate with the notebook instance.
75075	// For information about lifestyle configurations, see Step 2.1: (Optional)
75076	// Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html).
75077	LifecycleConfigName *string `type:"string"`
75078
75079	// The name of the notebook instance to update.
75080	//
75081	// NotebookInstanceName is a required field
75082	NotebookInstanceName *string `type:"string" required:"true"`
75083
75084	// The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker can
75085	// assume to access the notebook instance. For more information, see Amazon
75086	// SageMaker Roles (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html).
75087	//
75088	// To be able to pass this role to Amazon SageMaker, the caller of this API
75089	// must have the iam:PassRole permission.
75090	RoleArn *string `min:"20" type:"string"`
75091
75092	// Whether root access is enabled or disabled for users of the notebook instance.
75093	// The default value is Enabled.
75094	//
75095	// If you set this to Disabled, users don't have root access on the notebook
75096	// instance, but lifecycle configuration scripts still run with root permissions.
75097	RootAccess *string `type:"string" enum:"RootAccess"`
75098
75099	// The size, in GB, of the ML storage volume to attach to the notebook instance.
75100	// The default value is 5 GB. ML storage volumes are encrypted, so Amazon SageMaker
75101	// can't determine the amount of available free space on the volume. Because
75102	// of this, you can increase the volume size when you update a notebook instance,
75103	// but you can't decrease the volume size. If you want to decrease the size
75104	// of the ML storage volume in use, create a new notebook instance with the
75105	// desired size.
75106	VolumeSizeInGB *int64 `min:"5" type:"integer"`
75107}
75108
75109// String returns the string representation
75110func (s UpdateNotebookInstanceInput) String() string {
75111	return awsutil.Prettify(s)
75112}
75113
75114// GoString returns the string representation
75115func (s UpdateNotebookInstanceInput) GoString() string {
75116	return s.String()
75117}
75118
75119// Validate inspects the fields of the type to determine if they are valid.
75120func (s *UpdateNotebookInstanceInput) Validate() error {
75121	invalidParams := request.ErrInvalidParams{Context: "UpdateNotebookInstanceInput"}
75122	if s.DefaultCodeRepository != nil && len(*s.DefaultCodeRepository) < 1 {
75123		invalidParams.Add(request.NewErrParamMinLen("DefaultCodeRepository", 1))
75124	}
75125	if s.NotebookInstanceName == nil {
75126		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName"))
75127	}
75128	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
75129		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
75130	}
75131	if s.VolumeSizeInGB != nil && *s.VolumeSizeInGB < 5 {
75132		invalidParams.Add(request.NewErrParamMinValue("VolumeSizeInGB", 5))
75133	}
75134
75135	if invalidParams.Len() > 0 {
75136		return invalidParams
75137	}
75138	return nil
75139}
75140
75141// SetAcceleratorTypes sets the AcceleratorTypes field's value.
75142func (s *UpdateNotebookInstanceInput) SetAcceleratorTypes(v []*string) *UpdateNotebookInstanceInput {
75143	s.AcceleratorTypes = v
75144	return s
75145}
75146
75147// SetAdditionalCodeRepositories sets the AdditionalCodeRepositories field's value.
75148func (s *UpdateNotebookInstanceInput) SetAdditionalCodeRepositories(v []*string) *UpdateNotebookInstanceInput {
75149	s.AdditionalCodeRepositories = v
75150	return s
75151}
75152
75153// SetDefaultCodeRepository sets the DefaultCodeRepository field's value.
75154func (s *UpdateNotebookInstanceInput) SetDefaultCodeRepository(v string) *UpdateNotebookInstanceInput {
75155	s.DefaultCodeRepository = &v
75156	return s
75157}
75158
75159// SetDisassociateAcceleratorTypes sets the DisassociateAcceleratorTypes field's value.
75160func (s *UpdateNotebookInstanceInput) SetDisassociateAcceleratorTypes(v bool) *UpdateNotebookInstanceInput {
75161	s.DisassociateAcceleratorTypes = &v
75162	return s
75163}
75164
75165// SetDisassociateAdditionalCodeRepositories sets the DisassociateAdditionalCodeRepositories field's value.
75166func (s *UpdateNotebookInstanceInput) SetDisassociateAdditionalCodeRepositories(v bool) *UpdateNotebookInstanceInput {
75167	s.DisassociateAdditionalCodeRepositories = &v
75168	return s
75169}
75170
75171// SetDisassociateDefaultCodeRepository sets the DisassociateDefaultCodeRepository field's value.
75172func (s *UpdateNotebookInstanceInput) SetDisassociateDefaultCodeRepository(v bool) *UpdateNotebookInstanceInput {
75173	s.DisassociateDefaultCodeRepository = &v
75174	return s
75175}
75176
75177// SetDisassociateLifecycleConfig sets the DisassociateLifecycleConfig field's value.
75178func (s *UpdateNotebookInstanceInput) SetDisassociateLifecycleConfig(v bool) *UpdateNotebookInstanceInput {
75179	s.DisassociateLifecycleConfig = &v
75180	return s
75181}
75182
75183// SetInstanceType sets the InstanceType field's value.
75184func (s *UpdateNotebookInstanceInput) SetInstanceType(v string) *UpdateNotebookInstanceInput {
75185	s.InstanceType = &v
75186	return s
75187}
75188
75189// SetLifecycleConfigName sets the LifecycleConfigName field's value.
75190func (s *UpdateNotebookInstanceInput) SetLifecycleConfigName(v string) *UpdateNotebookInstanceInput {
75191	s.LifecycleConfigName = &v
75192	return s
75193}
75194
75195// SetNotebookInstanceName sets the NotebookInstanceName field's value.
75196func (s *UpdateNotebookInstanceInput) SetNotebookInstanceName(v string) *UpdateNotebookInstanceInput {
75197	s.NotebookInstanceName = &v
75198	return s
75199}
75200
75201// SetRoleArn sets the RoleArn field's value.
75202func (s *UpdateNotebookInstanceInput) SetRoleArn(v string) *UpdateNotebookInstanceInput {
75203	s.RoleArn = &v
75204	return s
75205}
75206
75207// SetRootAccess sets the RootAccess field's value.
75208func (s *UpdateNotebookInstanceInput) SetRootAccess(v string) *UpdateNotebookInstanceInput {
75209	s.RootAccess = &v
75210	return s
75211}
75212
75213// SetVolumeSizeInGB sets the VolumeSizeInGB field's value.
75214func (s *UpdateNotebookInstanceInput) SetVolumeSizeInGB(v int64) *UpdateNotebookInstanceInput {
75215	s.VolumeSizeInGB = &v
75216	return s
75217}
75218
75219type UpdateNotebookInstanceLifecycleConfigInput struct {
75220	_ struct{} `type:"structure"`
75221
75222	// The name of the lifecycle configuration.
75223	//
75224	// NotebookInstanceLifecycleConfigName is a required field
75225	NotebookInstanceLifecycleConfigName *string `type:"string" required:"true"`
75226
75227	// The shell script that runs only once, when you create a notebook instance.
75228	// The shell script must be a base64-encoded string.
75229	OnCreate []*NotebookInstanceLifecycleHook `type:"list"`
75230
75231	// The shell script that runs every time you start a notebook instance, including
75232	// when you create the notebook instance. The shell script must be a base64-encoded
75233	// string.
75234	OnStart []*NotebookInstanceLifecycleHook `type:"list"`
75235}
75236
75237// String returns the string representation
75238func (s UpdateNotebookInstanceLifecycleConfigInput) String() string {
75239	return awsutil.Prettify(s)
75240}
75241
75242// GoString returns the string representation
75243func (s UpdateNotebookInstanceLifecycleConfigInput) GoString() string {
75244	return s.String()
75245}
75246
75247// Validate inspects the fields of the type to determine if they are valid.
75248func (s *UpdateNotebookInstanceLifecycleConfigInput) Validate() error {
75249	invalidParams := request.ErrInvalidParams{Context: "UpdateNotebookInstanceLifecycleConfigInput"}
75250	if s.NotebookInstanceLifecycleConfigName == nil {
75251		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceLifecycleConfigName"))
75252	}
75253	if s.OnCreate != nil {
75254		for i, v := range s.OnCreate {
75255			if v == nil {
75256				continue
75257			}
75258			if err := v.Validate(); err != nil {
75259				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OnCreate", i), err.(request.ErrInvalidParams))
75260			}
75261		}
75262	}
75263	if s.OnStart != nil {
75264		for i, v := range s.OnStart {
75265			if v == nil {
75266				continue
75267			}
75268			if err := v.Validate(); err != nil {
75269				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OnStart", i), err.(request.ErrInvalidParams))
75270			}
75271		}
75272	}
75273
75274	if invalidParams.Len() > 0 {
75275		return invalidParams
75276	}
75277	return nil
75278}
75279
75280// SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value.
75281func (s *UpdateNotebookInstanceLifecycleConfigInput) SetNotebookInstanceLifecycleConfigName(v string) *UpdateNotebookInstanceLifecycleConfigInput {
75282	s.NotebookInstanceLifecycleConfigName = &v
75283	return s
75284}
75285
75286// SetOnCreate sets the OnCreate field's value.
75287func (s *UpdateNotebookInstanceLifecycleConfigInput) SetOnCreate(v []*NotebookInstanceLifecycleHook) *UpdateNotebookInstanceLifecycleConfigInput {
75288	s.OnCreate = v
75289	return s
75290}
75291
75292// SetOnStart sets the OnStart field's value.
75293func (s *UpdateNotebookInstanceLifecycleConfigInput) SetOnStart(v []*NotebookInstanceLifecycleHook) *UpdateNotebookInstanceLifecycleConfigInput {
75294	s.OnStart = v
75295	return s
75296}
75297
75298type UpdateNotebookInstanceLifecycleConfigOutput struct {
75299	_ struct{} `type:"structure"`
75300}
75301
75302// String returns the string representation
75303func (s UpdateNotebookInstanceLifecycleConfigOutput) String() string {
75304	return awsutil.Prettify(s)
75305}
75306
75307// GoString returns the string representation
75308func (s UpdateNotebookInstanceLifecycleConfigOutput) GoString() string {
75309	return s.String()
75310}
75311
75312type UpdateNotebookInstanceOutput struct {
75313	_ struct{} `type:"structure"`
75314}
75315
75316// String returns the string representation
75317func (s UpdateNotebookInstanceOutput) String() string {
75318	return awsutil.Prettify(s)
75319}
75320
75321// GoString returns the string representation
75322func (s UpdateNotebookInstanceOutput) GoString() string {
75323	return s.String()
75324}
75325
75326type UpdatePipelineExecutionInput struct {
75327	_ struct{} `type:"structure"`
75328
75329	// The Amazon Resource Name (ARN) of the pipeline execution.
75330	//
75331	// PipelineExecutionArn is a required field
75332	PipelineExecutionArn *string `type:"string" required:"true"`
75333
75334	// The description of the pipeline execution.
75335	PipelineExecutionDescription *string `type:"string"`
75336
75337	// The display name of the pipeline execution.
75338	PipelineExecutionDisplayName *string `min:"1" type:"string"`
75339}
75340
75341// String returns the string representation
75342func (s UpdatePipelineExecutionInput) String() string {
75343	return awsutil.Prettify(s)
75344}
75345
75346// GoString returns the string representation
75347func (s UpdatePipelineExecutionInput) GoString() string {
75348	return s.String()
75349}
75350
75351// Validate inspects the fields of the type to determine if they are valid.
75352func (s *UpdatePipelineExecutionInput) Validate() error {
75353	invalidParams := request.ErrInvalidParams{Context: "UpdatePipelineExecutionInput"}
75354	if s.PipelineExecutionArn == nil {
75355		invalidParams.Add(request.NewErrParamRequired("PipelineExecutionArn"))
75356	}
75357	if s.PipelineExecutionDisplayName != nil && len(*s.PipelineExecutionDisplayName) < 1 {
75358		invalidParams.Add(request.NewErrParamMinLen("PipelineExecutionDisplayName", 1))
75359	}
75360
75361	if invalidParams.Len() > 0 {
75362		return invalidParams
75363	}
75364	return nil
75365}
75366
75367// SetPipelineExecutionArn sets the PipelineExecutionArn field's value.
75368func (s *UpdatePipelineExecutionInput) SetPipelineExecutionArn(v string) *UpdatePipelineExecutionInput {
75369	s.PipelineExecutionArn = &v
75370	return s
75371}
75372
75373// SetPipelineExecutionDescription sets the PipelineExecutionDescription field's value.
75374func (s *UpdatePipelineExecutionInput) SetPipelineExecutionDescription(v string) *UpdatePipelineExecutionInput {
75375	s.PipelineExecutionDescription = &v
75376	return s
75377}
75378
75379// SetPipelineExecutionDisplayName sets the PipelineExecutionDisplayName field's value.
75380func (s *UpdatePipelineExecutionInput) SetPipelineExecutionDisplayName(v string) *UpdatePipelineExecutionInput {
75381	s.PipelineExecutionDisplayName = &v
75382	return s
75383}
75384
75385type UpdatePipelineExecutionOutput struct {
75386	_ struct{} `type:"structure"`
75387
75388	// The Amazon Resource Name (ARN) of the updated pipeline execution.
75389	PipelineExecutionArn *string `type:"string"`
75390}
75391
75392// String returns the string representation
75393func (s UpdatePipelineExecutionOutput) String() string {
75394	return awsutil.Prettify(s)
75395}
75396
75397// GoString returns the string representation
75398func (s UpdatePipelineExecutionOutput) GoString() string {
75399	return s.String()
75400}
75401
75402// SetPipelineExecutionArn sets the PipelineExecutionArn field's value.
75403func (s *UpdatePipelineExecutionOutput) SetPipelineExecutionArn(v string) *UpdatePipelineExecutionOutput {
75404	s.PipelineExecutionArn = &v
75405	return s
75406}
75407
75408type UpdatePipelineInput struct {
75409	_ struct{} `type:"structure"`
75410
75411	// The JSON pipeline definition.
75412	PipelineDefinition *string `min:"1" type:"string"`
75413
75414	// The description of the pipeline.
75415	PipelineDescription *string `type:"string"`
75416
75417	// The display name of the pipeline.
75418	PipelineDisplayName *string `min:"1" type:"string"`
75419
75420	// The name of the pipeline to update.
75421	//
75422	// PipelineName is a required field
75423	PipelineName *string `min:"1" type:"string" required:"true"`
75424
75425	// The Amazon Resource Name (ARN) that the pipeline uses to execute.
75426	RoleArn *string `min:"20" type:"string"`
75427}
75428
75429// String returns the string representation
75430func (s UpdatePipelineInput) String() string {
75431	return awsutil.Prettify(s)
75432}
75433
75434// GoString returns the string representation
75435func (s UpdatePipelineInput) GoString() string {
75436	return s.String()
75437}
75438
75439// Validate inspects the fields of the type to determine if they are valid.
75440func (s *UpdatePipelineInput) Validate() error {
75441	invalidParams := request.ErrInvalidParams{Context: "UpdatePipelineInput"}
75442	if s.PipelineDefinition != nil && len(*s.PipelineDefinition) < 1 {
75443		invalidParams.Add(request.NewErrParamMinLen("PipelineDefinition", 1))
75444	}
75445	if s.PipelineDisplayName != nil && len(*s.PipelineDisplayName) < 1 {
75446		invalidParams.Add(request.NewErrParamMinLen("PipelineDisplayName", 1))
75447	}
75448	if s.PipelineName == nil {
75449		invalidParams.Add(request.NewErrParamRequired("PipelineName"))
75450	}
75451	if s.PipelineName != nil && len(*s.PipelineName) < 1 {
75452		invalidParams.Add(request.NewErrParamMinLen("PipelineName", 1))
75453	}
75454	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
75455		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
75456	}
75457
75458	if invalidParams.Len() > 0 {
75459		return invalidParams
75460	}
75461	return nil
75462}
75463
75464// SetPipelineDefinition sets the PipelineDefinition field's value.
75465func (s *UpdatePipelineInput) SetPipelineDefinition(v string) *UpdatePipelineInput {
75466	s.PipelineDefinition = &v
75467	return s
75468}
75469
75470// SetPipelineDescription sets the PipelineDescription field's value.
75471func (s *UpdatePipelineInput) SetPipelineDescription(v string) *UpdatePipelineInput {
75472	s.PipelineDescription = &v
75473	return s
75474}
75475
75476// SetPipelineDisplayName sets the PipelineDisplayName field's value.
75477func (s *UpdatePipelineInput) SetPipelineDisplayName(v string) *UpdatePipelineInput {
75478	s.PipelineDisplayName = &v
75479	return s
75480}
75481
75482// SetPipelineName sets the PipelineName field's value.
75483func (s *UpdatePipelineInput) SetPipelineName(v string) *UpdatePipelineInput {
75484	s.PipelineName = &v
75485	return s
75486}
75487
75488// SetRoleArn sets the RoleArn field's value.
75489func (s *UpdatePipelineInput) SetRoleArn(v string) *UpdatePipelineInput {
75490	s.RoleArn = &v
75491	return s
75492}
75493
75494type UpdatePipelineOutput struct {
75495	_ struct{} `type:"structure"`
75496
75497	// The Amazon Resource Name (ARN) of the updated pipeline.
75498	PipelineArn *string `type:"string"`
75499}
75500
75501// String returns the string representation
75502func (s UpdatePipelineOutput) String() string {
75503	return awsutil.Prettify(s)
75504}
75505
75506// GoString returns the string representation
75507func (s UpdatePipelineOutput) GoString() string {
75508	return s.String()
75509}
75510
75511// SetPipelineArn sets the PipelineArn field's value.
75512func (s *UpdatePipelineOutput) SetPipelineArn(v string) *UpdatePipelineOutput {
75513	s.PipelineArn = &v
75514	return s
75515}
75516
75517type UpdateTrainingJobInput struct {
75518	_ struct{} `type:"structure"`
75519
75520	// Configuration information for Debugger system monitoring, framework profiling,
75521	// and storage paths.
75522	ProfilerConfig *ProfilerConfigForUpdate `type:"structure"`
75523
75524	// Configuration information for Debugger rules for profiling system and framework
75525	// metrics.
75526	ProfilerRuleConfigurations []*ProfilerRuleConfiguration `type:"list"`
75527
75528	// The name of a training job to update the Debugger profiling configuration.
75529	//
75530	// TrainingJobName is a required field
75531	TrainingJobName *string `min:"1" type:"string" required:"true"`
75532}
75533
75534// String returns the string representation
75535func (s UpdateTrainingJobInput) String() string {
75536	return awsutil.Prettify(s)
75537}
75538
75539// GoString returns the string representation
75540func (s UpdateTrainingJobInput) GoString() string {
75541	return s.String()
75542}
75543
75544// Validate inspects the fields of the type to determine if they are valid.
75545func (s *UpdateTrainingJobInput) Validate() error {
75546	invalidParams := request.ErrInvalidParams{Context: "UpdateTrainingJobInput"}
75547	if s.TrainingJobName == nil {
75548		invalidParams.Add(request.NewErrParamRequired("TrainingJobName"))
75549	}
75550	if s.TrainingJobName != nil && len(*s.TrainingJobName) < 1 {
75551		invalidParams.Add(request.NewErrParamMinLen("TrainingJobName", 1))
75552	}
75553	if s.ProfilerRuleConfigurations != nil {
75554		for i, v := range s.ProfilerRuleConfigurations {
75555			if v == nil {
75556				continue
75557			}
75558			if err := v.Validate(); err != nil {
75559				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ProfilerRuleConfigurations", i), err.(request.ErrInvalidParams))
75560			}
75561		}
75562	}
75563
75564	if invalidParams.Len() > 0 {
75565		return invalidParams
75566	}
75567	return nil
75568}
75569
75570// SetProfilerConfig sets the ProfilerConfig field's value.
75571func (s *UpdateTrainingJobInput) SetProfilerConfig(v *ProfilerConfigForUpdate) *UpdateTrainingJobInput {
75572	s.ProfilerConfig = v
75573	return s
75574}
75575
75576// SetProfilerRuleConfigurations sets the ProfilerRuleConfigurations field's value.
75577func (s *UpdateTrainingJobInput) SetProfilerRuleConfigurations(v []*ProfilerRuleConfiguration) *UpdateTrainingJobInput {
75578	s.ProfilerRuleConfigurations = v
75579	return s
75580}
75581
75582// SetTrainingJobName sets the TrainingJobName field's value.
75583func (s *UpdateTrainingJobInput) SetTrainingJobName(v string) *UpdateTrainingJobInput {
75584	s.TrainingJobName = &v
75585	return s
75586}
75587
75588type UpdateTrainingJobOutput struct {
75589	_ struct{} `type:"structure"`
75590
75591	// The Amazon Resource Name (ARN) of the training job.
75592	//
75593	// TrainingJobArn is a required field
75594	TrainingJobArn *string `type:"string" required:"true"`
75595}
75596
75597// String returns the string representation
75598func (s UpdateTrainingJobOutput) String() string {
75599	return awsutil.Prettify(s)
75600}
75601
75602// GoString returns the string representation
75603func (s UpdateTrainingJobOutput) GoString() string {
75604	return s.String()
75605}
75606
75607// SetTrainingJobArn sets the TrainingJobArn field's value.
75608func (s *UpdateTrainingJobOutput) SetTrainingJobArn(v string) *UpdateTrainingJobOutput {
75609	s.TrainingJobArn = &v
75610	return s
75611}
75612
75613type UpdateTrialComponentInput struct {
75614	_ struct{} `type:"structure"`
75615
75616	// The name of the component as displayed. The name doesn't need to be unique.
75617	// If DisplayName isn't specified, TrialComponentName is displayed.
75618	DisplayName *string `min:"1" type:"string"`
75619
75620	// When the component ended.
75621	EndTime *time.Time `type:"timestamp"`
75622
75623	// Replaces all of the component's input artifacts with the specified artifacts.
75624	InputArtifacts map[string]*TrialComponentArtifact `type:"map"`
75625
75626	// The input artifacts to remove from the component.
75627	InputArtifactsToRemove []*string `type:"list"`
75628
75629	// Replaces all of the component's output artifacts with the specified artifacts.
75630	OutputArtifacts map[string]*TrialComponentArtifact `type:"map"`
75631
75632	// The output artifacts to remove from the component.
75633	OutputArtifactsToRemove []*string `type:"list"`
75634
75635	// Replaces all of the component's hyperparameters with the specified hyperparameters.
75636	Parameters map[string]*TrialComponentParameterValue `type:"map"`
75637
75638	// The hyperparameters to remove from the component.
75639	ParametersToRemove []*string `type:"list"`
75640
75641	// When the component started.
75642	StartTime *time.Time `type:"timestamp"`
75643
75644	// The new status of the component.
75645	Status *TrialComponentStatus `type:"structure"`
75646
75647	// The name of the component to update.
75648	//
75649	// TrialComponentName is a required field
75650	TrialComponentName *string `min:"1" type:"string" required:"true"`
75651}
75652
75653// String returns the string representation
75654func (s UpdateTrialComponentInput) String() string {
75655	return awsutil.Prettify(s)
75656}
75657
75658// GoString returns the string representation
75659func (s UpdateTrialComponentInput) GoString() string {
75660	return s.String()
75661}
75662
75663// Validate inspects the fields of the type to determine if they are valid.
75664func (s *UpdateTrialComponentInput) Validate() error {
75665	invalidParams := request.ErrInvalidParams{Context: "UpdateTrialComponentInput"}
75666	if s.DisplayName != nil && len(*s.DisplayName) < 1 {
75667		invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1))
75668	}
75669	if s.TrialComponentName == nil {
75670		invalidParams.Add(request.NewErrParamRequired("TrialComponentName"))
75671	}
75672	if s.TrialComponentName != nil && len(*s.TrialComponentName) < 1 {
75673		invalidParams.Add(request.NewErrParamMinLen("TrialComponentName", 1))
75674	}
75675	if s.InputArtifacts != nil {
75676		for i, v := range s.InputArtifacts {
75677			if v == nil {
75678				continue
75679			}
75680			if err := v.Validate(); err != nil {
75681				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputArtifacts", i), err.(request.ErrInvalidParams))
75682			}
75683		}
75684	}
75685	if s.OutputArtifacts != nil {
75686		for i, v := range s.OutputArtifacts {
75687			if v == nil {
75688				continue
75689			}
75690			if err := v.Validate(); err != nil {
75691				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OutputArtifacts", i), err.(request.ErrInvalidParams))
75692			}
75693		}
75694	}
75695
75696	if invalidParams.Len() > 0 {
75697		return invalidParams
75698	}
75699	return nil
75700}
75701
75702// SetDisplayName sets the DisplayName field's value.
75703func (s *UpdateTrialComponentInput) SetDisplayName(v string) *UpdateTrialComponentInput {
75704	s.DisplayName = &v
75705	return s
75706}
75707
75708// SetEndTime sets the EndTime field's value.
75709func (s *UpdateTrialComponentInput) SetEndTime(v time.Time) *UpdateTrialComponentInput {
75710	s.EndTime = &v
75711	return s
75712}
75713
75714// SetInputArtifacts sets the InputArtifacts field's value.
75715func (s *UpdateTrialComponentInput) SetInputArtifacts(v map[string]*TrialComponentArtifact) *UpdateTrialComponentInput {
75716	s.InputArtifacts = v
75717	return s
75718}
75719
75720// SetInputArtifactsToRemove sets the InputArtifactsToRemove field's value.
75721func (s *UpdateTrialComponentInput) SetInputArtifactsToRemove(v []*string) *UpdateTrialComponentInput {
75722	s.InputArtifactsToRemove = v
75723	return s
75724}
75725
75726// SetOutputArtifacts sets the OutputArtifacts field's value.
75727func (s *UpdateTrialComponentInput) SetOutputArtifacts(v map[string]*TrialComponentArtifact) *UpdateTrialComponentInput {
75728	s.OutputArtifacts = v
75729	return s
75730}
75731
75732// SetOutputArtifactsToRemove sets the OutputArtifactsToRemove field's value.
75733func (s *UpdateTrialComponentInput) SetOutputArtifactsToRemove(v []*string) *UpdateTrialComponentInput {
75734	s.OutputArtifactsToRemove = v
75735	return s
75736}
75737
75738// SetParameters sets the Parameters field's value.
75739func (s *UpdateTrialComponentInput) SetParameters(v map[string]*TrialComponentParameterValue) *UpdateTrialComponentInput {
75740	s.Parameters = v
75741	return s
75742}
75743
75744// SetParametersToRemove sets the ParametersToRemove field's value.
75745func (s *UpdateTrialComponentInput) SetParametersToRemove(v []*string) *UpdateTrialComponentInput {
75746	s.ParametersToRemove = v
75747	return s
75748}
75749
75750// SetStartTime sets the StartTime field's value.
75751func (s *UpdateTrialComponentInput) SetStartTime(v time.Time) *UpdateTrialComponentInput {
75752	s.StartTime = &v
75753	return s
75754}
75755
75756// SetStatus sets the Status field's value.
75757func (s *UpdateTrialComponentInput) SetStatus(v *TrialComponentStatus) *UpdateTrialComponentInput {
75758	s.Status = v
75759	return s
75760}
75761
75762// SetTrialComponentName sets the TrialComponentName field's value.
75763func (s *UpdateTrialComponentInput) SetTrialComponentName(v string) *UpdateTrialComponentInput {
75764	s.TrialComponentName = &v
75765	return s
75766}
75767
75768type UpdateTrialComponentOutput struct {
75769	_ struct{} `type:"structure"`
75770
75771	// The Amazon Resource Name (ARN) of the trial component.
75772	TrialComponentArn *string `type:"string"`
75773}
75774
75775// String returns the string representation
75776func (s UpdateTrialComponentOutput) String() string {
75777	return awsutil.Prettify(s)
75778}
75779
75780// GoString returns the string representation
75781func (s UpdateTrialComponentOutput) GoString() string {
75782	return s.String()
75783}
75784
75785// SetTrialComponentArn sets the TrialComponentArn field's value.
75786func (s *UpdateTrialComponentOutput) SetTrialComponentArn(v string) *UpdateTrialComponentOutput {
75787	s.TrialComponentArn = &v
75788	return s
75789}
75790
75791type UpdateTrialInput struct {
75792	_ struct{} `type:"structure"`
75793
75794	// The name of the trial as displayed. The name doesn't need to be unique. If
75795	// DisplayName isn't specified, TrialName is displayed.
75796	DisplayName *string `min:"1" type:"string"`
75797
75798	// The name of the trial to update.
75799	//
75800	// TrialName is a required field
75801	TrialName *string `min:"1" type:"string" required:"true"`
75802}
75803
75804// String returns the string representation
75805func (s UpdateTrialInput) String() string {
75806	return awsutil.Prettify(s)
75807}
75808
75809// GoString returns the string representation
75810func (s UpdateTrialInput) GoString() string {
75811	return s.String()
75812}
75813
75814// Validate inspects the fields of the type to determine if they are valid.
75815func (s *UpdateTrialInput) Validate() error {
75816	invalidParams := request.ErrInvalidParams{Context: "UpdateTrialInput"}
75817	if s.DisplayName != nil && len(*s.DisplayName) < 1 {
75818		invalidParams.Add(request.NewErrParamMinLen("DisplayName", 1))
75819	}
75820	if s.TrialName == nil {
75821		invalidParams.Add(request.NewErrParamRequired("TrialName"))
75822	}
75823	if s.TrialName != nil && len(*s.TrialName) < 1 {
75824		invalidParams.Add(request.NewErrParamMinLen("TrialName", 1))
75825	}
75826
75827	if invalidParams.Len() > 0 {
75828		return invalidParams
75829	}
75830	return nil
75831}
75832
75833// SetDisplayName sets the DisplayName field's value.
75834func (s *UpdateTrialInput) SetDisplayName(v string) *UpdateTrialInput {
75835	s.DisplayName = &v
75836	return s
75837}
75838
75839// SetTrialName sets the TrialName field's value.
75840func (s *UpdateTrialInput) SetTrialName(v string) *UpdateTrialInput {
75841	s.TrialName = &v
75842	return s
75843}
75844
75845type UpdateTrialOutput struct {
75846	_ struct{} `type:"structure"`
75847
75848	// The Amazon Resource Name (ARN) of the trial.
75849	TrialArn *string `type:"string"`
75850}
75851
75852// String returns the string representation
75853func (s UpdateTrialOutput) String() string {
75854	return awsutil.Prettify(s)
75855}
75856
75857// GoString returns the string representation
75858func (s UpdateTrialOutput) GoString() string {
75859	return s.String()
75860}
75861
75862// SetTrialArn sets the TrialArn field's value.
75863func (s *UpdateTrialOutput) SetTrialArn(v string) *UpdateTrialOutput {
75864	s.TrialArn = &v
75865	return s
75866}
75867
75868type UpdateUserProfileInput struct {
75869	_ struct{} `type:"structure"`
75870
75871	// The domain ID.
75872	//
75873	// DomainId is a required field
75874	DomainId *string `type:"string" required:"true"`
75875
75876	// The user profile name.
75877	//
75878	// UserProfileName is a required field
75879	UserProfileName *string `type:"string" required:"true"`
75880
75881	// A collection of settings.
75882	UserSettings *UserSettings `type:"structure"`
75883}
75884
75885// String returns the string representation
75886func (s UpdateUserProfileInput) String() string {
75887	return awsutil.Prettify(s)
75888}
75889
75890// GoString returns the string representation
75891func (s UpdateUserProfileInput) GoString() string {
75892	return s.String()
75893}
75894
75895// Validate inspects the fields of the type to determine if they are valid.
75896func (s *UpdateUserProfileInput) Validate() error {
75897	invalidParams := request.ErrInvalidParams{Context: "UpdateUserProfileInput"}
75898	if s.DomainId == nil {
75899		invalidParams.Add(request.NewErrParamRequired("DomainId"))
75900	}
75901	if s.UserProfileName == nil {
75902		invalidParams.Add(request.NewErrParamRequired("UserProfileName"))
75903	}
75904	if s.UserSettings != nil {
75905		if err := s.UserSettings.Validate(); err != nil {
75906			invalidParams.AddNested("UserSettings", err.(request.ErrInvalidParams))
75907		}
75908	}
75909
75910	if invalidParams.Len() > 0 {
75911		return invalidParams
75912	}
75913	return nil
75914}
75915
75916// SetDomainId sets the DomainId field's value.
75917func (s *UpdateUserProfileInput) SetDomainId(v string) *UpdateUserProfileInput {
75918	s.DomainId = &v
75919	return s
75920}
75921
75922// SetUserProfileName sets the UserProfileName field's value.
75923func (s *UpdateUserProfileInput) SetUserProfileName(v string) *UpdateUserProfileInput {
75924	s.UserProfileName = &v
75925	return s
75926}
75927
75928// SetUserSettings sets the UserSettings field's value.
75929func (s *UpdateUserProfileInput) SetUserSettings(v *UserSettings) *UpdateUserProfileInput {
75930	s.UserSettings = v
75931	return s
75932}
75933
75934type UpdateUserProfileOutput struct {
75935	_ struct{} `type:"structure"`
75936
75937	// The user profile Amazon Resource Name (ARN).
75938	UserProfileArn *string `type:"string"`
75939}
75940
75941// String returns the string representation
75942func (s UpdateUserProfileOutput) String() string {
75943	return awsutil.Prettify(s)
75944}
75945
75946// GoString returns the string representation
75947func (s UpdateUserProfileOutput) GoString() string {
75948	return s.String()
75949}
75950
75951// SetUserProfileArn sets the UserProfileArn field's value.
75952func (s *UpdateUserProfileOutput) SetUserProfileArn(v string) *UpdateUserProfileOutput {
75953	s.UserProfileArn = &v
75954	return s
75955}
75956
75957type UpdateWorkforceInput struct {
75958	_ struct{} `type:"structure"`
75959
75960	// Use this parameter to update your OIDC Identity Provider (IdP) configuration
75961	// for a workforce made using your own IdP.
75962	OidcConfig *OidcConfig `type:"structure"`
75963
75964	// A list of one to ten worker IP address ranges (CIDRs (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html))
75965	// that can be used to access tasks assigned to this workforce.
75966	//
75967	// Maximum: Ten CIDR values
75968	SourceIpConfig *SourceIpConfig `type:"structure"`
75969
75970	// The name of the private workforce that you want to update. You can find your
75971	// workforce name by using the operation.
75972	//
75973	// WorkforceName is a required field
75974	WorkforceName *string `min:"1" type:"string" required:"true"`
75975}
75976
75977// String returns the string representation
75978func (s UpdateWorkforceInput) String() string {
75979	return awsutil.Prettify(s)
75980}
75981
75982// GoString returns the string representation
75983func (s UpdateWorkforceInput) GoString() string {
75984	return s.String()
75985}
75986
75987// Validate inspects the fields of the type to determine if they are valid.
75988func (s *UpdateWorkforceInput) Validate() error {
75989	invalidParams := request.ErrInvalidParams{Context: "UpdateWorkforceInput"}
75990	if s.WorkforceName == nil {
75991		invalidParams.Add(request.NewErrParamRequired("WorkforceName"))
75992	}
75993	if s.WorkforceName != nil && len(*s.WorkforceName) < 1 {
75994		invalidParams.Add(request.NewErrParamMinLen("WorkforceName", 1))
75995	}
75996	if s.OidcConfig != nil {
75997		if err := s.OidcConfig.Validate(); err != nil {
75998			invalidParams.AddNested("OidcConfig", err.(request.ErrInvalidParams))
75999		}
76000	}
76001	if s.SourceIpConfig != nil {
76002		if err := s.SourceIpConfig.Validate(); err != nil {
76003			invalidParams.AddNested("SourceIpConfig", err.(request.ErrInvalidParams))
76004		}
76005	}
76006
76007	if invalidParams.Len() > 0 {
76008		return invalidParams
76009	}
76010	return nil
76011}
76012
76013// SetOidcConfig sets the OidcConfig field's value.
76014func (s *UpdateWorkforceInput) SetOidcConfig(v *OidcConfig) *UpdateWorkforceInput {
76015	s.OidcConfig = v
76016	return s
76017}
76018
76019// SetSourceIpConfig sets the SourceIpConfig field's value.
76020func (s *UpdateWorkforceInput) SetSourceIpConfig(v *SourceIpConfig) *UpdateWorkforceInput {
76021	s.SourceIpConfig = v
76022	return s
76023}
76024
76025// SetWorkforceName sets the WorkforceName field's value.
76026func (s *UpdateWorkforceInput) SetWorkforceName(v string) *UpdateWorkforceInput {
76027	s.WorkforceName = &v
76028	return s
76029}
76030
76031type UpdateWorkforceOutput struct {
76032	_ struct{} `type:"structure"`
76033
76034	// A single private workforce. You can create one private work force in each
76035	// AWS Region. By default, any workforce-related API operation used in a specific
76036	// region will apply to the workforce created in that region. To learn how to
76037	// create a private workforce, see Create a Private Workforce (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-workforce-create-private.html).
76038	//
76039	// Workforce is a required field
76040	Workforce *Workforce `type:"structure" required:"true"`
76041}
76042
76043// String returns the string representation
76044func (s UpdateWorkforceOutput) String() string {
76045	return awsutil.Prettify(s)
76046}
76047
76048// GoString returns the string representation
76049func (s UpdateWorkforceOutput) GoString() string {
76050	return s.String()
76051}
76052
76053// SetWorkforce sets the Workforce field's value.
76054func (s *UpdateWorkforceOutput) SetWorkforce(v *Workforce) *UpdateWorkforceOutput {
76055	s.Workforce = v
76056	return s
76057}
76058
76059type UpdateWorkteamInput struct {
76060	_ struct{} `type:"structure"`
76061
76062	// An updated description for the work team.
76063	Description *string `min:"1" type:"string"`
76064
76065	// A list of MemberDefinition objects that contains objects that identify the
76066	// workers that make up the work team.
76067	//
76068	// Workforces can be created using Amazon Cognito or your own OIDC Identity
76069	// Provider (IdP). For private workforces created using Amazon Cognito use CognitoMemberDefinition.
76070	// For workforces created using your own OIDC identity provider (IdP) use OidcMemberDefinition.
76071	// You should not provide input for both of these parameters in a single request.
76072	//
76073	// For workforces created using Amazon Cognito, private work teams correspond
76074	// to Amazon Cognito user groups within the user pool used to create a workforce.
76075	// All of the CognitoMemberDefinition objects that make up the member definition
76076	// must have the same ClientId and UserPool values. To add a Amazon Cognito
76077	// user group to an existing worker pool, see Adding groups to a User Pool.
76078	// For more information about user pools, see Amazon Cognito User Pools (https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html).
76079	//
76080	// For workforces created using your own OIDC IdP, specify the user groups that
76081	// you want to include in your private work team in OidcMemberDefinition by
76082	// listing those groups in Groups. Be aware that user groups that are already
76083	// in the work team must also be listed in Groups when you make this request
76084	// to remain on the work team. If you do not include these user groups, they
76085	// will no longer be associated with the work team you update.
76086	MemberDefinitions []*MemberDefinition `min:"1" type:"list"`
76087
76088	// Configures SNS topic notifications for available or expiring work items
76089	NotificationConfiguration *NotificationConfiguration `type:"structure"`
76090
76091	// The name of the work team to update.
76092	//
76093	// WorkteamName is a required field
76094	WorkteamName *string `min:"1" type:"string" required:"true"`
76095}
76096
76097// String returns the string representation
76098func (s UpdateWorkteamInput) String() string {
76099	return awsutil.Prettify(s)
76100}
76101
76102// GoString returns the string representation
76103func (s UpdateWorkteamInput) GoString() string {
76104	return s.String()
76105}
76106
76107// Validate inspects the fields of the type to determine if they are valid.
76108func (s *UpdateWorkteamInput) Validate() error {
76109	invalidParams := request.ErrInvalidParams{Context: "UpdateWorkteamInput"}
76110	if s.Description != nil && len(*s.Description) < 1 {
76111		invalidParams.Add(request.NewErrParamMinLen("Description", 1))
76112	}
76113	if s.MemberDefinitions != nil && len(s.MemberDefinitions) < 1 {
76114		invalidParams.Add(request.NewErrParamMinLen("MemberDefinitions", 1))
76115	}
76116	if s.WorkteamName == nil {
76117		invalidParams.Add(request.NewErrParamRequired("WorkteamName"))
76118	}
76119	if s.WorkteamName != nil && len(*s.WorkteamName) < 1 {
76120		invalidParams.Add(request.NewErrParamMinLen("WorkteamName", 1))
76121	}
76122	if s.MemberDefinitions != nil {
76123		for i, v := range s.MemberDefinitions {
76124			if v == nil {
76125				continue
76126			}
76127			if err := v.Validate(); err != nil {
76128				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MemberDefinitions", i), err.(request.ErrInvalidParams))
76129			}
76130		}
76131	}
76132
76133	if invalidParams.Len() > 0 {
76134		return invalidParams
76135	}
76136	return nil
76137}
76138
76139// SetDescription sets the Description field's value.
76140func (s *UpdateWorkteamInput) SetDescription(v string) *UpdateWorkteamInput {
76141	s.Description = &v
76142	return s
76143}
76144
76145// SetMemberDefinitions sets the MemberDefinitions field's value.
76146func (s *UpdateWorkteamInput) SetMemberDefinitions(v []*MemberDefinition) *UpdateWorkteamInput {
76147	s.MemberDefinitions = v
76148	return s
76149}
76150
76151// SetNotificationConfiguration sets the NotificationConfiguration field's value.
76152func (s *UpdateWorkteamInput) SetNotificationConfiguration(v *NotificationConfiguration) *UpdateWorkteamInput {
76153	s.NotificationConfiguration = v
76154	return s
76155}
76156
76157// SetWorkteamName sets the WorkteamName field's value.
76158func (s *UpdateWorkteamInput) SetWorkteamName(v string) *UpdateWorkteamInput {
76159	s.WorkteamName = &v
76160	return s
76161}
76162
76163type UpdateWorkteamOutput struct {
76164	_ struct{} `type:"structure"`
76165
76166	// A Workteam object that describes the updated work team.
76167	//
76168	// Workteam is a required field
76169	Workteam *Workteam `type:"structure" required:"true"`
76170}
76171
76172// String returns the string representation
76173func (s UpdateWorkteamOutput) String() string {
76174	return awsutil.Prettify(s)
76175}
76176
76177// GoString returns the string representation
76178func (s UpdateWorkteamOutput) GoString() string {
76179	return s.String()
76180}
76181
76182// SetWorkteam sets the Workteam field's value.
76183func (s *UpdateWorkteamOutput) SetWorkteam(v *Workteam) *UpdateWorkteamOutput {
76184	s.Workteam = v
76185	return s
76186}
76187
76188// Information about the user who created or modified an experiment, trial,
76189// or trial component.
76190type UserContext struct {
76191	_ struct{} `type:"structure"`
76192
76193	// The domain associated with the user.
76194	DomainId *string `type:"string"`
76195
76196	// The Amazon Resource Name (ARN) of the user's profile.
76197	UserProfileArn *string `type:"string"`
76198
76199	// The name of the user's profile.
76200	UserProfileName *string `type:"string"`
76201}
76202
76203// String returns the string representation
76204func (s UserContext) String() string {
76205	return awsutil.Prettify(s)
76206}
76207
76208// GoString returns the string representation
76209func (s UserContext) GoString() string {
76210	return s.String()
76211}
76212
76213// SetDomainId sets the DomainId field's value.
76214func (s *UserContext) SetDomainId(v string) *UserContext {
76215	s.DomainId = &v
76216	return s
76217}
76218
76219// SetUserProfileArn sets the UserProfileArn field's value.
76220func (s *UserContext) SetUserProfileArn(v string) *UserContext {
76221	s.UserProfileArn = &v
76222	return s
76223}
76224
76225// SetUserProfileName sets the UserProfileName field's value.
76226func (s *UserContext) SetUserProfileName(v string) *UserContext {
76227	s.UserProfileName = &v
76228	return s
76229}
76230
76231// The user profile details.
76232type UserProfileDetails struct {
76233	_ struct{} `type:"structure"`
76234
76235	// The creation time.
76236	CreationTime *time.Time `type:"timestamp"`
76237
76238	// The domain ID.
76239	DomainId *string `type:"string"`
76240
76241	// The last modified time.
76242	LastModifiedTime *time.Time `type:"timestamp"`
76243
76244	// The status.
76245	Status *string `type:"string" enum:"UserProfileStatus"`
76246
76247	// The user profile name.
76248	UserProfileName *string `type:"string"`
76249}
76250
76251// String returns the string representation
76252func (s UserProfileDetails) String() string {
76253	return awsutil.Prettify(s)
76254}
76255
76256// GoString returns the string representation
76257func (s UserProfileDetails) GoString() string {
76258	return s.String()
76259}
76260
76261// SetCreationTime sets the CreationTime field's value.
76262func (s *UserProfileDetails) SetCreationTime(v time.Time) *UserProfileDetails {
76263	s.CreationTime = &v
76264	return s
76265}
76266
76267// SetDomainId sets the DomainId field's value.
76268func (s *UserProfileDetails) SetDomainId(v string) *UserProfileDetails {
76269	s.DomainId = &v
76270	return s
76271}
76272
76273// SetLastModifiedTime sets the LastModifiedTime field's value.
76274func (s *UserProfileDetails) SetLastModifiedTime(v time.Time) *UserProfileDetails {
76275	s.LastModifiedTime = &v
76276	return s
76277}
76278
76279// SetStatus sets the Status field's value.
76280func (s *UserProfileDetails) SetStatus(v string) *UserProfileDetails {
76281	s.Status = &v
76282	return s
76283}
76284
76285// SetUserProfileName sets the UserProfileName field's value.
76286func (s *UserProfileDetails) SetUserProfileName(v string) *UserProfileDetails {
76287	s.UserProfileName = &v
76288	return s
76289}
76290
76291// A collection of settings that apply to users of Amazon SageMaker Studio.
76292// These settings are specified when the CreateUserProfile API is called, and
76293// as DefaultUserSettings when the CreateDomain API is called.
76294//
76295// SecurityGroups is aggregated when specified in both calls. For all other
76296// settings in UserSettings, the values specified in CreateUserProfile take
76297// precedence over those specified in CreateDomain.
76298type UserSettings struct {
76299	_ struct{} `type:"structure"`
76300
76301	// The execution role for the user.
76302	ExecutionRole *string `min:"20" type:"string"`
76303
76304	// The Jupyter server's app settings.
76305	JupyterServerAppSettings *JupyterServerAppSettings `type:"structure"`
76306
76307	// The kernel gateway app settings.
76308	KernelGatewayAppSettings *KernelGatewayAppSettings `type:"structure"`
76309
76310	// The security groups for the Amazon Virtual Private Cloud (VPC) that Studio
76311	// uses for communication.
76312	//
76313	// Optional when the CreateDomain.AppNetworkAccessType parameter is set to PublicInternetOnly.
76314	//
76315	// Required when the CreateDomain.AppNetworkAccessType parameter is set to VpcOnly.
76316	//
76317	// Amazon SageMaker adds a security group to allow NFS traffic from SageMaker
76318	// Studio. Therefore, the number of security groups that you can specify is
76319	// one less than the maximum number shown.
76320	SecurityGroups []*string `type:"list"`
76321
76322	// The sharing settings.
76323	SharingSettings *SharingSettings `type:"structure"`
76324
76325	// The TensorBoard app settings.
76326	TensorBoardAppSettings *TensorBoardAppSettings `type:"structure"`
76327}
76328
76329// String returns the string representation
76330func (s UserSettings) String() string {
76331	return awsutil.Prettify(s)
76332}
76333
76334// GoString returns the string representation
76335func (s UserSettings) GoString() string {
76336	return s.String()
76337}
76338
76339// Validate inspects the fields of the type to determine if they are valid.
76340func (s *UserSettings) Validate() error {
76341	invalidParams := request.ErrInvalidParams{Context: "UserSettings"}
76342	if s.ExecutionRole != nil && len(*s.ExecutionRole) < 20 {
76343		invalidParams.Add(request.NewErrParamMinLen("ExecutionRole", 20))
76344	}
76345	if s.KernelGatewayAppSettings != nil {
76346		if err := s.KernelGatewayAppSettings.Validate(); err != nil {
76347			invalidParams.AddNested("KernelGatewayAppSettings", err.(request.ErrInvalidParams))
76348		}
76349	}
76350
76351	if invalidParams.Len() > 0 {
76352		return invalidParams
76353	}
76354	return nil
76355}
76356
76357// SetExecutionRole sets the ExecutionRole field's value.
76358func (s *UserSettings) SetExecutionRole(v string) *UserSettings {
76359	s.ExecutionRole = &v
76360	return s
76361}
76362
76363// SetJupyterServerAppSettings sets the JupyterServerAppSettings field's value.
76364func (s *UserSettings) SetJupyterServerAppSettings(v *JupyterServerAppSettings) *UserSettings {
76365	s.JupyterServerAppSettings = v
76366	return s
76367}
76368
76369// SetKernelGatewayAppSettings sets the KernelGatewayAppSettings field's value.
76370func (s *UserSettings) SetKernelGatewayAppSettings(v *KernelGatewayAppSettings) *UserSettings {
76371	s.KernelGatewayAppSettings = v
76372	return s
76373}
76374
76375// SetSecurityGroups sets the SecurityGroups field's value.
76376func (s *UserSettings) SetSecurityGroups(v []*string) *UserSettings {
76377	s.SecurityGroups = v
76378	return s
76379}
76380
76381// SetSharingSettings sets the SharingSettings field's value.
76382func (s *UserSettings) SetSharingSettings(v *SharingSettings) *UserSettings {
76383	s.SharingSettings = v
76384	return s
76385}
76386
76387// SetTensorBoardAppSettings sets the TensorBoardAppSettings field's value.
76388func (s *UserSettings) SetTensorBoardAppSettings(v *TensorBoardAppSettings) *UserSettings {
76389	s.TensorBoardAppSettings = v
76390	return s
76391}
76392
76393// Specifies a production variant property type for an Endpoint.
76394//
76395// If you are updating an endpoint with the UpdateEndpointInput$RetainAllVariantProperties
76396// option set to true, the VariantProperty objects listed in UpdateEndpointInput$ExcludeRetainedVariantProperties
76397// override the existing variant properties of the endpoint.
76398type VariantProperty struct {
76399	_ struct{} `type:"structure"`
76400
76401	// The type of variant property. The supported values are:
76402	//
76403	//    * DesiredInstanceCount: Overrides the existing variant instance counts
76404	//    using the ProductionVariant$InitialInstanceCount values in the CreateEndpointConfigInput$ProductionVariants.
76405	//
76406	//    * DesiredWeight: Overrides the existing variant weights using the ProductionVariant$InitialVariantWeight
76407	//    values in the CreateEndpointConfigInput$ProductionVariants.
76408	//
76409	//    * DataCaptureConfig: (Not currently supported.)
76410	//
76411	// VariantPropertyType is a required field
76412	VariantPropertyType *string `type:"string" required:"true" enum:"VariantPropertyType"`
76413}
76414
76415// String returns the string representation
76416func (s VariantProperty) String() string {
76417	return awsutil.Prettify(s)
76418}
76419
76420// GoString returns the string representation
76421func (s VariantProperty) GoString() string {
76422	return s.String()
76423}
76424
76425// Validate inspects the fields of the type to determine if they are valid.
76426func (s *VariantProperty) Validate() error {
76427	invalidParams := request.ErrInvalidParams{Context: "VariantProperty"}
76428	if s.VariantPropertyType == nil {
76429		invalidParams.Add(request.NewErrParamRequired("VariantPropertyType"))
76430	}
76431
76432	if invalidParams.Len() > 0 {
76433		return invalidParams
76434	}
76435	return nil
76436}
76437
76438// SetVariantPropertyType sets the VariantPropertyType field's value.
76439func (s *VariantProperty) SetVariantPropertyType(v string) *VariantProperty {
76440	s.VariantPropertyType = &v
76441	return s
76442}
76443
76444// Specifies a VPC that your training jobs and hosted models have access to.
76445// Control access to and from your training and model containers by configuring
76446// the VPC. For more information, see Protect Endpoints by Using an Amazon Virtual
76447// Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html)
76448// and Protect Training Jobs by Using an Amazon Virtual Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html).
76449type VpcConfig struct {
76450	_ struct{} `type:"structure"`
76451
76452	// The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security
76453	// groups for the VPC that is specified in the Subnets field.
76454	//
76455	// SecurityGroupIds is a required field
76456	SecurityGroupIds []*string `min:"1" type:"list" required:"true"`
76457
76458	// The ID of the subnets in the VPC to which you want to connect your training
76459	// job or model. For information about the availability of specific instance
76460	// types, see Supported Instance Types and Availability Zones (https://docs.aws.amazon.com/sagemaker/latest/dg/instance-types-az.html).
76461	//
76462	// Subnets is a required field
76463	Subnets []*string `min:"1" type:"list" required:"true"`
76464}
76465
76466// String returns the string representation
76467func (s VpcConfig) String() string {
76468	return awsutil.Prettify(s)
76469}
76470
76471// GoString returns the string representation
76472func (s VpcConfig) GoString() string {
76473	return s.String()
76474}
76475
76476// Validate inspects the fields of the type to determine if they are valid.
76477func (s *VpcConfig) Validate() error {
76478	invalidParams := request.ErrInvalidParams{Context: "VpcConfig"}
76479	if s.SecurityGroupIds == nil {
76480		invalidParams.Add(request.NewErrParamRequired("SecurityGroupIds"))
76481	}
76482	if s.SecurityGroupIds != nil && len(s.SecurityGroupIds) < 1 {
76483		invalidParams.Add(request.NewErrParamMinLen("SecurityGroupIds", 1))
76484	}
76485	if s.Subnets == nil {
76486		invalidParams.Add(request.NewErrParamRequired("Subnets"))
76487	}
76488	if s.Subnets != nil && len(s.Subnets) < 1 {
76489		invalidParams.Add(request.NewErrParamMinLen("Subnets", 1))
76490	}
76491
76492	if invalidParams.Len() > 0 {
76493		return invalidParams
76494	}
76495	return nil
76496}
76497
76498// SetSecurityGroupIds sets the SecurityGroupIds field's value.
76499func (s *VpcConfig) SetSecurityGroupIds(v []*string) *VpcConfig {
76500	s.SecurityGroupIds = v
76501	return s
76502}
76503
76504// SetSubnets sets the Subnets field's value.
76505func (s *VpcConfig) SetSubnets(v []*string) *VpcConfig {
76506	s.Subnets = v
76507	return s
76508}
76509
76510// A single private workforce, which is automatically created when you create
76511// your first private work team. You can create one private work force in each
76512// AWS Region. By default, any workforce-related API operation used in a specific
76513// region will apply to the workforce created in that region. To learn how to
76514// create a private workforce, see Create a Private Workforce (https://docs.aws.amazon.com/sagemaker/latest/dg/sms-workforce-create-private.html).
76515type Workforce struct {
76516	_ struct{} `type:"structure"`
76517
76518	// The configuration of an Amazon Cognito workforce. A single Cognito workforce
76519	// 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).
76520	CognitoConfig *CognitoConfig `type:"structure"`
76521
76522	// The date that the workforce is created.
76523	CreateDate *time.Time `type:"timestamp"`
76524
76525	// The most recent date that was used to successfully add one or more IP address
76526	// ranges (CIDRs (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html))
76527	// to a private workforce's allow list.
76528	LastUpdatedDate *time.Time `type:"timestamp"`
76529
76530	// The configuration of an OIDC Identity Provider (IdP) private workforce.
76531	OidcConfig *OidcConfigForResponse `type:"structure"`
76532
76533	// A list of one to ten IP address ranges (CIDRs (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html))
76534	// to be added to the workforce allow list. By default, a workforce isn't restricted
76535	// to specific IP addresses.
76536	SourceIpConfig *SourceIpConfig `type:"structure"`
76537
76538	// The subdomain for your OIDC Identity Provider.
76539	SubDomain *string `type:"string"`
76540
76541	// The Amazon Resource Name (ARN) of the private workforce.
76542	//
76543	// WorkforceArn is a required field
76544	WorkforceArn *string `type:"string" required:"true"`
76545
76546	// The name of the private workforce.
76547	//
76548	// WorkforceName is a required field
76549	WorkforceName *string `min:"1" type:"string" required:"true"`
76550}
76551
76552// String returns the string representation
76553func (s Workforce) String() string {
76554	return awsutil.Prettify(s)
76555}
76556
76557// GoString returns the string representation
76558func (s Workforce) GoString() string {
76559	return s.String()
76560}
76561
76562// SetCognitoConfig sets the CognitoConfig field's value.
76563func (s *Workforce) SetCognitoConfig(v *CognitoConfig) *Workforce {
76564	s.CognitoConfig = v
76565	return s
76566}
76567
76568// SetCreateDate sets the CreateDate field's value.
76569func (s *Workforce) SetCreateDate(v time.Time) *Workforce {
76570	s.CreateDate = &v
76571	return s
76572}
76573
76574// SetLastUpdatedDate sets the LastUpdatedDate field's value.
76575func (s *Workforce) SetLastUpdatedDate(v time.Time) *Workforce {
76576	s.LastUpdatedDate = &v
76577	return s
76578}
76579
76580// SetOidcConfig sets the OidcConfig field's value.
76581func (s *Workforce) SetOidcConfig(v *OidcConfigForResponse) *Workforce {
76582	s.OidcConfig = v
76583	return s
76584}
76585
76586// SetSourceIpConfig sets the SourceIpConfig field's value.
76587func (s *Workforce) SetSourceIpConfig(v *SourceIpConfig) *Workforce {
76588	s.SourceIpConfig = v
76589	return s
76590}
76591
76592// SetSubDomain sets the SubDomain field's value.
76593func (s *Workforce) SetSubDomain(v string) *Workforce {
76594	s.SubDomain = &v
76595	return s
76596}
76597
76598// SetWorkforceArn sets the WorkforceArn field's value.
76599func (s *Workforce) SetWorkforceArn(v string) *Workforce {
76600	s.WorkforceArn = &v
76601	return s
76602}
76603
76604// SetWorkforceName sets the WorkforceName field's value.
76605func (s *Workforce) SetWorkforceName(v string) *Workforce {
76606	s.WorkforceName = &v
76607	return s
76608}
76609
76610// Provides details about a labeling work team.
76611type Workteam struct {
76612	_ struct{} `type:"structure"`
76613
76614	// The date and time that the work team was created (timestamp).
76615	CreateDate *time.Time `type:"timestamp"`
76616
76617	// A description of the work team.
76618	//
76619	// Description is a required field
76620	Description *string `min:"1" type:"string" required:"true"`
76621
76622	// The date and time that the work team was last updated (timestamp).
76623	LastUpdatedDate *time.Time `type:"timestamp"`
76624
76625	// A list of MemberDefinition objects that contains objects that identify the
76626	// workers that make up the work team.
76627	//
76628	// Workforces can be created using Amazon Cognito or your own OIDC Identity
76629	// Provider (IdP). For private workforces created using Amazon Cognito use CognitoMemberDefinition.
76630	// For workforces created using your own OIDC identity provider (IdP) use OidcMemberDefinition.
76631	//
76632	// MemberDefinitions is a required field
76633	MemberDefinitions []*MemberDefinition `min:"1" type:"list" required:"true"`
76634
76635	// Configures SNS notifications of available or expiring work items for work
76636	// teams.
76637	NotificationConfiguration *NotificationConfiguration `type:"structure"`
76638
76639	// The Amazon Marketplace identifier for a vendor's work team.
76640	ProductListingIds []*string `type:"list"`
76641
76642	// The URI of the labeling job's user interface. Workers open this URI to start
76643	// labeling your data objects.
76644	SubDomain *string `type:"string"`
76645
76646	// The Amazon Resource Name (ARN) of the workforce.
76647	WorkforceArn *string `type:"string"`
76648
76649	// The Amazon Resource Name (ARN) that identifies the work team.
76650	//
76651	// WorkteamArn is a required field
76652	WorkteamArn *string `type:"string" required:"true"`
76653
76654	// The name of the work team.
76655	//
76656	// WorkteamName is a required field
76657	WorkteamName *string `min:"1" type:"string" required:"true"`
76658}
76659
76660// String returns the string representation
76661func (s Workteam) String() string {
76662	return awsutil.Prettify(s)
76663}
76664
76665// GoString returns the string representation
76666func (s Workteam) GoString() string {
76667	return s.String()
76668}
76669
76670// SetCreateDate sets the CreateDate field's value.
76671func (s *Workteam) SetCreateDate(v time.Time) *Workteam {
76672	s.CreateDate = &v
76673	return s
76674}
76675
76676// SetDescription sets the Description field's value.
76677func (s *Workteam) SetDescription(v string) *Workteam {
76678	s.Description = &v
76679	return s
76680}
76681
76682// SetLastUpdatedDate sets the LastUpdatedDate field's value.
76683func (s *Workteam) SetLastUpdatedDate(v time.Time) *Workteam {
76684	s.LastUpdatedDate = &v
76685	return s
76686}
76687
76688// SetMemberDefinitions sets the MemberDefinitions field's value.
76689func (s *Workteam) SetMemberDefinitions(v []*MemberDefinition) *Workteam {
76690	s.MemberDefinitions = v
76691	return s
76692}
76693
76694// SetNotificationConfiguration sets the NotificationConfiguration field's value.
76695func (s *Workteam) SetNotificationConfiguration(v *NotificationConfiguration) *Workteam {
76696	s.NotificationConfiguration = v
76697	return s
76698}
76699
76700// SetProductListingIds sets the ProductListingIds field's value.
76701func (s *Workteam) SetProductListingIds(v []*string) *Workteam {
76702	s.ProductListingIds = v
76703	return s
76704}
76705
76706// SetSubDomain sets the SubDomain field's value.
76707func (s *Workteam) SetSubDomain(v string) *Workteam {
76708	s.SubDomain = &v
76709	return s
76710}
76711
76712// SetWorkforceArn sets the WorkforceArn field's value.
76713func (s *Workteam) SetWorkforceArn(v string) *Workteam {
76714	s.WorkforceArn = &v
76715	return s
76716}
76717
76718// SetWorkteamArn sets the WorkteamArn field's value.
76719func (s *Workteam) SetWorkteamArn(v string) *Workteam {
76720	s.WorkteamArn = &v
76721	return s
76722}
76723
76724// SetWorkteamName sets the WorkteamName field's value.
76725func (s *Workteam) SetWorkteamName(v string) *Workteam {
76726	s.WorkteamName = &v
76727	return s
76728}
76729
76730const (
76731	// ActionStatusUnknown is a ActionStatus enum value
76732	ActionStatusUnknown = "Unknown"
76733
76734	// ActionStatusInProgress is a ActionStatus enum value
76735	ActionStatusInProgress = "InProgress"
76736
76737	// ActionStatusCompleted is a ActionStatus enum value
76738	ActionStatusCompleted = "Completed"
76739
76740	// ActionStatusFailed is a ActionStatus enum value
76741	ActionStatusFailed = "Failed"
76742
76743	// ActionStatusStopping is a ActionStatus enum value
76744	ActionStatusStopping = "Stopping"
76745
76746	// ActionStatusStopped is a ActionStatus enum value
76747	ActionStatusStopped = "Stopped"
76748)
76749
76750// ActionStatus_Values returns all elements of the ActionStatus enum
76751func ActionStatus_Values() []string {
76752	return []string{
76753		ActionStatusUnknown,
76754		ActionStatusInProgress,
76755		ActionStatusCompleted,
76756		ActionStatusFailed,
76757		ActionStatusStopping,
76758		ActionStatusStopped,
76759	}
76760}
76761
76762const (
76763	// AlgorithmSortByName is a AlgorithmSortBy enum value
76764	AlgorithmSortByName = "Name"
76765
76766	// AlgorithmSortByCreationTime is a AlgorithmSortBy enum value
76767	AlgorithmSortByCreationTime = "CreationTime"
76768)
76769
76770// AlgorithmSortBy_Values returns all elements of the AlgorithmSortBy enum
76771func AlgorithmSortBy_Values() []string {
76772	return []string{
76773		AlgorithmSortByName,
76774		AlgorithmSortByCreationTime,
76775	}
76776}
76777
76778const (
76779	// AlgorithmStatusPending is a AlgorithmStatus enum value
76780	AlgorithmStatusPending = "Pending"
76781
76782	// AlgorithmStatusInProgress is a AlgorithmStatus enum value
76783	AlgorithmStatusInProgress = "InProgress"
76784
76785	// AlgorithmStatusCompleted is a AlgorithmStatus enum value
76786	AlgorithmStatusCompleted = "Completed"
76787
76788	// AlgorithmStatusFailed is a AlgorithmStatus enum value
76789	AlgorithmStatusFailed = "Failed"
76790
76791	// AlgorithmStatusDeleting is a AlgorithmStatus enum value
76792	AlgorithmStatusDeleting = "Deleting"
76793)
76794
76795// AlgorithmStatus_Values returns all elements of the AlgorithmStatus enum
76796func AlgorithmStatus_Values() []string {
76797	return []string{
76798		AlgorithmStatusPending,
76799		AlgorithmStatusInProgress,
76800		AlgorithmStatusCompleted,
76801		AlgorithmStatusFailed,
76802		AlgorithmStatusDeleting,
76803	}
76804}
76805
76806const (
76807	// AppImageConfigSortKeyCreationTime is a AppImageConfigSortKey enum value
76808	AppImageConfigSortKeyCreationTime = "CreationTime"
76809
76810	// AppImageConfigSortKeyLastModifiedTime is a AppImageConfigSortKey enum value
76811	AppImageConfigSortKeyLastModifiedTime = "LastModifiedTime"
76812
76813	// AppImageConfigSortKeyName is a AppImageConfigSortKey enum value
76814	AppImageConfigSortKeyName = "Name"
76815)
76816
76817// AppImageConfigSortKey_Values returns all elements of the AppImageConfigSortKey enum
76818func AppImageConfigSortKey_Values() []string {
76819	return []string{
76820		AppImageConfigSortKeyCreationTime,
76821		AppImageConfigSortKeyLastModifiedTime,
76822		AppImageConfigSortKeyName,
76823	}
76824}
76825
76826const (
76827	// AppInstanceTypeSystem is a AppInstanceType enum value
76828	AppInstanceTypeSystem = "system"
76829
76830	// AppInstanceTypeMlT3Micro is a AppInstanceType enum value
76831	AppInstanceTypeMlT3Micro = "ml.t3.micro"
76832
76833	// AppInstanceTypeMlT3Small is a AppInstanceType enum value
76834	AppInstanceTypeMlT3Small = "ml.t3.small"
76835
76836	// AppInstanceTypeMlT3Medium is a AppInstanceType enum value
76837	AppInstanceTypeMlT3Medium = "ml.t3.medium"
76838
76839	// AppInstanceTypeMlT3Large is a AppInstanceType enum value
76840	AppInstanceTypeMlT3Large = "ml.t3.large"
76841
76842	// AppInstanceTypeMlT3Xlarge is a AppInstanceType enum value
76843	AppInstanceTypeMlT3Xlarge = "ml.t3.xlarge"
76844
76845	// AppInstanceTypeMlT32xlarge is a AppInstanceType enum value
76846	AppInstanceTypeMlT32xlarge = "ml.t3.2xlarge"
76847
76848	// AppInstanceTypeMlM5Large is a AppInstanceType enum value
76849	AppInstanceTypeMlM5Large = "ml.m5.large"
76850
76851	// AppInstanceTypeMlM5Xlarge is a AppInstanceType enum value
76852	AppInstanceTypeMlM5Xlarge = "ml.m5.xlarge"
76853
76854	// AppInstanceTypeMlM52xlarge is a AppInstanceType enum value
76855	AppInstanceTypeMlM52xlarge = "ml.m5.2xlarge"
76856
76857	// AppInstanceTypeMlM54xlarge is a AppInstanceType enum value
76858	AppInstanceTypeMlM54xlarge = "ml.m5.4xlarge"
76859
76860	// AppInstanceTypeMlM58xlarge is a AppInstanceType enum value
76861	AppInstanceTypeMlM58xlarge = "ml.m5.8xlarge"
76862
76863	// AppInstanceTypeMlM512xlarge is a AppInstanceType enum value
76864	AppInstanceTypeMlM512xlarge = "ml.m5.12xlarge"
76865
76866	// AppInstanceTypeMlM516xlarge is a AppInstanceType enum value
76867	AppInstanceTypeMlM516xlarge = "ml.m5.16xlarge"
76868
76869	// AppInstanceTypeMlM524xlarge is a AppInstanceType enum value
76870	AppInstanceTypeMlM524xlarge = "ml.m5.24xlarge"
76871
76872	// AppInstanceTypeMlC5Large is a AppInstanceType enum value
76873	AppInstanceTypeMlC5Large = "ml.c5.large"
76874
76875	// AppInstanceTypeMlC5Xlarge is a AppInstanceType enum value
76876	AppInstanceTypeMlC5Xlarge = "ml.c5.xlarge"
76877
76878	// AppInstanceTypeMlC52xlarge is a AppInstanceType enum value
76879	AppInstanceTypeMlC52xlarge = "ml.c5.2xlarge"
76880
76881	// AppInstanceTypeMlC54xlarge is a AppInstanceType enum value
76882	AppInstanceTypeMlC54xlarge = "ml.c5.4xlarge"
76883
76884	// AppInstanceTypeMlC59xlarge is a AppInstanceType enum value
76885	AppInstanceTypeMlC59xlarge = "ml.c5.9xlarge"
76886
76887	// AppInstanceTypeMlC512xlarge is a AppInstanceType enum value
76888	AppInstanceTypeMlC512xlarge = "ml.c5.12xlarge"
76889
76890	// AppInstanceTypeMlC518xlarge is a AppInstanceType enum value
76891	AppInstanceTypeMlC518xlarge = "ml.c5.18xlarge"
76892
76893	// AppInstanceTypeMlC524xlarge is a AppInstanceType enum value
76894	AppInstanceTypeMlC524xlarge = "ml.c5.24xlarge"
76895
76896	// AppInstanceTypeMlP32xlarge is a AppInstanceType enum value
76897	AppInstanceTypeMlP32xlarge = "ml.p3.2xlarge"
76898
76899	// AppInstanceTypeMlP38xlarge is a AppInstanceType enum value
76900	AppInstanceTypeMlP38xlarge = "ml.p3.8xlarge"
76901
76902	// AppInstanceTypeMlP316xlarge is a AppInstanceType enum value
76903	AppInstanceTypeMlP316xlarge = "ml.p3.16xlarge"
76904
76905	// AppInstanceTypeMlG4dnXlarge is a AppInstanceType enum value
76906	AppInstanceTypeMlG4dnXlarge = "ml.g4dn.xlarge"
76907
76908	// AppInstanceTypeMlG4dn2xlarge is a AppInstanceType enum value
76909	AppInstanceTypeMlG4dn2xlarge = "ml.g4dn.2xlarge"
76910
76911	// AppInstanceTypeMlG4dn4xlarge is a AppInstanceType enum value
76912	AppInstanceTypeMlG4dn4xlarge = "ml.g4dn.4xlarge"
76913
76914	// AppInstanceTypeMlG4dn8xlarge is a AppInstanceType enum value
76915	AppInstanceTypeMlG4dn8xlarge = "ml.g4dn.8xlarge"
76916
76917	// AppInstanceTypeMlG4dn12xlarge is a AppInstanceType enum value
76918	AppInstanceTypeMlG4dn12xlarge = "ml.g4dn.12xlarge"
76919
76920	// AppInstanceTypeMlG4dn16xlarge is a AppInstanceType enum value
76921	AppInstanceTypeMlG4dn16xlarge = "ml.g4dn.16xlarge"
76922)
76923
76924// AppInstanceType_Values returns all elements of the AppInstanceType enum
76925func AppInstanceType_Values() []string {
76926	return []string{
76927		AppInstanceTypeSystem,
76928		AppInstanceTypeMlT3Micro,
76929		AppInstanceTypeMlT3Small,
76930		AppInstanceTypeMlT3Medium,
76931		AppInstanceTypeMlT3Large,
76932		AppInstanceTypeMlT3Xlarge,
76933		AppInstanceTypeMlT32xlarge,
76934		AppInstanceTypeMlM5Large,
76935		AppInstanceTypeMlM5Xlarge,
76936		AppInstanceTypeMlM52xlarge,
76937		AppInstanceTypeMlM54xlarge,
76938		AppInstanceTypeMlM58xlarge,
76939		AppInstanceTypeMlM512xlarge,
76940		AppInstanceTypeMlM516xlarge,
76941		AppInstanceTypeMlM524xlarge,
76942		AppInstanceTypeMlC5Large,
76943		AppInstanceTypeMlC5Xlarge,
76944		AppInstanceTypeMlC52xlarge,
76945		AppInstanceTypeMlC54xlarge,
76946		AppInstanceTypeMlC59xlarge,
76947		AppInstanceTypeMlC512xlarge,
76948		AppInstanceTypeMlC518xlarge,
76949		AppInstanceTypeMlC524xlarge,
76950		AppInstanceTypeMlP32xlarge,
76951		AppInstanceTypeMlP38xlarge,
76952		AppInstanceTypeMlP316xlarge,
76953		AppInstanceTypeMlG4dnXlarge,
76954		AppInstanceTypeMlG4dn2xlarge,
76955		AppInstanceTypeMlG4dn4xlarge,
76956		AppInstanceTypeMlG4dn8xlarge,
76957		AppInstanceTypeMlG4dn12xlarge,
76958		AppInstanceTypeMlG4dn16xlarge,
76959	}
76960}
76961
76962const (
76963	// AppNetworkAccessTypePublicInternetOnly is a AppNetworkAccessType enum value
76964	AppNetworkAccessTypePublicInternetOnly = "PublicInternetOnly"
76965
76966	// AppNetworkAccessTypeVpcOnly is a AppNetworkAccessType enum value
76967	AppNetworkAccessTypeVpcOnly = "VpcOnly"
76968)
76969
76970// AppNetworkAccessType_Values returns all elements of the AppNetworkAccessType enum
76971func AppNetworkAccessType_Values() []string {
76972	return []string{
76973		AppNetworkAccessTypePublicInternetOnly,
76974		AppNetworkAccessTypeVpcOnly,
76975	}
76976}
76977
76978const (
76979	// AppSortKeyCreationTime is a AppSortKey enum value
76980	AppSortKeyCreationTime = "CreationTime"
76981)
76982
76983// AppSortKey_Values returns all elements of the AppSortKey enum
76984func AppSortKey_Values() []string {
76985	return []string{
76986		AppSortKeyCreationTime,
76987	}
76988}
76989
76990const (
76991	// AppStatusDeleted is a AppStatus enum value
76992	AppStatusDeleted = "Deleted"
76993
76994	// AppStatusDeleting is a AppStatus enum value
76995	AppStatusDeleting = "Deleting"
76996
76997	// AppStatusFailed is a AppStatus enum value
76998	AppStatusFailed = "Failed"
76999
77000	// AppStatusInService is a AppStatus enum value
77001	AppStatusInService = "InService"
77002
77003	// AppStatusPending is a AppStatus enum value
77004	AppStatusPending = "Pending"
77005)
77006
77007// AppStatus_Values returns all elements of the AppStatus enum
77008func AppStatus_Values() []string {
77009	return []string{
77010		AppStatusDeleted,
77011		AppStatusDeleting,
77012		AppStatusFailed,
77013		AppStatusInService,
77014		AppStatusPending,
77015	}
77016}
77017
77018const (
77019	// AppTypeJupyterServer is a AppType enum value
77020	AppTypeJupyterServer = "JupyterServer"
77021
77022	// AppTypeKernelGateway is a AppType enum value
77023	AppTypeKernelGateway = "KernelGateway"
77024
77025	// AppTypeTensorBoard is a AppType enum value
77026	AppTypeTensorBoard = "TensorBoard"
77027)
77028
77029// AppType_Values returns all elements of the AppType enum
77030func AppType_Values() []string {
77031	return []string{
77032		AppTypeJupyterServer,
77033		AppTypeKernelGateway,
77034		AppTypeTensorBoard,
77035	}
77036}
77037
77038const (
77039	// ArtifactSourceIdTypeMd5hash is a ArtifactSourceIdType enum value
77040	ArtifactSourceIdTypeMd5hash = "MD5Hash"
77041
77042	// ArtifactSourceIdTypeS3etag is a ArtifactSourceIdType enum value
77043	ArtifactSourceIdTypeS3etag = "S3ETag"
77044
77045	// ArtifactSourceIdTypeS3version is a ArtifactSourceIdType enum value
77046	ArtifactSourceIdTypeS3version = "S3Version"
77047
77048	// ArtifactSourceIdTypeCustom is a ArtifactSourceIdType enum value
77049	ArtifactSourceIdTypeCustom = "Custom"
77050)
77051
77052// ArtifactSourceIdType_Values returns all elements of the ArtifactSourceIdType enum
77053func ArtifactSourceIdType_Values() []string {
77054	return []string{
77055		ArtifactSourceIdTypeMd5hash,
77056		ArtifactSourceIdTypeS3etag,
77057		ArtifactSourceIdTypeS3version,
77058		ArtifactSourceIdTypeCustom,
77059	}
77060}
77061
77062const (
77063	// AssemblyTypeNone is a AssemblyType enum value
77064	AssemblyTypeNone = "None"
77065
77066	// AssemblyTypeLine is a AssemblyType enum value
77067	AssemblyTypeLine = "Line"
77068)
77069
77070// AssemblyType_Values returns all elements of the AssemblyType enum
77071func AssemblyType_Values() []string {
77072	return []string{
77073		AssemblyTypeNone,
77074		AssemblyTypeLine,
77075	}
77076}
77077
77078const (
77079	// AssociationEdgeTypeContributedTo is a AssociationEdgeType enum value
77080	AssociationEdgeTypeContributedTo = "ContributedTo"
77081
77082	// AssociationEdgeTypeAssociatedWith is a AssociationEdgeType enum value
77083	AssociationEdgeTypeAssociatedWith = "AssociatedWith"
77084
77085	// AssociationEdgeTypeDerivedFrom is a AssociationEdgeType enum value
77086	AssociationEdgeTypeDerivedFrom = "DerivedFrom"
77087
77088	// AssociationEdgeTypeProduced is a AssociationEdgeType enum value
77089	AssociationEdgeTypeProduced = "Produced"
77090)
77091
77092// AssociationEdgeType_Values returns all elements of the AssociationEdgeType enum
77093func AssociationEdgeType_Values() []string {
77094	return []string{
77095		AssociationEdgeTypeContributedTo,
77096		AssociationEdgeTypeAssociatedWith,
77097		AssociationEdgeTypeDerivedFrom,
77098		AssociationEdgeTypeProduced,
77099	}
77100}
77101
77102// The compression used for Athena query results.
77103const (
77104	// AthenaResultCompressionTypeGzip is a AthenaResultCompressionType enum value
77105	AthenaResultCompressionTypeGzip = "GZIP"
77106
77107	// AthenaResultCompressionTypeSnappy is a AthenaResultCompressionType enum value
77108	AthenaResultCompressionTypeSnappy = "SNAPPY"
77109
77110	// AthenaResultCompressionTypeZlib is a AthenaResultCompressionType enum value
77111	AthenaResultCompressionTypeZlib = "ZLIB"
77112)
77113
77114// AthenaResultCompressionType_Values returns all elements of the AthenaResultCompressionType enum
77115func AthenaResultCompressionType_Values() []string {
77116	return []string{
77117		AthenaResultCompressionTypeGzip,
77118		AthenaResultCompressionTypeSnappy,
77119		AthenaResultCompressionTypeZlib,
77120	}
77121}
77122
77123// The data storage format for Athena query results.
77124const (
77125	// AthenaResultFormatParquet is a AthenaResultFormat enum value
77126	AthenaResultFormatParquet = "PARQUET"
77127
77128	// AthenaResultFormatOrc is a AthenaResultFormat enum value
77129	AthenaResultFormatOrc = "ORC"
77130
77131	// AthenaResultFormatAvro is a AthenaResultFormat enum value
77132	AthenaResultFormatAvro = "AVRO"
77133
77134	// AthenaResultFormatJson is a AthenaResultFormat enum value
77135	AthenaResultFormatJson = "JSON"
77136
77137	// AthenaResultFormatTextfile is a AthenaResultFormat enum value
77138	AthenaResultFormatTextfile = "TEXTFILE"
77139)
77140
77141// AthenaResultFormat_Values returns all elements of the AthenaResultFormat enum
77142func AthenaResultFormat_Values() []string {
77143	return []string{
77144		AthenaResultFormatParquet,
77145		AthenaResultFormatOrc,
77146		AthenaResultFormatAvro,
77147		AthenaResultFormatJson,
77148		AthenaResultFormatTextfile,
77149	}
77150}
77151
77152const (
77153	// AuthModeSso is a AuthMode enum value
77154	AuthModeSso = "SSO"
77155
77156	// AuthModeIam is a AuthMode enum value
77157	AuthModeIam = "IAM"
77158)
77159
77160// AuthMode_Values returns all elements of the AuthMode enum
77161func AuthMode_Values() []string {
77162	return []string{
77163		AuthModeSso,
77164		AuthModeIam,
77165	}
77166}
77167
77168const (
77169	// AutoMLJobObjectiveTypeMaximize is a AutoMLJobObjectiveType enum value
77170	AutoMLJobObjectiveTypeMaximize = "Maximize"
77171
77172	// AutoMLJobObjectiveTypeMinimize is a AutoMLJobObjectiveType enum value
77173	AutoMLJobObjectiveTypeMinimize = "Minimize"
77174)
77175
77176// AutoMLJobObjectiveType_Values returns all elements of the AutoMLJobObjectiveType enum
77177func AutoMLJobObjectiveType_Values() []string {
77178	return []string{
77179		AutoMLJobObjectiveTypeMaximize,
77180		AutoMLJobObjectiveTypeMinimize,
77181	}
77182}
77183
77184const (
77185	// AutoMLJobSecondaryStatusStarting is a AutoMLJobSecondaryStatus enum value
77186	AutoMLJobSecondaryStatusStarting = "Starting"
77187
77188	// AutoMLJobSecondaryStatusAnalyzingData is a AutoMLJobSecondaryStatus enum value
77189	AutoMLJobSecondaryStatusAnalyzingData = "AnalyzingData"
77190
77191	// AutoMLJobSecondaryStatusFeatureEngineering is a AutoMLJobSecondaryStatus enum value
77192	AutoMLJobSecondaryStatusFeatureEngineering = "FeatureEngineering"
77193
77194	// AutoMLJobSecondaryStatusModelTuning is a AutoMLJobSecondaryStatus enum value
77195	AutoMLJobSecondaryStatusModelTuning = "ModelTuning"
77196
77197	// AutoMLJobSecondaryStatusMaxCandidatesReached is a AutoMLJobSecondaryStatus enum value
77198	AutoMLJobSecondaryStatusMaxCandidatesReached = "MaxCandidatesReached"
77199
77200	// AutoMLJobSecondaryStatusFailed is a AutoMLJobSecondaryStatus enum value
77201	AutoMLJobSecondaryStatusFailed = "Failed"
77202
77203	// AutoMLJobSecondaryStatusStopped is a AutoMLJobSecondaryStatus enum value
77204	AutoMLJobSecondaryStatusStopped = "Stopped"
77205
77206	// AutoMLJobSecondaryStatusMaxAutoMljobRuntimeReached is a AutoMLJobSecondaryStatus enum value
77207	AutoMLJobSecondaryStatusMaxAutoMljobRuntimeReached = "MaxAutoMLJobRuntimeReached"
77208
77209	// AutoMLJobSecondaryStatusStopping is a AutoMLJobSecondaryStatus enum value
77210	AutoMLJobSecondaryStatusStopping = "Stopping"
77211
77212	// AutoMLJobSecondaryStatusCandidateDefinitionsGenerated is a AutoMLJobSecondaryStatus enum value
77213	AutoMLJobSecondaryStatusCandidateDefinitionsGenerated = "CandidateDefinitionsGenerated"
77214)
77215
77216// AutoMLJobSecondaryStatus_Values returns all elements of the AutoMLJobSecondaryStatus enum
77217func AutoMLJobSecondaryStatus_Values() []string {
77218	return []string{
77219		AutoMLJobSecondaryStatusStarting,
77220		AutoMLJobSecondaryStatusAnalyzingData,
77221		AutoMLJobSecondaryStatusFeatureEngineering,
77222		AutoMLJobSecondaryStatusModelTuning,
77223		AutoMLJobSecondaryStatusMaxCandidatesReached,
77224		AutoMLJobSecondaryStatusFailed,
77225		AutoMLJobSecondaryStatusStopped,
77226		AutoMLJobSecondaryStatusMaxAutoMljobRuntimeReached,
77227		AutoMLJobSecondaryStatusStopping,
77228		AutoMLJobSecondaryStatusCandidateDefinitionsGenerated,
77229	}
77230}
77231
77232const (
77233	// AutoMLJobStatusCompleted is a AutoMLJobStatus enum value
77234	AutoMLJobStatusCompleted = "Completed"
77235
77236	// AutoMLJobStatusInProgress is a AutoMLJobStatus enum value
77237	AutoMLJobStatusInProgress = "InProgress"
77238
77239	// AutoMLJobStatusFailed is a AutoMLJobStatus enum value
77240	AutoMLJobStatusFailed = "Failed"
77241
77242	// AutoMLJobStatusStopped is a AutoMLJobStatus enum value
77243	AutoMLJobStatusStopped = "Stopped"
77244
77245	// AutoMLJobStatusStopping is a AutoMLJobStatus enum value
77246	AutoMLJobStatusStopping = "Stopping"
77247)
77248
77249// AutoMLJobStatus_Values returns all elements of the AutoMLJobStatus enum
77250func AutoMLJobStatus_Values() []string {
77251	return []string{
77252		AutoMLJobStatusCompleted,
77253		AutoMLJobStatusInProgress,
77254		AutoMLJobStatusFailed,
77255		AutoMLJobStatusStopped,
77256		AutoMLJobStatusStopping,
77257	}
77258}
77259
77260const (
77261	// AutoMLMetricEnumAccuracy is a AutoMLMetricEnum enum value
77262	AutoMLMetricEnumAccuracy = "Accuracy"
77263
77264	// AutoMLMetricEnumMse is a AutoMLMetricEnum enum value
77265	AutoMLMetricEnumMse = "MSE"
77266
77267	// AutoMLMetricEnumF1 is a AutoMLMetricEnum enum value
77268	AutoMLMetricEnumF1 = "F1"
77269
77270	// AutoMLMetricEnumF1macro is a AutoMLMetricEnum enum value
77271	AutoMLMetricEnumF1macro = "F1macro"
77272
77273	// AutoMLMetricEnumAuc is a AutoMLMetricEnum enum value
77274	AutoMLMetricEnumAuc = "AUC"
77275)
77276
77277// AutoMLMetricEnum_Values returns all elements of the AutoMLMetricEnum enum
77278func AutoMLMetricEnum_Values() []string {
77279	return []string{
77280		AutoMLMetricEnumAccuracy,
77281		AutoMLMetricEnumMse,
77282		AutoMLMetricEnumF1,
77283		AutoMLMetricEnumF1macro,
77284		AutoMLMetricEnumAuc,
77285	}
77286}
77287
77288const (
77289	// AutoMLS3DataTypeManifestFile is a AutoMLS3DataType enum value
77290	AutoMLS3DataTypeManifestFile = "ManifestFile"
77291
77292	// AutoMLS3DataTypeS3prefix is a AutoMLS3DataType enum value
77293	AutoMLS3DataTypeS3prefix = "S3Prefix"
77294)
77295
77296// AutoMLS3DataType_Values returns all elements of the AutoMLS3DataType enum
77297func AutoMLS3DataType_Values() []string {
77298	return []string{
77299		AutoMLS3DataTypeManifestFile,
77300		AutoMLS3DataTypeS3prefix,
77301	}
77302}
77303
77304const (
77305	// AutoMLSortByName is a AutoMLSortBy enum value
77306	AutoMLSortByName = "Name"
77307
77308	// AutoMLSortByCreationTime is a AutoMLSortBy enum value
77309	AutoMLSortByCreationTime = "CreationTime"
77310
77311	// AutoMLSortByStatus is a AutoMLSortBy enum value
77312	AutoMLSortByStatus = "Status"
77313)
77314
77315// AutoMLSortBy_Values returns all elements of the AutoMLSortBy enum
77316func AutoMLSortBy_Values() []string {
77317	return []string{
77318		AutoMLSortByName,
77319		AutoMLSortByCreationTime,
77320		AutoMLSortByStatus,
77321	}
77322}
77323
77324const (
77325	// AutoMLSortOrderAscending is a AutoMLSortOrder enum value
77326	AutoMLSortOrderAscending = "Ascending"
77327
77328	// AutoMLSortOrderDescending is a AutoMLSortOrder enum value
77329	AutoMLSortOrderDescending = "Descending"
77330)
77331
77332// AutoMLSortOrder_Values returns all elements of the AutoMLSortOrder enum
77333func AutoMLSortOrder_Values() []string {
77334	return []string{
77335		AutoMLSortOrderAscending,
77336		AutoMLSortOrderDescending,
77337	}
77338}
77339
77340const (
77341	// AwsManagedHumanLoopRequestSourceAwsRekognitionDetectModerationLabelsImageV3 is a AwsManagedHumanLoopRequestSource enum value
77342	AwsManagedHumanLoopRequestSourceAwsRekognitionDetectModerationLabelsImageV3 = "AWS/Rekognition/DetectModerationLabels/Image/V3"
77343
77344	// AwsManagedHumanLoopRequestSourceAwsTextractAnalyzeDocumentFormsV1 is a AwsManagedHumanLoopRequestSource enum value
77345	AwsManagedHumanLoopRequestSourceAwsTextractAnalyzeDocumentFormsV1 = "AWS/Textract/AnalyzeDocument/Forms/V1"
77346)
77347
77348// AwsManagedHumanLoopRequestSource_Values returns all elements of the AwsManagedHumanLoopRequestSource enum
77349func AwsManagedHumanLoopRequestSource_Values() []string {
77350	return []string{
77351		AwsManagedHumanLoopRequestSourceAwsRekognitionDetectModerationLabelsImageV3,
77352		AwsManagedHumanLoopRequestSourceAwsTextractAnalyzeDocumentFormsV1,
77353	}
77354}
77355
77356const (
77357	// BatchStrategyMultiRecord is a BatchStrategy enum value
77358	BatchStrategyMultiRecord = "MultiRecord"
77359
77360	// BatchStrategySingleRecord is a BatchStrategy enum value
77361	BatchStrategySingleRecord = "SingleRecord"
77362)
77363
77364// BatchStrategy_Values returns all elements of the BatchStrategy enum
77365func BatchStrategy_Values() []string {
77366	return []string{
77367		BatchStrategyMultiRecord,
77368		BatchStrategySingleRecord,
77369	}
77370}
77371
77372const (
77373	// BooleanOperatorAnd is a BooleanOperator enum value
77374	BooleanOperatorAnd = "And"
77375
77376	// BooleanOperatorOr is a BooleanOperator enum value
77377	BooleanOperatorOr = "Or"
77378)
77379
77380// BooleanOperator_Values returns all elements of the BooleanOperator enum
77381func BooleanOperator_Values() []string {
77382	return []string{
77383		BooleanOperatorAnd,
77384		BooleanOperatorOr,
77385	}
77386}
77387
77388const (
77389	// CandidateSortByCreationTime is a CandidateSortBy enum value
77390	CandidateSortByCreationTime = "CreationTime"
77391
77392	// CandidateSortByStatus is a CandidateSortBy enum value
77393	CandidateSortByStatus = "Status"
77394
77395	// CandidateSortByFinalObjectiveMetricValue is a CandidateSortBy enum value
77396	CandidateSortByFinalObjectiveMetricValue = "FinalObjectiveMetricValue"
77397)
77398
77399// CandidateSortBy_Values returns all elements of the CandidateSortBy enum
77400func CandidateSortBy_Values() []string {
77401	return []string{
77402		CandidateSortByCreationTime,
77403		CandidateSortByStatus,
77404		CandidateSortByFinalObjectiveMetricValue,
77405	}
77406}
77407
77408const (
77409	// CandidateStatusCompleted is a CandidateStatus enum value
77410	CandidateStatusCompleted = "Completed"
77411
77412	// CandidateStatusInProgress is a CandidateStatus enum value
77413	CandidateStatusInProgress = "InProgress"
77414
77415	// CandidateStatusFailed is a CandidateStatus enum value
77416	CandidateStatusFailed = "Failed"
77417
77418	// CandidateStatusStopped is a CandidateStatus enum value
77419	CandidateStatusStopped = "Stopped"
77420
77421	// CandidateStatusStopping is a CandidateStatus enum value
77422	CandidateStatusStopping = "Stopping"
77423)
77424
77425// CandidateStatus_Values returns all elements of the CandidateStatus enum
77426func CandidateStatus_Values() []string {
77427	return []string{
77428		CandidateStatusCompleted,
77429		CandidateStatusInProgress,
77430		CandidateStatusFailed,
77431		CandidateStatusStopped,
77432		CandidateStatusStopping,
77433	}
77434}
77435
77436const (
77437	// CandidateStepTypeAwsSageMakerTrainingJob is a CandidateStepType enum value
77438	CandidateStepTypeAwsSageMakerTrainingJob = "AWS::SageMaker::TrainingJob"
77439
77440	// CandidateStepTypeAwsSageMakerTransformJob is a CandidateStepType enum value
77441	CandidateStepTypeAwsSageMakerTransformJob = "AWS::SageMaker::TransformJob"
77442
77443	// CandidateStepTypeAwsSageMakerProcessingJob is a CandidateStepType enum value
77444	CandidateStepTypeAwsSageMakerProcessingJob = "AWS::SageMaker::ProcessingJob"
77445)
77446
77447// CandidateStepType_Values returns all elements of the CandidateStepType enum
77448func CandidateStepType_Values() []string {
77449	return []string{
77450		CandidateStepTypeAwsSageMakerTrainingJob,
77451		CandidateStepTypeAwsSageMakerTransformJob,
77452		CandidateStepTypeAwsSageMakerProcessingJob,
77453	}
77454}
77455
77456const (
77457	// CapacitySizeTypeInstanceCount is a CapacitySizeType enum value
77458	CapacitySizeTypeInstanceCount = "INSTANCE_COUNT"
77459
77460	// CapacitySizeTypeCapacityPercent is a CapacitySizeType enum value
77461	CapacitySizeTypeCapacityPercent = "CAPACITY_PERCENT"
77462)
77463
77464// CapacitySizeType_Values returns all elements of the CapacitySizeType enum
77465func CapacitySizeType_Values() []string {
77466	return []string{
77467		CapacitySizeTypeInstanceCount,
77468		CapacitySizeTypeCapacityPercent,
77469	}
77470}
77471
77472const (
77473	// CaptureModeInput is a CaptureMode enum value
77474	CaptureModeInput = "Input"
77475
77476	// CaptureModeOutput is a CaptureMode enum value
77477	CaptureModeOutput = "Output"
77478)
77479
77480// CaptureMode_Values returns all elements of the CaptureMode enum
77481func CaptureMode_Values() []string {
77482	return []string{
77483		CaptureModeInput,
77484		CaptureModeOutput,
77485	}
77486}
77487
77488const (
77489	// CaptureStatusStarted is a CaptureStatus enum value
77490	CaptureStatusStarted = "Started"
77491
77492	// CaptureStatusStopped is a CaptureStatus enum value
77493	CaptureStatusStopped = "Stopped"
77494)
77495
77496// CaptureStatus_Values returns all elements of the CaptureStatus enum
77497func CaptureStatus_Values() []string {
77498	return []string{
77499		CaptureStatusStarted,
77500		CaptureStatusStopped,
77501	}
77502}
77503
77504const (
77505	// CodeRepositorySortByName is a CodeRepositorySortBy enum value
77506	CodeRepositorySortByName = "Name"
77507
77508	// CodeRepositorySortByCreationTime is a CodeRepositorySortBy enum value
77509	CodeRepositorySortByCreationTime = "CreationTime"
77510
77511	// CodeRepositorySortByLastModifiedTime is a CodeRepositorySortBy enum value
77512	CodeRepositorySortByLastModifiedTime = "LastModifiedTime"
77513)
77514
77515// CodeRepositorySortBy_Values returns all elements of the CodeRepositorySortBy enum
77516func CodeRepositorySortBy_Values() []string {
77517	return []string{
77518		CodeRepositorySortByName,
77519		CodeRepositorySortByCreationTime,
77520		CodeRepositorySortByLastModifiedTime,
77521	}
77522}
77523
77524const (
77525	// CodeRepositorySortOrderAscending is a CodeRepositorySortOrder enum value
77526	CodeRepositorySortOrderAscending = "Ascending"
77527
77528	// CodeRepositorySortOrderDescending is a CodeRepositorySortOrder enum value
77529	CodeRepositorySortOrderDescending = "Descending"
77530)
77531
77532// CodeRepositorySortOrder_Values returns all elements of the CodeRepositorySortOrder enum
77533func CodeRepositorySortOrder_Values() []string {
77534	return []string{
77535		CodeRepositorySortOrderAscending,
77536		CodeRepositorySortOrderDescending,
77537	}
77538}
77539
77540const (
77541	// CompilationJobStatusInprogress is a CompilationJobStatus enum value
77542	CompilationJobStatusInprogress = "INPROGRESS"
77543
77544	// CompilationJobStatusCompleted is a CompilationJobStatus enum value
77545	CompilationJobStatusCompleted = "COMPLETED"
77546
77547	// CompilationJobStatusFailed is a CompilationJobStatus enum value
77548	CompilationJobStatusFailed = "FAILED"
77549
77550	// CompilationJobStatusStarting is a CompilationJobStatus enum value
77551	CompilationJobStatusStarting = "STARTING"
77552
77553	// CompilationJobStatusStopping is a CompilationJobStatus enum value
77554	CompilationJobStatusStopping = "STOPPING"
77555
77556	// CompilationJobStatusStopped is a CompilationJobStatus enum value
77557	CompilationJobStatusStopped = "STOPPED"
77558)
77559
77560// CompilationJobStatus_Values returns all elements of the CompilationJobStatus enum
77561func CompilationJobStatus_Values() []string {
77562	return []string{
77563		CompilationJobStatusInprogress,
77564		CompilationJobStatusCompleted,
77565		CompilationJobStatusFailed,
77566		CompilationJobStatusStarting,
77567		CompilationJobStatusStopping,
77568		CompilationJobStatusStopped,
77569	}
77570}
77571
77572const (
77573	// CompressionTypeNone is a CompressionType enum value
77574	CompressionTypeNone = "None"
77575
77576	// CompressionTypeGzip is a CompressionType enum value
77577	CompressionTypeGzip = "Gzip"
77578)
77579
77580// CompressionType_Values returns all elements of the CompressionType enum
77581func CompressionType_Values() []string {
77582	return []string{
77583		CompressionTypeNone,
77584		CompressionTypeGzip,
77585	}
77586}
77587
77588const (
77589	// ConditionOutcomeTrue is a ConditionOutcome enum value
77590	ConditionOutcomeTrue = "True"
77591
77592	// ConditionOutcomeFalse is a ConditionOutcome enum value
77593	ConditionOutcomeFalse = "False"
77594)
77595
77596// ConditionOutcome_Values returns all elements of the ConditionOutcome enum
77597func ConditionOutcome_Values() []string {
77598	return []string{
77599		ConditionOutcomeTrue,
77600		ConditionOutcomeFalse,
77601	}
77602}
77603
77604const (
77605	// ContainerModeSingleModel is a ContainerMode enum value
77606	ContainerModeSingleModel = "SingleModel"
77607
77608	// ContainerModeMultiModel is a ContainerMode enum value
77609	ContainerModeMultiModel = "MultiModel"
77610)
77611
77612// ContainerMode_Values returns all elements of the ContainerMode enum
77613func ContainerMode_Values() []string {
77614	return []string{
77615		ContainerModeSingleModel,
77616		ContainerModeMultiModel,
77617	}
77618}
77619
77620const (
77621	// ContentClassifierFreeOfPersonallyIdentifiableInformation is a ContentClassifier enum value
77622	ContentClassifierFreeOfPersonallyIdentifiableInformation = "FreeOfPersonallyIdentifiableInformation"
77623
77624	// ContentClassifierFreeOfAdultContent is a ContentClassifier enum value
77625	ContentClassifierFreeOfAdultContent = "FreeOfAdultContent"
77626)
77627
77628// ContentClassifier_Values returns all elements of the ContentClassifier enum
77629func ContentClassifier_Values() []string {
77630	return []string{
77631		ContentClassifierFreeOfPersonallyIdentifiableInformation,
77632		ContentClassifierFreeOfAdultContent,
77633	}
77634}
77635
77636const (
77637	// DataDistributionTypeFullyReplicated is a DataDistributionType enum value
77638	DataDistributionTypeFullyReplicated = "FullyReplicated"
77639
77640	// DataDistributionTypeShardedByS3key is a DataDistributionType enum value
77641	DataDistributionTypeShardedByS3key = "ShardedByS3Key"
77642)
77643
77644// DataDistributionType_Values returns all elements of the DataDistributionType enum
77645func DataDistributionType_Values() []string {
77646	return []string{
77647		DataDistributionTypeFullyReplicated,
77648		DataDistributionTypeShardedByS3key,
77649	}
77650}
77651
77652const (
77653	// DetailedAlgorithmStatusNotStarted is a DetailedAlgorithmStatus enum value
77654	DetailedAlgorithmStatusNotStarted = "NotStarted"
77655
77656	// DetailedAlgorithmStatusInProgress is a DetailedAlgorithmStatus enum value
77657	DetailedAlgorithmStatusInProgress = "InProgress"
77658
77659	// DetailedAlgorithmStatusCompleted is a DetailedAlgorithmStatus enum value
77660	DetailedAlgorithmStatusCompleted = "Completed"
77661
77662	// DetailedAlgorithmStatusFailed is a DetailedAlgorithmStatus enum value
77663	DetailedAlgorithmStatusFailed = "Failed"
77664)
77665
77666// DetailedAlgorithmStatus_Values returns all elements of the DetailedAlgorithmStatus enum
77667func DetailedAlgorithmStatus_Values() []string {
77668	return []string{
77669		DetailedAlgorithmStatusNotStarted,
77670		DetailedAlgorithmStatusInProgress,
77671		DetailedAlgorithmStatusCompleted,
77672		DetailedAlgorithmStatusFailed,
77673	}
77674}
77675
77676const (
77677	// DetailedModelPackageStatusNotStarted is a DetailedModelPackageStatus enum value
77678	DetailedModelPackageStatusNotStarted = "NotStarted"
77679
77680	// DetailedModelPackageStatusInProgress is a DetailedModelPackageStatus enum value
77681	DetailedModelPackageStatusInProgress = "InProgress"
77682
77683	// DetailedModelPackageStatusCompleted is a DetailedModelPackageStatus enum value
77684	DetailedModelPackageStatusCompleted = "Completed"
77685
77686	// DetailedModelPackageStatusFailed is a DetailedModelPackageStatus enum value
77687	DetailedModelPackageStatusFailed = "Failed"
77688)
77689
77690// DetailedModelPackageStatus_Values returns all elements of the DetailedModelPackageStatus enum
77691func DetailedModelPackageStatus_Values() []string {
77692	return []string{
77693		DetailedModelPackageStatusNotStarted,
77694		DetailedModelPackageStatusInProgress,
77695		DetailedModelPackageStatusCompleted,
77696		DetailedModelPackageStatusFailed,
77697	}
77698}
77699
77700const (
77701	// DirectInternetAccessEnabled is a DirectInternetAccess enum value
77702	DirectInternetAccessEnabled = "Enabled"
77703
77704	// DirectInternetAccessDisabled is a DirectInternetAccess enum value
77705	DirectInternetAccessDisabled = "Disabled"
77706)
77707
77708// DirectInternetAccess_Values returns all elements of the DirectInternetAccess enum
77709func DirectInternetAccess_Values() []string {
77710	return []string{
77711		DirectInternetAccessEnabled,
77712		DirectInternetAccessDisabled,
77713	}
77714}
77715
77716const (
77717	// DomainStatusDeleting is a DomainStatus enum value
77718	DomainStatusDeleting = "Deleting"
77719
77720	// DomainStatusFailed is a DomainStatus enum value
77721	DomainStatusFailed = "Failed"
77722
77723	// DomainStatusInService is a DomainStatus enum value
77724	DomainStatusInService = "InService"
77725
77726	// DomainStatusPending is a DomainStatus enum value
77727	DomainStatusPending = "Pending"
77728
77729	// DomainStatusUpdating is a DomainStatus enum value
77730	DomainStatusUpdating = "Updating"
77731
77732	// DomainStatusUpdateFailed is a DomainStatus enum value
77733	DomainStatusUpdateFailed = "Update_Failed"
77734
77735	// DomainStatusDeleteFailed is a DomainStatus enum value
77736	DomainStatusDeleteFailed = "Delete_Failed"
77737)
77738
77739// DomainStatus_Values returns all elements of the DomainStatus enum
77740func DomainStatus_Values() []string {
77741	return []string{
77742		DomainStatusDeleting,
77743		DomainStatusFailed,
77744		DomainStatusInService,
77745		DomainStatusPending,
77746		DomainStatusUpdating,
77747		DomainStatusUpdateFailed,
77748		DomainStatusDeleteFailed,
77749	}
77750}
77751
77752const (
77753	// EdgePackagingJobStatusStarting is a EdgePackagingJobStatus enum value
77754	EdgePackagingJobStatusStarting = "STARTING"
77755
77756	// EdgePackagingJobStatusInprogress is a EdgePackagingJobStatus enum value
77757	EdgePackagingJobStatusInprogress = "INPROGRESS"
77758
77759	// EdgePackagingJobStatusCompleted is a EdgePackagingJobStatus enum value
77760	EdgePackagingJobStatusCompleted = "COMPLETED"
77761
77762	// EdgePackagingJobStatusFailed is a EdgePackagingJobStatus enum value
77763	EdgePackagingJobStatusFailed = "FAILED"
77764
77765	// EdgePackagingJobStatusStopping is a EdgePackagingJobStatus enum value
77766	EdgePackagingJobStatusStopping = "STOPPING"
77767
77768	// EdgePackagingJobStatusStopped is a EdgePackagingJobStatus enum value
77769	EdgePackagingJobStatusStopped = "STOPPED"
77770)
77771
77772// EdgePackagingJobStatus_Values returns all elements of the EdgePackagingJobStatus enum
77773func EdgePackagingJobStatus_Values() []string {
77774	return []string{
77775		EdgePackagingJobStatusStarting,
77776		EdgePackagingJobStatusInprogress,
77777		EdgePackagingJobStatusCompleted,
77778		EdgePackagingJobStatusFailed,
77779		EdgePackagingJobStatusStopping,
77780		EdgePackagingJobStatusStopped,
77781	}
77782}
77783
77784const (
77785	// EndpointConfigSortKeyName is a EndpointConfigSortKey enum value
77786	EndpointConfigSortKeyName = "Name"
77787
77788	// EndpointConfigSortKeyCreationTime is a EndpointConfigSortKey enum value
77789	EndpointConfigSortKeyCreationTime = "CreationTime"
77790)
77791
77792// EndpointConfigSortKey_Values returns all elements of the EndpointConfigSortKey enum
77793func EndpointConfigSortKey_Values() []string {
77794	return []string{
77795		EndpointConfigSortKeyName,
77796		EndpointConfigSortKeyCreationTime,
77797	}
77798}
77799
77800const (
77801	// EndpointSortKeyName is a EndpointSortKey enum value
77802	EndpointSortKeyName = "Name"
77803
77804	// EndpointSortKeyCreationTime is a EndpointSortKey enum value
77805	EndpointSortKeyCreationTime = "CreationTime"
77806
77807	// EndpointSortKeyStatus is a EndpointSortKey enum value
77808	EndpointSortKeyStatus = "Status"
77809)
77810
77811// EndpointSortKey_Values returns all elements of the EndpointSortKey enum
77812func EndpointSortKey_Values() []string {
77813	return []string{
77814		EndpointSortKeyName,
77815		EndpointSortKeyCreationTime,
77816		EndpointSortKeyStatus,
77817	}
77818}
77819
77820const (
77821	// EndpointStatusOutOfService is a EndpointStatus enum value
77822	EndpointStatusOutOfService = "OutOfService"
77823
77824	// EndpointStatusCreating is a EndpointStatus enum value
77825	EndpointStatusCreating = "Creating"
77826
77827	// EndpointStatusUpdating is a EndpointStatus enum value
77828	EndpointStatusUpdating = "Updating"
77829
77830	// EndpointStatusSystemUpdating is a EndpointStatus enum value
77831	EndpointStatusSystemUpdating = "SystemUpdating"
77832
77833	// EndpointStatusRollingBack is a EndpointStatus enum value
77834	EndpointStatusRollingBack = "RollingBack"
77835
77836	// EndpointStatusInService is a EndpointStatus enum value
77837	EndpointStatusInService = "InService"
77838
77839	// EndpointStatusDeleting is a EndpointStatus enum value
77840	EndpointStatusDeleting = "Deleting"
77841
77842	// EndpointStatusFailed is a EndpointStatus enum value
77843	EndpointStatusFailed = "Failed"
77844)
77845
77846// EndpointStatus_Values returns all elements of the EndpointStatus enum
77847func EndpointStatus_Values() []string {
77848	return []string{
77849		EndpointStatusOutOfService,
77850		EndpointStatusCreating,
77851		EndpointStatusUpdating,
77852		EndpointStatusSystemUpdating,
77853		EndpointStatusRollingBack,
77854		EndpointStatusInService,
77855		EndpointStatusDeleting,
77856		EndpointStatusFailed,
77857	}
77858}
77859
77860const (
77861	// ExecutionStatusPending is a ExecutionStatus enum value
77862	ExecutionStatusPending = "Pending"
77863
77864	// ExecutionStatusCompleted is a ExecutionStatus enum value
77865	ExecutionStatusCompleted = "Completed"
77866
77867	// ExecutionStatusCompletedWithViolations is a ExecutionStatus enum value
77868	ExecutionStatusCompletedWithViolations = "CompletedWithViolations"
77869
77870	// ExecutionStatusInProgress is a ExecutionStatus enum value
77871	ExecutionStatusInProgress = "InProgress"
77872
77873	// ExecutionStatusFailed is a ExecutionStatus enum value
77874	ExecutionStatusFailed = "Failed"
77875
77876	// ExecutionStatusStopping is a ExecutionStatus enum value
77877	ExecutionStatusStopping = "Stopping"
77878
77879	// ExecutionStatusStopped is a ExecutionStatus enum value
77880	ExecutionStatusStopped = "Stopped"
77881)
77882
77883// ExecutionStatus_Values returns all elements of the ExecutionStatus enum
77884func ExecutionStatus_Values() []string {
77885	return []string{
77886		ExecutionStatusPending,
77887		ExecutionStatusCompleted,
77888		ExecutionStatusCompletedWithViolations,
77889		ExecutionStatusInProgress,
77890		ExecutionStatusFailed,
77891		ExecutionStatusStopping,
77892		ExecutionStatusStopped,
77893	}
77894}
77895
77896const (
77897	// FeatureGroupSortByName is a FeatureGroupSortBy enum value
77898	FeatureGroupSortByName = "Name"
77899
77900	// FeatureGroupSortByFeatureGroupStatus is a FeatureGroupSortBy enum value
77901	FeatureGroupSortByFeatureGroupStatus = "FeatureGroupStatus"
77902
77903	// FeatureGroupSortByOfflineStoreStatus is a FeatureGroupSortBy enum value
77904	FeatureGroupSortByOfflineStoreStatus = "OfflineStoreStatus"
77905
77906	// FeatureGroupSortByCreationTime is a FeatureGroupSortBy enum value
77907	FeatureGroupSortByCreationTime = "CreationTime"
77908)
77909
77910// FeatureGroupSortBy_Values returns all elements of the FeatureGroupSortBy enum
77911func FeatureGroupSortBy_Values() []string {
77912	return []string{
77913		FeatureGroupSortByName,
77914		FeatureGroupSortByFeatureGroupStatus,
77915		FeatureGroupSortByOfflineStoreStatus,
77916		FeatureGroupSortByCreationTime,
77917	}
77918}
77919
77920const (
77921	// FeatureGroupSortOrderAscending is a FeatureGroupSortOrder enum value
77922	FeatureGroupSortOrderAscending = "Ascending"
77923
77924	// FeatureGroupSortOrderDescending is a FeatureGroupSortOrder enum value
77925	FeatureGroupSortOrderDescending = "Descending"
77926)
77927
77928// FeatureGroupSortOrder_Values returns all elements of the FeatureGroupSortOrder enum
77929func FeatureGroupSortOrder_Values() []string {
77930	return []string{
77931		FeatureGroupSortOrderAscending,
77932		FeatureGroupSortOrderDescending,
77933	}
77934}
77935
77936const (
77937	// FeatureGroupStatusCreating is a FeatureGroupStatus enum value
77938	FeatureGroupStatusCreating = "Creating"
77939
77940	// FeatureGroupStatusCreated is a FeatureGroupStatus enum value
77941	FeatureGroupStatusCreated = "Created"
77942
77943	// FeatureGroupStatusCreateFailed is a FeatureGroupStatus enum value
77944	FeatureGroupStatusCreateFailed = "CreateFailed"
77945
77946	// FeatureGroupStatusDeleting is a FeatureGroupStatus enum value
77947	FeatureGroupStatusDeleting = "Deleting"
77948
77949	// FeatureGroupStatusDeleteFailed is a FeatureGroupStatus enum value
77950	FeatureGroupStatusDeleteFailed = "DeleteFailed"
77951)
77952
77953// FeatureGroupStatus_Values returns all elements of the FeatureGroupStatus enum
77954func FeatureGroupStatus_Values() []string {
77955	return []string{
77956		FeatureGroupStatusCreating,
77957		FeatureGroupStatusCreated,
77958		FeatureGroupStatusCreateFailed,
77959		FeatureGroupStatusDeleting,
77960		FeatureGroupStatusDeleteFailed,
77961	}
77962}
77963
77964const (
77965	// FeatureTypeIntegral is a FeatureType enum value
77966	FeatureTypeIntegral = "Integral"
77967
77968	// FeatureTypeFractional is a FeatureType enum value
77969	FeatureTypeFractional = "Fractional"
77970
77971	// FeatureTypeString is a FeatureType enum value
77972	FeatureTypeString = "String"
77973)
77974
77975// FeatureType_Values returns all elements of the FeatureType enum
77976func FeatureType_Values() []string {
77977	return []string{
77978		FeatureTypeIntegral,
77979		FeatureTypeFractional,
77980		FeatureTypeString,
77981	}
77982}
77983
77984const (
77985	// FileSystemAccessModeRw is a FileSystemAccessMode enum value
77986	FileSystemAccessModeRw = "rw"
77987
77988	// FileSystemAccessModeRo is a FileSystemAccessMode enum value
77989	FileSystemAccessModeRo = "ro"
77990)
77991
77992// FileSystemAccessMode_Values returns all elements of the FileSystemAccessMode enum
77993func FileSystemAccessMode_Values() []string {
77994	return []string{
77995		FileSystemAccessModeRw,
77996		FileSystemAccessModeRo,
77997	}
77998}
77999
78000const (
78001	// FileSystemTypeEfs is a FileSystemType enum value
78002	FileSystemTypeEfs = "EFS"
78003
78004	// FileSystemTypeFsxLustre is a FileSystemType enum value
78005	FileSystemTypeFsxLustre = "FSxLustre"
78006)
78007
78008// FileSystemType_Values returns all elements of the FileSystemType enum
78009func FileSystemType_Values() []string {
78010	return []string{
78011		FileSystemTypeEfs,
78012		FileSystemTypeFsxLustre,
78013	}
78014}
78015
78016const (
78017	// FlowDefinitionStatusInitializing is a FlowDefinitionStatus enum value
78018	FlowDefinitionStatusInitializing = "Initializing"
78019
78020	// FlowDefinitionStatusActive is a FlowDefinitionStatus enum value
78021	FlowDefinitionStatusActive = "Active"
78022
78023	// FlowDefinitionStatusFailed is a FlowDefinitionStatus enum value
78024	FlowDefinitionStatusFailed = "Failed"
78025
78026	// FlowDefinitionStatusDeleting is a FlowDefinitionStatus enum value
78027	FlowDefinitionStatusDeleting = "Deleting"
78028)
78029
78030// FlowDefinitionStatus_Values returns all elements of the FlowDefinitionStatus enum
78031func FlowDefinitionStatus_Values() []string {
78032	return []string{
78033		FlowDefinitionStatusInitializing,
78034		FlowDefinitionStatusActive,
78035		FlowDefinitionStatusFailed,
78036		FlowDefinitionStatusDeleting,
78037	}
78038}
78039
78040const (
78041	// FrameworkTensorflow is a Framework enum value
78042	FrameworkTensorflow = "TENSORFLOW"
78043
78044	// FrameworkKeras is a Framework enum value
78045	FrameworkKeras = "KERAS"
78046
78047	// FrameworkMxnet is a Framework enum value
78048	FrameworkMxnet = "MXNET"
78049
78050	// FrameworkOnnx is a Framework enum value
78051	FrameworkOnnx = "ONNX"
78052
78053	// FrameworkPytorch is a Framework enum value
78054	FrameworkPytorch = "PYTORCH"
78055
78056	// FrameworkXgboost is a Framework enum value
78057	FrameworkXgboost = "XGBOOST"
78058
78059	// FrameworkTflite is a Framework enum value
78060	FrameworkTflite = "TFLITE"
78061
78062	// FrameworkDarknet is a Framework enum value
78063	FrameworkDarknet = "DARKNET"
78064
78065	// FrameworkSklearn is a Framework enum value
78066	FrameworkSklearn = "SKLEARN"
78067)
78068
78069// Framework_Values returns all elements of the Framework enum
78070func Framework_Values() []string {
78071	return []string{
78072		FrameworkTensorflow,
78073		FrameworkKeras,
78074		FrameworkMxnet,
78075		FrameworkOnnx,
78076		FrameworkPytorch,
78077		FrameworkXgboost,
78078		FrameworkTflite,
78079		FrameworkDarknet,
78080		FrameworkSklearn,
78081	}
78082}
78083
78084const (
78085	// HumanTaskUiStatusActive is a HumanTaskUiStatus enum value
78086	HumanTaskUiStatusActive = "Active"
78087
78088	// HumanTaskUiStatusDeleting is a HumanTaskUiStatus enum value
78089	HumanTaskUiStatusDeleting = "Deleting"
78090)
78091
78092// HumanTaskUiStatus_Values returns all elements of the HumanTaskUiStatus enum
78093func HumanTaskUiStatus_Values() []string {
78094	return []string{
78095		HumanTaskUiStatusActive,
78096		HumanTaskUiStatusDeleting,
78097	}
78098}
78099
78100const (
78101	// HyperParameterScalingTypeAuto is a HyperParameterScalingType enum value
78102	HyperParameterScalingTypeAuto = "Auto"
78103
78104	// HyperParameterScalingTypeLinear is a HyperParameterScalingType enum value
78105	HyperParameterScalingTypeLinear = "Linear"
78106
78107	// HyperParameterScalingTypeLogarithmic is a HyperParameterScalingType enum value
78108	HyperParameterScalingTypeLogarithmic = "Logarithmic"
78109
78110	// HyperParameterScalingTypeReverseLogarithmic is a HyperParameterScalingType enum value
78111	HyperParameterScalingTypeReverseLogarithmic = "ReverseLogarithmic"
78112)
78113
78114// HyperParameterScalingType_Values returns all elements of the HyperParameterScalingType enum
78115func HyperParameterScalingType_Values() []string {
78116	return []string{
78117		HyperParameterScalingTypeAuto,
78118		HyperParameterScalingTypeLinear,
78119		HyperParameterScalingTypeLogarithmic,
78120		HyperParameterScalingTypeReverseLogarithmic,
78121	}
78122}
78123
78124const (
78125	// HyperParameterTuningJobObjectiveTypeMaximize is a HyperParameterTuningJobObjectiveType enum value
78126	HyperParameterTuningJobObjectiveTypeMaximize = "Maximize"
78127
78128	// HyperParameterTuningJobObjectiveTypeMinimize is a HyperParameterTuningJobObjectiveType enum value
78129	HyperParameterTuningJobObjectiveTypeMinimize = "Minimize"
78130)
78131
78132// HyperParameterTuningJobObjectiveType_Values returns all elements of the HyperParameterTuningJobObjectiveType enum
78133func HyperParameterTuningJobObjectiveType_Values() []string {
78134	return []string{
78135		HyperParameterTuningJobObjectiveTypeMaximize,
78136		HyperParameterTuningJobObjectiveTypeMinimize,
78137	}
78138}
78139
78140const (
78141	// HyperParameterTuningJobSortByOptionsName is a HyperParameterTuningJobSortByOptions enum value
78142	HyperParameterTuningJobSortByOptionsName = "Name"
78143
78144	// HyperParameterTuningJobSortByOptionsStatus is a HyperParameterTuningJobSortByOptions enum value
78145	HyperParameterTuningJobSortByOptionsStatus = "Status"
78146
78147	// HyperParameterTuningJobSortByOptionsCreationTime is a HyperParameterTuningJobSortByOptions enum value
78148	HyperParameterTuningJobSortByOptionsCreationTime = "CreationTime"
78149)
78150
78151// HyperParameterTuningJobSortByOptions_Values returns all elements of the HyperParameterTuningJobSortByOptions enum
78152func HyperParameterTuningJobSortByOptions_Values() []string {
78153	return []string{
78154		HyperParameterTuningJobSortByOptionsName,
78155		HyperParameterTuningJobSortByOptionsStatus,
78156		HyperParameterTuningJobSortByOptionsCreationTime,
78157	}
78158}
78159
78160const (
78161	// HyperParameterTuningJobStatusCompleted is a HyperParameterTuningJobStatus enum value
78162	HyperParameterTuningJobStatusCompleted = "Completed"
78163
78164	// HyperParameterTuningJobStatusInProgress is a HyperParameterTuningJobStatus enum value
78165	HyperParameterTuningJobStatusInProgress = "InProgress"
78166
78167	// HyperParameterTuningJobStatusFailed is a HyperParameterTuningJobStatus enum value
78168	HyperParameterTuningJobStatusFailed = "Failed"
78169
78170	// HyperParameterTuningJobStatusStopped is a HyperParameterTuningJobStatus enum value
78171	HyperParameterTuningJobStatusStopped = "Stopped"
78172
78173	// HyperParameterTuningJobStatusStopping is a HyperParameterTuningJobStatus enum value
78174	HyperParameterTuningJobStatusStopping = "Stopping"
78175)
78176
78177// HyperParameterTuningJobStatus_Values returns all elements of the HyperParameterTuningJobStatus enum
78178func HyperParameterTuningJobStatus_Values() []string {
78179	return []string{
78180		HyperParameterTuningJobStatusCompleted,
78181		HyperParameterTuningJobStatusInProgress,
78182		HyperParameterTuningJobStatusFailed,
78183		HyperParameterTuningJobStatusStopped,
78184		HyperParameterTuningJobStatusStopping,
78185	}
78186}
78187
78188// The strategy hyperparameter tuning uses to find the best combination of hyperparameters
78189// for your model. Currently, the only supported value is Bayesian.
78190const (
78191	// HyperParameterTuningJobStrategyTypeBayesian is a HyperParameterTuningJobStrategyType enum value
78192	HyperParameterTuningJobStrategyTypeBayesian = "Bayesian"
78193
78194	// HyperParameterTuningJobStrategyTypeRandom is a HyperParameterTuningJobStrategyType enum value
78195	HyperParameterTuningJobStrategyTypeRandom = "Random"
78196)
78197
78198// HyperParameterTuningJobStrategyType_Values returns all elements of the HyperParameterTuningJobStrategyType enum
78199func HyperParameterTuningJobStrategyType_Values() []string {
78200	return []string{
78201		HyperParameterTuningJobStrategyTypeBayesian,
78202		HyperParameterTuningJobStrategyTypeRandom,
78203	}
78204}
78205
78206const (
78207	// HyperParameterTuningJobWarmStartTypeIdenticalDataAndAlgorithm is a HyperParameterTuningJobWarmStartType enum value
78208	HyperParameterTuningJobWarmStartTypeIdenticalDataAndAlgorithm = "IdenticalDataAndAlgorithm"
78209
78210	// HyperParameterTuningJobWarmStartTypeTransferLearning is a HyperParameterTuningJobWarmStartType enum value
78211	HyperParameterTuningJobWarmStartTypeTransferLearning = "TransferLearning"
78212)
78213
78214// HyperParameterTuningJobWarmStartType_Values returns all elements of the HyperParameterTuningJobWarmStartType enum
78215func HyperParameterTuningJobWarmStartType_Values() []string {
78216	return []string{
78217		HyperParameterTuningJobWarmStartTypeIdenticalDataAndAlgorithm,
78218		HyperParameterTuningJobWarmStartTypeTransferLearning,
78219	}
78220}
78221
78222const (
78223	// ImageSortByCreationTime is a ImageSortBy enum value
78224	ImageSortByCreationTime = "CREATION_TIME"
78225
78226	// ImageSortByLastModifiedTime is a ImageSortBy enum value
78227	ImageSortByLastModifiedTime = "LAST_MODIFIED_TIME"
78228
78229	// ImageSortByImageName is a ImageSortBy enum value
78230	ImageSortByImageName = "IMAGE_NAME"
78231)
78232
78233// ImageSortBy_Values returns all elements of the ImageSortBy enum
78234func ImageSortBy_Values() []string {
78235	return []string{
78236		ImageSortByCreationTime,
78237		ImageSortByLastModifiedTime,
78238		ImageSortByImageName,
78239	}
78240}
78241
78242const (
78243	// ImageSortOrderAscending is a ImageSortOrder enum value
78244	ImageSortOrderAscending = "ASCENDING"
78245
78246	// ImageSortOrderDescending is a ImageSortOrder enum value
78247	ImageSortOrderDescending = "DESCENDING"
78248)
78249
78250// ImageSortOrder_Values returns all elements of the ImageSortOrder enum
78251func ImageSortOrder_Values() []string {
78252	return []string{
78253		ImageSortOrderAscending,
78254		ImageSortOrderDescending,
78255	}
78256}
78257
78258const (
78259	// ImageStatusCreating is a ImageStatus enum value
78260	ImageStatusCreating = "CREATING"
78261
78262	// ImageStatusCreated is a ImageStatus enum value
78263	ImageStatusCreated = "CREATED"
78264
78265	// ImageStatusCreateFailed is a ImageStatus enum value
78266	ImageStatusCreateFailed = "CREATE_FAILED"
78267
78268	// ImageStatusUpdating is a ImageStatus enum value
78269	ImageStatusUpdating = "UPDATING"
78270
78271	// ImageStatusUpdateFailed is a ImageStatus enum value
78272	ImageStatusUpdateFailed = "UPDATE_FAILED"
78273
78274	// ImageStatusDeleting is a ImageStatus enum value
78275	ImageStatusDeleting = "DELETING"
78276
78277	// ImageStatusDeleteFailed is a ImageStatus enum value
78278	ImageStatusDeleteFailed = "DELETE_FAILED"
78279)
78280
78281// ImageStatus_Values returns all elements of the ImageStatus enum
78282func ImageStatus_Values() []string {
78283	return []string{
78284		ImageStatusCreating,
78285		ImageStatusCreated,
78286		ImageStatusCreateFailed,
78287		ImageStatusUpdating,
78288		ImageStatusUpdateFailed,
78289		ImageStatusDeleting,
78290		ImageStatusDeleteFailed,
78291	}
78292}
78293
78294const (
78295	// ImageVersionSortByCreationTime is a ImageVersionSortBy enum value
78296	ImageVersionSortByCreationTime = "CREATION_TIME"
78297
78298	// ImageVersionSortByLastModifiedTime is a ImageVersionSortBy enum value
78299	ImageVersionSortByLastModifiedTime = "LAST_MODIFIED_TIME"
78300
78301	// ImageVersionSortByVersion is a ImageVersionSortBy enum value
78302	ImageVersionSortByVersion = "VERSION"
78303)
78304
78305// ImageVersionSortBy_Values returns all elements of the ImageVersionSortBy enum
78306func ImageVersionSortBy_Values() []string {
78307	return []string{
78308		ImageVersionSortByCreationTime,
78309		ImageVersionSortByLastModifiedTime,
78310		ImageVersionSortByVersion,
78311	}
78312}
78313
78314const (
78315	// ImageVersionSortOrderAscending is a ImageVersionSortOrder enum value
78316	ImageVersionSortOrderAscending = "ASCENDING"
78317
78318	// ImageVersionSortOrderDescending is a ImageVersionSortOrder enum value
78319	ImageVersionSortOrderDescending = "DESCENDING"
78320)
78321
78322// ImageVersionSortOrder_Values returns all elements of the ImageVersionSortOrder enum
78323func ImageVersionSortOrder_Values() []string {
78324	return []string{
78325		ImageVersionSortOrderAscending,
78326		ImageVersionSortOrderDescending,
78327	}
78328}
78329
78330const (
78331	// ImageVersionStatusCreating is a ImageVersionStatus enum value
78332	ImageVersionStatusCreating = "CREATING"
78333
78334	// ImageVersionStatusCreated is a ImageVersionStatus enum value
78335	ImageVersionStatusCreated = "CREATED"
78336
78337	// ImageVersionStatusCreateFailed is a ImageVersionStatus enum value
78338	ImageVersionStatusCreateFailed = "CREATE_FAILED"
78339
78340	// ImageVersionStatusDeleting is a ImageVersionStatus enum value
78341	ImageVersionStatusDeleting = "DELETING"
78342
78343	// ImageVersionStatusDeleteFailed is a ImageVersionStatus enum value
78344	ImageVersionStatusDeleteFailed = "DELETE_FAILED"
78345)
78346
78347// ImageVersionStatus_Values returns all elements of the ImageVersionStatus enum
78348func ImageVersionStatus_Values() []string {
78349	return []string{
78350		ImageVersionStatusCreating,
78351		ImageVersionStatusCreated,
78352		ImageVersionStatusCreateFailed,
78353		ImageVersionStatusDeleting,
78354		ImageVersionStatusDeleteFailed,
78355	}
78356}
78357
78358const (
78359	// InferenceExecutionModeSerial is a InferenceExecutionMode enum value
78360	InferenceExecutionModeSerial = "Serial"
78361
78362	// InferenceExecutionModeDirect is a InferenceExecutionMode enum value
78363	InferenceExecutionModeDirect = "Direct"
78364)
78365
78366// InferenceExecutionMode_Values returns all elements of the InferenceExecutionMode enum
78367func InferenceExecutionMode_Values() []string {
78368	return []string{
78369		InferenceExecutionModeSerial,
78370		InferenceExecutionModeDirect,
78371	}
78372}
78373
78374const (
78375	// InputModePipe is a InputMode enum value
78376	InputModePipe = "Pipe"
78377
78378	// InputModeFile is a InputMode enum value
78379	InputModeFile = "File"
78380)
78381
78382// InputMode_Values returns all elements of the InputMode enum
78383func InputMode_Values() []string {
78384	return []string{
78385		InputModePipe,
78386		InputModeFile,
78387	}
78388}
78389
78390const (
78391	// InstanceTypeMlT2Medium is a InstanceType enum value
78392	InstanceTypeMlT2Medium = "ml.t2.medium"
78393
78394	// InstanceTypeMlT2Large is a InstanceType enum value
78395	InstanceTypeMlT2Large = "ml.t2.large"
78396
78397	// InstanceTypeMlT2Xlarge is a InstanceType enum value
78398	InstanceTypeMlT2Xlarge = "ml.t2.xlarge"
78399
78400	// InstanceTypeMlT22xlarge is a InstanceType enum value
78401	InstanceTypeMlT22xlarge = "ml.t2.2xlarge"
78402
78403	// InstanceTypeMlT3Medium is a InstanceType enum value
78404	InstanceTypeMlT3Medium = "ml.t3.medium"
78405
78406	// InstanceTypeMlT3Large is a InstanceType enum value
78407	InstanceTypeMlT3Large = "ml.t3.large"
78408
78409	// InstanceTypeMlT3Xlarge is a InstanceType enum value
78410	InstanceTypeMlT3Xlarge = "ml.t3.xlarge"
78411
78412	// InstanceTypeMlT32xlarge is a InstanceType enum value
78413	InstanceTypeMlT32xlarge = "ml.t3.2xlarge"
78414
78415	// InstanceTypeMlM4Xlarge is a InstanceType enum value
78416	InstanceTypeMlM4Xlarge = "ml.m4.xlarge"
78417
78418	// InstanceTypeMlM42xlarge is a InstanceType enum value
78419	InstanceTypeMlM42xlarge = "ml.m4.2xlarge"
78420
78421	// InstanceTypeMlM44xlarge is a InstanceType enum value
78422	InstanceTypeMlM44xlarge = "ml.m4.4xlarge"
78423
78424	// InstanceTypeMlM410xlarge is a InstanceType enum value
78425	InstanceTypeMlM410xlarge = "ml.m4.10xlarge"
78426
78427	// InstanceTypeMlM416xlarge is a InstanceType enum value
78428	InstanceTypeMlM416xlarge = "ml.m4.16xlarge"
78429
78430	// InstanceTypeMlM5Xlarge is a InstanceType enum value
78431	InstanceTypeMlM5Xlarge = "ml.m5.xlarge"
78432
78433	// InstanceTypeMlM52xlarge is a InstanceType enum value
78434	InstanceTypeMlM52xlarge = "ml.m5.2xlarge"
78435
78436	// InstanceTypeMlM54xlarge is a InstanceType enum value
78437	InstanceTypeMlM54xlarge = "ml.m5.4xlarge"
78438
78439	// InstanceTypeMlM512xlarge is a InstanceType enum value
78440	InstanceTypeMlM512xlarge = "ml.m5.12xlarge"
78441
78442	// InstanceTypeMlM524xlarge is a InstanceType enum value
78443	InstanceTypeMlM524xlarge = "ml.m5.24xlarge"
78444
78445	// InstanceTypeMlC4Xlarge is a InstanceType enum value
78446	InstanceTypeMlC4Xlarge = "ml.c4.xlarge"
78447
78448	// InstanceTypeMlC42xlarge is a InstanceType enum value
78449	InstanceTypeMlC42xlarge = "ml.c4.2xlarge"
78450
78451	// InstanceTypeMlC44xlarge is a InstanceType enum value
78452	InstanceTypeMlC44xlarge = "ml.c4.4xlarge"
78453
78454	// InstanceTypeMlC48xlarge is a InstanceType enum value
78455	InstanceTypeMlC48xlarge = "ml.c4.8xlarge"
78456
78457	// InstanceTypeMlC5Xlarge is a InstanceType enum value
78458	InstanceTypeMlC5Xlarge = "ml.c5.xlarge"
78459
78460	// InstanceTypeMlC52xlarge is a InstanceType enum value
78461	InstanceTypeMlC52xlarge = "ml.c5.2xlarge"
78462
78463	// InstanceTypeMlC54xlarge is a InstanceType enum value
78464	InstanceTypeMlC54xlarge = "ml.c5.4xlarge"
78465
78466	// InstanceTypeMlC59xlarge is a InstanceType enum value
78467	InstanceTypeMlC59xlarge = "ml.c5.9xlarge"
78468
78469	// InstanceTypeMlC518xlarge is a InstanceType enum value
78470	InstanceTypeMlC518xlarge = "ml.c5.18xlarge"
78471
78472	// InstanceTypeMlC5dXlarge is a InstanceType enum value
78473	InstanceTypeMlC5dXlarge = "ml.c5d.xlarge"
78474
78475	// InstanceTypeMlC5d2xlarge is a InstanceType enum value
78476	InstanceTypeMlC5d2xlarge = "ml.c5d.2xlarge"
78477
78478	// InstanceTypeMlC5d4xlarge is a InstanceType enum value
78479	InstanceTypeMlC5d4xlarge = "ml.c5d.4xlarge"
78480
78481	// InstanceTypeMlC5d9xlarge is a InstanceType enum value
78482	InstanceTypeMlC5d9xlarge = "ml.c5d.9xlarge"
78483
78484	// InstanceTypeMlC5d18xlarge is a InstanceType enum value
78485	InstanceTypeMlC5d18xlarge = "ml.c5d.18xlarge"
78486
78487	// InstanceTypeMlP2Xlarge is a InstanceType enum value
78488	InstanceTypeMlP2Xlarge = "ml.p2.xlarge"
78489
78490	// InstanceTypeMlP28xlarge is a InstanceType enum value
78491	InstanceTypeMlP28xlarge = "ml.p2.8xlarge"
78492
78493	// InstanceTypeMlP216xlarge is a InstanceType enum value
78494	InstanceTypeMlP216xlarge = "ml.p2.16xlarge"
78495
78496	// InstanceTypeMlP32xlarge is a InstanceType enum value
78497	InstanceTypeMlP32xlarge = "ml.p3.2xlarge"
78498
78499	// InstanceTypeMlP38xlarge is a InstanceType enum value
78500	InstanceTypeMlP38xlarge = "ml.p3.8xlarge"
78501
78502	// InstanceTypeMlP316xlarge is a InstanceType enum value
78503	InstanceTypeMlP316xlarge = "ml.p3.16xlarge"
78504)
78505
78506// InstanceType_Values returns all elements of the InstanceType enum
78507func InstanceType_Values() []string {
78508	return []string{
78509		InstanceTypeMlT2Medium,
78510		InstanceTypeMlT2Large,
78511		InstanceTypeMlT2Xlarge,
78512		InstanceTypeMlT22xlarge,
78513		InstanceTypeMlT3Medium,
78514		InstanceTypeMlT3Large,
78515		InstanceTypeMlT3Xlarge,
78516		InstanceTypeMlT32xlarge,
78517		InstanceTypeMlM4Xlarge,
78518		InstanceTypeMlM42xlarge,
78519		InstanceTypeMlM44xlarge,
78520		InstanceTypeMlM410xlarge,
78521		InstanceTypeMlM416xlarge,
78522		InstanceTypeMlM5Xlarge,
78523		InstanceTypeMlM52xlarge,
78524		InstanceTypeMlM54xlarge,
78525		InstanceTypeMlM512xlarge,
78526		InstanceTypeMlM524xlarge,
78527		InstanceTypeMlC4Xlarge,
78528		InstanceTypeMlC42xlarge,
78529		InstanceTypeMlC44xlarge,
78530		InstanceTypeMlC48xlarge,
78531		InstanceTypeMlC5Xlarge,
78532		InstanceTypeMlC52xlarge,
78533		InstanceTypeMlC54xlarge,
78534		InstanceTypeMlC59xlarge,
78535		InstanceTypeMlC518xlarge,
78536		InstanceTypeMlC5dXlarge,
78537		InstanceTypeMlC5d2xlarge,
78538		InstanceTypeMlC5d4xlarge,
78539		InstanceTypeMlC5d9xlarge,
78540		InstanceTypeMlC5d18xlarge,
78541		InstanceTypeMlP2Xlarge,
78542		InstanceTypeMlP28xlarge,
78543		InstanceTypeMlP216xlarge,
78544		InstanceTypeMlP32xlarge,
78545		InstanceTypeMlP38xlarge,
78546		InstanceTypeMlP316xlarge,
78547	}
78548}
78549
78550const (
78551	// JoinSourceInput is a JoinSource enum value
78552	JoinSourceInput = "Input"
78553
78554	// JoinSourceNone is a JoinSource enum value
78555	JoinSourceNone = "None"
78556)
78557
78558// JoinSource_Values returns all elements of the JoinSource enum
78559func JoinSource_Values() []string {
78560	return []string{
78561		JoinSourceInput,
78562		JoinSourceNone,
78563	}
78564}
78565
78566const (
78567	// LabelingJobStatusInitializing is a LabelingJobStatus enum value
78568	LabelingJobStatusInitializing = "Initializing"
78569
78570	// LabelingJobStatusInProgress is a LabelingJobStatus enum value
78571	LabelingJobStatusInProgress = "InProgress"
78572
78573	// LabelingJobStatusCompleted is a LabelingJobStatus enum value
78574	LabelingJobStatusCompleted = "Completed"
78575
78576	// LabelingJobStatusFailed is a LabelingJobStatus enum value
78577	LabelingJobStatusFailed = "Failed"
78578
78579	// LabelingJobStatusStopping is a LabelingJobStatus enum value
78580	LabelingJobStatusStopping = "Stopping"
78581
78582	// LabelingJobStatusStopped is a LabelingJobStatus enum value
78583	LabelingJobStatusStopped = "Stopped"
78584)
78585
78586// LabelingJobStatus_Values returns all elements of the LabelingJobStatus enum
78587func LabelingJobStatus_Values() []string {
78588	return []string{
78589		LabelingJobStatusInitializing,
78590		LabelingJobStatusInProgress,
78591		LabelingJobStatusCompleted,
78592		LabelingJobStatusFailed,
78593		LabelingJobStatusStopping,
78594		LabelingJobStatusStopped,
78595	}
78596}
78597
78598const (
78599	// ListCompilationJobsSortByName is a ListCompilationJobsSortBy enum value
78600	ListCompilationJobsSortByName = "Name"
78601
78602	// ListCompilationJobsSortByCreationTime is a ListCompilationJobsSortBy enum value
78603	ListCompilationJobsSortByCreationTime = "CreationTime"
78604
78605	// ListCompilationJobsSortByStatus is a ListCompilationJobsSortBy enum value
78606	ListCompilationJobsSortByStatus = "Status"
78607)
78608
78609// ListCompilationJobsSortBy_Values returns all elements of the ListCompilationJobsSortBy enum
78610func ListCompilationJobsSortBy_Values() []string {
78611	return []string{
78612		ListCompilationJobsSortByName,
78613		ListCompilationJobsSortByCreationTime,
78614		ListCompilationJobsSortByStatus,
78615	}
78616}
78617
78618const (
78619	// ListDeviceFleetsSortByName is a ListDeviceFleetsSortBy enum value
78620	ListDeviceFleetsSortByName = "NAME"
78621
78622	// ListDeviceFleetsSortByCreationTime is a ListDeviceFleetsSortBy enum value
78623	ListDeviceFleetsSortByCreationTime = "CREATION_TIME"
78624
78625	// ListDeviceFleetsSortByLastModifiedTime is a ListDeviceFleetsSortBy enum value
78626	ListDeviceFleetsSortByLastModifiedTime = "LAST_MODIFIED_TIME"
78627)
78628
78629// ListDeviceFleetsSortBy_Values returns all elements of the ListDeviceFleetsSortBy enum
78630func ListDeviceFleetsSortBy_Values() []string {
78631	return []string{
78632		ListDeviceFleetsSortByName,
78633		ListDeviceFleetsSortByCreationTime,
78634		ListDeviceFleetsSortByLastModifiedTime,
78635	}
78636}
78637
78638const (
78639	// ListEdgePackagingJobsSortByName is a ListEdgePackagingJobsSortBy enum value
78640	ListEdgePackagingJobsSortByName = "NAME"
78641
78642	// ListEdgePackagingJobsSortByModelName is a ListEdgePackagingJobsSortBy enum value
78643	ListEdgePackagingJobsSortByModelName = "MODEL_NAME"
78644
78645	// ListEdgePackagingJobsSortByCreationTime is a ListEdgePackagingJobsSortBy enum value
78646	ListEdgePackagingJobsSortByCreationTime = "CREATION_TIME"
78647
78648	// ListEdgePackagingJobsSortByLastModifiedTime is a ListEdgePackagingJobsSortBy enum value
78649	ListEdgePackagingJobsSortByLastModifiedTime = "LAST_MODIFIED_TIME"
78650
78651	// ListEdgePackagingJobsSortByStatus is a ListEdgePackagingJobsSortBy enum value
78652	ListEdgePackagingJobsSortByStatus = "STATUS"
78653)
78654
78655// ListEdgePackagingJobsSortBy_Values returns all elements of the ListEdgePackagingJobsSortBy enum
78656func ListEdgePackagingJobsSortBy_Values() []string {
78657	return []string{
78658		ListEdgePackagingJobsSortByName,
78659		ListEdgePackagingJobsSortByModelName,
78660		ListEdgePackagingJobsSortByCreationTime,
78661		ListEdgePackagingJobsSortByLastModifiedTime,
78662		ListEdgePackagingJobsSortByStatus,
78663	}
78664}
78665
78666const (
78667	// ListLabelingJobsForWorkteamSortByOptionsCreationTime is a ListLabelingJobsForWorkteamSortByOptions enum value
78668	ListLabelingJobsForWorkteamSortByOptionsCreationTime = "CreationTime"
78669)
78670
78671// ListLabelingJobsForWorkteamSortByOptions_Values returns all elements of the ListLabelingJobsForWorkteamSortByOptions enum
78672func ListLabelingJobsForWorkteamSortByOptions_Values() []string {
78673	return []string{
78674		ListLabelingJobsForWorkteamSortByOptionsCreationTime,
78675	}
78676}
78677
78678const (
78679	// ListWorkforcesSortByOptionsName is a ListWorkforcesSortByOptions enum value
78680	ListWorkforcesSortByOptionsName = "Name"
78681
78682	// ListWorkforcesSortByOptionsCreateDate is a ListWorkforcesSortByOptions enum value
78683	ListWorkforcesSortByOptionsCreateDate = "CreateDate"
78684)
78685
78686// ListWorkforcesSortByOptions_Values returns all elements of the ListWorkforcesSortByOptions enum
78687func ListWorkforcesSortByOptions_Values() []string {
78688	return []string{
78689		ListWorkforcesSortByOptionsName,
78690		ListWorkforcesSortByOptionsCreateDate,
78691	}
78692}
78693
78694const (
78695	// ListWorkteamsSortByOptionsName is a ListWorkteamsSortByOptions enum value
78696	ListWorkteamsSortByOptionsName = "Name"
78697
78698	// ListWorkteamsSortByOptionsCreateDate is a ListWorkteamsSortByOptions enum value
78699	ListWorkteamsSortByOptionsCreateDate = "CreateDate"
78700)
78701
78702// ListWorkteamsSortByOptions_Values returns all elements of the ListWorkteamsSortByOptions enum
78703func ListWorkteamsSortByOptions_Values() []string {
78704	return []string{
78705		ListWorkteamsSortByOptionsName,
78706		ListWorkteamsSortByOptionsCreateDate,
78707	}
78708}
78709
78710const (
78711	// ModelApprovalStatusApproved is a ModelApprovalStatus enum value
78712	ModelApprovalStatusApproved = "Approved"
78713
78714	// ModelApprovalStatusRejected is a ModelApprovalStatus enum value
78715	ModelApprovalStatusRejected = "Rejected"
78716
78717	// ModelApprovalStatusPendingManualApproval is a ModelApprovalStatus enum value
78718	ModelApprovalStatusPendingManualApproval = "PendingManualApproval"
78719)
78720
78721// ModelApprovalStatus_Values returns all elements of the ModelApprovalStatus enum
78722func ModelApprovalStatus_Values() []string {
78723	return []string{
78724		ModelApprovalStatusApproved,
78725		ModelApprovalStatusRejected,
78726		ModelApprovalStatusPendingManualApproval,
78727	}
78728}
78729
78730const (
78731	// ModelCacheSettingEnabled is a ModelCacheSetting enum value
78732	ModelCacheSettingEnabled = "Enabled"
78733
78734	// ModelCacheSettingDisabled is a ModelCacheSetting enum value
78735	ModelCacheSettingDisabled = "Disabled"
78736)
78737
78738// ModelCacheSetting_Values returns all elements of the ModelCacheSetting enum
78739func ModelCacheSetting_Values() []string {
78740	return []string{
78741		ModelCacheSettingEnabled,
78742		ModelCacheSettingDisabled,
78743	}
78744}
78745
78746const (
78747	// ModelPackageGroupSortByName is a ModelPackageGroupSortBy enum value
78748	ModelPackageGroupSortByName = "Name"
78749
78750	// ModelPackageGroupSortByCreationTime is a ModelPackageGroupSortBy enum value
78751	ModelPackageGroupSortByCreationTime = "CreationTime"
78752)
78753
78754// ModelPackageGroupSortBy_Values returns all elements of the ModelPackageGroupSortBy enum
78755func ModelPackageGroupSortBy_Values() []string {
78756	return []string{
78757		ModelPackageGroupSortByName,
78758		ModelPackageGroupSortByCreationTime,
78759	}
78760}
78761
78762const (
78763	// ModelPackageGroupStatusPending is a ModelPackageGroupStatus enum value
78764	ModelPackageGroupStatusPending = "Pending"
78765
78766	// ModelPackageGroupStatusInProgress is a ModelPackageGroupStatus enum value
78767	ModelPackageGroupStatusInProgress = "InProgress"
78768
78769	// ModelPackageGroupStatusCompleted is a ModelPackageGroupStatus enum value
78770	ModelPackageGroupStatusCompleted = "Completed"
78771
78772	// ModelPackageGroupStatusFailed is a ModelPackageGroupStatus enum value
78773	ModelPackageGroupStatusFailed = "Failed"
78774
78775	// ModelPackageGroupStatusDeleting is a ModelPackageGroupStatus enum value
78776	ModelPackageGroupStatusDeleting = "Deleting"
78777
78778	// ModelPackageGroupStatusDeleteFailed is a ModelPackageGroupStatus enum value
78779	ModelPackageGroupStatusDeleteFailed = "DeleteFailed"
78780)
78781
78782// ModelPackageGroupStatus_Values returns all elements of the ModelPackageGroupStatus enum
78783func ModelPackageGroupStatus_Values() []string {
78784	return []string{
78785		ModelPackageGroupStatusPending,
78786		ModelPackageGroupStatusInProgress,
78787		ModelPackageGroupStatusCompleted,
78788		ModelPackageGroupStatusFailed,
78789		ModelPackageGroupStatusDeleting,
78790		ModelPackageGroupStatusDeleteFailed,
78791	}
78792}
78793
78794const (
78795	// ModelPackageSortByName is a ModelPackageSortBy enum value
78796	ModelPackageSortByName = "Name"
78797
78798	// ModelPackageSortByCreationTime is a ModelPackageSortBy enum value
78799	ModelPackageSortByCreationTime = "CreationTime"
78800)
78801
78802// ModelPackageSortBy_Values returns all elements of the ModelPackageSortBy enum
78803func ModelPackageSortBy_Values() []string {
78804	return []string{
78805		ModelPackageSortByName,
78806		ModelPackageSortByCreationTime,
78807	}
78808}
78809
78810const (
78811	// ModelPackageStatusPending is a ModelPackageStatus enum value
78812	ModelPackageStatusPending = "Pending"
78813
78814	// ModelPackageStatusInProgress is a ModelPackageStatus enum value
78815	ModelPackageStatusInProgress = "InProgress"
78816
78817	// ModelPackageStatusCompleted is a ModelPackageStatus enum value
78818	ModelPackageStatusCompleted = "Completed"
78819
78820	// ModelPackageStatusFailed is a ModelPackageStatus enum value
78821	ModelPackageStatusFailed = "Failed"
78822
78823	// ModelPackageStatusDeleting is a ModelPackageStatus enum value
78824	ModelPackageStatusDeleting = "Deleting"
78825)
78826
78827// ModelPackageStatus_Values returns all elements of the ModelPackageStatus enum
78828func ModelPackageStatus_Values() []string {
78829	return []string{
78830		ModelPackageStatusPending,
78831		ModelPackageStatusInProgress,
78832		ModelPackageStatusCompleted,
78833		ModelPackageStatusFailed,
78834		ModelPackageStatusDeleting,
78835	}
78836}
78837
78838const (
78839	// ModelPackageTypeVersioned is a ModelPackageType enum value
78840	ModelPackageTypeVersioned = "Versioned"
78841
78842	// ModelPackageTypeUnversioned is a ModelPackageType enum value
78843	ModelPackageTypeUnversioned = "Unversioned"
78844
78845	// ModelPackageTypeBoth is a ModelPackageType enum value
78846	ModelPackageTypeBoth = "Both"
78847)
78848
78849// ModelPackageType_Values returns all elements of the ModelPackageType enum
78850func ModelPackageType_Values() []string {
78851	return []string{
78852		ModelPackageTypeVersioned,
78853		ModelPackageTypeUnversioned,
78854		ModelPackageTypeBoth,
78855	}
78856}
78857
78858const (
78859	// ModelSortKeyName is a ModelSortKey enum value
78860	ModelSortKeyName = "Name"
78861
78862	// ModelSortKeyCreationTime is a ModelSortKey enum value
78863	ModelSortKeyCreationTime = "CreationTime"
78864)
78865
78866// ModelSortKey_Values returns all elements of the ModelSortKey enum
78867func ModelSortKey_Values() []string {
78868	return []string{
78869		ModelSortKeyName,
78870		ModelSortKeyCreationTime,
78871	}
78872}
78873
78874const (
78875	// MonitoringExecutionSortKeyCreationTime is a MonitoringExecutionSortKey enum value
78876	MonitoringExecutionSortKeyCreationTime = "CreationTime"
78877
78878	// MonitoringExecutionSortKeyScheduledTime is a MonitoringExecutionSortKey enum value
78879	MonitoringExecutionSortKeyScheduledTime = "ScheduledTime"
78880
78881	// MonitoringExecutionSortKeyStatus is a MonitoringExecutionSortKey enum value
78882	MonitoringExecutionSortKeyStatus = "Status"
78883)
78884
78885// MonitoringExecutionSortKey_Values returns all elements of the MonitoringExecutionSortKey enum
78886func MonitoringExecutionSortKey_Values() []string {
78887	return []string{
78888		MonitoringExecutionSortKeyCreationTime,
78889		MonitoringExecutionSortKeyScheduledTime,
78890		MonitoringExecutionSortKeyStatus,
78891	}
78892}
78893
78894const (
78895	// MonitoringJobDefinitionSortKeyName is a MonitoringJobDefinitionSortKey enum value
78896	MonitoringJobDefinitionSortKeyName = "Name"
78897
78898	// MonitoringJobDefinitionSortKeyCreationTime is a MonitoringJobDefinitionSortKey enum value
78899	MonitoringJobDefinitionSortKeyCreationTime = "CreationTime"
78900)
78901
78902// MonitoringJobDefinitionSortKey_Values returns all elements of the MonitoringJobDefinitionSortKey enum
78903func MonitoringJobDefinitionSortKey_Values() []string {
78904	return []string{
78905		MonitoringJobDefinitionSortKeyName,
78906		MonitoringJobDefinitionSortKeyCreationTime,
78907	}
78908}
78909
78910const (
78911	// MonitoringProblemTypeBinaryClassification is a MonitoringProblemType enum value
78912	MonitoringProblemTypeBinaryClassification = "BinaryClassification"
78913
78914	// MonitoringProblemTypeMulticlassClassification is a MonitoringProblemType enum value
78915	MonitoringProblemTypeMulticlassClassification = "MulticlassClassification"
78916
78917	// MonitoringProblemTypeRegression is a MonitoringProblemType enum value
78918	MonitoringProblemTypeRegression = "Regression"
78919)
78920
78921// MonitoringProblemType_Values returns all elements of the MonitoringProblemType enum
78922func MonitoringProblemType_Values() []string {
78923	return []string{
78924		MonitoringProblemTypeBinaryClassification,
78925		MonitoringProblemTypeMulticlassClassification,
78926		MonitoringProblemTypeRegression,
78927	}
78928}
78929
78930const (
78931	// MonitoringScheduleSortKeyName is a MonitoringScheduleSortKey enum value
78932	MonitoringScheduleSortKeyName = "Name"
78933
78934	// MonitoringScheduleSortKeyCreationTime is a MonitoringScheduleSortKey enum value
78935	MonitoringScheduleSortKeyCreationTime = "CreationTime"
78936
78937	// MonitoringScheduleSortKeyStatus is a MonitoringScheduleSortKey enum value
78938	MonitoringScheduleSortKeyStatus = "Status"
78939)
78940
78941// MonitoringScheduleSortKey_Values returns all elements of the MonitoringScheduleSortKey enum
78942func MonitoringScheduleSortKey_Values() []string {
78943	return []string{
78944		MonitoringScheduleSortKeyName,
78945		MonitoringScheduleSortKeyCreationTime,
78946		MonitoringScheduleSortKeyStatus,
78947	}
78948}
78949
78950const (
78951	// MonitoringTypeDataQuality is a MonitoringType enum value
78952	MonitoringTypeDataQuality = "DataQuality"
78953
78954	// MonitoringTypeModelQuality is a MonitoringType enum value
78955	MonitoringTypeModelQuality = "ModelQuality"
78956
78957	// MonitoringTypeModelBias is a MonitoringType enum value
78958	MonitoringTypeModelBias = "ModelBias"
78959
78960	// MonitoringTypeModelExplainability is a MonitoringType enum value
78961	MonitoringTypeModelExplainability = "ModelExplainability"
78962)
78963
78964// MonitoringType_Values returns all elements of the MonitoringType enum
78965func MonitoringType_Values() []string {
78966	return []string{
78967		MonitoringTypeDataQuality,
78968		MonitoringTypeModelQuality,
78969		MonitoringTypeModelBias,
78970		MonitoringTypeModelExplainability,
78971	}
78972}
78973
78974const (
78975	// NotebookInstanceAcceleratorTypeMlEia1Medium is a NotebookInstanceAcceleratorType enum value
78976	NotebookInstanceAcceleratorTypeMlEia1Medium = "ml.eia1.medium"
78977
78978	// NotebookInstanceAcceleratorTypeMlEia1Large is a NotebookInstanceAcceleratorType enum value
78979	NotebookInstanceAcceleratorTypeMlEia1Large = "ml.eia1.large"
78980
78981	// NotebookInstanceAcceleratorTypeMlEia1Xlarge is a NotebookInstanceAcceleratorType enum value
78982	NotebookInstanceAcceleratorTypeMlEia1Xlarge = "ml.eia1.xlarge"
78983
78984	// NotebookInstanceAcceleratorTypeMlEia2Medium is a NotebookInstanceAcceleratorType enum value
78985	NotebookInstanceAcceleratorTypeMlEia2Medium = "ml.eia2.medium"
78986
78987	// NotebookInstanceAcceleratorTypeMlEia2Large is a NotebookInstanceAcceleratorType enum value
78988	NotebookInstanceAcceleratorTypeMlEia2Large = "ml.eia2.large"
78989
78990	// NotebookInstanceAcceleratorTypeMlEia2Xlarge is a NotebookInstanceAcceleratorType enum value
78991	NotebookInstanceAcceleratorTypeMlEia2Xlarge = "ml.eia2.xlarge"
78992)
78993
78994// NotebookInstanceAcceleratorType_Values returns all elements of the NotebookInstanceAcceleratorType enum
78995func NotebookInstanceAcceleratorType_Values() []string {
78996	return []string{
78997		NotebookInstanceAcceleratorTypeMlEia1Medium,
78998		NotebookInstanceAcceleratorTypeMlEia1Large,
78999		NotebookInstanceAcceleratorTypeMlEia1Xlarge,
79000		NotebookInstanceAcceleratorTypeMlEia2Medium,
79001		NotebookInstanceAcceleratorTypeMlEia2Large,
79002		NotebookInstanceAcceleratorTypeMlEia2Xlarge,
79003	}
79004}
79005
79006const (
79007	// NotebookInstanceLifecycleConfigSortKeyName is a NotebookInstanceLifecycleConfigSortKey enum value
79008	NotebookInstanceLifecycleConfigSortKeyName = "Name"
79009
79010	// NotebookInstanceLifecycleConfigSortKeyCreationTime is a NotebookInstanceLifecycleConfigSortKey enum value
79011	NotebookInstanceLifecycleConfigSortKeyCreationTime = "CreationTime"
79012
79013	// NotebookInstanceLifecycleConfigSortKeyLastModifiedTime is a NotebookInstanceLifecycleConfigSortKey enum value
79014	NotebookInstanceLifecycleConfigSortKeyLastModifiedTime = "LastModifiedTime"
79015)
79016
79017// NotebookInstanceLifecycleConfigSortKey_Values returns all elements of the NotebookInstanceLifecycleConfigSortKey enum
79018func NotebookInstanceLifecycleConfigSortKey_Values() []string {
79019	return []string{
79020		NotebookInstanceLifecycleConfigSortKeyName,
79021		NotebookInstanceLifecycleConfigSortKeyCreationTime,
79022		NotebookInstanceLifecycleConfigSortKeyLastModifiedTime,
79023	}
79024}
79025
79026const (
79027	// NotebookInstanceLifecycleConfigSortOrderAscending is a NotebookInstanceLifecycleConfigSortOrder enum value
79028	NotebookInstanceLifecycleConfigSortOrderAscending = "Ascending"
79029
79030	// NotebookInstanceLifecycleConfigSortOrderDescending is a NotebookInstanceLifecycleConfigSortOrder enum value
79031	NotebookInstanceLifecycleConfigSortOrderDescending = "Descending"
79032)
79033
79034// NotebookInstanceLifecycleConfigSortOrder_Values returns all elements of the NotebookInstanceLifecycleConfigSortOrder enum
79035func NotebookInstanceLifecycleConfigSortOrder_Values() []string {
79036	return []string{
79037		NotebookInstanceLifecycleConfigSortOrderAscending,
79038		NotebookInstanceLifecycleConfigSortOrderDescending,
79039	}
79040}
79041
79042const (
79043	// NotebookInstanceSortKeyName is a NotebookInstanceSortKey enum value
79044	NotebookInstanceSortKeyName = "Name"
79045
79046	// NotebookInstanceSortKeyCreationTime is a NotebookInstanceSortKey enum value
79047	NotebookInstanceSortKeyCreationTime = "CreationTime"
79048
79049	// NotebookInstanceSortKeyStatus is a NotebookInstanceSortKey enum value
79050	NotebookInstanceSortKeyStatus = "Status"
79051)
79052
79053// NotebookInstanceSortKey_Values returns all elements of the NotebookInstanceSortKey enum
79054func NotebookInstanceSortKey_Values() []string {
79055	return []string{
79056		NotebookInstanceSortKeyName,
79057		NotebookInstanceSortKeyCreationTime,
79058		NotebookInstanceSortKeyStatus,
79059	}
79060}
79061
79062const (
79063	// NotebookInstanceSortOrderAscending is a NotebookInstanceSortOrder enum value
79064	NotebookInstanceSortOrderAscending = "Ascending"
79065
79066	// NotebookInstanceSortOrderDescending is a NotebookInstanceSortOrder enum value
79067	NotebookInstanceSortOrderDescending = "Descending"
79068)
79069
79070// NotebookInstanceSortOrder_Values returns all elements of the NotebookInstanceSortOrder enum
79071func NotebookInstanceSortOrder_Values() []string {
79072	return []string{
79073		NotebookInstanceSortOrderAscending,
79074		NotebookInstanceSortOrderDescending,
79075	}
79076}
79077
79078const (
79079	// NotebookInstanceStatusPending is a NotebookInstanceStatus enum value
79080	NotebookInstanceStatusPending = "Pending"
79081
79082	// NotebookInstanceStatusInService is a NotebookInstanceStatus enum value
79083	NotebookInstanceStatusInService = "InService"
79084
79085	// NotebookInstanceStatusStopping is a NotebookInstanceStatus enum value
79086	NotebookInstanceStatusStopping = "Stopping"
79087
79088	// NotebookInstanceStatusStopped is a NotebookInstanceStatus enum value
79089	NotebookInstanceStatusStopped = "Stopped"
79090
79091	// NotebookInstanceStatusFailed is a NotebookInstanceStatus enum value
79092	NotebookInstanceStatusFailed = "Failed"
79093
79094	// NotebookInstanceStatusDeleting is a NotebookInstanceStatus enum value
79095	NotebookInstanceStatusDeleting = "Deleting"
79096
79097	// NotebookInstanceStatusUpdating is a NotebookInstanceStatus enum value
79098	NotebookInstanceStatusUpdating = "Updating"
79099)
79100
79101// NotebookInstanceStatus_Values returns all elements of the NotebookInstanceStatus enum
79102func NotebookInstanceStatus_Values() []string {
79103	return []string{
79104		NotebookInstanceStatusPending,
79105		NotebookInstanceStatusInService,
79106		NotebookInstanceStatusStopping,
79107		NotebookInstanceStatusStopped,
79108		NotebookInstanceStatusFailed,
79109		NotebookInstanceStatusDeleting,
79110		NotebookInstanceStatusUpdating,
79111	}
79112}
79113
79114const (
79115	// NotebookOutputOptionAllowed is a NotebookOutputOption enum value
79116	NotebookOutputOptionAllowed = "Allowed"
79117
79118	// NotebookOutputOptionDisabled is a NotebookOutputOption enum value
79119	NotebookOutputOptionDisabled = "Disabled"
79120)
79121
79122// NotebookOutputOption_Values returns all elements of the NotebookOutputOption enum
79123func NotebookOutputOption_Values() []string {
79124	return []string{
79125		NotebookOutputOptionAllowed,
79126		NotebookOutputOptionDisabled,
79127	}
79128}
79129
79130const (
79131	// ObjectiveStatusSucceeded is a ObjectiveStatus enum value
79132	ObjectiveStatusSucceeded = "Succeeded"
79133
79134	// ObjectiveStatusPending is a ObjectiveStatus enum value
79135	ObjectiveStatusPending = "Pending"
79136
79137	// ObjectiveStatusFailed is a ObjectiveStatus enum value
79138	ObjectiveStatusFailed = "Failed"
79139)
79140
79141// ObjectiveStatus_Values returns all elements of the ObjectiveStatus enum
79142func ObjectiveStatus_Values() []string {
79143	return []string{
79144		ObjectiveStatusSucceeded,
79145		ObjectiveStatusPending,
79146		ObjectiveStatusFailed,
79147	}
79148}
79149
79150const (
79151	// OfflineStoreStatusValueActive is a OfflineStoreStatusValue enum value
79152	OfflineStoreStatusValueActive = "Active"
79153
79154	// OfflineStoreStatusValueBlocked is a OfflineStoreStatusValue enum value
79155	OfflineStoreStatusValueBlocked = "Blocked"
79156
79157	// OfflineStoreStatusValueDisabled is a OfflineStoreStatusValue enum value
79158	OfflineStoreStatusValueDisabled = "Disabled"
79159)
79160
79161// OfflineStoreStatusValue_Values returns all elements of the OfflineStoreStatusValue enum
79162func OfflineStoreStatusValue_Values() []string {
79163	return []string{
79164		OfflineStoreStatusValueActive,
79165		OfflineStoreStatusValueBlocked,
79166		OfflineStoreStatusValueDisabled,
79167	}
79168}
79169
79170const (
79171	// OperatorEquals is a Operator enum value
79172	OperatorEquals = "Equals"
79173
79174	// OperatorNotEquals is a Operator enum value
79175	OperatorNotEquals = "NotEquals"
79176
79177	// OperatorGreaterThan is a Operator enum value
79178	OperatorGreaterThan = "GreaterThan"
79179
79180	// OperatorGreaterThanOrEqualTo is a Operator enum value
79181	OperatorGreaterThanOrEqualTo = "GreaterThanOrEqualTo"
79182
79183	// OperatorLessThan is a Operator enum value
79184	OperatorLessThan = "LessThan"
79185
79186	// OperatorLessThanOrEqualTo is a Operator enum value
79187	OperatorLessThanOrEqualTo = "LessThanOrEqualTo"
79188
79189	// OperatorContains is a Operator enum value
79190	OperatorContains = "Contains"
79191
79192	// OperatorExists is a Operator enum value
79193	OperatorExists = "Exists"
79194
79195	// OperatorNotExists is a Operator enum value
79196	OperatorNotExists = "NotExists"
79197
79198	// OperatorIn is a Operator enum value
79199	OperatorIn = "In"
79200)
79201
79202// Operator_Values returns all elements of the Operator enum
79203func Operator_Values() []string {
79204	return []string{
79205		OperatorEquals,
79206		OperatorNotEquals,
79207		OperatorGreaterThan,
79208		OperatorGreaterThanOrEqualTo,
79209		OperatorLessThan,
79210		OperatorLessThanOrEqualTo,
79211		OperatorContains,
79212		OperatorExists,
79213		OperatorNotExists,
79214		OperatorIn,
79215	}
79216}
79217
79218const (
79219	// OrderKeyAscending is a OrderKey enum value
79220	OrderKeyAscending = "Ascending"
79221
79222	// OrderKeyDescending is a OrderKey enum value
79223	OrderKeyDescending = "Descending"
79224)
79225
79226// OrderKey_Values returns all elements of the OrderKey enum
79227func OrderKey_Values() []string {
79228	return []string{
79229		OrderKeyAscending,
79230		OrderKeyDescending,
79231	}
79232}
79233
79234const (
79235	// ParameterTypeInteger is a ParameterType enum value
79236	ParameterTypeInteger = "Integer"
79237
79238	// ParameterTypeContinuous is a ParameterType enum value
79239	ParameterTypeContinuous = "Continuous"
79240
79241	// ParameterTypeCategorical is a ParameterType enum value
79242	ParameterTypeCategorical = "Categorical"
79243
79244	// ParameterTypeFreeText is a ParameterType enum value
79245	ParameterTypeFreeText = "FreeText"
79246)
79247
79248// ParameterType_Values returns all elements of the ParameterType enum
79249func ParameterType_Values() []string {
79250	return []string{
79251		ParameterTypeInteger,
79252		ParameterTypeContinuous,
79253		ParameterTypeCategorical,
79254		ParameterTypeFreeText,
79255	}
79256}
79257
79258const (
79259	// PipelineExecutionStatusExecuting is a PipelineExecutionStatus enum value
79260	PipelineExecutionStatusExecuting = "Executing"
79261
79262	// PipelineExecutionStatusStopping is a PipelineExecutionStatus enum value
79263	PipelineExecutionStatusStopping = "Stopping"
79264
79265	// PipelineExecutionStatusStopped is a PipelineExecutionStatus enum value
79266	PipelineExecutionStatusStopped = "Stopped"
79267
79268	// PipelineExecutionStatusFailed is a PipelineExecutionStatus enum value
79269	PipelineExecutionStatusFailed = "Failed"
79270
79271	// PipelineExecutionStatusSucceeded is a PipelineExecutionStatus enum value
79272	PipelineExecutionStatusSucceeded = "Succeeded"
79273)
79274
79275// PipelineExecutionStatus_Values returns all elements of the PipelineExecutionStatus enum
79276func PipelineExecutionStatus_Values() []string {
79277	return []string{
79278		PipelineExecutionStatusExecuting,
79279		PipelineExecutionStatusStopping,
79280		PipelineExecutionStatusStopped,
79281		PipelineExecutionStatusFailed,
79282		PipelineExecutionStatusSucceeded,
79283	}
79284}
79285
79286const (
79287	// PipelineStatusActive is a PipelineStatus enum value
79288	PipelineStatusActive = "Active"
79289)
79290
79291// PipelineStatus_Values returns all elements of the PipelineStatus enum
79292func PipelineStatus_Values() []string {
79293	return []string{
79294		PipelineStatusActive,
79295	}
79296}
79297
79298const (
79299	// ProblemTypeBinaryClassification is a ProblemType enum value
79300	ProblemTypeBinaryClassification = "BinaryClassification"
79301
79302	// ProblemTypeMulticlassClassification is a ProblemType enum value
79303	ProblemTypeMulticlassClassification = "MulticlassClassification"
79304
79305	// ProblemTypeRegression is a ProblemType enum value
79306	ProblemTypeRegression = "Regression"
79307)
79308
79309// ProblemType_Values returns all elements of the ProblemType enum
79310func ProblemType_Values() []string {
79311	return []string{
79312		ProblemTypeBinaryClassification,
79313		ProblemTypeMulticlassClassification,
79314		ProblemTypeRegression,
79315	}
79316}
79317
79318const (
79319	// ProcessingInstanceTypeMlT3Medium is a ProcessingInstanceType enum value
79320	ProcessingInstanceTypeMlT3Medium = "ml.t3.medium"
79321
79322	// ProcessingInstanceTypeMlT3Large is a ProcessingInstanceType enum value
79323	ProcessingInstanceTypeMlT3Large = "ml.t3.large"
79324
79325	// ProcessingInstanceTypeMlT3Xlarge is a ProcessingInstanceType enum value
79326	ProcessingInstanceTypeMlT3Xlarge = "ml.t3.xlarge"
79327
79328	// ProcessingInstanceTypeMlT32xlarge is a ProcessingInstanceType enum value
79329	ProcessingInstanceTypeMlT32xlarge = "ml.t3.2xlarge"
79330
79331	// ProcessingInstanceTypeMlM4Xlarge is a ProcessingInstanceType enum value
79332	ProcessingInstanceTypeMlM4Xlarge = "ml.m4.xlarge"
79333
79334	// ProcessingInstanceTypeMlM42xlarge is a ProcessingInstanceType enum value
79335	ProcessingInstanceTypeMlM42xlarge = "ml.m4.2xlarge"
79336
79337	// ProcessingInstanceTypeMlM44xlarge is a ProcessingInstanceType enum value
79338	ProcessingInstanceTypeMlM44xlarge = "ml.m4.4xlarge"
79339
79340	// ProcessingInstanceTypeMlM410xlarge is a ProcessingInstanceType enum value
79341	ProcessingInstanceTypeMlM410xlarge = "ml.m4.10xlarge"
79342
79343	// ProcessingInstanceTypeMlM416xlarge is a ProcessingInstanceType enum value
79344	ProcessingInstanceTypeMlM416xlarge = "ml.m4.16xlarge"
79345
79346	// ProcessingInstanceTypeMlC4Xlarge is a ProcessingInstanceType enum value
79347	ProcessingInstanceTypeMlC4Xlarge = "ml.c4.xlarge"
79348
79349	// ProcessingInstanceTypeMlC42xlarge is a ProcessingInstanceType enum value
79350	ProcessingInstanceTypeMlC42xlarge = "ml.c4.2xlarge"
79351
79352	// ProcessingInstanceTypeMlC44xlarge is a ProcessingInstanceType enum value
79353	ProcessingInstanceTypeMlC44xlarge = "ml.c4.4xlarge"
79354
79355	// ProcessingInstanceTypeMlC48xlarge is a ProcessingInstanceType enum value
79356	ProcessingInstanceTypeMlC48xlarge = "ml.c4.8xlarge"
79357
79358	// ProcessingInstanceTypeMlP2Xlarge is a ProcessingInstanceType enum value
79359	ProcessingInstanceTypeMlP2Xlarge = "ml.p2.xlarge"
79360
79361	// ProcessingInstanceTypeMlP28xlarge is a ProcessingInstanceType enum value
79362	ProcessingInstanceTypeMlP28xlarge = "ml.p2.8xlarge"
79363
79364	// ProcessingInstanceTypeMlP216xlarge is a ProcessingInstanceType enum value
79365	ProcessingInstanceTypeMlP216xlarge = "ml.p2.16xlarge"
79366
79367	// ProcessingInstanceTypeMlP32xlarge is a ProcessingInstanceType enum value
79368	ProcessingInstanceTypeMlP32xlarge = "ml.p3.2xlarge"
79369
79370	// ProcessingInstanceTypeMlP38xlarge is a ProcessingInstanceType enum value
79371	ProcessingInstanceTypeMlP38xlarge = "ml.p3.8xlarge"
79372
79373	// ProcessingInstanceTypeMlP316xlarge is a ProcessingInstanceType enum value
79374	ProcessingInstanceTypeMlP316xlarge = "ml.p3.16xlarge"
79375
79376	// ProcessingInstanceTypeMlC5Xlarge is a ProcessingInstanceType enum value
79377	ProcessingInstanceTypeMlC5Xlarge = "ml.c5.xlarge"
79378
79379	// ProcessingInstanceTypeMlC52xlarge is a ProcessingInstanceType enum value
79380	ProcessingInstanceTypeMlC52xlarge = "ml.c5.2xlarge"
79381
79382	// ProcessingInstanceTypeMlC54xlarge is a ProcessingInstanceType enum value
79383	ProcessingInstanceTypeMlC54xlarge = "ml.c5.4xlarge"
79384
79385	// ProcessingInstanceTypeMlC59xlarge is a ProcessingInstanceType enum value
79386	ProcessingInstanceTypeMlC59xlarge = "ml.c5.9xlarge"
79387
79388	// ProcessingInstanceTypeMlC518xlarge is a ProcessingInstanceType enum value
79389	ProcessingInstanceTypeMlC518xlarge = "ml.c5.18xlarge"
79390
79391	// ProcessingInstanceTypeMlM5Large is a ProcessingInstanceType enum value
79392	ProcessingInstanceTypeMlM5Large = "ml.m5.large"
79393
79394	// ProcessingInstanceTypeMlM5Xlarge is a ProcessingInstanceType enum value
79395	ProcessingInstanceTypeMlM5Xlarge = "ml.m5.xlarge"
79396
79397	// ProcessingInstanceTypeMlM52xlarge is a ProcessingInstanceType enum value
79398	ProcessingInstanceTypeMlM52xlarge = "ml.m5.2xlarge"
79399
79400	// ProcessingInstanceTypeMlM54xlarge is a ProcessingInstanceType enum value
79401	ProcessingInstanceTypeMlM54xlarge = "ml.m5.4xlarge"
79402
79403	// ProcessingInstanceTypeMlM512xlarge is a ProcessingInstanceType enum value
79404	ProcessingInstanceTypeMlM512xlarge = "ml.m5.12xlarge"
79405
79406	// ProcessingInstanceTypeMlM524xlarge is a ProcessingInstanceType enum value
79407	ProcessingInstanceTypeMlM524xlarge = "ml.m5.24xlarge"
79408
79409	// ProcessingInstanceTypeMlR5Large is a ProcessingInstanceType enum value
79410	ProcessingInstanceTypeMlR5Large = "ml.r5.large"
79411
79412	// ProcessingInstanceTypeMlR5Xlarge is a ProcessingInstanceType enum value
79413	ProcessingInstanceTypeMlR5Xlarge = "ml.r5.xlarge"
79414
79415	// ProcessingInstanceTypeMlR52xlarge is a ProcessingInstanceType enum value
79416	ProcessingInstanceTypeMlR52xlarge = "ml.r5.2xlarge"
79417
79418	// ProcessingInstanceTypeMlR54xlarge is a ProcessingInstanceType enum value
79419	ProcessingInstanceTypeMlR54xlarge = "ml.r5.4xlarge"
79420
79421	// ProcessingInstanceTypeMlR58xlarge is a ProcessingInstanceType enum value
79422	ProcessingInstanceTypeMlR58xlarge = "ml.r5.8xlarge"
79423
79424	// ProcessingInstanceTypeMlR512xlarge is a ProcessingInstanceType enum value
79425	ProcessingInstanceTypeMlR512xlarge = "ml.r5.12xlarge"
79426
79427	// ProcessingInstanceTypeMlR516xlarge is a ProcessingInstanceType enum value
79428	ProcessingInstanceTypeMlR516xlarge = "ml.r5.16xlarge"
79429
79430	// ProcessingInstanceTypeMlR524xlarge is a ProcessingInstanceType enum value
79431	ProcessingInstanceTypeMlR524xlarge = "ml.r5.24xlarge"
79432)
79433
79434// ProcessingInstanceType_Values returns all elements of the ProcessingInstanceType enum
79435func ProcessingInstanceType_Values() []string {
79436	return []string{
79437		ProcessingInstanceTypeMlT3Medium,
79438		ProcessingInstanceTypeMlT3Large,
79439		ProcessingInstanceTypeMlT3Xlarge,
79440		ProcessingInstanceTypeMlT32xlarge,
79441		ProcessingInstanceTypeMlM4Xlarge,
79442		ProcessingInstanceTypeMlM42xlarge,
79443		ProcessingInstanceTypeMlM44xlarge,
79444		ProcessingInstanceTypeMlM410xlarge,
79445		ProcessingInstanceTypeMlM416xlarge,
79446		ProcessingInstanceTypeMlC4Xlarge,
79447		ProcessingInstanceTypeMlC42xlarge,
79448		ProcessingInstanceTypeMlC44xlarge,
79449		ProcessingInstanceTypeMlC48xlarge,
79450		ProcessingInstanceTypeMlP2Xlarge,
79451		ProcessingInstanceTypeMlP28xlarge,
79452		ProcessingInstanceTypeMlP216xlarge,
79453		ProcessingInstanceTypeMlP32xlarge,
79454		ProcessingInstanceTypeMlP38xlarge,
79455		ProcessingInstanceTypeMlP316xlarge,
79456		ProcessingInstanceTypeMlC5Xlarge,
79457		ProcessingInstanceTypeMlC52xlarge,
79458		ProcessingInstanceTypeMlC54xlarge,
79459		ProcessingInstanceTypeMlC59xlarge,
79460		ProcessingInstanceTypeMlC518xlarge,
79461		ProcessingInstanceTypeMlM5Large,
79462		ProcessingInstanceTypeMlM5Xlarge,
79463		ProcessingInstanceTypeMlM52xlarge,
79464		ProcessingInstanceTypeMlM54xlarge,
79465		ProcessingInstanceTypeMlM512xlarge,
79466		ProcessingInstanceTypeMlM524xlarge,
79467		ProcessingInstanceTypeMlR5Large,
79468		ProcessingInstanceTypeMlR5Xlarge,
79469		ProcessingInstanceTypeMlR52xlarge,
79470		ProcessingInstanceTypeMlR54xlarge,
79471		ProcessingInstanceTypeMlR58xlarge,
79472		ProcessingInstanceTypeMlR512xlarge,
79473		ProcessingInstanceTypeMlR516xlarge,
79474		ProcessingInstanceTypeMlR524xlarge,
79475	}
79476}
79477
79478const (
79479	// ProcessingJobStatusInProgress is a ProcessingJobStatus enum value
79480	ProcessingJobStatusInProgress = "InProgress"
79481
79482	// ProcessingJobStatusCompleted is a ProcessingJobStatus enum value
79483	ProcessingJobStatusCompleted = "Completed"
79484
79485	// ProcessingJobStatusFailed is a ProcessingJobStatus enum value
79486	ProcessingJobStatusFailed = "Failed"
79487
79488	// ProcessingJobStatusStopping is a ProcessingJobStatus enum value
79489	ProcessingJobStatusStopping = "Stopping"
79490
79491	// ProcessingJobStatusStopped is a ProcessingJobStatus enum value
79492	ProcessingJobStatusStopped = "Stopped"
79493)
79494
79495// ProcessingJobStatus_Values returns all elements of the ProcessingJobStatus enum
79496func ProcessingJobStatus_Values() []string {
79497	return []string{
79498		ProcessingJobStatusInProgress,
79499		ProcessingJobStatusCompleted,
79500		ProcessingJobStatusFailed,
79501		ProcessingJobStatusStopping,
79502		ProcessingJobStatusStopped,
79503	}
79504}
79505
79506const (
79507	// ProcessingS3CompressionTypeNone is a ProcessingS3CompressionType enum value
79508	ProcessingS3CompressionTypeNone = "None"
79509
79510	// ProcessingS3CompressionTypeGzip is a ProcessingS3CompressionType enum value
79511	ProcessingS3CompressionTypeGzip = "Gzip"
79512)
79513
79514// ProcessingS3CompressionType_Values returns all elements of the ProcessingS3CompressionType enum
79515func ProcessingS3CompressionType_Values() []string {
79516	return []string{
79517		ProcessingS3CompressionTypeNone,
79518		ProcessingS3CompressionTypeGzip,
79519	}
79520}
79521
79522const (
79523	// ProcessingS3DataDistributionTypeFullyReplicated is a ProcessingS3DataDistributionType enum value
79524	ProcessingS3DataDistributionTypeFullyReplicated = "FullyReplicated"
79525
79526	// ProcessingS3DataDistributionTypeShardedByS3key is a ProcessingS3DataDistributionType enum value
79527	ProcessingS3DataDistributionTypeShardedByS3key = "ShardedByS3Key"
79528)
79529
79530// ProcessingS3DataDistributionType_Values returns all elements of the ProcessingS3DataDistributionType enum
79531func ProcessingS3DataDistributionType_Values() []string {
79532	return []string{
79533		ProcessingS3DataDistributionTypeFullyReplicated,
79534		ProcessingS3DataDistributionTypeShardedByS3key,
79535	}
79536}
79537
79538const (
79539	// ProcessingS3DataTypeManifestFile is a ProcessingS3DataType enum value
79540	ProcessingS3DataTypeManifestFile = "ManifestFile"
79541
79542	// ProcessingS3DataTypeS3prefix is a ProcessingS3DataType enum value
79543	ProcessingS3DataTypeS3prefix = "S3Prefix"
79544)
79545
79546// ProcessingS3DataType_Values returns all elements of the ProcessingS3DataType enum
79547func ProcessingS3DataType_Values() []string {
79548	return []string{
79549		ProcessingS3DataTypeManifestFile,
79550		ProcessingS3DataTypeS3prefix,
79551	}
79552}
79553
79554const (
79555	// ProcessingS3InputModePipe is a ProcessingS3InputMode enum value
79556	ProcessingS3InputModePipe = "Pipe"
79557
79558	// ProcessingS3InputModeFile is a ProcessingS3InputMode enum value
79559	ProcessingS3InputModeFile = "File"
79560)
79561
79562// ProcessingS3InputMode_Values returns all elements of the ProcessingS3InputMode enum
79563func ProcessingS3InputMode_Values() []string {
79564	return []string{
79565		ProcessingS3InputModePipe,
79566		ProcessingS3InputModeFile,
79567	}
79568}
79569
79570const (
79571	// ProcessingS3UploadModeContinuous is a ProcessingS3UploadMode enum value
79572	ProcessingS3UploadModeContinuous = "Continuous"
79573
79574	// ProcessingS3UploadModeEndOfJob is a ProcessingS3UploadMode enum value
79575	ProcessingS3UploadModeEndOfJob = "EndOfJob"
79576)
79577
79578// ProcessingS3UploadMode_Values returns all elements of the ProcessingS3UploadMode enum
79579func ProcessingS3UploadMode_Values() []string {
79580	return []string{
79581		ProcessingS3UploadModeContinuous,
79582		ProcessingS3UploadModeEndOfJob,
79583	}
79584}
79585
79586const (
79587	// ProductionVariantAcceleratorTypeMlEia1Medium is a ProductionVariantAcceleratorType enum value
79588	ProductionVariantAcceleratorTypeMlEia1Medium = "ml.eia1.medium"
79589
79590	// ProductionVariantAcceleratorTypeMlEia1Large is a ProductionVariantAcceleratorType enum value
79591	ProductionVariantAcceleratorTypeMlEia1Large = "ml.eia1.large"
79592
79593	// ProductionVariantAcceleratorTypeMlEia1Xlarge is a ProductionVariantAcceleratorType enum value
79594	ProductionVariantAcceleratorTypeMlEia1Xlarge = "ml.eia1.xlarge"
79595
79596	// ProductionVariantAcceleratorTypeMlEia2Medium is a ProductionVariantAcceleratorType enum value
79597	ProductionVariantAcceleratorTypeMlEia2Medium = "ml.eia2.medium"
79598
79599	// ProductionVariantAcceleratorTypeMlEia2Large is a ProductionVariantAcceleratorType enum value
79600	ProductionVariantAcceleratorTypeMlEia2Large = "ml.eia2.large"
79601
79602	// ProductionVariantAcceleratorTypeMlEia2Xlarge is a ProductionVariantAcceleratorType enum value
79603	ProductionVariantAcceleratorTypeMlEia2Xlarge = "ml.eia2.xlarge"
79604)
79605
79606// ProductionVariantAcceleratorType_Values returns all elements of the ProductionVariantAcceleratorType enum
79607func ProductionVariantAcceleratorType_Values() []string {
79608	return []string{
79609		ProductionVariantAcceleratorTypeMlEia1Medium,
79610		ProductionVariantAcceleratorTypeMlEia1Large,
79611		ProductionVariantAcceleratorTypeMlEia1Xlarge,
79612		ProductionVariantAcceleratorTypeMlEia2Medium,
79613		ProductionVariantAcceleratorTypeMlEia2Large,
79614		ProductionVariantAcceleratorTypeMlEia2Xlarge,
79615	}
79616}
79617
79618const (
79619	// ProductionVariantInstanceTypeMlT2Medium is a ProductionVariantInstanceType enum value
79620	ProductionVariantInstanceTypeMlT2Medium = "ml.t2.medium"
79621
79622	// ProductionVariantInstanceTypeMlT2Large is a ProductionVariantInstanceType enum value
79623	ProductionVariantInstanceTypeMlT2Large = "ml.t2.large"
79624
79625	// ProductionVariantInstanceTypeMlT2Xlarge is a ProductionVariantInstanceType enum value
79626	ProductionVariantInstanceTypeMlT2Xlarge = "ml.t2.xlarge"
79627
79628	// ProductionVariantInstanceTypeMlT22xlarge is a ProductionVariantInstanceType enum value
79629	ProductionVariantInstanceTypeMlT22xlarge = "ml.t2.2xlarge"
79630
79631	// ProductionVariantInstanceTypeMlM4Xlarge is a ProductionVariantInstanceType enum value
79632	ProductionVariantInstanceTypeMlM4Xlarge = "ml.m4.xlarge"
79633
79634	// ProductionVariantInstanceTypeMlM42xlarge is a ProductionVariantInstanceType enum value
79635	ProductionVariantInstanceTypeMlM42xlarge = "ml.m4.2xlarge"
79636
79637	// ProductionVariantInstanceTypeMlM44xlarge is a ProductionVariantInstanceType enum value
79638	ProductionVariantInstanceTypeMlM44xlarge = "ml.m4.4xlarge"
79639
79640	// ProductionVariantInstanceTypeMlM410xlarge is a ProductionVariantInstanceType enum value
79641	ProductionVariantInstanceTypeMlM410xlarge = "ml.m4.10xlarge"
79642
79643	// ProductionVariantInstanceTypeMlM416xlarge is a ProductionVariantInstanceType enum value
79644	ProductionVariantInstanceTypeMlM416xlarge = "ml.m4.16xlarge"
79645
79646	// ProductionVariantInstanceTypeMlM5Large is a ProductionVariantInstanceType enum value
79647	ProductionVariantInstanceTypeMlM5Large = "ml.m5.large"
79648
79649	// ProductionVariantInstanceTypeMlM5Xlarge is a ProductionVariantInstanceType enum value
79650	ProductionVariantInstanceTypeMlM5Xlarge = "ml.m5.xlarge"
79651
79652	// ProductionVariantInstanceTypeMlM52xlarge is a ProductionVariantInstanceType enum value
79653	ProductionVariantInstanceTypeMlM52xlarge = "ml.m5.2xlarge"
79654
79655	// ProductionVariantInstanceTypeMlM54xlarge is a ProductionVariantInstanceType enum value
79656	ProductionVariantInstanceTypeMlM54xlarge = "ml.m5.4xlarge"
79657
79658	// ProductionVariantInstanceTypeMlM512xlarge is a ProductionVariantInstanceType enum value
79659	ProductionVariantInstanceTypeMlM512xlarge = "ml.m5.12xlarge"
79660
79661	// ProductionVariantInstanceTypeMlM524xlarge is a ProductionVariantInstanceType enum value
79662	ProductionVariantInstanceTypeMlM524xlarge = "ml.m5.24xlarge"
79663
79664	// ProductionVariantInstanceTypeMlM5dLarge is a ProductionVariantInstanceType enum value
79665	ProductionVariantInstanceTypeMlM5dLarge = "ml.m5d.large"
79666
79667	// ProductionVariantInstanceTypeMlM5dXlarge is a ProductionVariantInstanceType enum value
79668	ProductionVariantInstanceTypeMlM5dXlarge = "ml.m5d.xlarge"
79669
79670	// ProductionVariantInstanceTypeMlM5d2xlarge is a ProductionVariantInstanceType enum value
79671	ProductionVariantInstanceTypeMlM5d2xlarge = "ml.m5d.2xlarge"
79672
79673	// ProductionVariantInstanceTypeMlM5d4xlarge is a ProductionVariantInstanceType enum value
79674	ProductionVariantInstanceTypeMlM5d4xlarge = "ml.m5d.4xlarge"
79675
79676	// ProductionVariantInstanceTypeMlM5d12xlarge is a ProductionVariantInstanceType enum value
79677	ProductionVariantInstanceTypeMlM5d12xlarge = "ml.m5d.12xlarge"
79678
79679	// ProductionVariantInstanceTypeMlM5d24xlarge is a ProductionVariantInstanceType enum value
79680	ProductionVariantInstanceTypeMlM5d24xlarge = "ml.m5d.24xlarge"
79681
79682	// ProductionVariantInstanceTypeMlC4Large is a ProductionVariantInstanceType enum value
79683	ProductionVariantInstanceTypeMlC4Large = "ml.c4.large"
79684
79685	// ProductionVariantInstanceTypeMlC4Xlarge is a ProductionVariantInstanceType enum value
79686	ProductionVariantInstanceTypeMlC4Xlarge = "ml.c4.xlarge"
79687
79688	// ProductionVariantInstanceTypeMlC42xlarge is a ProductionVariantInstanceType enum value
79689	ProductionVariantInstanceTypeMlC42xlarge = "ml.c4.2xlarge"
79690
79691	// ProductionVariantInstanceTypeMlC44xlarge is a ProductionVariantInstanceType enum value
79692	ProductionVariantInstanceTypeMlC44xlarge = "ml.c4.4xlarge"
79693
79694	// ProductionVariantInstanceTypeMlC48xlarge is a ProductionVariantInstanceType enum value
79695	ProductionVariantInstanceTypeMlC48xlarge = "ml.c4.8xlarge"
79696
79697	// ProductionVariantInstanceTypeMlP2Xlarge is a ProductionVariantInstanceType enum value
79698	ProductionVariantInstanceTypeMlP2Xlarge = "ml.p2.xlarge"
79699
79700	// ProductionVariantInstanceTypeMlP28xlarge is a ProductionVariantInstanceType enum value
79701	ProductionVariantInstanceTypeMlP28xlarge = "ml.p2.8xlarge"
79702
79703	// ProductionVariantInstanceTypeMlP216xlarge is a ProductionVariantInstanceType enum value
79704	ProductionVariantInstanceTypeMlP216xlarge = "ml.p2.16xlarge"
79705
79706	// ProductionVariantInstanceTypeMlP32xlarge is a ProductionVariantInstanceType enum value
79707	ProductionVariantInstanceTypeMlP32xlarge = "ml.p3.2xlarge"
79708
79709	// ProductionVariantInstanceTypeMlP38xlarge is a ProductionVariantInstanceType enum value
79710	ProductionVariantInstanceTypeMlP38xlarge = "ml.p3.8xlarge"
79711
79712	// ProductionVariantInstanceTypeMlP316xlarge is a ProductionVariantInstanceType enum value
79713	ProductionVariantInstanceTypeMlP316xlarge = "ml.p3.16xlarge"
79714
79715	// ProductionVariantInstanceTypeMlC5Large is a ProductionVariantInstanceType enum value
79716	ProductionVariantInstanceTypeMlC5Large = "ml.c5.large"
79717
79718	// ProductionVariantInstanceTypeMlC5Xlarge is a ProductionVariantInstanceType enum value
79719	ProductionVariantInstanceTypeMlC5Xlarge = "ml.c5.xlarge"
79720
79721	// ProductionVariantInstanceTypeMlC52xlarge is a ProductionVariantInstanceType enum value
79722	ProductionVariantInstanceTypeMlC52xlarge = "ml.c5.2xlarge"
79723
79724	// ProductionVariantInstanceTypeMlC54xlarge is a ProductionVariantInstanceType enum value
79725	ProductionVariantInstanceTypeMlC54xlarge = "ml.c5.4xlarge"
79726
79727	// ProductionVariantInstanceTypeMlC59xlarge is a ProductionVariantInstanceType enum value
79728	ProductionVariantInstanceTypeMlC59xlarge = "ml.c5.9xlarge"
79729
79730	// ProductionVariantInstanceTypeMlC518xlarge is a ProductionVariantInstanceType enum value
79731	ProductionVariantInstanceTypeMlC518xlarge = "ml.c5.18xlarge"
79732
79733	// ProductionVariantInstanceTypeMlC5dLarge is a ProductionVariantInstanceType enum value
79734	ProductionVariantInstanceTypeMlC5dLarge = "ml.c5d.large"
79735
79736	// ProductionVariantInstanceTypeMlC5dXlarge is a ProductionVariantInstanceType enum value
79737	ProductionVariantInstanceTypeMlC5dXlarge = "ml.c5d.xlarge"
79738
79739	// ProductionVariantInstanceTypeMlC5d2xlarge is a ProductionVariantInstanceType enum value
79740	ProductionVariantInstanceTypeMlC5d2xlarge = "ml.c5d.2xlarge"
79741
79742	// ProductionVariantInstanceTypeMlC5d4xlarge is a ProductionVariantInstanceType enum value
79743	ProductionVariantInstanceTypeMlC5d4xlarge = "ml.c5d.4xlarge"
79744
79745	// ProductionVariantInstanceTypeMlC5d9xlarge is a ProductionVariantInstanceType enum value
79746	ProductionVariantInstanceTypeMlC5d9xlarge = "ml.c5d.9xlarge"
79747
79748	// ProductionVariantInstanceTypeMlC5d18xlarge is a ProductionVariantInstanceType enum value
79749	ProductionVariantInstanceTypeMlC5d18xlarge = "ml.c5d.18xlarge"
79750
79751	// ProductionVariantInstanceTypeMlG4dnXlarge is a ProductionVariantInstanceType enum value
79752	ProductionVariantInstanceTypeMlG4dnXlarge = "ml.g4dn.xlarge"
79753
79754	// ProductionVariantInstanceTypeMlG4dn2xlarge is a ProductionVariantInstanceType enum value
79755	ProductionVariantInstanceTypeMlG4dn2xlarge = "ml.g4dn.2xlarge"
79756
79757	// ProductionVariantInstanceTypeMlG4dn4xlarge is a ProductionVariantInstanceType enum value
79758	ProductionVariantInstanceTypeMlG4dn4xlarge = "ml.g4dn.4xlarge"
79759
79760	// ProductionVariantInstanceTypeMlG4dn8xlarge is a ProductionVariantInstanceType enum value
79761	ProductionVariantInstanceTypeMlG4dn8xlarge = "ml.g4dn.8xlarge"
79762
79763	// ProductionVariantInstanceTypeMlG4dn12xlarge is a ProductionVariantInstanceType enum value
79764	ProductionVariantInstanceTypeMlG4dn12xlarge = "ml.g4dn.12xlarge"
79765
79766	// ProductionVariantInstanceTypeMlG4dn16xlarge is a ProductionVariantInstanceType enum value
79767	ProductionVariantInstanceTypeMlG4dn16xlarge = "ml.g4dn.16xlarge"
79768
79769	// ProductionVariantInstanceTypeMlR5Large is a ProductionVariantInstanceType enum value
79770	ProductionVariantInstanceTypeMlR5Large = "ml.r5.large"
79771
79772	// ProductionVariantInstanceTypeMlR5Xlarge is a ProductionVariantInstanceType enum value
79773	ProductionVariantInstanceTypeMlR5Xlarge = "ml.r5.xlarge"
79774
79775	// ProductionVariantInstanceTypeMlR52xlarge is a ProductionVariantInstanceType enum value
79776	ProductionVariantInstanceTypeMlR52xlarge = "ml.r5.2xlarge"
79777
79778	// ProductionVariantInstanceTypeMlR54xlarge is a ProductionVariantInstanceType enum value
79779	ProductionVariantInstanceTypeMlR54xlarge = "ml.r5.4xlarge"
79780
79781	// ProductionVariantInstanceTypeMlR512xlarge is a ProductionVariantInstanceType enum value
79782	ProductionVariantInstanceTypeMlR512xlarge = "ml.r5.12xlarge"
79783
79784	// ProductionVariantInstanceTypeMlR524xlarge is a ProductionVariantInstanceType enum value
79785	ProductionVariantInstanceTypeMlR524xlarge = "ml.r5.24xlarge"
79786
79787	// ProductionVariantInstanceTypeMlR5dLarge is a ProductionVariantInstanceType enum value
79788	ProductionVariantInstanceTypeMlR5dLarge = "ml.r5d.large"
79789
79790	// ProductionVariantInstanceTypeMlR5dXlarge is a ProductionVariantInstanceType enum value
79791	ProductionVariantInstanceTypeMlR5dXlarge = "ml.r5d.xlarge"
79792
79793	// ProductionVariantInstanceTypeMlR5d2xlarge is a ProductionVariantInstanceType enum value
79794	ProductionVariantInstanceTypeMlR5d2xlarge = "ml.r5d.2xlarge"
79795
79796	// ProductionVariantInstanceTypeMlR5d4xlarge is a ProductionVariantInstanceType enum value
79797	ProductionVariantInstanceTypeMlR5d4xlarge = "ml.r5d.4xlarge"
79798
79799	// ProductionVariantInstanceTypeMlR5d12xlarge is a ProductionVariantInstanceType enum value
79800	ProductionVariantInstanceTypeMlR5d12xlarge = "ml.r5d.12xlarge"
79801
79802	// ProductionVariantInstanceTypeMlR5d24xlarge is a ProductionVariantInstanceType enum value
79803	ProductionVariantInstanceTypeMlR5d24xlarge = "ml.r5d.24xlarge"
79804
79805	// ProductionVariantInstanceTypeMlInf1Xlarge is a ProductionVariantInstanceType enum value
79806	ProductionVariantInstanceTypeMlInf1Xlarge = "ml.inf1.xlarge"
79807
79808	// ProductionVariantInstanceTypeMlInf12xlarge is a ProductionVariantInstanceType enum value
79809	ProductionVariantInstanceTypeMlInf12xlarge = "ml.inf1.2xlarge"
79810
79811	// ProductionVariantInstanceTypeMlInf16xlarge is a ProductionVariantInstanceType enum value
79812	ProductionVariantInstanceTypeMlInf16xlarge = "ml.inf1.6xlarge"
79813
79814	// ProductionVariantInstanceTypeMlInf124xlarge is a ProductionVariantInstanceType enum value
79815	ProductionVariantInstanceTypeMlInf124xlarge = "ml.inf1.24xlarge"
79816)
79817
79818// ProductionVariantInstanceType_Values returns all elements of the ProductionVariantInstanceType enum
79819func ProductionVariantInstanceType_Values() []string {
79820	return []string{
79821		ProductionVariantInstanceTypeMlT2Medium,
79822		ProductionVariantInstanceTypeMlT2Large,
79823		ProductionVariantInstanceTypeMlT2Xlarge,
79824		ProductionVariantInstanceTypeMlT22xlarge,
79825		ProductionVariantInstanceTypeMlM4Xlarge,
79826		ProductionVariantInstanceTypeMlM42xlarge,
79827		ProductionVariantInstanceTypeMlM44xlarge,
79828		ProductionVariantInstanceTypeMlM410xlarge,
79829		ProductionVariantInstanceTypeMlM416xlarge,
79830		ProductionVariantInstanceTypeMlM5Large,
79831		ProductionVariantInstanceTypeMlM5Xlarge,
79832		ProductionVariantInstanceTypeMlM52xlarge,
79833		ProductionVariantInstanceTypeMlM54xlarge,
79834		ProductionVariantInstanceTypeMlM512xlarge,
79835		ProductionVariantInstanceTypeMlM524xlarge,
79836		ProductionVariantInstanceTypeMlM5dLarge,
79837		ProductionVariantInstanceTypeMlM5dXlarge,
79838		ProductionVariantInstanceTypeMlM5d2xlarge,
79839		ProductionVariantInstanceTypeMlM5d4xlarge,
79840		ProductionVariantInstanceTypeMlM5d12xlarge,
79841		ProductionVariantInstanceTypeMlM5d24xlarge,
79842		ProductionVariantInstanceTypeMlC4Large,
79843		ProductionVariantInstanceTypeMlC4Xlarge,
79844		ProductionVariantInstanceTypeMlC42xlarge,
79845		ProductionVariantInstanceTypeMlC44xlarge,
79846		ProductionVariantInstanceTypeMlC48xlarge,
79847		ProductionVariantInstanceTypeMlP2Xlarge,
79848		ProductionVariantInstanceTypeMlP28xlarge,
79849		ProductionVariantInstanceTypeMlP216xlarge,
79850		ProductionVariantInstanceTypeMlP32xlarge,
79851		ProductionVariantInstanceTypeMlP38xlarge,
79852		ProductionVariantInstanceTypeMlP316xlarge,
79853		ProductionVariantInstanceTypeMlC5Large,
79854		ProductionVariantInstanceTypeMlC5Xlarge,
79855		ProductionVariantInstanceTypeMlC52xlarge,
79856		ProductionVariantInstanceTypeMlC54xlarge,
79857		ProductionVariantInstanceTypeMlC59xlarge,
79858		ProductionVariantInstanceTypeMlC518xlarge,
79859		ProductionVariantInstanceTypeMlC5dLarge,
79860		ProductionVariantInstanceTypeMlC5dXlarge,
79861		ProductionVariantInstanceTypeMlC5d2xlarge,
79862		ProductionVariantInstanceTypeMlC5d4xlarge,
79863		ProductionVariantInstanceTypeMlC5d9xlarge,
79864		ProductionVariantInstanceTypeMlC5d18xlarge,
79865		ProductionVariantInstanceTypeMlG4dnXlarge,
79866		ProductionVariantInstanceTypeMlG4dn2xlarge,
79867		ProductionVariantInstanceTypeMlG4dn4xlarge,
79868		ProductionVariantInstanceTypeMlG4dn8xlarge,
79869		ProductionVariantInstanceTypeMlG4dn12xlarge,
79870		ProductionVariantInstanceTypeMlG4dn16xlarge,
79871		ProductionVariantInstanceTypeMlR5Large,
79872		ProductionVariantInstanceTypeMlR5Xlarge,
79873		ProductionVariantInstanceTypeMlR52xlarge,
79874		ProductionVariantInstanceTypeMlR54xlarge,
79875		ProductionVariantInstanceTypeMlR512xlarge,
79876		ProductionVariantInstanceTypeMlR524xlarge,
79877		ProductionVariantInstanceTypeMlR5dLarge,
79878		ProductionVariantInstanceTypeMlR5dXlarge,
79879		ProductionVariantInstanceTypeMlR5d2xlarge,
79880		ProductionVariantInstanceTypeMlR5d4xlarge,
79881		ProductionVariantInstanceTypeMlR5d12xlarge,
79882		ProductionVariantInstanceTypeMlR5d24xlarge,
79883		ProductionVariantInstanceTypeMlInf1Xlarge,
79884		ProductionVariantInstanceTypeMlInf12xlarge,
79885		ProductionVariantInstanceTypeMlInf16xlarge,
79886		ProductionVariantInstanceTypeMlInf124xlarge,
79887	}
79888}
79889
79890const (
79891	// ProfilingStatusEnabled is a ProfilingStatus enum value
79892	ProfilingStatusEnabled = "Enabled"
79893
79894	// ProfilingStatusDisabled is a ProfilingStatus enum value
79895	ProfilingStatusDisabled = "Disabled"
79896)
79897
79898// ProfilingStatus_Values returns all elements of the ProfilingStatus enum
79899func ProfilingStatus_Values() []string {
79900	return []string{
79901		ProfilingStatusEnabled,
79902		ProfilingStatusDisabled,
79903	}
79904}
79905
79906const (
79907	// ProjectSortByName is a ProjectSortBy enum value
79908	ProjectSortByName = "Name"
79909
79910	// ProjectSortByCreationTime is a ProjectSortBy enum value
79911	ProjectSortByCreationTime = "CreationTime"
79912)
79913
79914// ProjectSortBy_Values returns all elements of the ProjectSortBy enum
79915func ProjectSortBy_Values() []string {
79916	return []string{
79917		ProjectSortByName,
79918		ProjectSortByCreationTime,
79919	}
79920}
79921
79922const (
79923	// ProjectSortOrderAscending is a ProjectSortOrder enum value
79924	ProjectSortOrderAscending = "Ascending"
79925
79926	// ProjectSortOrderDescending is a ProjectSortOrder enum value
79927	ProjectSortOrderDescending = "Descending"
79928)
79929
79930// ProjectSortOrder_Values returns all elements of the ProjectSortOrder enum
79931func ProjectSortOrder_Values() []string {
79932	return []string{
79933		ProjectSortOrderAscending,
79934		ProjectSortOrderDescending,
79935	}
79936}
79937
79938const (
79939	// ProjectStatusPending is a ProjectStatus enum value
79940	ProjectStatusPending = "Pending"
79941
79942	// ProjectStatusCreateInProgress is a ProjectStatus enum value
79943	ProjectStatusCreateInProgress = "CreateInProgress"
79944
79945	// ProjectStatusCreateCompleted is a ProjectStatus enum value
79946	ProjectStatusCreateCompleted = "CreateCompleted"
79947
79948	// ProjectStatusCreateFailed is a ProjectStatus enum value
79949	ProjectStatusCreateFailed = "CreateFailed"
79950
79951	// ProjectStatusDeleteInProgress is a ProjectStatus enum value
79952	ProjectStatusDeleteInProgress = "DeleteInProgress"
79953
79954	// ProjectStatusDeleteFailed is a ProjectStatus enum value
79955	ProjectStatusDeleteFailed = "DeleteFailed"
79956
79957	// ProjectStatusDeleteCompleted is a ProjectStatus enum value
79958	ProjectStatusDeleteCompleted = "DeleteCompleted"
79959)
79960
79961// ProjectStatus_Values returns all elements of the ProjectStatus enum
79962func ProjectStatus_Values() []string {
79963	return []string{
79964		ProjectStatusPending,
79965		ProjectStatusCreateInProgress,
79966		ProjectStatusCreateCompleted,
79967		ProjectStatusCreateFailed,
79968		ProjectStatusDeleteInProgress,
79969		ProjectStatusDeleteFailed,
79970		ProjectStatusDeleteCompleted,
79971	}
79972}
79973
79974const (
79975	// RecordWrapperNone is a RecordWrapper enum value
79976	RecordWrapperNone = "None"
79977
79978	// RecordWrapperRecordIo is a RecordWrapper enum value
79979	RecordWrapperRecordIo = "RecordIO"
79980)
79981
79982// RecordWrapper_Values returns all elements of the RecordWrapper enum
79983func RecordWrapper_Values() []string {
79984	return []string{
79985		RecordWrapperNone,
79986		RecordWrapperRecordIo,
79987	}
79988}
79989
79990// The compression used for Redshift query results.
79991const (
79992	// RedshiftResultCompressionTypeNone is a RedshiftResultCompressionType enum value
79993	RedshiftResultCompressionTypeNone = "None"
79994
79995	// RedshiftResultCompressionTypeGzip is a RedshiftResultCompressionType enum value
79996	RedshiftResultCompressionTypeGzip = "GZIP"
79997
79998	// RedshiftResultCompressionTypeBzip2 is a RedshiftResultCompressionType enum value
79999	RedshiftResultCompressionTypeBzip2 = "BZIP2"
80000
80001	// RedshiftResultCompressionTypeZstd is a RedshiftResultCompressionType enum value
80002	RedshiftResultCompressionTypeZstd = "ZSTD"
80003
80004	// RedshiftResultCompressionTypeSnappy is a RedshiftResultCompressionType enum value
80005	RedshiftResultCompressionTypeSnappy = "SNAPPY"
80006)
80007
80008// RedshiftResultCompressionType_Values returns all elements of the RedshiftResultCompressionType enum
80009func RedshiftResultCompressionType_Values() []string {
80010	return []string{
80011		RedshiftResultCompressionTypeNone,
80012		RedshiftResultCompressionTypeGzip,
80013		RedshiftResultCompressionTypeBzip2,
80014		RedshiftResultCompressionTypeZstd,
80015		RedshiftResultCompressionTypeSnappy,
80016	}
80017}
80018
80019// The data storage format for Redshift query results.
80020const (
80021	// RedshiftResultFormatParquet is a RedshiftResultFormat enum value
80022	RedshiftResultFormatParquet = "PARQUET"
80023
80024	// RedshiftResultFormatCsv is a RedshiftResultFormat enum value
80025	RedshiftResultFormatCsv = "CSV"
80026)
80027
80028// RedshiftResultFormat_Values returns all elements of the RedshiftResultFormat enum
80029func RedshiftResultFormat_Values() []string {
80030	return []string{
80031		RedshiftResultFormatParquet,
80032		RedshiftResultFormatCsv,
80033	}
80034}
80035
80036const (
80037	// RepositoryAccessModePlatform is a RepositoryAccessMode enum value
80038	RepositoryAccessModePlatform = "Platform"
80039
80040	// RepositoryAccessModeVpc is a RepositoryAccessMode enum value
80041	RepositoryAccessModeVpc = "Vpc"
80042)
80043
80044// RepositoryAccessMode_Values returns all elements of the RepositoryAccessMode enum
80045func RepositoryAccessMode_Values() []string {
80046	return []string{
80047		RepositoryAccessModePlatform,
80048		RepositoryAccessModeVpc,
80049	}
80050}
80051
80052const (
80053	// ResourceTypeTrainingJob is a ResourceType enum value
80054	ResourceTypeTrainingJob = "TrainingJob"
80055
80056	// ResourceTypeExperiment is a ResourceType enum value
80057	ResourceTypeExperiment = "Experiment"
80058
80059	// ResourceTypeExperimentTrial is a ResourceType enum value
80060	ResourceTypeExperimentTrial = "ExperimentTrial"
80061
80062	// ResourceTypeExperimentTrialComponent is a ResourceType enum value
80063	ResourceTypeExperimentTrialComponent = "ExperimentTrialComponent"
80064
80065	// ResourceTypeEndpoint is a ResourceType enum value
80066	ResourceTypeEndpoint = "Endpoint"
80067
80068	// ResourceTypeModelPackage is a ResourceType enum value
80069	ResourceTypeModelPackage = "ModelPackage"
80070
80071	// ResourceTypeModelPackageGroup is a ResourceType enum value
80072	ResourceTypeModelPackageGroup = "ModelPackageGroup"
80073
80074	// ResourceTypePipeline is a ResourceType enum value
80075	ResourceTypePipeline = "Pipeline"
80076
80077	// ResourceTypePipelineExecution is a ResourceType enum value
80078	ResourceTypePipelineExecution = "PipelineExecution"
80079
80080	// ResourceTypeFeatureGroup is a ResourceType enum value
80081	ResourceTypeFeatureGroup = "FeatureGroup"
80082)
80083
80084// ResourceType_Values returns all elements of the ResourceType enum
80085func ResourceType_Values() []string {
80086	return []string{
80087		ResourceTypeTrainingJob,
80088		ResourceTypeExperiment,
80089		ResourceTypeExperimentTrial,
80090		ResourceTypeExperimentTrialComponent,
80091		ResourceTypeEndpoint,
80092		ResourceTypeModelPackage,
80093		ResourceTypeModelPackageGroup,
80094		ResourceTypePipeline,
80095		ResourceTypePipelineExecution,
80096		ResourceTypeFeatureGroup,
80097	}
80098}
80099
80100const (
80101	// RetentionTypeRetain is a RetentionType enum value
80102	RetentionTypeRetain = "Retain"
80103
80104	// RetentionTypeDelete is a RetentionType enum value
80105	RetentionTypeDelete = "Delete"
80106)
80107
80108// RetentionType_Values returns all elements of the RetentionType enum
80109func RetentionType_Values() []string {
80110	return []string{
80111		RetentionTypeRetain,
80112		RetentionTypeDelete,
80113	}
80114}
80115
80116const (
80117	// RootAccessEnabled is a RootAccess enum value
80118	RootAccessEnabled = "Enabled"
80119
80120	// RootAccessDisabled is a RootAccess enum value
80121	RootAccessDisabled = "Disabled"
80122)
80123
80124// RootAccess_Values returns all elements of the RootAccess enum
80125func RootAccess_Values() []string {
80126	return []string{
80127		RootAccessEnabled,
80128		RootAccessDisabled,
80129	}
80130}
80131
80132const (
80133	// RuleEvaluationStatusInProgress is a RuleEvaluationStatus enum value
80134	RuleEvaluationStatusInProgress = "InProgress"
80135
80136	// RuleEvaluationStatusNoIssuesFound is a RuleEvaluationStatus enum value
80137	RuleEvaluationStatusNoIssuesFound = "NoIssuesFound"
80138
80139	// RuleEvaluationStatusIssuesFound is a RuleEvaluationStatus enum value
80140	RuleEvaluationStatusIssuesFound = "IssuesFound"
80141
80142	// RuleEvaluationStatusError is a RuleEvaluationStatus enum value
80143	RuleEvaluationStatusError = "Error"
80144
80145	// RuleEvaluationStatusStopping is a RuleEvaluationStatus enum value
80146	RuleEvaluationStatusStopping = "Stopping"
80147
80148	// RuleEvaluationStatusStopped is a RuleEvaluationStatus enum value
80149	RuleEvaluationStatusStopped = "Stopped"
80150)
80151
80152// RuleEvaluationStatus_Values returns all elements of the RuleEvaluationStatus enum
80153func RuleEvaluationStatus_Values() []string {
80154	return []string{
80155		RuleEvaluationStatusInProgress,
80156		RuleEvaluationStatusNoIssuesFound,
80157		RuleEvaluationStatusIssuesFound,
80158		RuleEvaluationStatusError,
80159		RuleEvaluationStatusStopping,
80160		RuleEvaluationStatusStopped,
80161	}
80162}
80163
80164const (
80165	// S3DataDistributionFullyReplicated is a S3DataDistribution enum value
80166	S3DataDistributionFullyReplicated = "FullyReplicated"
80167
80168	// S3DataDistributionShardedByS3key is a S3DataDistribution enum value
80169	S3DataDistributionShardedByS3key = "ShardedByS3Key"
80170)
80171
80172// S3DataDistribution_Values returns all elements of the S3DataDistribution enum
80173func S3DataDistribution_Values() []string {
80174	return []string{
80175		S3DataDistributionFullyReplicated,
80176		S3DataDistributionShardedByS3key,
80177	}
80178}
80179
80180const (
80181	// S3DataTypeManifestFile is a S3DataType enum value
80182	S3DataTypeManifestFile = "ManifestFile"
80183
80184	// S3DataTypeS3prefix is a S3DataType enum value
80185	S3DataTypeS3prefix = "S3Prefix"
80186
80187	// S3DataTypeAugmentedManifestFile is a S3DataType enum value
80188	S3DataTypeAugmentedManifestFile = "AugmentedManifestFile"
80189)
80190
80191// S3DataType_Values returns all elements of the S3DataType enum
80192func S3DataType_Values() []string {
80193	return []string{
80194		S3DataTypeManifestFile,
80195		S3DataTypeS3prefix,
80196		S3DataTypeAugmentedManifestFile,
80197	}
80198}
80199
80200const (
80201	// SagemakerServicecatalogStatusEnabled is a SagemakerServicecatalogStatus enum value
80202	SagemakerServicecatalogStatusEnabled = "Enabled"
80203
80204	// SagemakerServicecatalogStatusDisabled is a SagemakerServicecatalogStatus enum value
80205	SagemakerServicecatalogStatusDisabled = "Disabled"
80206)
80207
80208// SagemakerServicecatalogStatus_Values returns all elements of the SagemakerServicecatalogStatus enum
80209func SagemakerServicecatalogStatus_Values() []string {
80210	return []string{
80211		SagemakerServicecatalogStatusEnabled,
80212		SagemakerServicecatalogStatusDisabled,
80213	}
80214}
80215
80216const (
80217	// ScheduleStatusPending is a ScheduleStatus enum value
80218	ScheduleStatusPending = "Pending"
80219
80220	// ScheduleStatusFailed is a ScheduleStatus enum value
80221	ScheduleStatusFailed = "Failed"
80222
80223	// ScheduleStatusScheduled is a ScheduleStatus enum value
80224	ScheduleStatusScheduled = "Scheduled"
80225
80226	// ScheduleStatusStopped is a ScheduleStatus enum value
80227	ScheduleStatusStopped = "Stopped"
80228)
80229
80230// ScheduleStatus_Values returns all elements of the ScheduleStatus enum
80231func ScheduleStatus_Values() []string {
80232	return []string{
80233		ScheduleStatusPending,
80234		ScheduleStatusFailed,
80235		ScheduleStatusScheduled,
80236		ScheduleStatusStopped,
80237	}
80238}
80239
80240const (
80241	// SearchSortOrderAscending is a SearchSortOrder enum value
80242	SearchSortOrderAscending = "Ascending"
80243
80244	// SearchSortOrderDescending is a SearchSortOrder enum value
80245	SearchSortOrderDescending = "Descending"
80246)
80247
80248// SearchSortOrder_Values returns all elements of the SearchSortOrder enum
80249func SearchSortOrder_Values() []string {
80250	return []string{
80251		SearchSortOrderAscending,
80252		SearchSortOrderDescending,
80253	}
80254}
80255
80256const (
80257	// SecondaryStatusStarting is a SecondaryStatus enum value
80258	SecondaryStatusStarting = "Starting"
80259
80260	// SecondaryStatusLaunchingMlinstances is a SecondaryStatus enum value
80261	SecondaryStatusLaunchingMlinstances = "LaunchingMLInstances"
80262
80263	// SecondaryStatusPreparingTrainingStack is a SecondaryStatus enum value
80264	SecondaryStatusPreparingTrainingStack = "PreparingTrainingStack"
80265
80266	// SecondaryStatusDownloading is a SecondaryStatus enum value
80267	SecondaryStatusDownloading = "Downloading"
80268
80269	// SecondaryStatusDownloadingTrainingImage is a SecondaryStatus enum value
80270	SecondaryStatusDownloadingTrainingImage = "DownloadingTrainingImage"
80271
80272	// SecondaryStatusTraining is a SecondaryStatus enum value
80273	SecondaryStatusTraining = "Training"
80274
80275	// SecondaryStatusUploading is a SecondaryStatus enum value
80276	SecondaryStatusUploading = "Uploading"
80277
80278	// SecondaryStatusStopping is a SecondaryStatus enum value
80279	SecondaryStatusStopping = "Stopping"
80280
80281	// SecondaryStatusStopped is a SecondaryStatus enum value
80282	SecondaryStatusStopped = "Stopped"
80283
80284	// SecondaryStatusMaxRuntimeExceeded is a SecondaryStatus enum value
80285	SecondaryStatusMaxRuntimeExceeded = "MaxRuntimeExceeded"
80286
80287	// SecondaryStatusCompleted is a SecondaryStatus enum value
80288	SecondaryStatusCompleted = "Completed"
80289
80290	// SecondaryStatusFailed is a SecondaryStatus enum value
80291	SecondaryStatusFailed = "Failed"
80292
80293	// SecondaryStatusInterrupted is a SecondaryStatus enum value
80294	SecondaryStatusInterrupted = "Interrupted"
80295
80296	// SecondaryStatusMaxWaitTimeExceeded is a SecondaryStatus enum value
80297	SecondaryStatusMaxWaitTimeExceeded = "MaxWaitTimeExceeded"
80298
80299	// SecondaryStatusUpdating is a SecondaryStatus enum value
80300	SecondaryStatusUpdating = "Updating"
80301)
80302
80303// SecondaryStatus_Values returns all elements of the SecondaryStatus enum
80304func SecondaryStatus_Values() []string {
80305	return []string{
80306		SecondaryStatusStarting,
80307		SecondaryStatusLaunchingMlinstances,
80308		SecondaryStatusPreparingTrainingStack,
80309		SecondaryStatusDownloading,
80310		SecondaryStatusDownloadingTrainingImage,
80311		SecondaryStatusTraining,
80312		SecondaryStatusUploading,
80313		SecondaryStatusStopping,
80314		SecondaryStatusStopped,
80315		SecondaryStatusMaxRuntimeExceeded,
80316		SecondaryStatusCompleted,
80317		SecondaryStatusFailed,
80318		SecondaryStatusInterrupted,
80319		SecondaryStatusMaxWaitTimeExceeded,
80320		SecondaryStatusUpdating,
80321	}
80322}
80323
80324const (
80325	// SortActionsByName is a SortActionsBy enum value
80326	SortActionsByName = "Name"
80327
80328	// SortActionsByCreationTime is a SortActionsBy enum value
80329	SortActionsByCreationTime = "CreationTime"
80330)
80331
80332// SortActionsBy_Values returns all elements of the SortActionsBy enum
80333func SortActionsBy_Values() []string {
80334	return []string{
80335		SortActionsByName,
80336		SortActionsByCreationTime,
80337	}
80338}
80339
80340const (
80341	// SortArtifactsByCreationTime is a SortArtifactsBy enum value
80342	SortArtifactsByCreationTime = "CreationTime"
80343)
80344
80345// SortArtifactsBy_Values returns all elements of the SortArtifactsBy enum
80346func SortArtifactsBy_Values() []string {
80347	return []string{
80348		SortArtifactsByCreationTime,
80349	}
80350}
80351
80352const (
80353	// SortAssociationsBySourceArn is a SortAssociationsBy enum value
80354	SortAssociationsBySourceArn = "SourceArn"
80355
80356	// SortAssociationsByDestinationArn is a SortAssociationsBy enum value
80357	SortAssociationsByDestinationArn = "DestinationArn"
80358
80359	// SortAssociationsBySourceType is a SortAssociationsBy enum value
80360	SortAssociationsBySourceType = "SourceType"
80361
80362	// SortAssociationsByDestinationType is a SortAssociationsBy enum value
80363	SortAssociationsByDestinationType = "DestinationType"
80364
80365	// SortAssociationsByCreationTime is a SortAssociationsBy enum value
80366	SortAssociationsByCreationTime = "CreationTime"
80367)
80368
80369// SortAssociationsBy_Values returns all elements of the SortAssociationsBy enum
80370func SortAssociationsBy_Values() []string {
80371	return []string{
80372		SortAssociationsBySourceArn,
80373		SortAssociationsByDestinationArn,
80374		SortAssociationsBySourceType,
80375		SortAssociationsByDestinationType,
80376		SortAssociationsByCreationTime,
80377	}
80378}
80379
80380const (
80381	// SortByName is a SortBy enum value
80382	SortByName = "Name"
80383
80384	// SortByCreationTime is a SortBy enum value
80385	SortByCreationTime = "CreationTime"
80386
80387	// SortByStatus is a SortBy enum value
80388	SortByStatus = "Status"
80389)
80390
80391// SortBy_Values returns all elements of the SortBy enum
80392func SortBy_Values() []string {
80393	return []string{
80394		SortByName,
80395		SortByCreationTime,
80396		SortByStatus,
80397	}
80398}
80399
80400const (
80401	// SortContextsByName is a SortContextsBy enum value
80402	SortContextsByName = "Name"
80403
80404	// SortContextsByCreationTime is a SortContextsBy enum value
80405	SortContextsByCreationTime = "CreationTime"
80406)
80407
80408// SortContextsBy_Values returns all elements of the SortContextsBy enum
80409func SortContextsBy_Values() []string {
80410	return []string{
80411		SortContextsByName,
80412		SortContextsByCreationTime,
80413	}
80414}
80415
80416const (
80417	// SortExperimentsByName is a SortExperimentsBy enum value
80418	SortExperimentsByName = "Name"
80419
80420	// SortExperimentsByCreationTime is a SortExperimentsBy enum value
80421	SortExperimentsByCreationTime = "CreationTime"
80422)
80423
80424// SortExperimentsBy_Values returns all elements of the SortExperimentsBy enum
80425func SortExperimentsBy_Values() []string {
80426	return []string{
80427		SortExperimentsByName,
80428		SortExperimentsByCreationTime,
80429	}
80430}
80431
80432const (
80433	// SortOrderAscending is a SortOrder enum value
80434	SortOrderAscending = "Ascending"
80435
80436	// SortOrderDescending is a SortOrder enum value
80437	SortOrderDescending = "Descending"
80438)
80439
80440// SortOrder_Values returns all elements of the SortOrder enum
80441func SortOrder_Values() []string {
80442	return []string{
80443		SortOrderAscending,
80444		SortOrderDescending,
80445	}
80446}
80447
80448const (
80449	// SortPipelineExecutionsByCreationTime is a SortPipelineExecutionsBy enum value
80450	SortPipelineExecutionsByCreationTime = "CreationTime"
80451
80452	// SortPipelineExecutionsByPipelineExecutionArn is a SortPipelineExecutionsBy enum value
80453	SortPipelineExecutionsByPipelineExecutionArn = "PipelineExecutionArn"
80454)
80455
80456// SortPipelineExecutionsBy_Values returns all elements of the SortPipelineExecutionsBy enum
80457func SortPipelineExecutionsBy_Values() []string {
80458	return []string{
80459		SortPipelineExecutionsByCreationTime,
80460		SortPipelineExecutionsByPipelineExecutionArn,
80461	}
80462}
80463
80464const (
80465	// SortPipelinesByName is a SortPipelinesBy enum value
80466	SortPipelinesByName = "Name"
80467
80468	// SortPipelinesByCreationTime is a SortPipelinesBy enum value
80469	SortPipelinesByCreationTime = "CreationTime"
80470)
80471
80472// SortPipelinesBy_Values returns all elements of the SortPipelinesBy enum
80473func SortPipelinesBy_Values() []string {
80474	return []string{
80475		SortPipelinesByName,
80476		SortPipelinesByCreationTime,
80477	}
80478}
80479
80480const (
80481	// SortTrialComponentsByName is a SortTrialComponentsBy enum value
80482	SortTrialComponentsByName = "Name"
80483
80484	// SortTrialComponentsByCreationTime is a SortTrialComponentsBy enum value
80485	SortTrialComponentsByCreationTime = "CreationTime"
80486)
80487
80488// SortTrialComponentsBy_Values returns all elements of the SortTrialComponentsBy enum
80489func SortTrialComponentsBy_Values() []string {
80490	return []string{
80491		SortTrialComponentsByName,
80492		SortTrialComponentsByCreationTime,
80493	}
80494}
80495
80496const (
80497	// SortTrialsByName is a SortTrialsBy enum value
80498	SortTrialsByName = "Name"
80499
80500	// SortTrialsByCreationTime is a SortTrialsBy enum value
80501	SortTrialsByCreationTime = "CreationTime"
80502)
80503
80504// SortTrialsBy_Values returns all elements of the SortTrialsBy enum
80505func SortTrialsBy_Values() []string {
80506	return []string{
80507		SortTrialsByName,
80508		SortTrialsByCreationTime,
80509	}
80510}
80511
80512const (
80513	// SplitTypeNone is a SplitType enum value
80514	SplitTypeNone = "None"
80515
80516	// SplitTypeLine is a SplitType enum value
80517	SplitTypeLine = "Line"
80518
80519	// SplitTypeRecordIo is a SplitType enum value
80520	SplitTypeRecordIo = "RecordIO"
80521
80522	// SplitTypeTfrecord is a SplitType enum value
80523	SplitTypeTfrecord = "TFRecord"
80524)
80525
80526// SplitType_Values returns all elements of the SplitType enum
80527func SplitType_Values() []string {
80528	return []string{
80529		SplitTypeNone,
80530		SplitTypeLine,
80531		SplitTypeRecordIo,
80532		SplitTypeTfrecord,
80533	}
80534}
80535
80536const (
80537	// StepStatusStarting is a StepStatus enum value
80538	StepStatusStarting = "Starting"
80539
80540	// StepStatusExecuting is a StepStatus enum value
80541	StepStatusExecuting = "Executing"
80542
80543	// StepStatusStopping is a StepStatus enum value
80544	StepStatusStopping = "Stopping"
80545
80546	// StepStatusStopped is a StepStatus enum value
80547	StepStatusStopped = "Stopped"
80548
80549	// StepStatusFailed is a StepStatus enum value
80550	StepStatusFailed = "Failed"
80551
80552	// StepStatusSucceeded is a StepStatus enum value
80553	StepStatusSucceeded = "Succeeded"
80554)
80555
80556// StepStatus_Values returns all elements of the StepStatus enum
80557func StepStatus_Values() []string {
80558	return []string{
80559		StepStatusStarting,
80560		StepStatusExecuting,
80561		StepStatusStopping,
80562		StepStatusStopped,
80563		StepStatusFailed,
80564		StepStatusSucceeded,
80565	}
80566}
80567
80568const (
80569	// TargetDeviceLambda is a TargetDevice enum value
80570	TargetDeviceLambda = "lambda"
80571
80572	// TargetDeviceMlM4 is a TargetDevice enum value
80573	TargetDeviceMlM4 = "ml_m4"
80574
80575	// TargetDeviceMlM5 is a TargetDevice enum value
80576	TargetDeviceMlM5 = "ml_m5"
80577
80578	// TargetDeviceMlC4 is a TargetDevice enum value
80579	TargetDeviceMlC4 = "ml_c4"
80580
80581	// TargetDeviceMlC5 is a TargetDevice enum value
80582	TargetDeviceMlC5 = "ml_c5"
80583
80584	// TargetDeviceMlP2 is a TargetDevice enum value
80585	TargetDeviceMlP2 = "ml_p2"
80586
80587	// TargetDeviceMlP3 is a TargetDevice enum value
80588	TargetDeviceMlP3 = "ml_p3"
80589
80590	// TargetDeviceMlG4dn is a TargetDevice enum value
80591	TargetDeviceMlG4dn = "ml_g4dn"
80592
80593	// TargetDeviceMlInf1 is a TargetDevice enum value
80594	TargetDeviceMlInf1 = "ml_inf1"
80595
80596	// TargetDeviceJetsonTx1 is a TargetDevice enum value
80597	TargetDeviceJetsonTx1 = "jetson_tx1"
80598
80599	// TargetDeviceJetsonTx2 is a TargetDevice enum value
80600	TargetDeviceJetsonTx2 = "jetson_tx2"
80601
80602	// TargetDeviceJetsonNano is a TargetDevice enum value
80603	TargetDeviceJetsonNano = "jetson_nano"
80604
80605	// TargetDeviceJetsonXavier is a TargetDevice enum value
80606	TargetDeviceJetsonXavier = "jetson_xavier"
80607
80608	// TargetDeviceRasp3b is a TargetDevice enum value
80609	TargetDeviceRasp3b = "rasp3b"
80610
80611	// TargetDeviceImx8qm is a TargetDevice enum value
80612	TargetDeviceImx8qm = "imx8qm"
80613
80614	// TargetDeviceDeeplens is a TargetDevice enum value
80615	TargetDeviceDeeplens = "deeplens"
80616
80617	// TargetDeviceRk3399 is a TargetDevice enum value
80618	TargetDeviceRk3399 = "rk3399"
80619
80620	// TargetDeviceRk3288 is a TargetDevice enum value
80621	TargetDeviceRk3288 = "rk3288"
80622
80623	// TargetDeviceAisage is a TargetDevice enum value
80624	TargetDeviceAisage = "aisage"
80625
80626	// TargetDeviceSbeC is a TargetDevice enum value
80627	TargetDeviceSbeC = "sbe_c"
80628
80629	// TargetDeviceQcs605 is a TargetDevice enum value
80630	TargetDeviceQcs605 = "qcs605"
80631
80632	// TargetDeviceQcs603 is a TargetDevice enum value
80633	TargetDeviceQcs603 = "qcs603"
80634
80635	// TargetDeviceSitaraAm57x is a TargetDevice enum value
80636	TargetDeviceSitaraAm57x = "sitara_am57x"
80637
80638	// TargetDeviceAmbaCv22 is a TargetDevice enum value
80639	TargetDeviceAmbaCv22 = "amba_cv22"
80640
80641	// TargetDeviceX86Win32 is a TargetDevice enum value
80642	TargetDeviceX86Win32 = "x86_win32"
80643
80644	// TargetDeviceX86Win64 is a TargetDevice enum value
80645	TargetDeviceX86Win64 = "x86_win64"
80646
80647	// TargetDeviceCoreml is a TargetDevice enum value
80648	TargetDeviceCoreml = "coreml"
80649
80650	// TargetDeviceJacintoTda4vm is a TargetDevice enum value
80651	TargetDeviceJacintoTda4vm = "jacinto_tda4vm"
80652)
80653
80654// TargetDevice_Values returns all elements of the TargetDevice enum
80655func TargetDevice_Values() []string {
80656	return []string{
80657		TargetDeviceLambda,
80658		TargetDeviceMlM4,
80659		TargetDeviceMlM5,
80660		TargetDeviceMlC4,
80661		TargetDeviceMlC5,
80662		TargetDeviceMlP2,
80663		TargetDeviceMlP3,
80664		TargetDeviceMlG4dn,
80665		TargetDeviceMlInf1,
80666		TargetDeviceJetsonTx1,
80667		TargetDeviceJetsonTx2,
80668		TargetDeviceJetsonNano,
80669		TargetDeviceJetsonXavier,
80670		TargetDeviceRasp3b,
80671		TargetDeviceImx8qm,
80672		TargetDeviceDeeplens,
80673		TargetDeviceRk3399,
80674		TargetDeviceRk3288,
80675		TargetDeviceAisage,
80676		TargetDeviceSbeC,
80677		TargetDeviceQcs605,
80678		TargetDeviceQcs603,
80679		TargetDeviceSitaraAm57x,
80680		TargetDeviceAmbaCv22,
80681		TargetDeviceX86Win32,
80682		TargetDeviceX86Win64,
80683		TargetDeviceCoreml,
80684		TargetDeviceJacintoTda4vm,
80685	}
80686}
80687
80688const (
80689	// TargetPlatformAcceleratorIntelGraphics is a TargetPlatformAccelerator enum value
80690	TargetPlatformAcceleratorIntelGraphics = "INTEL_GRAPHICS"
80691
80692	// TargetPlatformAcceleratorMali is a TargetPlatformAccelerator enum value
80693	TargetPlatformAcceleratorMali = "MALI"
80694
80695	// TargetPlatformAcceleratorNvidia is a TargetPlatformAccelerator enum value
80696	TargetPlatformAcceleratorNvidia = "NVIDIA"
80697)
80698
80699// TargetPlatformAccelerator_Values returns all elements of the TargetPlatformAccelerator enum
80700func TargetPlatformAccelerator_Values() []string {
80701	return []string{
80702		TargetPlatformAcceleratorIntelGraphics,
80703		TargetPlatformAcceleratorMali,
80704		TargetPlatformAcceleratorNvidia,
80705	}
80706}
80707
80708const (
80709	// TargetPlatformArchX8664 is a TargetPlatformArch enum value
80710	TargetPlatformArchX8664 = "X86_64"
80711
80712	// TargetPlatformArchX86 is a TargetPlatformArch enum value
80713	TargetPlatformArchX86 = "X86"
80714
80715	// TargetPlatformArchArm64 is a TargetPlatformArch enum value
80716	TargetPlatformArchArm64 = "ARM64"
80717
80718	// TargetPlatformArchArmEabi is a TargetPlatformArch enum value
80719	TargetPlatformArchArmEabi = "ARM_EABI"
80720
80721	// TargetPlatformArchArmEabihf is a TargetPlatformArch enum value
80722	TargetPlatformArchArmEabihf = "ARM_EABIHF"
80723)
80724
80725// TargetPlatformArch_Values returns all elements of the TargetPlatformArch enum
80726func TargetPlatformArch_Values() []string {
80727	return []string{
80728		TargetPlatformArchX8664,
80729		TargetPlatformArchX86,
80730		TargetPlatformArchArm64,
80731		TargetPlatformArchArmEabi,
80732		TargetPlatformArchArmEabihf,
80733	}
80734}
80735
80736const (
80737	// TargetPlatformOsAndroid is a TargetPlatformOs enum value
80738	TargetPlatformOsAndroid = "ANDROID"
80739
80740	// TargetPlatformOsLinux is a TargetPlatformOs enum value
80741	TargetPlatformOsLinux = "LINUX"
80742)
80743
80744// TargetPlatformOs_Values returns all elements of the TargetPlatformOs enum
80745func TargetPlatformOs_Values() []string {
80746	return []string{
80747		TargetPlatformOsAndroid,
80748		TargetPlatformOsLinux,
80749	}
80750}
80751
80752const (
80753	// TrafficRoutingConfigTypeAllAtOnce is a TrafficRoutingConfigType enum value
80754	TrafficRoutingConfigTypeAllAtOnce = "ALL_AT_ONCE"
80755
80756	// TrafficRoutingConfigTypeCanary is a TrafficRoutingConfigType enum value
80757	TrafficRoutingConfigTypeCanary = "CANARY"
80758)
80759
80760// TrafficRoutingConfigType_Values returns all elements of the TrafficRoutingConfigType enum
80761func TrafficRoutingConfigType_Values() []string {
80762	return []string{
80763		TrafficRoutingConfigTypeAllAtOnce,
80764		TrafficRoutingConfigTypeCanary,
80765	}
80766}
80767
80768const (
80769	// TrainingInputModePipe is a TrainingInputMode enum value
80770	TrainingInputModePipe = "Pipe"
80771
80772	// TrainingInputModeFile is a TrainingInputMode enum value
80773	TrainingInputModeFile = "File"
80774)
80775
80776// TrainingInputMode_Values returns all elements of the TrainingInputMode enum
80777func TrainingInputMode_Values() []string {
80778	return []string{
80779		TrainingInputModePipe,
80780		TrainingInputModeFile,
80781	}
80782}
80783
80784const (
80785	// TrainingInstanceTypeMlM4Xlarge is a TrainingInstanceType enum value
80786	TrainingInstanceTypeMlM4Xlarge = "ml.m4.xlarge"
80787
80788	// TrainingInstanceTypeMlM42xlarge is a TrainingInstanceType enum value
80789	TrainingInstanceTypeMlM42xlarge = "ml.m4.2xlarge"
80790
80791	// TrainingInstanceTypeMlM44xlarge is a TrainingInstanceType enum value
80792	TrainingInstanceTypeMlM44xlarge = "ml.m4.4xlarge"
80793
80794	// TrainingInstanceTypeMlM410xlarge is a TrainingInstanceType enum value
80795	TrainingInstanceTypeMlM410xlarge = "ml.m4.10xlarge"
80796
80797	// TrainingInstanceTypeMlM416xlarge is a TrainingInstanceType enum value
80798	TrainingInstanceTypeMlM416xlarge = "ml.m4.16xlarge"
80799
80800	// TrainingInstanceTypeMlG4dnXlarge is a TrainingInstanceType enum value
80801	TrainingInstanceTypeMlG4dnXlarge = "ml.g4dn.xlarge"
80802
80803	// TrainingInstanceTypeMlG4dn2xlarge is a TrainingInstanceType enum value
80804	TrainingInstanceTypeMlG4dn2xlarge = "ml.g4dn.2xlarge"
80805
80806	// TrainingInstanceTypeMlG4dn4xlarge is a TrainingInstanceType enum value
80807	TrainingInstanceTypeMlG4dn4xlarge = "ml.g4dn.4xlarge"
80808
80809	// TrainingInstanceTypeMlG4dn8xlarge is a TrainingInstanceType enum value
80810	TrainingInstanceTypeMlG4dn8xlarge = "ml.g4dn.8xlarge"
80811
80812	// TrainingInstanceTypeMlG4dn12xlarge is a TrainingInstanceType enum value
80813	TrainingInstanceTypeMlG4dn12xlarge = "ml.g4dn.12xlarge"
80814
80815	// TrainingInstanceTypeMlG4dn16xlarge is a TrainingInstanceType enum value
80816	TrainingInstanceTypeMlG4dn16xlarge = "ml.g4dn.16xlarge"
80817
80818	// TrainingInstanceTypeMlM5Large is a TrainingInstanceType enum value
80819	TrainingInstanceTypeMlM5Large = "ml.m5.large"
80820
80821	// TrainingInstanceTypeMlM5Xlarge is a TrainingInstanceType enum value
80822	TrainingInstanceTypeMlM5Xlarge = "ml.m5.xlarge"
80823
80824	// TrainingInstanceTypeMlM52xlarge is a TrainingInstanceType enum value
80825	TrainingInstanceTypeMlM52xlarge = "ml.m5.2xlarge"
80826
80827	// TrainingInstanceTypeMlM54xlarge is a TrainingInstanceType enum value
80828	TrainingInstanceTypeMlM54xlarge = "ml.m5.4xlarge"
80829
80830	// TrainingInstanceTypeMlM512xlarge is a TrainingInstanceType enum value
80831	TrainingInstanceTypeMlM512xlarge = "ml.m5.12xlarge"
80832
80833	// TrainingInstanceTypeMlM524xlarge is a TrainingInstanceType enum value
80834	TrainingInstanceTypeMlM524xlarge = "ml.m5.24xlarge"
80835
80836	// TrainingInstanceTypeMlC4Xlarge is a TrainingInstanceType enum value
80837	TrainingInstanceTypeMlC4Xlarge = "ml.c4.xlarge"
80838
80839	// TrainingInstanceTypeMlC42xlarge is a TrainingInstanceType enum value
80840	TrainingInstanceTypeMlC42xlarge = "ml.c4.2xlarge"
80841
80842	// TrainingInstanceTypeMlC44xlarge is a TrainingInstanceType enum value
80843	TrainingInstanceTypeMlC44xlarge = "ml.c4.4xlarge"
80844
80845	// TrainingInstanceTypeMlC48xlarge is a TrainingInstanceType enum value
80846	TrainingInstanceTypeMlC48xlarge = "ml.c4.8xlarge"
80847
80848	// TrainingInstanceTypeMlP2Xlarge is a TrainingInstanceType enum value
80849	TrainingInstanceTypeMlP2Xlarge = "ml.p2.xlarge"
80850
80851	// TrainingInstanceTypeMlP28xlarge is a TrainingInstanceType enum value
80852	TrainingInstanceTypeMlP28xlarge = "ml.p2.8xlarge"
80853
80854	// TrainingInstanceTypeMlP216xlarge is a TrainingInstanceType enum value
80855	TrainingInstanceTypeMlP216xlarge = "ml.p2.16xlarge"
80856
80857	// TrainingInstanceTypeMlP32xlarge is a TrainingInstanceType enum value
80858	TrainingInstanceTypeMlP32xlarge = "ml.p3.2xlarge"
80859
80860	// TrainingInstanceTypeMlP38xlarge is a TrainingInstanceType enum value
80861	TrainingInstanceTypeMlP38xlarge = "ml.p3.8xlarge"
80862
80863	// TrainingInstanceTypeMlP316xlarge is a TrainingInstanceType enum value
80864	TrainingInstanceTypeMlP316xlarge = "ml.p3.16xlarge"
80865
80866	// TrainingInstanceTypeMlP3dn24xlarge is a TrainingInstanceType enum value
80867	TrainingInstanceTypeMlP3dn24xlarge = "ml.p3dn.24xlarge"
80868
80869	// TrainingInstanceTypeMlP4d24xlarge is a TrainingInstanceType enum value
80870	TrainingInstanceTypeMlP4d24xlarge = "ml.p4d.24xlarge"
80871
80872	// TrainingInstanceTypeMlC5Xlarge is a TrainingInstanceType enum value
80873	TrainingInstanceTypeMlC5Xlarge = "ml.c5.xlarge"
80874
80875	// TrainingInstanceTypeMlC52xlarge is a TrainingInstanceType enum value
80876	TrainingInstanceTypeMlC52xlarge = "ml.c5.2xlarge"
80877
80878	// TrainingInstanceTypeMlC54xlarge is a TrainingInstanceType enum value
80879	TrainingInstanceTypeMlC54xlarge = "ml.c5.4xlarge"
80880
80881	// TrainingInstanceTypeMlC59xlarge is a TrainingInstanceType enum value
80882	TrainingInstanceTypeMlC59xlarge = "ml.c5.9xlarge"
80883
80884	// TrainingInstanceTypeMlC518xlarge is a TrainingInstanceType enum value
80885	TrainingInstanceTypeMlC518xlarge = "ml.c5.18xlarge"
80886
80887	// TrainingInstanceTypeMlC5nXlarge is a TrainingInstanceType enum value
80888	TrainingInstanceTypeMlC5nXlarge = "ml.c5n.xlarge"
80889
80890	// TrainingInstanceTypeMlC5n2xlarge is a TrainingInstanceType enum value
80891	TrainingInstanceTypeMlC5n2xlarge = "ml.c5n.2xlarge"
80892
80893	// TrainingInstanceTypeMlC5n4xlarge is a TrainingInstanceType enum value
80894	TrainingInstanceTypeMlC5n4xlarge = "ml.c5n.4xlarge"
80895
80896	// TrainingInstanceTypeMlC5n9xlarge is a TrainingInstanceType enum value
80897	TrainingInstanceTypeMlC5n9xlarge = "ml.c5n.9xlarge"
80898
80899	// TrainingInstanceTypeMlC5n18xlarge is a TrainingInstanceType enum value
80900	TrainingInstanceTypeMlC5n18xlarge = "ml.c5n.18xlarge"
80901)
80902
80903// TrainingInstanceType_Values returns all elements of the TrainingInstanceType enum
80904func TrainingInstanceType_Values() []string {
80905	return []string{
80906		TrainingInstanceTypeMlM4Xlarge,
80907		TrainingInstanceTypeMlM42xlarge,
80908		TrainingInstanceTypeMlM44xlarge,
80909		TrainingInstanceTypeMlM410xlarge,
80910		TrainingInstanceTypeMlM416xlarge,
80911		TrainingInstanceTypeMlG4dnXlarge,
80912		TrainingInstanceTypeMlG4dn2xlarge,
80913		TrainingInstanceTypeMlG4dn4xlarge,
80914		TrainingInstanceTypeMlG4dn8xlarge,
80915		TrainingInstanceTypeMlG4dn12xlarge,
80916		TrainingInstanceTypeMlG4dn16xlarge,
80917		TrainingInstanceTypeMlM5Large,
80918		TrainingInstanceTypeMlM5Xlarge,
80919		TrainingInstanceTypeMlM52xlarge,
80920		TrainingInstanceTypeMlM54xlarge,
80921		TrainingInstanceTypeMlM512xlarge,
80922		TrainingInstanceTypeMlM524xlarge,
80923		TrainingInstanceTypeMlC4Xlarge,
80924		TrainingInstanceTypeMlC42xlarge,
80925		TrainingInstanceTypeMlC44xlarge,
80926		TrainingInstanceTypeMlC48xlarge,
80927		TrainingInstanceTypeMlP2Xlarge,
80928		TrainingInstanceTypeMlP28xlarge,
80929		TrainingInstanceTypeMlP216xlarge,
80930		TrainingInstanceTypeMlP32xlarge,
80931		TrainingInstanceTypeMlP38xlarge,
80932		TrainingInstanceTypeMlP316xlarge,
80933		TrainingInstanceTypeMlP3dn24xlarge,
80934		TrainingInstanceTypeMlP4d24xlarge,
80935		TrainingInstanceTypeMlC5Xlarge,
80936		TrainingInstanceTypeMlC52xlarge,
80937		TrainingInstanceTypeMlC54xlarge,
80938		TrainingInstanceTypeMlC59xlarge,
80939		TrainingInstanceTypeMlC518xlarge,
80940		TrainingInstanceTypeMlC5nXlarge,
80941		TrainingInstanceTypeMlC5n2xlarge,
80942		TrainingInstanceTypeMlC5n4xlarge,
80943		TrainingInstanceTypeMlC5n9xlarge,
80944		TrainingInstanceTypeMlC5n18xlarge,
80945	}
80946}
80947
80948const (
80949	// TrainingJobEarlyStoppingTypeOff is a TrainingJobEarlyStoppingType enum value
80950	TrainingJobEarlyStoppingTypeOff = "Off"
80951
80952	// TrainingJobEarlyStoppingTypeAuto is a TrainingJobEarlyStoppingType enum value
80953	TrainingJobEarlyStoppingTypeAuto = "Auto"
80954)
80955
80956// TrainingJobEarlyStoppingType_Values returns all elements of the TrainingJobEarlyStoppingType enum
80957func TrainingJobEarlyStoppingType_Values() []string {
80958	return []string{
80959		TrainingJobEarlyStoppingTypeOff,
80960		TrainingJobEarlyStoppingTypeAuto,
80961	}
80962}
80963
80964const (
80965	// TrainingJobSortByOptionsName is a TrainingJobSortByOptions enum value
80966	TrainingJobSortByOptionsName = "Name"
80967
80968	// TrainingJobSortByOptionsCreationTime is a TrainingJobSortByOptions enum value
80969	TrainingJobSortByOptionsCreationTime = "CreationTime"
80970
80971	// TrainingJobSortByOptionsStatus is a TrainingJobSortByOptions enum value
80972	TrainingJobSortByOptionsStatus = "Status"
80973
80974	// TrainingJobSortByOptionsFinalObjectiveMetricValue is a TrainingJobSortByOptions enum value
80975	TrainingJobSortByOptionsFinalObjectiveMetricValue = "FinalObjectiveMetricValue"
80976)
80977
80978// TrainingJobSortByOptions_Values returns all elements of the TrainingJobSortByOptions enum
80979func TrainingJobSortByOptions_Values() []string {
80980	return []string{
80981		TrainingJobSortByOptionsName,
80982		TrainingJobSortByOptionsCreationTime,
80983		TrainingJobSortByOptionsStatus,
80984		TrainingJobSortByOptionsFinalObjectiveMetricValue,
80985	}
80986}
80987
80988const (
80989	// TrainingJobStatusInProgress is a TrainingJobStatus enum value
80990	TrainingJobStatusInProgress = "InProgress"
80991
80992	// TrainingJobStatusCompleted is a TrainingJobStatus enum value
80993	TrainingJobStatusCompleted = "Completed"
80994
80995	// TrainingJobStatusFailed is a TrainingJobStatus enum value
80996	TrainingJobStatusFailed = "Failed"
80997
80998	// TrainingJobStatusStopping is a TrainingJobStatus enum value
80999	TrainingJobStatusStopping = "Stopping"
81000
81001	// TrainingJobStatusStopped is a TrainingJobStatus enum value
81002	TrainingJobStatusStopped = "Stopped"
81003)
81004
81005// TrainingJobStatus_Values returns all elements of the TrainingJobStatus enum
81006func TrainingJobStatus_Values() []string {
81007	return []string{
81008		TrainingJobStatusInProgress,
81009		TrainingJobStatusCompleted,
81010		TrainingJobStatusFailed,
81011		TrainingJobStatusStopping,
81012		TrainingJobStatusStopped,
81013	}
81014}
81015
81016const (
81017	// TransformInstanceTypeMlM4Xlarge is a TransformInstanceType enum value
81018	TransformInstanceTypeMlM4Xlarge = "ml.m4.xlarge"
81019
81020	// TransformInstanceTypeMlM42xlarge is a TransformInstanceType enum value
81021	TransformInstanceTypeMlM42xlarge = "ml.m4.2xlarge"
81022
81023	// TransformInstanceTypeMlM44xlarge is a TransformInstanceType enum value
81024	TransformInstanceTypeMlM44xlarge = "ml.m4.4xlarge"
81025
81026	// TransformInstanceTypeMlM410xlarge is a TransformInstanceType enum value
81027	TransformInstanceTypeMlM410xlarge = "ml.m4.10xlarge"
81028
81029	// TransformInstanceTypeMlM416xlarge is a TransformInstanceType enum value
81030	TransformInstanceTypeMlM416xlarge = "ml.m4.16xlarge"
81031
81032	// TransformInstanceTypeMlC4Xlarge is a TransformInstanceType enum value
81033	TransformInstanceTypeMlC4Xlarge = "ml.c4.xlarge"
81034
81035	// TransformInstanceTypeMlC42xlarge is a TransformInstanceType enum value
81036	TransformInstanceTypeMlC42xlarge = "ml.c4.2xlarge"
81037
81038	// TransformInstanceTypeMlC44xlarge is a TransformInstanceType enum value
81039	TransformInstanceTypeMlC44xlarge = "ml.c4.4xlarge"
81040
81041	// TransformInstanceTypeMlC48xlarge is a TransformInstanceType enum value
81042	TransformInstanceTypeMlC48xlarge = "ml.c4.8xlarge"
81043
81044	// TransformInstanceTypeMlP2Xlarge is a TransformInstanceType enum value
81045	TransformInstanceTypeMlP2Xlarge = "ml.p2.xlarge"
81046
81047	// TransformInstanceTypeMlP28xlarge is a TransformInstanceType enum value
81048	TransformInstanceTypeMlP28xlarge = "ml.p2.8xlarge"
81049
81050	// TransformInstanceTypeMlP216xlarge is a TransformInstanceType enum value
81051	TransformInstanceTypeMlP216xlarge = "ml.p2.16xlarge"
81052
81053	// TransformInstanceTypeMlP32xlarge is a TransformInstanceType enum value
81054	TransformInstanceTypeMlP32xlarge = "ml.p3.2xlarge"
81055
81056	// TransformInstanceTypeMlP38xlarge is a TransformInstanceType enum value
81057	TransformInstanceTypeMlP38xlarge = "ml.p3.8xlarge"
81058
81059	// TransformInstanceTypeMlP316xlarge is a TransformInstanceType enum value
81060	TransformInstanceTypeMlP316xlarge = "ml.p3.16xlarge"
81061
81062	// TransformInstanceTypeMlC5Xlarge is a TransformInstanceType enum value
81063	TransformInstanceTypeMlC5Xlarge = "ml.c5.xlarge"
81064
81065	// TransformInstanceTypeMlC52xlarge is a TransformInstanceType enum value
81066	TransformInstanceTypeMlC52xlarge = "ml.c5.2xlarge"
81067
81068	// TransformInstanceTypeMlC54xlarge is a TransformInstanceType enum value
81069	TransformInstanceTypeMlC54xlarge = "ml.c5.4xlarge"
81070
81071	// TransformInstanceTypeMlC59xlarge is a TransformInstanceType enum value
81072	TransformInstanceTypeMlC59xlarge = "ml.c5.9xlarge"
81073
81074	// TransformInstanceTypeMlC518xlarge is a TransformInstanceType enum value
81075	TransformInstanceTypeMlC518xlarge = "ml.c5.18xlarge"
81076
81077	// TransformInstanceTypeMlM5Large is a TransformInstanceType enum value
81078	TransformInstanceTypeMlM5Large = "ml.m5.large"
81079
81080	// TransformInstanceTypeMlM5Xlarge is a TransformInstanceType enum value
81081	TransformInstanceTypeMlM5Xlarge = "ml.m5.xlarge"
81082
81083	// TransformInstanceTypeMlM52xlarge is a TransformInstanceType enum value
81084	TransformInstanceTypeMlM52xlarge = "ml.m5.2xlarge"
81085
81086	// TransformInstanceTypeMlM54xlarge is a TransformInstanceType enum value
81087	TransformInstanceTypeMlM54xlarge = "ml.m5.4xlarge"
81088
81089	// TransformInstanceTypeMlM512xlarge is a TransformInstanceType enum value
81090	TransformInstanceTypeMlM512xlarge = "ml.m5.12xlarge"
81091
81092	// TransformInstanceTypeMlM524xlarge is a TransformInstanceType enum value
81093	TransformInstanceTypeMlM524xlarge = "ml.m5.24xlarge"
81094)
81095
81096// TransformInstanceType_Values returns all elements of the TransformInstanceType enum
81097func TransformInstanceType_Values() []string {
81098	return []string{
81099		TransformInstanceTypeMlM4Xlarge,
81100		TransformInstanceTypeMlM42xlarge,
81101		TransformInstanceTypeMlM44xlarge,
81102		TransformInstanceTypeMlM410xlarge,
81103		TransformInstanceTypeMlM416xlarge,
81104		TransformInstanceTypeMlC4Xlarge,
81105		TransformInstanceTypeMlC42xlarge,
81106		TransformInstanceTypeMlC44xlarge,
81107		TransformInstanceTypeMlC48xlarge,
81108		TransformInstanceTypeMlP2Xlarge,
81109		TransformInstanceTypeMlP28xlarge,
81110		TransformInstanceTypeMlP216xlarge,
81111		TransformInstanceTypeMlP32xlarge,
81112		TransformInstanceTypeMlP38xlarge,
81113		TransformInstanceTypeMlP316xlarge,
81114		TransformInstanceTypeMlC5Xlarge,
81115		TransformInstanceTypeMlC52xlarge,
81116		TransformInstanceTypeMlC54xlarge,
81117		TransformInstanceTypeMlC59xlarge,
81118		TransformInstanceTypeMlC518xlarge,
81119		TransformInstanceTypeMlM5Large,
81120		TransformInstanceTypeMlM5Xlarge,
81121		TransformInstanceTypeMlM52xlarge,
81122		TransformInstanceTypeMlM54xlarge,
81123		TransformInstanceTypeMlM512xlarge,
81124		TransformInstanceTypeMlM524xlarge,
81125	}
81126}
81127
81128const (
81129	// TransformJobStatusInProgress is a TransformJobStatus enum value
81130	TransformJobStatusInProgress = "InProgress"
81131
81132	// TransformJobStatusCompleted is a TransformJobStatus enum value
81133	TransformJobStatusCompleted = "Completed"
81134
81135	// TransformJobStatusFailed is a TransformJobStatus enum value
81136	TransformJobStatusFailed = "Failed"
81137
81138	// TransformJobStatusStopping is a TransformJobStatus enum value
81139	TransformJobStatusStopping = "Stopping"
81140
81141	// TransformJobStatusStopped is a TransformJobStatus enum value
81142	TransformJobStatusStopped = "Stopped"
81143)
81144
81145// TransformJobStatus_Values returns all elements of the TransformJobStatus enum
81146func TransformJobStatus_Values() []string {
81147	return []string{
81148		TransformJobStatusInProgress,
81149		TransformJobStatusCompleted,
81150		TransformJobStatusFailed,
81151		TransformJobStatusStopping,
81152		TransformJobStatusStopped,
81153	}
81154}
81155
81156const (
81157	// TrialComponentPrimaryStatusInProgress is a TrialComponentPrimaryStatus enum value
81158	TrialComponentPrimaryStatusInProgress = "InProgress"
81159
81160	// TrialComponentPrimaryStatusCompleted is a TrialComponentPrimaryStatus enum value
81161	TrialComponentPrimaryStatusCompleted = "Completed"
81162
81163	// TrialComponentPrimaryStatusFailed is a TrialComponentPrimaryStatus enum value
81164	TrialComponentPrimaryStatusFailed = "Failed"
81165
81166	// TrialComponentPrimaryStatusStopping is a TrialComponentPrimaryStatus enum value
81167	TrialComponentPrimaryStatusStopping = "Stopping"
81168
81169	// TrialComponentPrimaryStatusStopped is a TrialComponentPrimaryStatus enum value
81170	TrialComponentPrimaryStatusStopped = "Stopped"
81171)
81172
81173// TrialComponentPrimaryStatus_Values returns all elements of the TrialComponentPrimaryStatus enum
81174func TrialComponentPrimaryStatus_Values() []string {
81175	return []string{
81176		TrialComponentPrimaryStatusInProgress,
81177		TrialComponentPrimaryStatusCompleted,
81178		TrialComponentPrimaryStatusFailed,
81179		TrialComponentPrimaryStatusStopping,
81180		TrialComponentPrimaryStatusStopped,
81181	}
81182}
81183
81184const (
81185	// UserProfileSortKeyCreationTime is a UserProfileSortKey enum value
81186	UserProfileSortKeyCreationTime = "CreationTime"
81187
81188	// UserProfileSortKeyLastModifiedTime is a UserProfileSortKey enum value
81189	UserProfileSortKeyLastModifiedTime = "LastModifiedTime"
81190)
81191
81192// UserProfileSortKey_Values returns all elements of the UserProfileSortKey enum
81193func UserProfileSortKey_Values() []string {
81194	return []string{
81195		UserProfileSortKeyCreationTime,
81196		UserProfileSortKeyLastModifiedTime,
81197	}
81198}
81199
81200const (
81201	// UserProfileStatusDeleting is a UserProfileStatus enum value
81202	UserProfileStatusDeleting = "Deleting"
81203
81204	// UserProfileStatusFailed is a UserProfileStatus enum value
81205	UserProfileStatusFailed = "Failed"
81206
81207	// UserProfileStatusInService is a UserProfileStatus enum value
81208	UserProfileStatusInService = "InService"
81209
81210	// UserProfileStatusPending is a UserProfileStatus enum value
81211	UserProfileStatusPending = "Pending"
81212
81213	// UserProfileStatusUpdating is a UserProfileStatus enum value
81214	UserProfileStatusUpdating = "Updating"
81215
81216	// UserProfileStatusUpdateFailed is a UserProfileStatus enum value
81217	UserProfileStatusUpdateFailed = "Update_Failed"
81218
81219	// UserProfileStatusDeleteFailed is a UserProfileStatus enum value
81220	UserProfileStatusDeleteFailed = "Delete_Failed"
81221)
81222
81223// UserProfileStatus_Values returns all elements of the UserProfileStatus enum
81224func UserProfileStatus_Values() []string {
81225	return []string{
81226		UserProfileStatusDeleting,
81227		UserProfileStatusFailed,
81228		UserProfileStatusInService,
81229		UserProfileStatusPending,
81230		UserProfileStatusUpdating,
81231		UserProfileStatusUpdateFailed,
81232		UserProfileStatusDeleteFailed,
81233	}
81234}
81235
81236const (
81237	// VariantPropertyTypeDesiredInstanceCount is a VariantPropertyType enum value
81238	VariantPropertyTypeDesiredInstanceCount = "DesiredInstanceCount"
81239
81240	// VariantPropertyTypeDesiredWeight is a VariantPropertyType enum value
81241	VariantPropertyTypeDesiredWeight = "DesiredWeight"
81242
81243	// VariantPropertyTypeDataCaptureConfig is a VariantPropertyType enum value
81244	VariantPropertyTypeDataCaptureConfig = "DataCaptureConfig"
81245)
81246
81247// VariantPropertyType_Values returns all elements of the VariantPropertyType enum
81248func VariantPropertyType_Values() []string {
81249	return []string{
81250		VariantPropertyTypeDesiredInstanceCount,
81251		VariantPropertyTypeDesiredWeight,
81252		VariantPropertyTypeDataCaptureConfig,
81253	}
81254}
81255