1// Code generated by private/model/cli/gen-api/main.go. DO NOT EDIT.
2
3package sagemaker
4
5import (
6	"fmt"
7	"time"
8
9	"github.com/aws/aws-sdk-go/aws"
10	"github.com/aws/aws-sdk-go/aws/awsutil"
11	"github.com/aws/aws-sdk-go/aws/request"
12	"github.com/aws/aws-sdk-go/private/protocol"
13	"github.com/aws/aws-sdk-go/private/protocol/jsonrpc"
14)
15
16const opAddTags = "AddTags"
17
18// AddTagsRequest generates a "aws/request.Request" representing the
19// client's request for the AddTags operation. The "output" return
20// value will be populated with the request's response once the request completes
21// successfully.
22//
23// Use "Send" method on the returned Request to send the API call to the service.
24// the "output" return value is not valid until after Send returns without error.
25//
26// See AddTags for more information on using the AddTags
27// API call, and error handling.
28//
29// This method is useful when you want to inject custom logic or configuration
30// into the SDK's request lifecycle. Such as custom headers, or retry logic.
31//
32//
33//    // Example sending a request using the AddTagsRequest method.
34//    req, resp := client.AddTagsRequest(params)
35//
36//    err := req.Send()
37//    if err == nil { // resp is now filled
38//        fmt.Println(resp)
39//    }
40//
41// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AddTags
42func (c *SageMaker) AddTagsRequest(input *AddTagsInput) (req *request.Request, output *AddTagsOutput) {
43	op := &request.Operation{
44		Name:       opAddTags,
45		HTTPMethod: "POST",
46		HTTPPath:   "/",
47	}
48
49	if input == nil {
50		input = &AddTagsInput{}
51	}
52
53	output = &AddTagsOutput{}
54	req = c.newRequest(op, input, output)
55	return
56}
57
58// AddTags API operation for Amazon SageMaker Service.
59//
60// Adds or overwrites one or more tags for the specified Amazon SageMaker resource.
61// You can add tags to notebook instances, training jobs, hyperparameter tuning
62// jobs, batch transform jobs, models, labeling jobs, work teams, endpoint configurations,
63// and endpoints.
64//
65// Each tag consists of a key and an optional value. Tag keys must be unique
66// per resource. For more information about tags, see For more information,
67// see AWS Tagging Strategies (https://aws.amazon.com/answers/account-management/aws-tagging-strategies/).
68//
69// Tags that you add to a hyperparameter tuning job by calling this API are
70// also added to any training jobs that the hyperparameter tuning job launches
71// after you call this API, but not to training jobs that the hyperparameter
72// tuning job launched before you called this API. To make sure that the tags
73// associated with a hyperparameter tuning job are also added to all training
74// jobs that the hyperparameter tuning job launches, add the tags when you first
75// create the tuning job by specifying them in the Tags parameter of CreateHyperParameterTuningJob
76//
77// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
78// with awserr.Error's Code and Message methods to get detailed information about
79// the error.
80//
81// See the AWS API reference guide for Amazon SageMaker Service's
82// API operation AddTags for usage and error information.
83// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/AddTags
84func (c *SageMaker) AddTags(input *AddTagsInput) (*AddTagsOutput, error) {
85	req, out := c.AddTagsRequest(input)
86	return out, req.Send()
87}
88
89// AddTagsWithContext is the same as AddTags with the addition of
90// the ability to pass a context and additional request options.
91//
92// See AddTags for details on how to use this API operation.
93//
94// The context must be non-nil and will be used for request cancellation. If
95// the context is nil a panic will occur. In the future the SDK may create
96// sub-contexts for http.Requests. See https://golang.org/pkg/context/
97// for more information on using Contexts.
98func (c *SageMaker) AddTagsWithContext(ctx aws.Context, input *AddTagsInput, opts ...request.Option) (*AddTagsOutput, error) {
99	req, out := c.AddTagsRequest(input)
100	req.SetContext(ctx)
101	req.ApplyOptions(opts...)
102	return out, req.Send()
103}
104
105const opCreateAlgorithm = "CreateAlgorithm"
106
107// CreateAlgorithmRequest generates a "aws/request.Request" representing the
108// client's request for the CreateAlgorithm operation. The "output" return
109// value will be populated with the request's response once the request completes
110// successfully.
111//
112// Use "Send" method on the returned Request to send the API call to the service.
113// the "output" return value is not valid until after Send returns without error.
114//
115// See CreateAlgorithm for more information on using the CreateAlgorithm
116// API call, and error handling.
117//
118// This method is useful when you want to inject custom logic or configuration
119// into the SDK's request lifecycle. Such as custom headers, or retry logic.
120//
121//
122//    // Example sending a request using the CreateAlgorithmRequest method.
123//    req, resp := client.CreateAlgorithmRequest(params)
124//
125//    err := req.Send()
126//    if err == nil { // resp is now filled
127//        fmt.Println(resp)
128//    }
129//
130// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAlgorithm
131func (c *SageMaker) CreateAlgorithmRequest(input *CreateAlgorithmInput) (req *request.Request, output *CreateAlgorithmOutput) {
132	op := &request.Operation{
133		Name:       opCreateAlgorithm,
134		HTTPMethod: "POST",
135		HTTPPath:   "/",
136	}
137
138	if input == nil {
139		input = &CreateAlgorithmInput{}
140	}
141
142	output = &CreateAlgorithmOutput{}
143	req = c.newRequest(op, input, output)
144	return
145}
146
147// CreateAlgorithm API operation for Amazon SageMaker Service.
148//
149// Create a machine learning algorithm that you can use in Amazon SageMaker
150// and list in the AWS Marketplace.
151//
152// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
153// with awserr.Error's Code and Message methods to get detailed information about
154// the error.
155//
156// See the AWS API reference guide for Amazon SageMaker Service's
157// API operation CreateAlgorithm for usage and error information.
158// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateAlgorithm
159func (c *SageMaker) CreateAlgorithm(input *CreateAlgorithmInput) (*CreateAlgorithmOutput, error) {
160	req, out := c.CreateAlgorithmRequest(input)
161	return out, req.Send()
162}
163
164// CreateAlgorithmWithContext is the same as CreateAlgorithm with the addition of
165// the ability to pass a context and additional request options.
166//
167// See CreateAlgorithm for details on how to use this API operation.
168//
169// The context must be non-nil and will be used for request cancellation. If
170// the context is nil a panic will occur. In the future the SDK may create
171// sub-contexts for http.Requests. See https://golang.org/pkg/context/
172// for more information on using Contexts.
173func (c *SageMaker) CreateAlgorithmWithContext(ctx aws.Context, input *CreateAlgorithmInput, opts ...request.Option) (*CreateAlgorithmOutput, error) {
174	req, out := c.CreateAlgorithmRequest(input)
175	req.SetContext(ctx)
176	req.ApplyOptions(opts...)
177	return out, req.Send()
178}
179
180const opCreateCodeRepository = "CreateCodeRepository"
181
182// CreateCodeRepositoryRequest generates a "aws/request.Request" representing the
183// client's request for the CreateCodeRepository operation. The "output" return
184// value will be populated with the request's response once the request completes
185// successfully.
186//
187// Use "Send" method on the returned Request to send the API call to the service.
188// the "output" return value is not valid until after Send returns without error.
189//
190// See CreateCodeRepository for more information on using the CreateCodeRepository
191// API call, and error handling.
192//
193// This method is useful when you want to inject custom logic or configuration
194// into the SDK's request lifecycle. Such as custom headers, or retry logic.
195//
196//
197//    // Example sending a request using the CreateCodeRepositoryRequest method.
198//    req, resp := client.CreateCodeRepositoryRequest(params)
199//
200//    err := req.Send()
201//    if err == nil { // resp is now filled
202//        fmt.Println(resp)
203//    }
204//
205// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateCodeRepository
206func (c *SageMaker) CreateCodeRepositoryRequest(input *CreateCodeRepositoryInput) (req *request.Request, output *CreateCodeRepositoryOutput) {
207	op := &request.Operation{
208		Name:       opCreateCodeRepository,
209		HTTPMethod: "POST",
210		HTTPPath:   "/",
211	}
212
213	if input == nil {
214		input = &CreateCodeRepositoryInput{}
215	}
216
217	output = &CreateCodeRepositoryOutput{}
218	req = c.newRequest(op, input, output)
219	return
220}
221
222// CreateCodeRepository API operation for Amazon SageMaker Service.
223//
224// Creates a Git repository as a resource in your Amazon SageMaker account.
225// You can associate the repository with notebook instances so that you can
226// use Git source control for the notebooks you create. The Git repository is
227// a resource in your Amazon SageMaker account, so it can be associated with
228// more than one notebook instance, and it persists independently from the lifecycle
229// of any notebook instances it is associated with.
230//
231// The repository can be hosted either in AWS CodeCommit (http://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html)
232// or in any other Git repository.
233//
234// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
235// with awserr.Error's Code and Message methods to get detailed information about
236// the error.
237//
238// See the AWS API reference guide for Amazon SageMaker Service's
239// API operation CreateCodeRepository for usage and error information.
240// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateCodeRepository
241func (c *SageMaker) CreateCodeRepository(input *CreateCodeRepositoryInput) (*CreateCodeRepositoryOutput, error) {
242	req, out := c.CreateCodeRepositoryRequest(input)
243	return out, req.Send()
244}
245
246// CreateCodeRepositoryWithContext is the same as CreateCodeRepository with the addition of
247// the ability to pass a context and additional request options.
248//
249// See CreateCodeRepository for details on how to use this API operation.
250//
251// The context must be non-nil and will be used for request cancellation. If
252// the context is nil a panic will occur. In the future the SDK may create
253// sub-contexts for http.Requests. See https://golang.org/pkg/context/
254// for more information on using Contexts.
255func (c *SageMaker) CreateCodeRepositoryWithContext(ctx aws.Context, input *CreateCodeRepositoryInput, opts ...request.Option) (*CreateCodeRepositoryOutput, error) {
256	req, out := c.CreateCodeRepositoryRequest(input)
257	req.SetContext(ctx)
258	req.ApplyOptions(opts...)
259	return out, req.Send()
260}
261
262const opCreateCompilationJob = "CreateCompilationJob"
263
264// CreateCompilationJobRequest generates a "aws/request.Request" representing the
265// client's request for the CreateCompilationJob operation. The "output" return
266// value will be populated with the request's response once the request completes
267// successfully.
268//
269// Use "Send" method on the returned Request to send the API call to the service.
270// the "output" return value is not valid until after Send returns without error.
271//
272// See CreateCompilationJob for more information on using the CreateCompilationJob
273// API call, and error handling.
274//
275// This method is useful when you want to inject custom logic or configuration
276// into the SDK's request lifecycle. Such as custom headers, or retry logic.
277//
278//
279//    // Example sending a request using the CreateCompilationJobRequest method.
280//    req, resp := client.CreateCompilationJobRequest(params)
281//
282//    err := req.Send()
283//    if err == nil { // resp is now filled
284//        fmt.Println(resp)
285//    }
286//
287// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateCompilationJob
288func (c *SageMaker) CreateCompilationJobRequest(input *CreateCompilationJobInput) (req *request.Request, output *CreateCompilationJobOutput) {
289	op := &request.Operation{
290		Name:       opCreateCompilationJob,
291		HTTPMethod: "POST",
292		HTTPPath:   "/",
293	}
294
295	if input == nil {
296		input = &CreateCompilationJobInput{}
297	}
298
299	output = &CreateCompilationJobOutput{}
300	req = c.newRequest(op, input, output)
301	return
302}
303
304// CreateCompilationJob API operation for Amazon SageMaker Service.
305//
306// Starts a model compilation job. After the model has been compiled, Amazon
307// SageMaker saves the resulting model artifacts to an Amazon Simple Storage
308// Service (Amazon S3) bucket that you specify.
309//
310// If you choose to host your model using Amazon SageMaker hosting services,
311// you can use the resulting model artifacts as part of the model. You can also
312// use the artifacts with AWS IoT Greengrass. In that case, deploy them as an
313// ML resource.
314//
315// In the request body, you provide the following:
316//
317//    * A name for the compilation job
318//
319//    * Information about the input model artifacts
320//
321//    * The output location for the compiled model and the device (target) that
322//    the model runs on
323//
324//    * The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker
325//    assumes to perform the model compilation job
326//
327// You can also provide a Tag to track the model compilation job's resource
328// use and costs. The response body contains the CompilationJobArn for the compiled
329// job.
330//
331// To stop a model compilation job, use StopCompilationJob. To get information
332// about a particular model compilation job, use DescribeCompilationJob. To
333// get information about multiple model compilation jobs, use ListCompilationJobs.
334//
335// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
336// with awserr.Error's Code and Message methods to get detailed information about
337// the error.
338//
339// See the AWS API reference guide for Amazon SageMaker Service's
340// API operation CreateCompilationJob for usage and error information.
341//
342// Returned Error Codes:
343//   * ErrCodeResourceInUse "ResourceInUse"
344//   Resource being accessed is in use.
345//
346//   * ErrCodeResourceLimitExceeded "ResourceLimitExceeded"
347//   You have exceeded an Amazon SageMaker resource limit. For example, you might
348//   have too many training jobs created.
349//
350// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateCompilationJob
351func (c *SageMaker) CreateCompilationJob(input *CreateCompilationJobInput) (*CreateCompilationJobOutput, error) {
352	req, out := c.CreateCompilationJobRequest(input)
353	return out, req.Send()
354}
355
356// CreateCompilationJobWithContext is the same as CreateCompilationJob with the addition of
357// the ability to pass a context and additional request options.
358//
359// See CreateCompilationJob for details on how to use this API operation.
360//
361// The context must be non-nil and will be used for request cancellation. If
362// the context is nil a panic will occur. In the future the SDK may create
363// sub-contexts for http.Requests. See https://golang.org/pkg/context/
364// for more information on using Contexts.
365func (c *SageMaker) CreateCompilationJobWithContext(ctx aws.Context, input *CreateCompilationJobInput, opts ...request.Option) (*CreateCompilationJobOutput, error) {
366	req, out := c.CreateCompilationJobRequest(input)
367	req.SetContext(ctx)
368	req.ApplyOptions(opts...)
369	return out, req.Send()
370}
371
372const opCreateEndpoint = "CreateEndpoint"
373
374// CreateEndpointRequest generates a "aws/request.Request" representing the
375// client's request for the CreateEndpoint operation. The "output" return
376// value will be populated with the request's response once the request completes
377// successfully.
378//
379// Use "Send" method on the returned Request to send the API call to the service.
380// the "output" return value is not valid until after Send returns without error.
381//
382// See CreateEndpoint for more information on using the CreateEndpoint
383// API call, and error handling.
384//
385// This method is useful when you want to inject custom logic or configuration
386// into the SDK's request lifecycle. Such as custom headers, or retry logic.
387//
388//
389//    // Example sending a request using the CreateEndpointRequest method.
390//    req, resp := client.CreateEndpointRequest(params)
391//
392//    err := req.Send()
393//    if err == nil { // resp is now filled
394//        fmt.Println(resp)
395//    }
396//
397// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpoint
398func (c *SageMaker) CreateEndpointRequest(input *CreateEndpointInput) (req *request.Request, output *CreateEndpointOutput) {
399	op := &request.Operation{
400		Name:       opCreateEndpoint,
401		HTTPMethod: "POST",
402		HTTPPath:   "/",
403	}
404
405	if input == nil {
406		input = &CreateEndpointInput{}
407	}
408
409	output = &CreateEndpointOutput{}
410	req = c.newRequest(op, input, output)
411	return
412}
413
414// CreateEndpoint API operation for Amazon SageMaker Service.
415//
416// Creates an endpoint using the endpoint configuration specified in the request.
417// Amazon SageMaker uses the endpoint to provision resources and deploy models.
418// You create the endpoint configuration with the CreateEndpointConfig (https://docs.aws.amazon.com/sagemaker/latest/dg/API_CreateEndpointConfig.html)
419// API.
420//
421// Use this API only for hosting models using Amazon SageMaker hosting services.
422//
423// You must not delete an EndpointConfig in use by an endpoint that is live
424// or while the UpdateEndpoint or CreateEndpoint operations are being performed
425// on the endpoint. To update an endpoint, you must create a new EndpointConfig.
426//
427// The endpoint name must be unique within an AWS Region in your AWS account.
428//
429// When it receives the request, Amazon SageMaker creates the endpoint, launches
430// the resources (ML compute instances), and deploys the model(s) on them.
431//
432// When Amazon SageMaker receives the request, it sets the endpoint status to
433// Creating. After it creates the endpoint, it sets the status to InService.
434// Amazon SageMaker can then process incoming requests for inferences. To check
435// the status of an endpoint, use the DescribeEndpoint (https://docs.aws.amazon.com/sagemaker/latest/dg/API_DescribeEndpoint.html)
436// API.
437//
438// For an example, see Exercise 1: Using the K-Means Algorithm Provided by Amazon
439// SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/ex1.html).
440//
441// If any of the models hosted at this endpoint get model data from an Amazon
442// S3 location, Amazon SageMaker uses AWS Security Token Service to download
443// model artifacts from the S3 path you provided. AWS STS is activated in your
444// IAM user account by default. If you previously deactivated AWS STS for a
445// region, you need to reactivate AWS STS for that region. For more information,
446// see Activating and Deactivating AWS STS i an AWS Region (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html)
447// in the AWS Identity and Access Management User Guide.
448//
449// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
450// with awserr.Error's Code and Message methods to get detailed information about
451// the error.
452//
453// See the AWS API reference guide for Amazon SageMaker Service's
454// API operation CreateEndpoint for usage and error information.
455//
456// Returned Error Codes:
457//   * ErrCodeResourceLimitExceeded "ResourceLimitExceeded"
458//   You have exceeded an Amazon SageMaker resource limit. For example, you might
459//   have too many training jobs created.
460//
461// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpoint
462func (c *SageMaker) CreateEndpoint(input *CreateEndpointInput) (*CreateEndpointOutput, error) {
463	req, out := c.CreateEndpointRequest(input)
464	return out, req.Send()
465}
466
467// CreateEndpointWithContext is the same as CreateEndpoint with the addition of
468// the ability to pass a context and additional request options.
469//
470// See CreateEndpoint for details on how to use this API operation.
471//
472// The context must be non-nil and will be used for request cancellation. If
473// the context is nil a panic will occur. In the future the SDK may create
474// sub-contexts for http.Requests. See https://golang.org/pkg/context/
475// for more information on using Contexts.
476func (c *SageMaker) CreateEndpointWithContext(ctx aws.Context, input *CreateEndpointInput, opts ...request.Option) (*CreateEndpointOutput, error) {
477	req, out := c.CreateEndpointRequest(input)
478	req.SetContext(ctx)
479	req.ApplyOptions(opts...)
480	return out, req.Send()
481}
482
483const opCreateEndpointConfig = "CreateEndpointConfig"
484
485// CreateEndpointConfigRequest generates a "aws/request.Request" representing the
486// client's request for the CreateEndpointConfig operation. The "output" return
487// value will be populated with the request's response once the request completes
488// successfully.
489//
490// Use "Send" method on the returned Request to send the API call to the service.
491// the "output" return value is not valid until after Send returns without error.
492//
493// See CreateEndpointConfig for more information on using the CreateEndpointConfig
494// API call, and error handling.
495//
496// This method is useful when you want to inject custom logic or configuration
497// into the SDK's request lifecycle. Such as custom headers, or retry logic.
498//
499//
500//    // Example sending a request using the CreateEndpointConfigRequest method.
501//    req, resp := client.CreateEndpointConfigRequest(params)
502//
503//    err := req.Send()
504//    if err == nil { // resp is now filled
505//        fmt.Println(resp)
506//    }
507//
508// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpointConfig
509func (c *SageMaker) CreateEndpointConfigRequest(input *CreateEndpointConfigInput) (req *request.Request, output *CreateEndpointConfigOutput) {
510	op := &request.Operation{
511		Name:       opCreateEndpointConfig,
512		HTTPMethod: "POST",
513		HTTPPath:   "/",
514	}
515
516	if input == nil {
517		input = &CreateEndpointConfigInput{}
518	}
519
520	output = &CreateEndpointConfigOutput{}
521	req = c.newRequest(op, input, output)
522	return
523}
524
525// CreateEndpointConfig API operation for Amazon SageMaker Service.
526//
527// Creates an endpoint configuration that Amazon SageMaker hosting services
528// uses to deploy models. In the configuration, you identify one or more models,
529// created using the CreateModel API, to deploy and the resources that you want
530// Amazon SageMaker to provision. Then you call the CreateEndpoint (https://docs.aws.amazon.com/sagemaker/latest/dg/API_CreateEndpoint.html)
531// API.
532//
533// Use this API only if you want to use Amazon SageMaker hosting services to
534// deploy models into production.
535//
536// In the request, you define one or more ProductionVariants, each of which
537// identifies a model. Each ProductionVariant parameter also describes the resources
538// that you want Amazon SageMaker to provision. This includes the number and
539// type of ML compute instances to deploy.
540//
541// If you are hosting multiple models, you also assign a VariantWeight to specify
542// how much traffic you want to allocate to each model. For example, suppose
543// that you want to host two models, A and B, and you assign traffic weight
544// 2 for model A and 1 for model B. Amazon SageMaker distributes two-thirds
545// of the traffic to Model A, and one-third to model B.
546//
547// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
548// with awserr.Error's Code and Message methods to get detailed information about
549// the error.
550//
551// See the AWS API reference guide for Amazon SageMaker Service's
552// API operation CreateEndpointConfig for usage and error information.
553//
554// Returned Error Codes:
555//   * ErrCodeResourceLimitExceeded "ResourceLimitExceeded"
556//   You have exceeded an Amazon SageMaker resource limit. For example, you might
557//   have too many training jobs created.
558//
559// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateEndpointConfig
560func (c *SageMaker) CreateEndpointConfig(input *CreateEndpointConfigInput) (*CreateEndpointConfigOutput, error) {
561	req, out := c.CreateEndpointConfigRequest(input)
562	return out, req.Send()
563}
564
565// CreateEndpointConfigWithContext is the same as CreateEndpointConfig with the addition of
566// the ability to pass a context and additional request options.
567//
568// See CreateEndpointConfig for details on how to use this API operation.
569//
570// The context must be non-nil and will be used for request cancellation. If
571// the context is nil a panic will occur. In the future the SDK may create
572// sub-contexts for http.Requests. See https://golang.org/pkg/context/
573// for more information on using Contexts.
574func (c *SageMaker) CreateEndpointConfigWithContext(ctx aws.Context, input *CreateEndpointConfigInput, opts ...request.Option) (*CreateEndpointConfigOutput, error) {
575	req, out := c.CreateEndpointConfigRequest(input)
576	req.SetContext(ctx)
577	req.ApplyOptions(opts...)
578	return out, req.Send()
579}
580
581const opCreateHyperParameterTuningJob = "CreateHyperParameterTuningJob"
582
583// CreateHyperParameterTuningJobRequest generates a "aws/request.Request" representing the
584// client's request for the CreateHyperParameterTuningJob operation. The "output" return
585// value will be populated with the request's response once the request completes
586// successfully.
587//
588// Use "Send" method on the returned Request to send the API call to the service.
589// the "output" return value is not valid until after Send returns without error.
590//
591// See CreateHyperParameterTuningJob for more information on using the CreateHyperParameterTuningJob
592// API call, and error handling.
593//
594// This method is useful when you want to inject custom logic or configuration
595// into the SDK's request lifecycle. Such as custom headers, or retry logic.
596//
597//
598//    // Example sending a request using the CreateHyperParameterTuningJobRequest method.
599//    req, resp := client.CreateHyperParameterTuningJobRequest(params)
600//
601//    err := req.Send()
602//    if err == nil { // resp is now filled
603//        fmt.Println(resp)
604//    }
605//
606// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateHyperParameterTuningJob
607func (c *SageMaker) CreateHyperParameterTuningJobRequest(input *CreateHyperParameterTuningJobInput) (req *request.Request, output *CreateHyperParameterTuningJobOutput) {
608	op := &request.Operation{
609		Name:       opCreateHyperParameterTuningJob,
610		HTTPMethod: "POST",
611		HTTPPath:   "/",
612	}
613
614	if input == nil {
615		input = &CreateHyperParameterTuningJobInput{}
616	}
617
618	output = &CreateHyperParameterTuningJobOutput{}
619	req = c.newRequest(op, input, output)
620	return
621}
622
623// CreateHyperParameterTuningJob API operation for Amazon SageMaker Service.
624//
625// Starts a hyperparameter tuning job. A hyperparameter tuning job finds the
626// best version of a model by running many training jobs on your dataset using
627// the algorithm you choose and values for hyperparameters within ranges that
628// you specify. It then chooses the hyperparameter values that result in a model
629// that performs the best, as measured by an objective metric that you choose.
630//
631// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
632// with awserr.Error's Code and Message methods to get detailed information about
633// the error.
634//
635// See the AWS API reference guide for Amazon SageMaker Service's
636// API operation CreateHyperParameterTuningJob for usage and error information.
637//
638// Returned Error Codes:
639//   * ErrCodeResourceInUse "ResourceInUse"
640//   Resource being accessed is in use.
641//
642//   * ErrCodeResourceLimitExceeded "ResourceLimitExceeded"
643//   You have exceeded an Amazon SageMaker resource limit. For example, you might
644//   have too many training jobs created.
645//
646// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateHyperParameterTuningJob
647func (c *SageMaker) CreateHyperParameterTuningJob(input *CreateHyperParameterTuningJobInput) (*CreateHyperParameterTuningJobOutput, error) {
648	req, out := c.CreateHyperParameterTuningJobRequest(input)
649	return out, req.Send()
650}
651
652// CreateHyperParameterTuningJobWithContext is the same as CreateHyperParameterTuningJob with the addition of
653// the ability to pass a context and additional request options.
654//
655// See CreateHyperParameterTuningJob for details on how to use this API operation.
656//
657// The context must be non-nil and will be used for request cancellation. If
658// the context is nil a panic will occur. In the future the SDK may create
659// sub-contexts for http.Requests. See https://golang.org/pkg/context/
660// for more information on using Contexts.
661func (c *SageMaker) CreateHyperParameterTuningJobWithContext(ctx aws.Context, input *CreateHyperParameterTuningJobInput, opts ...request.Option) (*CreateHyperParameterTuningJobOutput, error) {
662	req, out := c.CreateHyperParameterTuningJobRequest(input)
663	req.SetContext(ctx)
664	req.ApplyOptions(opts...)
665	return out, req.Send()
666}
667
668const opCreateLabelingJob = "CreateLabelingJob"
669
670// CreateLabelingJobRequest generates a "aws/request.Request" representing the
671// client's request for the CreateLabelingJob operation. The "output" return
672// value will be populated with the request's response once the request completes
673// successfully.
674//
675// Use "Send" method on the returned Request to send the API call to the service.
676// the "output" return value is not valid until after Send returns without error.
677//
678// See CreateLabelingJob for more information on using the CreateLabelingJob
679// API call, and error handling.
680//
681// This method is useful when you want to inject custom logic or configuration
682// into the SDK's request lifecycle. Such as custom headers, or retry logic.
683//
684//
685//    // Example sending a request using the CreateLabelingJobRequest method.
686//    req, resp := client.CreateLabelingJobRequest(params)
687//
688//    err := req.Send()
689//    if err == nil { // resp is now filled
690//        fmt.Println(resp)
691//    }
692//
693// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateLabelingJob
694func (c *SageMaker) CreateLabelingJobRequest(input *CreateLabelingJobInput) (req *request.Request, output *CreateLabelingJobOutput) {
695	op := &request.Operation{
696		Name:       opCreateLabelingJob,
697		HTTPMethod: "POST",
698		HTTPPath:   "/",
699	}
700
701	if input == nil {
702		input = &CreateLabelingJobInput{}
703	}
704
705	output = &CreateLabelingJobOutput{}
706	req = c.newRequest(op, input, output)
707	return
708}
709
710// CreateLabelingJob API operation for Amazon SageMaker Service.
711//
712// Creates a job that uses workers to label the data objects in your input dataset.
713// You can use the labeled data to train machine learning models.
714//
715// You can select your workforce from one of three providers:
716//
717//    * A private workforce that you create. It can include employees, contractors,
718//    and outside experts. Use a private workforce when want the data to stay
719//    within your organization or when a specific set of skills is required.
720//
721//    * One or more vendors that you select from the AWS Marketplace. Vendors
722//    provide expertise in specific areas.
723//
724//    * The Amazon Mechanical Turk workforce. This is the largest workforce,
725//    but it should only be used for public data or data that has been stripped
726//    of any personally identifiable information.
727//
728// You can also use automated data labeling to reduce the number of data objects
729// that need to be labeled by a human. Automated data labeling uses active learning
730// to determine if a data object can be labeled by machine or if it needs to
731// be sent to a human worker. For more information, see Using Automated Data
732// Labeling (http://docs.aws.amazon.com/sagemaker/latest/dg/sms-automated-labeling.html).
733//
734// The data objects to be labeled are contained in an Amazon S3 bucket. You
735// create a manifest file that describes the location of each object. For more
736// information, see Using Input and Output Data (http://docs.aws.amazon.com/sagemaker/latest/dg/sms-data.html).
737//
738// The output can be used as the manifest file for another labeling job or as
739// training data for your machine learning models.
740//
741// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
742// with awserr.Error's Code and Message methods to get detailed information about
743// the error.
744//
745// See the AWS API reference guide for Amazon SageMaker Service's
746// API operation CreateLabelingJob for usage and error information.
747//
748// Returned Error Codes:
749//   * ErrCodeResourceInUse "ResourceInUse"
750//   Resource being accessed is in use.
751//
752//   * ErrCodeResourceLimitExceeded "ResourceLimitExceeded"
753//   You have exceeded an Amazon SageMaker resource limit. For example, you might
754//   have too many training jobs created.
755//
756// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateLabelingJob
757func (c *SageMaker) CreateLabelingJob(input *CreateLabelingJobInput) (*CreateLabelingJobOutput, error) {
758	req, out := c.CreateLabelingJobRequest(input)
759	return out, req.Send()
760}
761
762// CreateLabelingJobWithContext is the same as CreateLabelingJob with the addition of
763// the ability to pass a context and additional request options.
764//
765// See CreateLabelingJob for details on how to use this API operation.
766//
767// The context must be non-nil and will be used for request cancellation. If
768// the context is nil a panic will occur. In the future the SDK may create
769// sub-contexts for http.Requests. See https://golang.org/pkg/context/
770// for more information on using Contexts.
771func (c *SageMaker) CreateLabelingJobWithContext(ctx aws.Context, input *CreateLabelingJobInput, opts ...request.Option) (*CreateLabelingJobOutput, error) {
772	req, out := c.CreateLabelingJobRequest(input)
773	req.SetContext(ctx)
774	req.ApplyOptions(opts...)
775	return out, req.Send()
776}
777
778const opCreateModel = "CreateModel"
779
780// CreateModelRequest generates a "aws/request.Request" representing the
781// client's request for the CreateModel operation. The "output" return
782// value will be populated with the request's response once the request completes
783// successfully.
784//
785// Use "Send" method on the returned Request to send the API call to the service.
786// the "output" return value is not valid until after Send returns without error.
787//
788// See CreateModel for more information on using the CreateModel
789// API call, and error handling.
790//
791// This method is useful when you want to inject custom logic or configuration
792// into the SDK's request lifecycle. Such as custom headers, or retry logic.
793//
794//
795//    // Example sending a request using the CreateModelRequest method.
796//    req, resp := client.CreateModelRequest(params)
797//
798//    err := req.Send()
799//    if err == nil { // resp is now filled
800//        fmt.Println(resp)
801//    }
802//
803// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModel
804func (c *SageMaker) CreateModelRequest(input *CreateModelInput) (req *request.Request, output *CreateModelOutput) {
805	op := &request.Operation{
806		Name:       opCreateModel,
807		HTTPMethod: "POST",
808		HTTPPath:   "/",
809	}
810
811	if input == nil {
812		input = &CreateModelInput{}
813	}
814
815	output = &CreateModelOutput{}
816	req = c.newRequest(op, input, output)
817	return
818}
819
820// CreateModel API operation for Amazon SageMaker Service.
821//
822// Creates a model in Amazon SageMaker. In the request, you name the model and
823// describe a primary container. For the primary container, you specify the
824// docker image containing inference code, artifacts (from prior training),
825// and custom environment map that the inference code uses when you deploy the
826// model for predictions.
827//
828// Use this API to create a model if you want to use Amazon SageMaker hosting
829// services or run a batch transform job.
830//
831// To host your model, you create an endpoint configuration with the CreateEndpointConfig
832// API, and then create an endpoint with the CreateEndpoint API. Amazon SageMaker
833// then deploys all of the containers that you defined for the model in the
834// hosting environment.
835//
836// To run a batch transform using your model, you start a job with the CreateTransformJob
837// API. Amazon SageMaker uses your model and your dataset to get inferences
838// which are then saved to a specified S3 location.
839//
840// In the CreateModel request, you must define a container with the PrimaryContainer
841// parameter.
842//
843// In the request, you also provide an IAM role that Amazon SageMaker can assume
844// to access model artifacts and docker image for deployment on ML compute hosting
845// instances or for batch transform jobs. In addition, you also use the IAM
846// role to manage permissions the inference code needs. For example, if the
847// inference code access any other AWS resources, you grant necessary permissions
848// via this role.
849//
850// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
851// with awserr.Error's Code and Message methods to get detailed information about
852// the error.
853//
854// See the AWS API reference guide for Amazon SageMaker Service's
855// API operation CreateModel for usage and error information.
856//
857// Returned Error Codes:
858//   * ErrCodeResourceLimitExceeded "ResourceLimitExceeded"
859//   You have exceeded an Amazon SageMaker resource limit. For example, you might
860//   have too many training jobs created.
861//
862// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModel
863func (c *SageMaker) CreateModel(input *CreateModelInput) (*CreateModelOutput, error) {
864	req, out := c.CreateModelRequest(input)
865	return out, req.Send()
866}
867
868// CreateModelWithContext is the same as CreateModel with the addition of
869// the ability to pass a context and additional request options.
870//
871// See CreateModel for details on how to use this API operation.
872//
873// The context must be non-nil and will be used for request cancellation. If
874// the context is nil a panic will occur. In the future the SDK may create
875// sub-contexts for http.Requests. See https://golang.org/pkg/context/
876// for more information on using Contexts.
877func (c *SageMaker) CreateModelWithContext(ctx aws.Context, input *CreateModelInput, opts ...request.Option) (*CreateModelOutput, error) {
878	req, out := c.CreateModelRequest(input)
879	req.SetContext(ctx)
880	req.ApplyOptions(opts...)
881	return out, req.Send()
882}
883
884const opCreateModelPackage = "CreateModelPackage"
885
886// CreateModelPackageRequest generates a "aws/request.Request" representing the
887// client's request for the CreateModelPackage operation. The "output" return
888// value will be populated with the request's response once the request completes
889// successfully.
890//
891// Use "Send" method on the returned Request to send the API call to the service.
892// the "output" return value is not valid until after Send returns without error.
893//
894// See CreateModelPackage for more information on using the CreateModelPackage
895// API call, and error handling.
896//
897// This method is useful when you want to inject custom logic or configuration
898// into the SDK's request lifecycle. Such as custom headers, or retry logic.
899//
900//
901//    // Example sending a request using the CreateModelPackageRequest method.
902//    req, resp := client.CreateModelPackageRequest(params)
903//
904//    err := req.Send()
905//    if err == nil { // resp is now filled
906//        fmt.Println(resp)
907//    }
908//
909// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelPackage
910func (c *SageMaker) CreateModelPackageRequest(input *CreateModelPackageInput) (req *request.Request, output *CreateModelPackageOutput) {
911	op := &request.Operation{
912		Name:       opCreateModelPackage,
913		HTTPMethod: "POST",
914		HTTPPath:   "/",
915	}
916
917	if input == nil {
918		input = &CreateModelPackageInput{}
919	}
920
921	output = &CreateModelPackageOutput{}
922	req = c.newRequest(op, input, output)
923	return
924}
925
926// CreateModelPackage API operation for Amazon SageMaker Service.
927//
928// Creates a model package that you can use to create Amazon SageMaker models
929// or list on AWS Marketplace. Buyers can subscribe to model packages listed
930// on AWS Marketplace to create models in Amazon SageMaker.
931//
932// To create a model package by specifying a Docker container that contains
933// your inference code and the Amazon S3 location of your model artifacts, provide
934// values for InferenceSpecification. To create a model from an algorithm resource
935// that you created or subscribed to in AWS Marketplace, provide a value for
936// SourceAlgorithmSpecification.
937//
938// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
939// with awserr.Error's Code and Message methods to get detailed information about
940// the error.
941//
942// See the AWS API reference guide for Amazon SageMaker Service's
943// API operation CreateModelPackage for usage and error information.
944// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateModelPackage
945func (c *SageMaker) CreateModelPackage(input *CreateModelPackageInput) (*CreateModelPackageOutput, error) {
946	req, out := c.CreateModelPackageRequest(input)
947	return out, req.Send()
948}
949
950// CreateModelPackageWithContext is the same as CreateModelPackage with the addition of
951// the ability to pass a context and additional request options.
952//
953// See CreateModelPackage 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) CreateModelPackageWithContext(ctx aws.Context, input *CreateModelPackageInput, opts ...request.Option) (*CreateModelPackageOutput, error) {
960	req, out := c.CreateModelPackageRequest(input)
961	req.SetContext(ctx)
962	req.ApplyOptions(opts...)
963	return out, req.Send()
964}
965
966const opCreateNotebookInstance = "CreateNotebookInstance"
967
968// CreateNotebookInstanceRequest generates a "aws/request.Request" representing the
969// client's request for the CreateNotebookInstance 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 CreateNotebookInstance for more information on using the CreateNotebookInstance
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 CreateNotebookInstanceRequest method.
984//    req, resp := client.CreateNotebookInstanceRequest(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/CreateNotebookInstance
992func (c *SageMaker) CreateNotebookInstanceRequest(input *CreateNotebookInstanceInput) (req *request.Request, output *CreateNotebookInstanceOutput) {
993	op := &request.Operation{
994		Name:       opCreateNotebookInstance,
995		HTTPMethod: "POST",
996		HTTPPath:   "/",
997	}
998
999	if input == nil {
1000		input = &CreateNotebookInstanceInput{}
1001	}
1002
1003	output = &CreateNotebookInstanceOutput{}
1004	req = c.newRequest(op, input, output)
1005	return
1006}
1007
1008// CreateNotebookInstance API operation for Amazon SageMaker Service.
1009//
1010// Creates an Amazon SageMaker notebook instance. A notebook instance is a machine
1011// learning (ML) compute instance running on a Jupyter notebook.
1012//
1013// In a CreateNotebookInstance request, specify the type of ML compute instance
1014// that you want to run. Amazon SageMaker launches the instance, installs common
1015// libraries that you can use to explore datasets for model training, and attaches
1016// an ML storage volume to the notebook instance.
1017//
1018// Amazon SageMaker also provides a set of example notebooks. Each notebook
1019// demonstrates how to use Amazon SageMaker with a specific algorithm or with
1020// a machine learning framework.
1021//
1022// After receiving the request, Amazon SageMaker does the following:
1023//
1024// Creates a network interface in the Amazon SageMaker VPC.
1025//
1026// (Option) If you specified SubnetId, Amazon SageMaker creates a network interface
1027// in your own VPC, which is inferred from the subnet ID that you provide in
1028// the input. When creating this network interface, Amazon SageMaker attaches
1029// the security group that you specified in the request to the network interface
1030// that it creates in your VPC.
1031//
1032// Launches an EC2 instance of the type specified in the request in the Amazon
1033// SageMaker VPC. If you specified SubnetId of your VPC, Amazon SageMaker specifies
1034// both network interfaces when launching this instance. This enables inbound
1035// traffic from your own VPC to the notebook instance, assuming that the security
1036// groups allow it.
1037//
1038// After creating the notebook instance, Amazon SageMaker returns its Amazon
1039// Resource Name (ARN).
1040//
1041// After Amazon SageMaker creates the notebook instance, you can connect to
1042// the Jupyter server and work in Jupyter notebooks. For example, you can write
1043// code to explore a dataset that you can use for model training, train a model,
1044// host models by creating Amazon SageMaker endpoints, and validate hosted models.
1045//
1046// For more information, see How It Works (https://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works.html).
1047//
1048// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1049// with awserr.Error's Code and Message methods to get detailed information about
1050// the error.
1051//
1052// See the AWS API reference guide for Amazon SageMaker Service's
1053// API operation CreateNotebookInstance for usage and error information.
1054//
1055// Returned Error Codes:
1056//   * ErrCodeResourceLimitExceeded "ResourceLimitExceeded"
1057//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1058//   have too many training jobs created.
1059//
1060// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateNotebookInstance
1061func (c *SageMaker) CreateNotebookInstance(input *CreateNotebookInstanceInput) (*CreateNotebookInstanceOutput, error) {
1062	req, out := c.CreateNotebookInstanceRequest(input)
1063	return out, req.Send()
1064}
1065
1066// CreateNotebookInstanceWithContext is the same as CreateNotebookInstance with the addition of
1067// the ability to pass a context and additional request options.
1068//
1069// See CreateNotebookInstance for details on how to use this API operation.
1070//
1071// The context must be non-nil and will be used for request cancellation. If
1072// the context is nil a panic will occur. In the future the SDK may create
1073// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1074// for more information on using Contexts.
1075func (c *SageMaker) CreateNotebookInstanceWithContext(ctx aws.Context, input *CreateNotebookInstanceInput, opts ...request.Option) (*CreateNotebookInstanceOutput, error) {
1076	req, out := c.CreateNotebookInstanceRequest(input)
1077	req.SetContext(ctx)
1078	req.ApplyOptions(opts...)
1079	return out, req.Send()
1080}
1081
1082const opCreateNotebookInstanceLifecycleConfig = "CreateNotebookInstanceLifecycleConfig"
1083
1084// CreateNotebookInstanceLifecycleConfigRequest generates a "aws/request.Request" representing the
1085// client's request for the CreateNotebookInstanceLifecycleConfig operation. The "output" return
1086// value will be populated with the request's response once the request completes
1087// successfully.
1088//
1089// Use "Send" method on the returned Request to send the API call to the service.
1090// the "output" return value is not valid until after Send returns without error.
1091//
1092// See CreateNotebookInstanceLifecycleConfig for more information on using the CreateNotebookInstanceLifecycleConfig
1093// API call, and error handling.
1094//
1095// This method is useful when you want to inject custom logic or configuration
1096// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1097//
1098//
1099//    // Example sending a request using the CreateNotebookInstanceLifecycleConfigRequest method.
1100//    req, resp := client.CreateNotebookInstanceLifecycleConfigRequest(params)
1101//
1102//    err := req.Send()
1103//    if err == nil { // resp is now filled
1104//        fmt.Println(resp)
1105//    }
1106//
1107// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateNotebookInstanceLifecycleConfig
1108func (c *SageMaker) CreateNotebookInstanceLifecycleConfigRequest(input *CreateNotebookInstanceLifecycleConfigInput) (req *request.Request, output *CreateNotebookInstanceLifecycleConfigOutput) {
1109	op := &request.Operation{
1110		Name:       opCreateNotebookInstanceLifecycleConfig,
1111		HTTPMethod: "POST",
1112		HTTPPath:   "/",
1113	}
1114
1115	if input == nil {
1116		input = &CreateNotebookInstanceLifecycleConfigInput{}
1117	}
1118
1119	output = &CreateNotebookInstanceLifecycleConfigOutput{}
1120	req = c.newRequest(op, input, output)
1121	return
1122}
1123
1124// CreateNotebookInstanceLifecycleConfig API operation for Amazon SageMaker Service.
1125//
1126// Creates a lifecycle configuration that you can associate with a notebook
1127// instance. A lifecycle configuration is a collection of shell scripts that
1128// run when you create or start a notebook instance.
1129//
1130// Each lifecycle configuration script has a limit of 16384 characters.
1131//
1132// The value of the $PATH environment variable that is available to both scripts
1133// is /sbin:bin:/usr/sbin:/usr/bin.
1134//
1135// View CloudWatch Logs for notebook instance lifecycle configurations in log
1136// group /aws/sagemaker/NotebookInstances in log stream [notebook-instance-name]/[LifecycleConfigHook].
1137//
1138// Lifecycle configuration scripts cannot run for longer than 5 minutes. If
1139// a script runs for longer than 5 minutes, it fails and the notebook instance
1140// is not created or started.
1141//
1142// For information about notebook instance lifestyle configurations, see Step
1143// 2.1: (Optional) Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html).
1144//
1145// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1146// with awserr.Error's Code and Message methods to get detailed information about
1147// the error.
1148//
1149// See the AWS API reference guide for Amazon SageMaker Service's
1150// API operation CreateNotebookInstanceLifecycleConfig for usage and error information.
1151//
1152// Returned Error Codes:
1153//   * ErrCodeResourceLimitExceeded "ResourceLimitExceeded"
1154//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1155//   have too many training jobs created.
1156//
1157// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateNotebookInstanceLifecycleConfig
1158func (c *SageMaker) CreateNotebookInstanceLifecycleConfig(input *CreateNotebookInstanceLifecycleConfigInput) (*CreateNotebookInstanceLifecycleConfigOutput, error) {
1159	req, out := c.CreateNotebookInstanceLifecycleConfigRequest(input)
1160	return out, req.Send()
1161}
1162
1163// CreateNotebookInstanceLifecycleConfigWithContext is the same as CreateNotebookInstanceLifecycleConfig with the addition of
1164// the ability to pass a context and additional request options.
1165//
1166// See CreateNotebookInstanceLifecycleConfig for details on how to use this API operation.
1167//
1168// The context must be non-nil and will be used for request cancellation. If
1169// the context is nil a panic will occur. In the future the SDK may create
1170// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1171// for more information on using Contexts.
1172func (c *SageMaker) CreateNotebookInstanceLifecycleConfigWithContext(ctx aws.Context, input *CreateNotebookInstanceLifecycleConfigInput, opts ...request.Option) (*CreateNotebookInstanceLifecycleConfigOutput, error) {
1173	req, out := c.CreateNotebookInstanceLifecycleConfigRequest(input)
1174	req.SetContext(ctx)
1175	req.ApplyOptions(opts...)
1176	return out, req.Send()
1177}
1178
1179const opCreatePresignedNotebookInstanceUrl = "CreatePresignedNotebookInstanceUrl"
1180
1181// CreatePresignedNotebookInstanceUrlRequest generates a "aws/request.Request" representing the
1182// client's request for the CreatePresignedNotebookInstanceUrl operation. The "output" return
1183// value will be populated with the request's response once the request completes
1184// successfully.
1185//
1186// Use "Send" method on the returned Request to send the API call to the service.
1187// the "output" return value is not valid until after Send returns without error.
1188//
1189// See CreatePresignedNotebookInstanceUrl for more information on using the CreatePresignedNotebookInstanceUrl
1190// API call, and error handling.
1191//
1192// This method is useful when you want to inject custom logic or configuration
1193// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1194//
1195//
1196//    // Example sending a request using the CreatePresignedNotebookInstanceUrlRequest method.
1197//    req, resp := client.CreatePresignedNotebookInstanceUrlRequest(params)
1198//
1199//    err := req.Send()
1200//    if err == nil { // resp is now filled
1201//        fmt.Println(resp)
1202//    }
1203//
1204// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePresignedNotebookInstanceUrl
1205func (c *SageMaker) CreatePresignedNotebookInstanceUrlRequest(input *CreatePresignedNotebookInstanceUrlInput) (req *request.Request, output *CreatePresignedNotebookInstanceUrlOutput) {
1206	op := &request.Operation{
1207		Name:       opCreatePresignedNotebookInstanceUrl,
1208		HTTPMethod: "POST",
1209		HTTPPath:   "/",
1210	}
1211
1212	if input == nil {
1213		input = &CreatePresignedNotebookInstanceUrlInput{}
1214	}
1215
1216	output = &CreatePresignedNotebookInstanceUrlOutput{}
1217	req = c.newRequest(op, input, output)
1218	return
1219}
1220
1221// CreatePresignedNotebookInstanceUrl API operation for Amazon SageMaker Service.
1222//
1223// Returns a URL that you can use to connect to the Jupyter server from a notebook
1224// instance. In the Amazon SageMaker console, when you choose Open next to a
1225// notebook instance, Amazon SageMaker opens a new tab showing the Jupyter server
1226// home page from the notebook instance. The console uses this API to get the
1227// URL and show the page.
1228//
1229// IAM authorization policies for this API are also enforced for every HTTP
1230// request and WebSocket frame that attempts to connect to the notebook instance.For
1231// example, you can restrict access to this API and to the URL that it returns
1232// to a list of IP addresses that you specify. Use the NotIpAddress condition
1233// operator and the aws:SourceIP condition context key to specify the list of
1234// IP addresses that you want to have access to the notebook instance. For more
1235// information, see Limit Access to a Notebook Instance by IP Address (https://docs.aws.amazon.com/sagemaker/latest/dg/nbi-ip-filter.html).
1236//
1237// The URL that you get from a call to is valid only for 5 minutes. If you try
1238// to use the URL after the 5-minute limit expires, you are directed to the
1239// AWS console sign-in page.
1240//
1241// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1242// with awserr.Error's Code and Message methods to get detailed information about
1243// the error.
1244//
1245// See the AWS API reference guide for Amazon SageMaker Service's
1246// API operation CreatePresignedNotebookInstanceUrl for usage and error information.
1247// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreatePresignedNotebookInstanceUrl
1248func (c *SageMaker) CreatePresignedNotebookInstanceUrl(input *CreatePresignedNotebookInstanceUrlInput) (*CreatePresignedNotebookInstanceUrlOutput, error) {
1249	req, out := c.CreatePresignedNotebookInstanceUrlRequest(input)
1250	return out, req.Send()
1251}
1252
1253// CreatePresignedNotebookInstanceUrlWithContext is the same as CreatePresignedNotebookInstanceUrl with the addition of
1254// the ability to pass a context and additional request options.
1255//
1256// See CreatePresignedNotebookInstanceUrl for details on how to use this API operation.
1257//
1258// The context must be non-nil and will be used for request cancellation. If
1259// the context is nil a panic will occur. In the future the SDK may create
1260// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1261// for more information on using Contexts.
1262func (c *SageMaker) CreatePresignedNotebookInstanceUrlWithContext(ctx aws.Context, input *CreatePresignedNotebookInstanceUrlInput, opts ...request.Option) (*CreatePresignedNotebookInstanceUrlOutput, error) {
1263	req, out := c.CreatePresignedNotebookInstanceUrlRequest(input)
1264	req.SetContext(ctx)
1265	req.ApplyOptions(opts...)
1266	return out, req.Send()
1267}
1268
1269const opCreateTrainingJob = "CreateTrainingJob"
1270
1271// CreateTrainingJobRequest generates a "aws/request.Request" representing the
1272// client's request for the CreateTrainingJob operation. The "output" return
1273// value will be populated with the request's response once the request completes
1274// successfully.
1275//
1276// Use "Send" method on the returned Request to send the API call to the service.
1277// the "output" return value is not valid until after Send returns without error.
1278//
1279// See CreateTrainingJob for more information on using the CreateTrainingJob
1280// API call, and error handling.
1281//
1282// This method is useful when you want to inject custom logic or configuration
1283// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1284//
1285//
1286//    // Example sending a request using the CreateTrainingJobRequest method.
1287//    req, resp := client.CreateTrainingJobRequest(params)
1288//
1289//    err := req.Send()
1290//    if err == nil { // resp is now filled
1291//        fmt.Println(resp)
1292//    }
1293//
1294// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrainingJob
1295func (c *SageMaker) CreateTrainingJobRequest(input *CreateTrainingJobInput) (req *request.Request, output *CreateTrainingJobOutput) {
1296	op := &request.Operation{
1297		Name:       opCreateTrainingJob,
1298		HTTPMethod: "POST",
1299		HTTPPath:   "/",
1300	}
1301
1302	if input == nil {
1303		input = &CreateTrainingJobInput{}
1304	}
1305
1306	output = &CreateTrainingJobOutput{}
1307	req = c.newRequest(op, input, output)
1308	return
1309}
1310
1311// CreateTrainingJob API operation for Amazon SageMaker Service.
1312//
1313// Starts a model training job. After training completes, Amazon SageMaker saves
1314// the resulting model artifacts to an Amazon S3 location that you specify.
1315//
1316// If you choose to host your model using Amazon SageMaker hosting services,
1317// you can use the resulting model artifacts as part of the model. You can also
1318// use the artifacts in a machine learning service other than Amazon SageMaker,
1319// provided that you know how to use them for inferences.
1320//
1321// In the request body, you provide the following:
1322//
1323//    * AlgorithmSpecification - Identifies the training algorithm to use.
1324//
1325//    * HyperParameters - Specify these algorithm-specific parameters to enable
1326//    the estimation of model parameters during training. Hyperparameters can
1327//    be tuned to optimize this learning process. For a list of hyperparameters
1328//    for each training algorithm provided by Amazon SageMaker, see Algorithms
1329//    (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html).
1330//
1331//    * InputDataConfig - Describes the training dataset and the Amazon S3 location
1332//    where it is stored.
1333//
1334//    * OutputDataConfig - Identifies the Amazon S3 location where you want
1335//    Amazon SageMaker to save the results of model training.
1336//
1337//    * ResourceConfig - Identifies the resources, ML compute instances, and
1338//    ML storage volumes to deploy for model training. In distributed training,
1339//    you specify more than one instance.
1340//
1341//    * RoleARN - The Amazon Resource Number (ARN) that Amazon SageMaker assumes
1342//    to perform tasks on your behalf during model training. You must grant
1343//    this role the necessary permissions so that Amazon SageMaker can successfully
1344//    complete model training.
1345//
1346//    * StoppingCondition - Sets a time limit for training. Use this parameter
1347//    to cap model training costs.
1348//
1349// For more information about Amazon SageMaker, see How It Works (https://docs.aws.amazon.com/sagemaker/latest/dg/how-it-works.html).
1350//
1351// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1352// with awserr.Error's Code and Message methods to get detailed information about
1353// the error.
1354//
1355// See the AWS API reference guide for Amazon SageMaker Service's
1356// API operation CreateTrainingJob for usage and error information.
1357//
1358// Returned Error Codes:
1359//   * ErrCodeResourceInUse "ResourceInUse"
1360//   Resource being accessed is in use.
1361//
1362//   * ErrCodeResourceLimitExceeded "ResourceLimitExceeded"
1363//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1364//   have too many training jobs created.
1365//
1366// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTrainingJob
1367func (c *SageMaker) CreateTrainingJob(input *CreateTrainingJobInput) (*CreateTrainingJobOutput, error) {
1368	req, out := c.CreateTrainingJobRequest(input)
1369	return out, req.Send()
1370}
1371
1372// CreateTrainingJobWithContext is the same as CreateTrainingJob with the addition of
1373// the ability to pass a context and additional request options.
1374//
1375// See CreateTrainingJob for details on how to use this API operation.
1376//
1377// The context must be non-nil and will be used for request cancellation. If
1378// the context is nil a panic will occur. In the future the SDK may create
1379// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1380// for more information on using Contexts.
1381func (c *SageMaker) CreateTrainingJobWithContext(ctx aws.Context, input *CreateTrainingJobInput, opts ...request.Option) (*CreateTrainingJobOutput, error) {
1382	req, out := c.CreateTrainingJobRequest(input)
1383	req.SetContext(ctx)
1384	req.ApplyOptions(opts...)
1385	return out, req.Send()
1386}
1387
1388const opCreateTransformJob = "CreateTransformJob"
1389
1390// CreateTransformJobRequest generates a "aws/request.Request" representing the
1391// client's request for the CreateTransformJob operation. The "output" return
1392// value will be populated with the request's response once the request completes
1393// successfully.
1394//
1395// Use "Send" method on the returned Request to send the API call to the service.
1396// the "output" return value is not valid until after Send returns without error.
1397//
1398// See CreateTransformJob for more information on using the CreateTransformJob
1399// API call, and error handling.
1400//
1401// This method is useful when you want to inject custom logic or configuration
1402// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1403//
1404//
1405//    // Example sending a request using the CreateTransformJobRequest method.
1406//    req, resp := client.CreateTransformJobRequest(params)
1407//
1408//    err := req.Send()
1409//    if err == nil { // resp is now filled
1410//        fmt.Println(resp)
1411//    }
1412//
1413// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTransformJob
1414func (c *SageMaker) CreateTransformJobRequest(input *CreateTransformJobInput) (req *request.Request, output *CreateTransformJobOutput) {
1415	op := &request.Operation{
1416		Name:       opCreateTransformJob,
1417		HTTPMethod: "POST",
1418		HTTPPath:   "/",
1419	}
1420
1421	if input == nil {
1422		input = &CreateTransformJobInput{}
1423	}
1424
1425	output = &CreateTransformJobOutput{}
1426	req = c.newRequest(op, input, output)
1427	return
1428}
1429
1430// CreateTransformJob API operation for Amazon SageMaker Service.
1431//
1432// Starts a transform job. A transform job uses a trained model to get inferences
1433// on a dataset and saves these results to an Amazon S3 location that you specify.
1434//
1435// To perform batch transformations, you create a transform job and use the
1436// data that you have readily available.
1437//
1438// In the request body, you provide the following:
1439//
1440//    * TransformJobName - Identifies the transform job. The name must be unique
1441//    within an AWS Region in an AWS account.
1442//
1443//    * ModelName - Identifies the model to use. ModelName must be the name
1444//    of an existing Amazon SageMaker model in the same AWS Region and AWS account.
1445//    For information on creating a model, see CreateModel.
1446//
1447//    * TransformInput - Describes the dataset to be transformed and the Amazon
1448//    S3 location where it is stored.
1449//
1450//    * TransformOutput - Identifies the Amazon S3 location where you want Amazon
1451//    SageMaker to save the results from the transform job.
1452//
1453//    * TransformResources - Identifies the ML compute instances for the transform
1454//    job.
1455//
1456// For more information about how batch transformation works Amazon SageMaker,
1457// see How It Works (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform.html).
1458//
1459// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1460// with awserr.Error's Code and Message methods to get detailed information about
1461// the error.
1462//
1463// See the AWS API reference guide for Amazon SageMaker Service's
1464// API operation CreateTransformJob for usage and error information.
1465//
1466// Returned Error Codes:
1467//   * ErrCodeResourceInUse "ResourceInUse"
1468//   Resource being accessed is in use.
1469//
1470//   * ErrCodeResourceLimitExceeded "ResourceLimitExceeded"
1471//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1472//   have too many training jobs created.
1473//
1474// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateTransformJob
1475func (c *SageMaker) CreateTransformJob(input *CreateTransformJobInput) (*CreateTransformJobOutput, error) {
1476	req, out := c.CreateTransformJobRequest(input)
1477	return out, req.Send()
1478}
1479
1480// CreateTransformJobWithContext is the same as CreateTransformJob with the addition of
1481// the ability to pass a context and additional request options.
1482//
1483// See CreateTransformJob for details on how to use this API operation.
1484//
1485// The context must be non-nil and will be used for request cancellation. If
1486// the context is nil a panic will occur. In the future the SDK may create
1487// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1488// for more information on using Contexts.
1489func (c *SageMaker) CreateTransformJobWithContext(ctx aws.Context, input *CreateTransformJobInput, opts ...request.Option) (*CreateTransformJobOutput, error) {
1490	req, out := c.CreateTransformJobRequest(input)
1491	req.SetContext(ctx)
1492	req.ApplyOptions(opts...)
1493	return out, req.Send()
1494}
1495
1496const opCreateWorkteam = "CreateWorkteam"
1497
1498// CreateWorkteamRequest generates a "aws/request.Request" representing the
1499// client's request for the CreateWorkteam operation. The "output" return
1500// value will be populated with the request's response once the request completes
1501// successfully.
1502//
1503// Use "Send" method on the returned Request to send the API call to the service.
1504// the "output" return value is not valid until after Send returns without error.
1505//
1506// See CreateWorkteam for more information on using the CreateWorkteam
1507// API call, and error handling.
1508//
1509// This method is useful when you want to inject custom logic or configuration
1510// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1511//
1512//
1513//    // Example sending a request using the CreateWorkteamRequest method.
1514//    req, resp := client.CreateWorkteamRequest(params)
1515//
1516//    err := req.Send()
1517//    if err == nil { // resp is now filled
1518//        fmt.Println(resp)
1519//    }
1520//
1521// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateWorkteam
1522func (c *SageMaker) CreateWorkteamRequest(input *CreateWorkteamInput) (req *request.Request, output *CreateWorkteamOutput) {
1523	op := &request.Operation{
1524		Name:       opCreateWorkteam,
1525		HTTPMethod: "POST",
1526		HTTPPath:   "/",
1527	}
1528
1529	if input == nil {
1530		input = &CreateWorkteamInput{}
1531	}
1532
1533	output = &CreateWorkteamOutput{}
1534	req = c.newRequest(op, input, output)
1535	return
1536}
1537
1538// CreateWorkteam API operation for Amazon SageMaker Service.
1539//
1540// Creates a new work team for labeling your data. A work team is defined by
1541// one or more Amazon Cognito user pools. You must first create the user pools
1542// before you can create a work team.
1543//
1544// You cannot create more than 25 work teams in an account and region.
1545//
1546// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1547// with awserr.Error's Code and Message methods to get detailed information about
1548// the error.
1549//
1550// See the AWS API reference guide for Amazon SageMaker Service's
1551// API operation CreateWorkteam for usage and error information.
1552//
1553// Returned Error Codes:
1554//   * ErrCodeResourceInUse "ResourceInUse"
1555//   Resource being accessed is in use.
1556//
1557//   * ErrCodeResourceLimitExceeded "ResourceLimitExceeded"
1558//   You have exceeded an Amazon SageMaker resource limit. For example, you might
1559//   have too many training jobs created.
1560//
1561// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/CreateWorkteam
1562func (c *SageMaker) CreateWorkteam(input *CreateWorkteamInput) (*CreateWorkteamOutput, error) {
1563	req, out := c.CreateWorkteamRequest(input)
1564	return out, req.Send()
1565}
1566
1567// CreateWorkteamWithContext is the same as CreateWorkteam with the addition of
1568// the ability to pass a context and additional request options.
1569//
1570// See CreateWorkteam for details on how to use this API operation.
1571//
1572// The context must be non-nil and will be used for request cancellation. If
1573// the context is nil a panic will occur. In the future the SDK may create
1574// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1575// for more information on using Contexts.
1576func (c *SageMaker) CreateWorkteamWithContext(ctx aws.Context, input *CreateWorkteamInput, opts ...request.Option) (*CreateWorkteamOutput, error) {
1577	req, out := c.CreateWorkteamRequest(input)
1578	req.SetContext(ctx)
1579	req.ApplyOptions(opts...)
1580	return out, req.Send()
1581}
1582
1583const opDeleteAlgorithm = "DeleteAlgorithm"
1584
1585// DeleteAlgorithmRequest generates a "aws/request.Request" representing the
1586// client's request for the DeleteAlgorithm operation. The "output" return
1587// value will be populated with the request's response once the request completes
1588// successfully.
1589//
1590// Use "Send" method on the returned Request to send the API call to the service.
1591// the "output" return value is not valid until after Send returns without error.
1592//
1593// See DeleteAlgorithm for more information on using the DeleteAlgorithm
1594// API call, and error handling.
1595//
1596// This method is useful when you want to inject custom logic or configuration
1597// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1598//
1599//
1600//    // Example sending a request using the DeleteAlgorithmRequest method.
1601//    req, resp := client.DeleteAlgorithmRequest(params)
1602//
1603//    err := req.Send()
1604//    if err == nil { // resp is now filled
1605//        fmt.Println(resp)
1606//    }
1607//
1608// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAlgorithm
1609func (c *SageMaker) DeleteAlgorithmRequest(input *DeleteAlgorithmInput) (req *request.Request, output *DeleteAlgorithmOutput) {
1610	op := &request.Operation{
1611		Name:       opDeleteAlgorithm,
1612		HTTPMethod: "POST",
1613		HTTPPath:   "/",
1614	}
1615
1616	if input == nil {
1617		input = &DeleteAlgorithmInput{}
1618	}
1619
1620	output = &DeleteAlgorithmOutput{}
1621	req = c.newRequest(op, input, output)
1622	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
1623	return
1624}
1625
1626// DeleteAlgorithm API operation for Amazon SageMaker Service.
1627//
1628// Removes the specified algorithm from your account.
1629//
1630// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1631// with awserr.Error's Code and Message methods to get detailed information about
1632// the error.
1633//
1634// See the AWS API reference guide for Amazon SageMaker Service's
1635// API operation DeleteAlgorithm for usage and error information.
1636// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteAlgorithm
1637func (c *SageMaker) DeleteAlgorithm(input *DeleteAlgorithmInput) (*DeleteAlgorithmOutput, error) {
1638	req, out := c.DeleteAlgorithmRequest(input)
1639	return out, req.Send()
1640}
1641
1642// DeleteAlgorithmWithContext is the same as DeleteAlgorithm with the addition of
1643// the ability to pass a context and additional request options.
1644//
1645// See DeleteAlgorithm for details on how to use this API operation.
1646//
1647// The context must be non-nil and will be used for request cancellation. If
1648// the context is nil a panic will occur. In the future the SDK may create
1649// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1650// for more information on using Contexts.
1651func (c *SageMaker) DeleteAlgorithmWithContext(ctx aws.Context, input *DeleteAlgorithmInput, opts ...request.Option) (*DeleteAlgorithmOutput, error) {
1652	req, out := c.DeleteAlgorithmRequest(input)
1653	req.SetContext(ctx)
1654	req.ApplyOptions(opts...)
1655	return out, req.Send()
1656}
1657
1658const opDeleteCodeRepository = "DeleteCodeRepository"
1659
1660// DeleteCodeRepositoryRequest generates a "aws/request.Request" representing the
1661// client's request for the DeleteCodeRepository operation. The "output" return
1662// value will be populated with the request's response once the request completes
1663// successfully.
1664//
1665// Use "Send" method on the returned Request to send the API call to the service.
1666// the "output" return value is not valid until after Send returns without error.
1667//
1668// See DeleteCodeRepository for more information on using the DeleteCodeRepository
1669// API call, and error handling.
1670//
1671// This method is useful when you want to inject custom logic or configuration
1672// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1673//
1674//
1675//    // Example sending a request using the DeleteCodeRepositoryRequest method.
1676//    req, resp := client.DeleteCodeRepositoryRequest(params)
1677//
1678//    err := req.Send()
1679//    if err == nil { // resp is now filled
1680//        fmt.Println(resp)
1681//    }
1682//
1683// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteCodeRepository
1684func (c *SageMaker) DeleteCodeRepositoryRequest(input *DeleteCodeRepositoryInput) (req *request.Request, output *DeleteCodeRepositoryOutput) {
1685	op := &request.Operation{
1686		Name:       opDeleteCodeRepository,
1687		HTTPMethod: "POST",
1688		HTTPPath:   "/",
1689	}
1690
1691	if input == nil {
1692		input = &DeleteCodeRepositoryInput{}
1693	}
1694
1695	output = &DeleteCodeRepositoryOutput{}
1696	req = c.newRequest(op, input, output)
1697	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
1698	return
1699}
1700
1701// DeleteCodeRepository API operation for Amazon SageMaker Service.
1702//
1703// Deletes the specified Git repository from your account.
1704//
1705// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1706// with awserr.Error's Code and Message methods to get detailed information about
1707// the error.
1708//
1709// See the AWS API reference guide for Amazon SageMaker Service's
1710// API operation DeleteCodeRepository for usage and error information.
1711// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteCodeRepository
1712func (c *SageMaker) DeleteCodeRepository(input *DeleteCodeRepositoryInput) (*DeleteCodeRepositoryOutput, error) {
1713	req, out := c.DeleteCodeRepositoryRequest(input)
1714	return out, req.Send()
1715}
1716
1717// DeleteCodeRepositoryWithContext is the same as DeleteCodeRepository with the addition of
1718// the ability to pass a context and additional request options.
1719//
1720// See DeleteCodeRepository for details on how to use this API operation.
1721//
1722// The context must be non-nil and will be used for request cancellation. If
1723// the context is nil a panic will occur. In the future the SDK may create
1724// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1725// for more information on using Contexts.
1726func (c *SageMaker) DeleteCodeRepositoryWithContext(ctx aws.Context, input *DeleteCodeRepositoryInput, opts ...request.Option) (*DeleteCodeRepositoryOutput, error) {
1727	req, out := c.DeleteCodeRepositoryRequest(input)
1728	req.SetContext(ctx)
1729	req.ApplyOptions(opts...)
1730	return out, req.Send()
1731}
1732
1733const opDeleteEndpoint = "DeleteEndpoint"
1734
1735// DeleteEndpointRequest generates a "aws/request.Request" representing the
1736// client's request for the DeleteEndpoint operation. The "output" return
1737// value will be populated with the request's response once the request completes
1738// successfully.
1739//
1740// Use "Send" method on the returned Request to send the API call to the service.
1741// the "output" return value is not valid until after Send returns without error.
1742//
1743// See DeleteEndpoint for more information on using the DeleteEndpoint
1744// API call, and error handling.
1745//
1746// This method is useful when you want to inject custom logic or configuration
1747// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1748//
1749//
1750//    // Example sending a request using the DeleteEndpointRequest method.
1751//    req, resp := client.DeleteEndpointRequest(params)
1752//
1753//    err := req.Send()
1754//    if err == nil { // resp is now filled
1755//        fmt.Println(resp)
1756//    }
1757//
1758// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteEndpoint
1759func (c *SageMaker) DeleteEndpointRequest(input *DeleteEndpointInput) (req *request.Request, output *DeleteEndpointOutput) {
1760	op := &request.Operation{
1761		Name:       opDeleteEndpoint,
1762		HTTPMethod: "POST",
1763		HTTPPath:   "/",
1764	}
1765
1766	if input == nil {
1767		input = &DeleteEndpointInput{}
1768	}
1769
1770	output = &DeleteEndpointOutput{}
1771	req = c.newRequest(op, input, output)
1772	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
1773	return
1774}
1775
1776// DeleteEndpoint API operation for Amazon SageMaker Service.
1777//
1778// Deletes an endpoint. Amazon SageMaker frees up all of the resources that
1779// were deployed when the endpoint was created.
1780//
1781// Amazon SageMaker retires any custom KMS key grants associated with the endpoint,
1782// meaning you don't need to use the RevokeGrant (http://docs.aws.amazon.com/kms/latest/APIReference/API_RevokeGrant.html)
1783// API call.
1784//
1785// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1786// with awserr.Error's Code and Message methods to get detailed information about
1787// the error.
1788//
1789// See the AWS API reference guide for Amazon SageMaker Service's
1790// API operation DeleteEndpoint for usage and error information.
1791// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteEndpoint
1792func (c *SageMaker) DeleteEndpoint(input *DeleteEndpointInput) (*DeleteEndpointOutput, error) {
1793	req, out := c.DeleteEndpointRequest(input)
1794	return out, req.Send()
1795}
1796
1797// DeleteEndpointWithContext is the same as DeleteEndpoint with the addition of
1798// the ability to pass a context and additional request options.
1799//
1800// See DeleteEndpoint for details on how to use this API operation.
1801//
1802// The context must be non-nil and will be used for request cancellation. If
1803// the context is nil a panic will occur. In the future the SDK may create
1804// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1805// for more information on using Contexts.
1806func (c *SageMaker) DeleteEndpointWithContext(ctx aws.Context, input *DeleteEndpointInput, opts ...request.Option) (*DeleteEndpointOutput, error) {
1807	req, out := c.DeleteEndpointRequest(input)
1808	req.SetContext(ctx)
1809	req.ApplyOptions(opts...)
1810	return out, req.Send()
1811}
1812
1813const opDeleteEndpointConfig = "DeleteEndpointConfig"
1814
1815// DeleteEndpointConfigRequest generates a "aws/request.Request" representing the
1816// client's request for the DeleteEndpointConfig operation. The "output" return
1817// value will be populated with the request's response once the request completes
1818// successfully.
1819//
1820// Use "Send" method on the returned Request to send the API call to the service.
1821// the "output" return value is not valid until after Send returns without error.
1822//
1823// See DeleteEndpointConfig for more information on using the DeleteEndpointConfig
1824// API call, and error handling.
1825//
1826// This method is useful when you want to inject custom logic or configuration
1827// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1828//
1829//
1830//    // Example sending a request using the DeleteEndpointConfigRequest method.
1831//    req, resp := client.DeleteEndpointConfigRequest(params)
1832//
1833//    err := req.Send()
1834//    if err == nil { // resp is now filled
1835//        fmt.Println(resp)
1836//    }
1837//
1838// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteEndpointConfig
1839func (c *SageMaker) DeleteEndpointConfigRequest(input *DeleteEndpointConfigInput) (req *request.Request, output *DeleteEndpointConfigOutput) {
1840	op := &request.Operation{
1841		Name:       opDeleteEndpointConfig,
1842		HTTPMethod: "POST",
1843		HTTPPath:   "/",
1844	}
1845
1846	if input == nil {
1847		input = &DeleteEndpointConfigInput{}
1848	}
1849
1850	output = &DeleteEndpointConfigOutput{}
1851	req = c.newRequest(op, input, output)
1852	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
1853	return
1854}
1855
1856// DeleteEndpointConfig API operation for Amazon SageMaker Service.
1857//
1858// Deletes an endpoint configuration. The DeleteEndpointConfig API deletes only
1859// the specified configuration. It does not delete endpoints created using the
1860// configuration.
1861//
1862// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1863// with awserr.Error's Code and Message methods to get detailed information about
1864// the error.
1865//
1866// See the AWS API reference guide for Amazon SageMaker Service's
1867// API operation DeleteEndpointConfig for usage and error information.
1868// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteEndpointConfig
1869func (c *SageMaker) DeleteEndpointConfig(input *DeleteEndpointConfigInput) (*DeleteEndpointConfigOutput, error) {
1870	req, out := c.DeleteEndpointConfigRequest(input)
1871	return out, req.Send()
1872}
1873
1874// DeleteEndpointConfigWithContext is the same as DeleteEndpointConfig with the addition of
1875// the ability to pass a context and additional request options.
1876//
1877// See DeleteEndpointConfig for details on how to use this API operation.
1878//
1879// The context must be non-nil and will be used for request cancellation. If
1880// the context is nil a panic will occur. In the future the SDK may create
1881// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1882// for more information on using Contexts.
1883func (c *SageMaker) DeleteEndpointConfigWithContext(ctx aws.Context, input *DeleteEndpointConfigInput, opts ...request.Option) (*DeleteEndpointConfigOutput, error) {
1884	req, out := c.DeleteEndpointConfigRequest(input)
1885	req.SetContext(ctx)
1886	req.ApplyOptions(opts...)
1887	return out, req.Send()
1888}
1889
1890const opDeleteModel = "DeleteModel"
1891
1892// DeleteModelRequest generates a "aws/request.Request" representing the
1893// client's request for the DeleteModel operation. The "output" return
1894// value will be populated with the request's response once the request completes
1895// successfully.
1896//
1897// Use "Send" method on the returned Request to send the API call to the service.
1898// the "output" return value is not valid until after Send returns without error.
1899//
1900// See DeleteModel for more information on using the DeleteModel
1901// API call, and error handling.
1902//
1903// This method is useful when you want to inject custom logic or configuration
1904// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1905//
1906//
1907//    // Example sending a request using the DeleteModelRequest method.
1908//    req, resp := client.DeleteModelRequest(params)
1909//
1910//    err := req.Send()
1911//    if err == nil { // resp is now filled
1912//        fmt.Println(resp)
1913//    }
1914//
1915// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModel
1916func (c *SageMaker) DeleteModelRequest(input *DeleteModelInput) (req *request.Request, output *DeleteModelOutput) {
1917	op := &request.Operation{
1918		Name:       opDeleteModel,
1919		HTTPMethod: "POST",
1920		HTTPPath:   "/",
1921	}
1922
1923	if input == nil {
1924		input = &DeleteModelInput{}
1925	}
1926
1927	output = &DeleteModelOutput{}
1928	req = c.newRequest(op, input, output)
1929	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
1930	return
1931}
1932
1933// DeleteModel API operation for Amazon SageMaker Service.
1934//
1935// Deletes a model. The DeleteModel API deletes only the model entry that was
1936// created in Amazon SageMaker when you called the CreateModel (https://docs.aws.amazon.com/sagemaker/latest/dg/API_CreateModel.html)
1937// API. It does not delete model artifacts, inference code, or the IAM role
1938// that you specified when creating the model.
1939//
1940// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
1941// with awserr.Error's Code and Message methods to get detailed information about
1942// the error.
1943//
1944// See the AWS API reference guide for Amazon SageMaker Service's
1945// API operation DeleteModel for usage and error information.
1946// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModel
1947func (c *SageMaker) DeleteModel(input *DeleteModelInput) (*DeleteModelOutput, error) {
1948	req, out := c.DeleteModelRequest(input)
1949	return out, req.Send()
1950}
1951
1952// DeleteModelWithContext is the same as DeleteModel with the addition of
1953// the ability to pass a context and additional request options.
1954//
1955// See DeleteModel for details on how to use this API operation.
1956//
1957// The context must be non-nil and will be used for request cancellation. If
1958// the context is nil a panic will occur. In the future the SDK may create
1959// sub-contexts for http.Requests. See https://golang.org/pkg/context/
1960// for more information on using Contexts.
1961func (c *SageMaker) DeleteModelWithContext(ctx aws.Context, input *DeleteModelInput, opts ...request.Option) (*DeleteModelOutput, error) {
1962	req, out := c.DeleteModelRequest(input)
1963	req.SetContext(ctx)
1964	req.ApplyOptions(opts...)
1965	return out, req.Send()
1966}
1967
1968const opDeleteModelPackage = "DeleteModelPackage"
1969
1970// DeleteModelPackageRequest generates a "aws/request.Request" representing the
1971// client's request for the DeleteModelPackage operation. The "output" return
1972// value will be populated with the request's response once the request completes
1973// successfully.
1974//
1975// Use "Send" method on the returned Request to send the API call to the service.
1976// the "output" return value is not valid until after Send returns without error.
1977//
1978// See DeleteModelPackage for more information on using the DeleteModelPackage
1979// API call, and error handling.
1980//
1981// This method is useful when you want to inject custom logic or configuration
1982// into the SDK's request lifecycle. Such as custom headers, or retry logic.
1983//
1984//
1985//    // Example sending a request using the DeleteModelPackageRequest method.
1986//    req, resp := client.DeleteModelPackageRequest(params)
1987//
1988//    err := req.Send()
1989//    if err == nil { // resp is now filled
1990//        fmt.Println(resp)
1991//    }
1992//
1993// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelPackage
1994func (c *SageMaker) DeleteModelPackageRequest(input *DeleteModelPackageInput) (req *request.Request, output *DeleteModelPackageOutput) {
1995	op := &request.Operation{
1996		Name:       opDeleteModelPackage,
1997		HTTPMethod: "POST",
1998		HTTPPath:   "/",
1999	}
2000
2001	if input == nil {
2002		input = &DeleteModelPackageInput{}
2003	}
2004
2005	output = &DeleteModelPackageOutput{}
2006	req = c.newRequest(op, input, output)
2007	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
2008	return
2009}
2010
2011// DeleteModelPackage API operation for Amazon SageMaker Service.
2012//
2013// Deletes a model package.
2014//
2015// A model package is used to create Amazon SageMaker models or list on AWS
2016// Marketplace. Buyers can subscribe to model packages listed on AWS Marketplace
2017// to create models in Amazon SageMaker.
2018//
2019// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2020// with awserr.Error's Code and Message methods to get detailed information about
2021// the error.
2022//
2023// See the AWS API reference guide for Amazon SageMaker Service's
2024// API operation DeleteModelPackage for usage and error information.
2025// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteModelPackage
2026func (c *SageMaker) DeleteModelPackage(input *DeleteModelPackageInput) (*DeleteModelPackageOutput, error) {
2027	req, out := c.DeleteModelPackageRequest(input)
2028	return out, req.Send()
2029}
2030
2031// DeleteModelPackageWithContext is the same as DeleteModelPackage with the addition of
2032// the ability to pass a context and additional request options.
2033//
2034// See DeleteModelPackage for details on how to use this API operation.
2035//
2036// The context must be non-nil and will be used for request cancellation. If
2037// the context is nil a panic will occur. In the future the SDK may create
2038// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2039// for more information on using Contexts.
2040func (c *SageMaker) DeleteModelPackageWithContext(ctx aws.Context, input *DeleteModelPackageInput, opts ...request.Option) (*DeleteModelPackageOutput, error) {
2041	req, out := c.DeleteModelPackageRequest(input)
2042	req.SetContext(ctx)
2043	req.ApplyOptions(opts...)
2044	return out, req.Send()
2045}
2046
2047const opDeleteNotebookInstance = "DeleteNotebookInstance"
2048
2049// DeleteNotebookInstanceRequest generates a "aws/request.Request" representing the
2050// client's request for the DeleteNotebookInstance operation. The "output" return
2051// value will be populated with the request's response once the request completes
2052// successfully.
2053//
2054// Use "Send" method on the returned Request to send the API call to the service.
2055// the "output" return value is not valid until after Send returns without error.
2056//
2057// See DeleteNotebookInstance for more information on using the DeleteNotebookInstance
2058// API call, and error handling.
2059//
2060// This method is useful when you want to inject custom logic or configuration
2061// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2062//
2063//
2064//    // Example sending a request using the DeleteNotebookInstanceRequest method.
2065//    req, resp := client.DeleteNotebookInstanceRequest(params)
2066//
2067//    err := req.Send()
2068//    if err == nil { // resp is now filled
2069//        fmt.Println(resp)
2070//    }
2071//
2072// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteNotebookInstance
2073func (c *SageMaker) DeleteNotebookInstanceRequest(input *DeleteNotebookInstanceInput) (req *request.Request, output *DeleteNotebookInstanceOutput) {
2074	op := &request.Operation{
2075		Name:       opDeleteNotebookInstance,
2076		HTTPMethod: "POST",
2077		HTTPPath:   "/",
2078	}
2079
2080	if input == nil {
2081		input = &DeleteNotebookInstanceInput{}
2082	}
2083
2084	output = &DeleteNotebookInstanceOutput{}
2085	req = c.newRequest(op, input, output)
2086	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
2087	return
2088}
2089
2090// DeleteNotebookInstance API operation for Amazon SageMaker Service.
2091//
2092// Deletes an Amazon SageMaker notebook instance. Before you can delete a notebook
2093// instance, you must call the StopNotebookInstance API.
2094//
2095// When you delete a notebook instance, you lose all of your data. Amazon SageMaker
2096// removes the ML compute instance, and deletes the ML storage volume and the
2097// network interface associated with the notebook instance.
2098//
2099// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2100// with awserr.Error's Code and Message methods to get detailed information about
2101// the error.
2102//
2103// See the AWS API reference guide for Amazon SageMaker Service's
2104// API operation DeleteNotebookInstance for usage and error information.
2105// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteNotebookInstance
2106func (c *SageMaker) DeleteNotebookInstance(input *DeleteNotebookInstanceInput) (*DeleteNotebookInstanceOutput, error) {
2107	req, out := c.DeleteNotebookInstanceRequest(input)
2108	return out, req.Send()
2109}
2110
2111// DeleteNotebookInstanceWithContext is the same as DeleteNotebookInstance with the addition of
2112// the ability to pass a context and additional request options.
2113//
2114// See DeleteNotebookInstance for details on how to use this API operation.
2115//
2116// The context must be non-nil and will be used for request cancellation. If
2117// the context is nil a panic will occur. In the future the SDK may create
2118// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2119// for more information on using Contexts.
2120func (c *SageMaker) DeleteNotebookInstanceWithContext(ctx aws.Context, input *DeleteNotebookInstanceInput, opts ...request.Option) (*DeleteNotebookInstanceOutput, error) {
2121	req, out := c.DeleteNotebookInstanceRequest(input)
2122	req.SetContext(ctx)
2123	req.ApplyOptions(opts...)
2124	return out, req.Send()
2125}
2126
2127const opDeleteNotebookInstanceLifecycleConfig = "DeleteNotebookInstanceLifecycleConfig"
2128
2129// DeleteNotebookInstanceLifecycleConfigRequest generates a "aws/request.Request" representing the
2130// client's request for the DeleteNotebookInstanceLifecycleConfig operation. The "output" return
2131// value will be populated with the request's response once the request completes
2132// successfully.
2133//
2134// Use "Send" method on the returned Request to send the API call to the service.
2135// the "output" return value is not valid until after Send returns without error.
2136//
2137// See DeleteNotebookInstanceLifecycleConfig for more information on using the DeleteNotebookInstanceLifecycleConfig
2138// API call, and error handling.
2139//
2140// This method is useful when you want to inject custom logic or configuration
2141// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2142//
2143//
2144//    // Example sending a request using the DeleteNotebookInstanceLifecycleConfigRequest method.
2145//    req, resp := client.DeleteNotebookInstanceLifecycleConfigRequest(params)
2146//
2147//    err := req.Send()
2148//    if err == nil { // resp is now filled
2149//        fmt.Println(resp)
2150//    }
2151//
2152// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteNotebookInstanceLifecycleConfig
2153func (c *SageMaker) DeleteNotebookInstanceLifecycleConfigRequest(input *DeleteNotebookInstanceLifecycleConfigInput) (req *request.Request, output *DeleteNotebookInstanceLifecycleConfigOutput) {
2154	op := &request.Operation{
2155		Name:       opDeleteNotebookInstanceLifecycleConfig,
2156		HTTPMethod: "POST",
2157		HTTPPath:   "/",
2158	}
2159
2160	if input == nil {
2161		input = &DeleteNotebookInstanceLifecycleConfigInput{}
2162	}
2163
2164	output = &DeleteNotebookInstanceLifecycleConfigOutput{}
2165	req = c.newRequest(op, input, output)
2166	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
2167	return
2168}
2169
2170// DeleteNotebookInstanceLifecycleConfig API operation for Amazon SageMaker Service.
2171//
2172// Deletes a notebook instance lifecycle configuration.
2173//
2174// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2175// with awserr.Error's Code and Message methods to get detailed information about
2176// the error.
2177//
2178// See the AWS API reference guide for Amazon SageMaker Service's
2179// API operation DeleteNotebookInstanceLifecycleConfig for usage and error information.
2180// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteNotebookInstanceLifecycleConfig
2181func (c *SageMaker) DeleteNotebookInstanceLifecycleConfig(input *DeleteNotebookInstanceLifecycleConfigInput) (*DeleteNotebookInstanceLifecycleConfigOutput, error) {
2182	req, out := c.DeleteNotebookInstanceLifecycleConfigRequest(input)
2183	return out, req.Send()
2184}
2185
2186// DeleteNotebookInstanceLifecycleConfigWithContext is the same as DeleteNotebookInstanceLifecycleConfig with the addition of
2187// the ability to pass a context and additional request options.
2188//
2189// See DeleteNotebookInstanceLifecycleConfig for details on how to use this API operation.
2190//
2191// The context must be non-nil and will be used for request cancellation. If
2192// the context is nil a panic will occur. In the future the SDK may create
2193// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2194// for more information on using Contexts.
2195func (c *SageMaker) DeleteNotebookInstanceLifecycleConfigWithContext(ctx aws.Context, input *DeleteNotebookInstanceLifecycleConfigInput, opts ...request.Option) (*DeleteNotebookInstanceLifecycleConfigOutput, error) {
2196	req, out := c.DeleteNotebookInstanceLifecycleConfigRequest(input)
2197	req.SetContext(ctx)
2198	req.ApplyOptions(opts...)
2199	return out, req.Send()
2200}
2201
2202const opDeleteTags = "DeleteTags"
2203
2204// DeleteTagsRequest generates a "aws/request.Request" representing the
2205// client's request for the DeleteTags operation. The "output" return
2206// value will be populated with the request's response once the request completes
2207// successfully.
2208//
2209// Use "Send" method on the returned Request to send the API call to the service.
2210// the "output" return value is not valid until after Send returns without error.
2211//
2212// See DeleteTags for more information on using the DeleteTags
2213// API call, and error handling.
2214//
2215// This method is useful when you want to inject custom logic or configuration
2216// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2217//
2218//
2219//    // Example sending a request using the DeleteTagsRequest method.
2220//    req, resp := client.DeleteTagsRequest(params)
2221//
2222//    err := req.Send()
2223//    if err == nil { // resp is now filled
2224//        fmt.Println(resp)
2225//    }
2226//
2227// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTags
2228func (c *SageMaker) DeleteTagsRequest(input *DeleteTagsInput) (req *request.Request, output *DeleteTagsOutput) {
2229	op := &request.Operation{
2230		Name:       opDeleteTags,
2231		HTTPMethod: "POST",
2232		HTTPPath:   "/",
2233	}
2234
2235	if input == nil {
2236		input = &DeleteTagsInput{}
2237	}
2238
2239	output = &DeleteTagsOutput{}
2240	req = c.newRequest(op, input, output)
2241	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
2242	return
2243}
2244
2245// DeleteTags API operation for Amazon SageMaker Service.
2246//
2247// Deletes the specified tags from an Amazon SageMaker resource.
2248//
2249// To list a resource's tags, use the ListTags API.
2250//
2251// When you call this API to delete tags from a hyperparameter tuning job, the
2252// deleted tags are not removed from training jobs that the hyperparameter tuning
2253// job launched before you called this API.
2254//
2255// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2256// with awserr.Error's Code and Message methods to get detailed information about
2257// the error.
2258//
2259// See the AWS API reference guide for Amazon SageMaker Service's
2260// API operation DeleteTags for usage and error information.
2261// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteTags
2262func (c *SageMaker) DeleteTags(input *DeleteTagsInput) (*DeleteTagsOutput, error) {
2263	req, out := c.DeleteTagsRequest(input)
2264	return out, req.Send()
2265}
2266
2267// DeleteTagsWithContext is the same as DeleteTags with the addition of
2268// the ability to pass a context and additional request options.
2269//
2270// See DeleteTags for details on how to use this API operation.
2271//
2272// The context must be non-nil and will be used for request cancellation. If
2273// the context is nil a panic will occur. In the future the SDK may create
2274// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2275// for more information on using Contexts.
2276func (c *SageMaker) DeleteTagsWithContext(ctx aws.Context, input *DeleteTagsInput, opts ...request.Option) (*DeleteTagsOutput, error) {
2277	req, out := c.DeleteTagsRequest(input)
2278	req.SetContext(ctx)
2279	req.ApplyOptions(opts...)
2280	return out, req.Send()
2281}
2282
2283const opDeleteWorkteam = "DeleteWorkteam"
2284
2285// DeleteWorkteamRequest generates a "aws/request.Request" representing the
2286// client's request for the DeleteWorkteam operation. The "output" return
2287// value will be populated with the request's response once the request completes
2288// successfully.
2289//
2290// Use "Send" method on the returned Request to send the API call to the service.
2291// the "output" return value is not valid until after Send returns without error.
2292//
2293// See DeleteWorkteam for more information on using the DeleteWorkteam
2294// API call, and error handling.
2295//
2296// This method is useful when you want to inject custom logic or configuration
2297// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2298//
2299//
2300//    // Example sending a request using the DeleteWorkteamRequest method.
2301//    req, resp := client.DeleteWorkteamRequest(params)
2302//
2303//    err := req.Send()
2304//    if err == nil { // resp is now filled
2305//        fmt.Println(resp)
2306//    }
2307//
2308// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteWorkteam
2309func (c *SageMaker) DeleteWorkteamRequest(input *DeleteWorkteamInput) (req *request.Request, output *DeleteWorkteamOutput) {
2310	op := &request.Operation{
2311		Name:       opDeleteWorkteam,
2312		HTTPMethod: "POST",
2313		HTTPPath:   "/",
2314	}
2315
2316	if input == nil {
2317		input = &DeleteWorkteamInput{}
2318	}
2319
2320	output = &DeleteWorkteamOutput{}
2321	req = c.newRequest(op, input, output)
2322	return
2323}
2324
2325// DeleteWorkteam API operation for Amazon SageMaker Service.
2326//
2327// Deletes an existing work team. This operation can't be undone.
2328//
2329// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2330// with awserr.Error's Code and Message methods to get detailed information about
2331// the error.
2332//
2333// See the AWS API reference guide for Amazon SageMaker Service's
2334// API operation DeleteWorkteam for usage and error information.
2335//
2336// Returned Error Codes:
2337//   * ErrCodeResourceLimitExceeded "ResourceLimitExceeded"
2338//   You have exceeded an Amazon SageMaker resource limit. For example, you might
2339//   have too many training jobs created.
2340//
2341// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DeleteWorkteam
2342func (c *SageMaker) DeleteWorkteam(input *DeleteWorkteamInput) (*DeleteWorkteamOutput, error) {
2343	req, out := c.DeleteWorkteamRequest(input)
2344	return out, req.Send()
2345}
2346
2347// DeleteWorkteamWithContext is the same as DeleteWorkteam with the addition of
2348// the ability to pass a context and additional request options.
2349//
2350// See DeleteWorkteam for details on how to use this API operation.
2351//
2352// The context must be non-nil and will be used for request cancellation. If
2353// the context is nil a panic will occur. In the future the SDK may create
2354// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2355// for more information on using Contexts.
2356func (c *SageMaker) DeleteWorkteamWithContext(ctx aws.Context, input *DeleteWorkteamInput, opts ...request.Option) (*DeleteWorkteamOutput, error) {
2357	req, out := c.DeleteWorkteamRequest(input)
2358	req.SetContext(ctx)
2359	req.ApplyOptions(opts...)
2360	return out, req.Send()
2361}
2362
2363const opDescribeAlgorithm = "DescribeAlgorithm"
2364
2365// DescribeAlgorithmRequest generates a "aws/request.Request" representing the
2366// client's request for the DescribeAlgorithm operation. The "output" return
2367// value will be populated with the request's response once the request completes
2368// successfully.
2369//
2370// Use "Send" method on the returned Request to send the API call to the service.
2371// the "output" return value is not valid until after Send returns without error.
2372//
2373// See DescribeAlgorithm for more information on using the DescribeAlgorithm
2374// API call, and error handling.
2375//
2376// This method is useful when you want to inject custom logic or configuration
2377// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2378//
2379//
2380//    // Example sending a request using the DescribeAlgorithmRequest method.
2381//    req, resp := client.DescribeAlgorithmRequest(params)
2382//
2383//    err := req.Send()
2384//    if err == nil { // resp is now filled
2385//        fmt.Println(resp)
2386//    }
2387//
2388// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAlgorithm
2389func (c *SageMaker) DescribeAlgorithmRequest(input *DescribeAlgorithmInput) (req *request.Request, output *DescribeAlgorithmOutput) {
2390	op := &request.Operation{
2391		Name:       opDescribeAlgorithm,
2392		HTTPMethod: "POST",
2393		HTTPPath:   "/",
2394	}
2395
2396	if input == nil {
2397		input = &DescribeAlgorithmInput{}
2398	}
2399
2400	output = &DescribeAlgorithmOutput{}
2401	req = c.newRequest(op, input, output)
2402	return
2403}
2404
2405// DescribeAlgorithm API operation for Amazon SageMaker Service.
2406//
2407// Returns a description of the specified algorithm that is in your account.
2408//
2409// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2410// with awserr.Error's Code and Message methods to get detailed information about
2411// the error.
2412//
2413// See the AWS API reference guide for Amazon SageMaker Service's
2414// API operation DescribeAlgorithm for usage and error information.
2415// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeAlgorithm
2416func (c *SageMaker) DescribeAlgorithm(input *DescribeAlgorithmInput) (*DescribeAlgorithmOutput, error) {
2417	req, out := c.DescribeAlgorithmRequest(input)
2418	return out, req.Send()
2419}
2420
2421// DescribeAlgorithmWithContext is the same as DescribeAlgorithm with the addition of
2422// the ability to pass a context and additional request options.
2423//
2424// See DescribeAlgorithm for details on how to use this API operation.
2425//
2426// The context must be non-nil and will be used for request cancellation. If
2427// the context is nil a panic will occur. In the future the SDK may create
2428// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2429// for more information on using Contexts.
2430func (c *SageMaker) DescribeAlgorithmWithContext(ctx aws.Context, input *DescribeAlgorithmInput, opts ...request.Option) (*DescribeAlgorithmOutput, error) {
2431	req, out := c.DescribeAlgorithmRequest(input)
2432	req.SetContext(ctx)
2433	req.ApplyOptions(opts...)
2434	return out, req.Send()
2435}
2436
2437const opDescribeCodeRepository = "DescribeCodeRepository"
2438
2439// DescribeCodeRepositoryRequest generates a "aws/request.Request" representing the
2440// client's request for the DescribeCodeRepository operation. The "output" return
2441// value will be populated with the request's response once the request completes
2442// successfully.
2443//
2444// Use "Send" method on the returned Request to send the API call to the service.
2445// the "output" return value is not valid until after Send returns without error.
2446//
2447// See DescribeCodeRepository for more information on using the DescribeCodeRepository
2448// API call, and error handling.
2449//
2450// This method is useful when you want to inject custom logic or configuration
2451// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2452//
2453//
2454//    // Example sending a request using the DescribeCodeRepositoryRequest method.
2455//    req, resp := client.DescribeCodeRepositoryRequest(params)
2456//
2457//    err := req.Send()
2458//    if err == nil { // resp is now filled
2459//        fmt.Println(resp)
2460//    }
2461//
2462// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeCodeRepository
2463func (c *SageMaker) DescribeCodeRepositoryRequest(input *DescribeCodeRepositoryInput) (req *request.Request, output *DescribeCodeRepositoryOutput) {
2464	op := &request.Operation{
2465		Name:       opDescribeCodeRepository,
2466		HTTPMethod: "POST",
2467		HTTPPath:   "/",
2468	}
2469
2470	if input == nil {
2471		input = &DescribeCodeRepositoryInput{}
2472	}
2473
2474	output = &DescribeCodeRepositoryOutput{}
2475	req = c.newRequest(op, input, output)
2476	return
2477}
2478
2479// DescribeCodeRepository API operation for Amazon SageMaker Service.
2480//
2481// Gets details about the specified Git repository.
2482//
2483// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2484// with awserr.Error's Code and Message methods to get detailed information about
2485// the error.
2486//
2487// See the AWS API reference guide for Amazon SageMaker Service's
2488// API operation DescribeCodeRepository for usage and error information.
2489// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeCodeRepository
2490func (c *SageMaker) DescribeCodeRepository(input *DescribeCodeRepositoryInput) (*DescribeCodeRepositoryOutput, error) {
2491	req, out := c.DescribeCodeRepositoryRequest(input)
2492	return out, req.Send()
2493}
2494
2495// DescribeCodeRepositoryWithContext is the same as DescribeCodeRepository with the addition of
2496// the ability to pass a context and additional request options.
2497//
2498// See DescribeCodeRepository for details on how to use this API operation.
2499//
2500// The context must be non-nil and will be used for request cancellation. If
2501// the context is nil a panic will occur. In the future the SDK may create
2502// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2503// for more information on using Contexts.
2504func (c *SageMaker) DescribeCodeRepositoryWithContext(ctx aws.Context, input *DescribeCodeRepositoryInput, opts ...request.Option) (*DescribeCodeRepositoryOutput, error) {
2505	req, out := c.DescribeCodeRepositoryRequest(input)
2506	req.SetContext(ctx)
2507	req.ApplyOptions(opts...)
2508	return out, req.Send()
2509}
2510
2511const opDescribeCompilationJob = "DescribeCompilationJob"
2512
2513// DescribeCompilationJobRequest generates a "aws/request.Request" representing the
2514// client's request for the DescribeCompilationJob operation. The "output" return
2515// value will be populated with the request's response once the request completes
2516// successfully.
2517//
2518// Use "Send" method on the returned Request to send the API call to the service.
2519// the "output" return value is not valid until after Send returns without error.
2520//
2521// See DescribeCompilationJob for more information on using the DescribeCompilationJob
2522// API call, and error handling.
2523//
2524// This method is useful when you want to inject custom logic or configuration
2525// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2526//
2527//
2528//    // Example sending a request using the DescribeCompilationJobRequest method.
2529//    req, resp := client.DescribeCompilationJobRequest(params)
2530//
2531//    err := req.Send()
2532//    if err == nil { // resp is now filled
2533//        fmt.Println(resp)
2534//    }
2535//
2536// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeCompilationJob
2537func (c *SageMaker) DescribeCompilationJobRequest(input *DescribeCompilationJobInput) (req *request.Request, output *DescribeCompilationJobOutput) {
2538	op := &request.Operation{
2539		Name:       opDescribeCompilationJob,
2540		HTTPMethod: "POST",
2541		HTTPPath:   "/",
2542	}
2543
2544	if input == nil {
2545		input = &DescribeCompilationJobInput{}
2546	}
2547
2548	output = &DescribeCompilationJobOutput{}
2549	req = c.newRequest(op, input, output)
2550	return
2551}
2552
2553// DescribeCompilationJob API operation for Amazon SageMaker Service.
2554//
2555// Returns information about a model compilation job.
2556//
2557// To create a model compilation job, use CreateCompilationJob. To get information
2558// about multiple model compilation jobs, use ListCompilationJobs.
2559//
2560// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2561// with awserr.Error's Code and Message methods to get detailed information about
2562// the error.
2563//
2564// See the AWS API reference guide for Amazon SageMaker Service's
2565// API operation DescribeCompilationJob for usage and error information.
2566//
2567// Returned Error Codes:
2568//   * ErrCodeResourceNotFound "ResourceNotFound"
2569//   Resource being access is not found.
2570//
2571// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeCompilationJob
2572func (c *SageMaker) DescribeCompilationJob(input *DescribeCompilationJobInput) (*DescribeCompilationJobOutput, error) {
2573	req, out := c.DescribeCompilationJobRequest(input)
2574	return out, req.Send()
2575}
2576
2577// DescribeCompilationJobWithContext is the same as DescribeCompilationJob with the addition of
2578// the ability to pass a context and additional request options.
2579//
2580// See DescribeCompilationJob for details on how to use this API operation.
2581//
2582// The context must be non-nil and will be used for request cancellation. If
2583// the context is nil a panic will occur. In the future the SDK may create
2584// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2585// for more information on using Contexts.
2586func (c *SageMaker) DescribeCompilationJobWithContext(ctx aws.Context, input *DescribeCompilationJobInput, opts ...request.Option) (*DescribeCompilationJobOutput, error) {
2587	req, out := c.DescribeCompilationJobRequest(input)
2588	req.SetContext(ctx)
2589	req.ApplyOptions(opts...)
2590	return out, req.Send()
2591}
2592
2593const opDescribeEndpoint = "DescribeEndpoint"
2594
2595// DescribeEndpointRequest generates a "aws/request.Request" representing the
2596// client's request for the DescribeEndpoint operation. The "output" return
2597// value will be populated with the request's response once the request completes
2598// successfully.
2599//
2600// Use "Send" method on the returned Request to send the API call to the service.
2601// the "output" return value is not valid until after Send returns without error.
2602//
2603// See DescribeEndpoint for more information on using the DescribeEndpoint
2604// API call, and error handling.
2605//
2606// This method is useful when you want to inject custom logic or configuration
2607// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2608//
2609//
2610//    // Example sending a request using the DescribeEndpointRequest method.
2611//    req, resp := client.DescribeEndpointRequest(params)
2612//
2613//    err := req.Send()
2614//    if err == nil { // resp is now filled
2615//        fmt.Println(resp)
2616//    }
2617//
2618// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpoint
2619func (c *SageMaker) DescribeEndpointRequest(input *DescribeEndpointInput) (req *request.Request, output *DescribeEndpointOutput) {
2620	op := &request.Operation{
2621		Name:       opDescribeEndpoint,
2622		HTTPMethod: "POST",
2623		HTTPPath:   "/",
2624	}
2625
2626	if input == nil {
2627		input = &DescribeEndpointInput{}
2628	}
2629
2630	output = &DescribeEndpointOutput{}
2631	req = c.newRequest(op, input, output)
2632	return
2633}
2634
2635// DescribeEndpoint API operation for Amazon SageMaker Service.
2636//
2637// Returns the description of an endpoint.
2638//
2639// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2640// with awserr.Error's Code and Message methods to get detailed information about
2641// the error.
2642//
2643// See the AWS API reference guide for Amazon SageMaker Service's
2644// API operation DescribeEndpoint for usage and error information.
2645// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpoint
2646func (c *SageMaker) DescribeEndpoint(input *DescribeEndpointInput) (*DescribeEndpointOutput, error) {
2647	req, out := c.DescribeEndpointRequest(input)
2648	return out, req.Send()
2649}
2650
2651// DescribeEndpointWithContext is the same as DescribeEndpoint with the addition of
2652// the ability to pass a context and additional request options.
2653//
2654// See DescribeEndpoint for details on how to use this API operation.
2655//
2656// The context must be non-nil and will be used for request cancellation. If
2657// the context is nil a panic will occur. In the future the SDK may create
2658// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2659// for more information on using Contexts.
2660func (c *SageMaker) DescribeEndpointWithContext(ctx aws.Context, input *DescribeEndpointInput, opts ...request.Option) (*DescribeEndpointOutput, error) {
2661	req, out := c.DescribeEndpointRequest(input)
2662	req.SetContext(ctx)
2663	req.ApplyOptions(opts...)
2664	return out, req.Send()
2665}
2666
2667const opDescribeEndpointConfig = "DescribeEndpointConfig"
2668
2669// DescribeEndpointConfigRequest generates a "aws/request.Request" representing the
2670// client's request for the DescribeEndpointConfig operation. The "output" return
2671// value will be populated with the request's response once the request completes
2672// successfully.
2673//
2674// Use "Send" method on the returned Request to send the API call to the service.
2675// the "output" return value is not valid until after Send returns without error.
2676//
2677// See DescribeEndpointConfig for more information on using the DescribeEndpointConfig
2678// API call, and error handling.
2679//
2680// This method is useful when you want to inject custom logic or configuration
2681// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2682//
2683//
2684//    // Example sending a request using the DescribeEndpointConfigRequest method.
2685//    req, resp := client.DescribeEndpointConfigRequest(params)
2686//
2687//    err := req.Send()
2688//    if err == nil { // resp is now filled
2689//        fmt.Println(resp)
2690//    }
2691//
2692// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpointConfig
2693func (c *SageMaker) DescribeEndpointConfigRequest(input *DescribeEndpointConfigInput) (req *request.Request, output *DescribeEndpointConfigOutput) {
2694	op := &request.Operation{
2695		Name:       opDescribeEndpointConfig,
2696		HTTPMethod: "POST",
2697		HTTPPath:   "/",
2698	}
2699
2700	if input == nil {
2701		input = &DescribeEndpointConfigInput{}
2702	}
2703
2704	output = &DescribeEndpointConfigOutput{}
2705	req = c.newRequest(op, input, output)
2706	return
2707}
2708
2709// DescribeEndpointConfig API operation for Amazon SageMaker Service.
2710//
2711// Returns the description of an endpoint configuration created using the CreateEndpointConfig
2712// API.
2713//
2714// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2715// with awserr.Error's Code and Message methods to get detailed information about
2716// the error.
2717//
2718// See the AWS API reference guide for Amazon SageMaker Service's
2719// API operation DescribeEndpointConfig for usage and error information.
2720// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeEndpointConfig
2721func (c *SageMaker) DescribeEndpointConfig(input *DescribeEndpointConfigInput) (*DescribeEndpointConfigOutput, error) {
2722	req, out := c.DescribeEndpointConfigRequest(input)
2723	return out, req.Send()
2724}
2725
2726// DescribeEndpointConfigWithContext is the same as DescribeEndpointConfig with the addition of
2727// the ability to pass a context and additional request options.
2728//
2729// See DescribeEndpointConfig for details on how to use this API operation.
2730//
2731// The context must be non-nil and will be used for request cancellation. If
2732// the context is nil a panic will occur. In the future the SDK may create
2733// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2734// for more information on using Contexts.
2735func (c *SageMaker) DescribeEndpointConfigWithContext(ctx aws.Context, input *DescribeEndpointConfigInput, opts ...request.Option) (*DescribeEndpointConfigOutput, error) {
2736	req, out := c.DescribeEndpointConfigRequest(input)
2737	req.SetContext(ctx)
2738	req.ApplyOptions(opts...)
2739	return out, req.Send()
2740}
2741
2742const opDescribeHyperParameterTuningJob = "DescribeHyperParameterTuningJob"
2743
2744// DescribeHyperParameterTuningJobRequest generates a "aws/request.Request" representing the
2745// client's request for the DescribeHyperParameterTuningJob operation. The "output" return
2746// value will be populated with the request's response once the request completes
2747// successfully.
2748//
2749// Use "Send" method on the returned Request to send the API call to the service.
2750// the "output" return value is not valid until after Send returns without error.
2751//
2752// See DescribeHyperParameterTuningJob for more information on using the DescribeHyperParameterTuningJob
2753// API call, and error handling.
2754//
2755// This method is useful when you want to inject custom logic or configuration
2756// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2757//
2758//
2759//    // Example sending a request using the DescribeHyperParameterTuningJobRequest method.
2760//    req, resp := client.DescribeHyperParameterTuningJobRequest(params)
2761//
2762//    err := req.Send()
2763//    if err == nil { // resp is now filled
2764//        fmt.Println(resp)
2765//    }
2766//
2767// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeHyperParameterTuningJob
2768func (c *SageMaker) DescribeHyperParameterTuningJobRequest(input *DescribeHyperParameterTuningJobInput) (req *request.Request, output *DescribeHyperParameterTuningJobOutput) {
2769	op := &request.Operation{
2770		Name:       opDescribeHyperParameterTuningJob,
2771		HTTPMethod: "POST",
2772		HTTPPath:   "/",
2773	}
2774
2775	if input == nil {
2776		input = &DescribeHyperParameterTuningJobInput{}
2777	}
2778
2779	output = &DescribeHyperParameterTuningJobOutput{}
2780	req = c.newRequest(op, input, output)
2781	return
2782}
2783
2784// DescribeHyperParameterTuningJob API operation for Amazon SageMaker Service.
2785//
2786// Gets a description of a hyperparameter tuning job.
2787//
2788// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2789// with awserr.Error's Code and Message methods to get detailed information about
2790// the error.
2791//
2792// See the AWS API reference guide for Amazon SageMaker Service's
2793// API operation DescribeHyperParameterTuningJob for usage and error information.
2794//
2795// Returned Error Codes:
2796//   * ErrCodeResourceNotFound "ResourceNotFound"
2797//   Resource being access is not found.
2798//
2799// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeHyperParameterTuningJob
2800func (c *SageMaker) DescribeHyperParameterTuningJob(input *DescribeHyperParameterTuningJobInput) (*DescribeHyperParameterTuningJobOutput, error) {
2801	req, out := c.DescribeHyperParameterTuningJobRequest(input)
2802	return out, req.Send()
2803}
2804
2805// DescribeHyperParameterTuningJobWithContext is the same as DescribeHyperParameterTuningJob with the addition of
2806// the ability to pass a context and additional request options.
2807//
2808// See DescribeHyperParameterTuningJob for details on how to use this API operation.
2809//
2810// The context must be non-nil and will be used for request cancellation. If
2811// the context is nil a panic will occur. In the future the SDK may create
2812// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2813// for more information on using Contexts.
2814func (c *SageMaker) DescribeHyperParameterTuningJobWithContext(ctx aws.Context, input *DescribeHyperParameterTuningJobInput, opts ...request.Option) (*DescribeHyperParameterTuningJobOutput, error) {
2815	req, out := c.DescribeHyperParameterTuningJobRequest(input)
2816	req.SetContext(ctx)
2817	req.ApplyOptions(opts...)
2818	return out, req.Send()
2819}
2820
2821const opDescribeLabelingJob = "DescribeLabelingJob"
2822
2823// DescribeLabelingJobRequest generates a "aws/request.Request" representing the
2824// client's request for the DescribeLabelingJob operation. The "output" return
2825// value will be populated with the request's response once the request completes
2826// successfully.
2827//
2828// Use "Send" method on the returned Request to send the API call to the service.
2829// the "output" return value is not valid until after Send returns without error.
2830//
2831// See DescribeLabelingJob for more information on using the DescribeLabelingJob
2832// API call, and error handling.
2833//
2834// This method is useful when you want to inject custom logic or configuration
2835// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2836//
2837//
2838//    // Example sending a request using the DescribeLabelingJobRequest method.
2839//    req, resp := client.DescribeLabelingJobRequest(params)
2840//
2841//    err := req.Send()
2842//    if err == nil { // resp is now filled
2843//        fmt.Println(resp)
2844//    }
2845//
2846// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeLabelingJob
2847func (c *SageMaker) DescribeLabelingJobRequest(input *DescribeLabelingJobInput) (req *request.Request, output *DescribeLabelingJobOutput) {
2848	op := &request.Operation{
2849		Name:       opDescribeLabelingJob,
2850		HTTPMethod: "POST",
2851		HTTPPath:   "/",
2852	}
2853
2854	if input == nil {
2855		input = &DescribeLabelingJobInput{}
2856	}
2857
2858	output = &DescribeLabelingJobOutput{}
2859	req = c.newRequest(op, input, output)
2860	return
2861}
2862
2863// DescribeLabelingJob API operation for Amazon SageMaker Service.
2864//
2865// Gets information about a labeling job.
2866//
2867// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2868// with awserr.Error's Code and Message methods to get detailed information about
2869// the error.
2870//
2871// See the AWS API reference guide for Amazon SageMaker Service's
2872// API operation DescribeLabelingJob for usage and error information.
2873//
2874// Returned Error Codes:
2875//   * ErrCodeResourceNotFound "ResourceNotFound"
2876//   Resource being access is not found.
2877//
2878// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeLabelingJob
2879func (c *SageMaker) DescribeLabelingJob(input *DescribeLabelingJobInput) (*DescribeLabelingJobOutput, error) {
2880	req, out := c.DescribeLabelingJobRequest(input)
2881	return out, req.Send()
2882}
2883
2884// DescribeLabelingJobWithContext is the same as DescribeLabelingJob with the addition of
2885// the ability to pass a context and additional request options.
2886//
2887// See DescribeLabelingJob for details on how to use this API operation.
2888//
2889// The context must be non-nil and will be used for request cancellation. If
2890// the context is nil a panic will occur. In the future the SDK may create
2891// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2892// for more information on using Contexts.
2893func (c *SageMaker) DescribeLabelingJobWithContext(ctx aws.Context, input *DescribeLabelingJobInput, opts ...request.Option) (*DescribeLabelingJobOutput, error) {
2894	req, out := c.DescribeLabelingJobRequest(input)
2895	req.SetContext(ctx)
2896	req.ApplyOptions(opts...)
2897	return out, req.Send()
2898}
2899
2900const opDescribeModel = "DescribeModel"
2901
2902// DescribeModelRequest generates a "aws/request.Request" representing the
2903// client's request for the DescribeModel operation. The "output" return
2904// value will be populated with the request's response once the request completes
2905// successfully.
2906//
2907// Use "Send" method on the returned Request to send the API call to the service.
2908// the "output" return value is not valid until after Send returns without error.
2909//
2910// See DescribeModel for more information on using the DescribeModel
2911// API call, and error handling.
2912//
2913// This method is useful when you want to inject custom logic or configuration
2914// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2915//
2916//
2917//    // Example sending a request using the DescribeModelRequest method.
2918//    req, resp := client.DescribeModelRequest(params)
2919//
2920//    err := req.Send()
2921//    if err == nil { // resp is now filled
2922//        fmt.Println(resp)
2923//    }
2924//
2925// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModel
2926func (c *SageMaker) DescribeModelRequest(input *DescribeModelInput) (req *request.Request, output *DescribeModelOutput) {
2927	op := &request.Operation{
2928		Name:       opDescribeModel,
2929		HTTPMethod: "POST",
2930		HTTPPath:   "/",
2931	}
2932
2933	if input == nil {
2934		input = &DescribeModelInput{}
2935	}
2936
2937	output = &DescribeModelOutput{}
2938	req = c.newRequest(op, input, output)
2939	return
2940}
2941
2942// DescribeModel API operation for Amazon SageMaker Service.
2943//
2944// Describes a model that you created using the CreateModel API.
2945//
2946// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
2947// with awserr.Error's Code and Message methods to get detailed information about
2948// the error.
2949//
2950// See the AWS API reference guide for Amazon SageMaker Service's
2951// API operation DescribeModel for usage and error information.
2952// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModel
2953func (c *SageMaker) DescribeModel(input *DescribeModelInput) (*DescribeModelOutput, error) {
2954	req, out := c.DescribeModelRequest(input)
2955	return out, req.Send()
2956}
2957
2958// DescribeModelWithContext is the same as DescribeModel with the addition of
2959// the ability to pass a context and additional request options.
2960//
2961// See DescribeModel for details on how to use this API operation.
2962//
2963// The context must be non-nil and will be used for request cancellation. If
2964// the context is nil a panic will occur. In the future the SDK may create
2965// sub-contexts for http.Requests. See https://golang.org/pkg/context/
2966// for more information on using Contexts.
2967func (c *SageMaker) DescribeModelWithContext(ctx aws.Context, input *DescribeModelInput, opts ...request.Option) (*DescribeModelOutput, error) {
2968	req, out := c.DescribeModelRequest(input)
2969	req.SetContext(ctx)
2970	req.ApplyOptions(opts...)
2971	return out, req.Send()
2972}
2973
2974const opDescribeModelPackage = "DescribeModelPackage"
2975
2976// DescribeModelPackageRequest generates a "aws/request.Request" representing the
2977// client's request for the DescribeModelPackage operation. The "output" return
2978// value will be populated with the request's response once the request completes
2979// successfully.
2980//
2981// Use "Send" method on the returned Request to send the API call to the service.
2982// the "output" return value is not valid until after Send returns without error.
2983//
2984// See DescribeModelPackage for more information on using the DescribeModelPackage
2985// API call, and error handling.
2986//
2987// This method is useful when you want to inject custom logic or configuration
2988// into the SDK's request lifecycle. Such as custom headers, or retry logic.
2989//
2990//
2991//    // Example sending a request using the DescribeModelPackageRequest method.
2992//    req, resp := client.DescribeModelPackageRequest(params)
2993//
2994//    err := req.Send()
2995//    if err == nil { // resp is now filled
2996//        fmt.Println(resp)
2997//    }
2998//
2999// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelPackage
3000func (c *SageMaker) DescribeModelPackageRequest(input *DescribeModelPackageInput) (req *request.Request, output *DescribeModelPackageOutput) {
3001	op := &request.Operation{
3002		Name:       opDescribeModelPackage,
3003		HTTPMethod: "POST",
3004		HTTPPath:   "/",
3005	}
3006
3007	if input == nil {
3008		input = &DescribeModelPackageInput{}
3009	}
3010
3011	output = &DescribeModelPackageOutput{}
3012	req = c.newRequest(op, input, output)
3013	return
3014}
3015
3016// DescribeModelPackage API operation for Amazon SageMaker Service.
3017//
3018// Returns a description of the specified model package, which is used to create
3019// Amazon SageMaker models or list them on AWS Marketplace.
3020//
3021// To create models in Amazon SageMaker, buyers can subscribe to model packages
3022// listed on AWS Marketplace.
3023//
3024// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3025// with awserr.Error's Code and Message methods to get detailed information about
3026// the error.
3027//
3028// See the AWS API reference guide for Amazon SageMaker Service's
3029// API operation DescribeModelPackage for usage and error information.
3030// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeModelPackage
3031func (c *SageMaker) DescribeModelPackage(input *DescribeModelPackageInput) (*DescribeModelPackageOutput, error) {
3032	req, out := c.DescribeModelPackageRequest(input)
3033	return out, req.Send()
3034}
3035
3036// DescribeModelPackageWithContext is the same as DescribeModelPackage with the addition of
3037// the ability to pass a context and additional request options.
3038//
3039// See DescribeModelPackage for details on how to use this API operation.
3040//
3041// The context must be non-nil and will be used for request cancellation. If
3042// the context is nil a panic will occur. In the future the SDK may create
3043// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3044// for more information on using Contexts.
3045func (c *SageMaker) DescribeModelPackageWithContext(ctx aws.Context, input *DescribeModelPackageInput, opts ...request.Option) (*DescribeModelPackageOutput, error) {
3046	req, out := c.DescribeModelPackageRequest(input)
3047	req.SetContext(ctx)
3048	req.ApplyOptions(opts...)
3049	return out, req.Send()
3050}
3051
3052const opDescribeNotebookInstance = "DescribeNotebookInstance"
3053
3054// DescribeNotebookInstanceRequest generates a "aws/request.Request" representing the
3055// client's request for the DescribeNotebookInstance operation. The "output" return
3056// value will be populated with the request's response once the request completes
3057// successfully.
3058//
3059// Use "Send" method on the returned Request to send the API call to the service.
3060// the "output" return value is not valid until after Send returns without error.
3061//
3062// See DescribeNotebookInstance for more information on using the DescribeNotebookInstance
3063// API call, and error handling.
3064//
3065// This method is useful when you want to inject custom logic or configuration
3066// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3067//
3068//
3069//    // Example sending a request using the DescribeNotebookInstanceRequest method.
3070//    req, resp := client.DescribeNotebookInstanceRequest(params)
3071//
3072//    err := req.Send()
3073//    if err == nil { // resp is now filled
3074//        fmt.Println(resp)
3075//    }
3076//
3077// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeNotebookInstance
3078func (c *SageMaker) DescribeNotebookInstanceRequest(input *DescribeNotebookInstanceInput) (req *request.Request, output *DescribeNotebookInstanceOutput) {
3079	op := &request.Operation{
3080		Name:       opDescribeNotebookInstance,
3081		HTTPMethod: "POST",
3082		HTTPPath:   "/",
3083	}
3084
3085	if input == nil {
3086		input = &DescribeNotebookInstanceInput{}
3087	}
3088
3089	output = &DescribeNotebookInstanceOutput{}
3090	req = c.newRequest(op, input, output)
3091	return
3092}
3093
3094// DescribeNotebookInstance API operation for Amazon SageMaker Service.
3095//
3096// Returns information about a notebook instance.
3097//
3098// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3099// with awserr.Error's Code and Message methods to get detailed information about
3100// the error.
3101//
3102// See the AWS API reference guide for Amazon SageMaker Service's
3103// API operation DescribeNotebookInstance for usage and error information.
3104// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeNotebookInstance
3105func (c *SageMaker) DescribeNotebookInstance(input *DescribeNotebookInstanceInput) (*DescribeNotebookInstanceOutput, error) {
3106	req, out := c.DescribeNotebookInstanceRequest(input)
3107	return out, req.Send()
3108}
3109
3110// DescribeNotebookInstanceWithContext is the same as DescribeNotebookInstance with the addition of
3111// the ability to pass a context and additional request options.
3112//
3113// See DescribeNotebookInstance for details on how to use this API operation.
3114//
3115// The context must be non-nil and will be used for request cancellation. If
3116// the context is nil a panic will occur. In the future the SDK may create
3117// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3118// for more information on using Contexts.
3119func (c *SageMaker) DescribeNotebookInstanceWithContext(ctx aws.Context, input *DescribeNotebookInstanceInput, opts ...request.Option) (*DescribeNotebookInstanceOutput, error) {
3120	req, out := c.DescribeNotebookInstanceRequest(input)
3121	req.SetContext(ctx)
3122	req.ApplyOptions(opts...)
3123	return out, req.Send()
3124}
3125
3126const opDescribeNotebookInstanceLifecycleConfig = "DescribeNotebookInstanceLifecycleConfig"
3127
3128// DescribeNotebookInstanceLifecycleConfigRequest generates a "aws/request.Request" representing the
3129// client's request for the DescribeNotebookInstanceLifecycleConfig operation. The "output" return
3130// value will be populated with the request's response once the request completes
3131// successfully.
3132//
3133// Use "Send" method on the returned Request to send the API call to the service.
3134// the "output" return value is not valid until after Send returns without error.
3135//
3136// See DescribeNotebookInstanceLifecycleConfig for more information on using the DescribeNotebookInstanceLifecycleConfig
3137// API call, and error handling.
3138//
3139// This method is useful when you want to inject custom logic or configuration
3140// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3141//
3142//
3143//    // Example sending a request using the DescribeNotebookInstanceLifecycleConfigRequest method.
3144//    req, resp := client.DescribeNotebookInstanceLifecycleConfigRequest(params)
3145//
3146//    err := req.Send()
3147//    if err == nil { // resp is now filled
3148//        fmt.Println(resp)
3149//    }
3150//
3151// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeNotebookInstanceLifecycleConfig
3152func (c *SageMaker) DescribeNotebookInstanceLifecycleConfigRequest(input *DescribeNotebookInstanceLifecycleConfigInput) (req *request.Request, output *DescribeNotebookInstanceLifecycleConfigOutput) {
3153	op := &request.Operation{
3154		Name:       opDescribeNotebookInstanceLifecycleConfig,
3155		HTTPMethod: "POST",
3156		HTTPPath:   "/",
3157	}
3158
3159	if input == nil {
3160		input = &DescribeNotebookInstanceLifecycleConfigInput{}
3161	}
3162
3163	output = &DescribeNotebookInstanceLifecycleConfigOutput{}
3164	req = c.newRequest(op, input, output)
3165	return
3166}
3167
3168// DescribeNotebookInstanceLifecycleConfig API operation for Amazon SageMaker Service.
3169//
3170// Returns a description of a notebook instance lifecycle configuration.
3171//
3172// For information about notebook instance lifestyle configurations, see Step
3173// 2.1: (Optional) Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html).
3174//
3175// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3176// with awserr.Error's Code and Message methods to get detailed information about
3177// the error.
3178//
3179// See the AWS API reference guide for Amazon SageMaker Service's
3180// API operation DescribeNotebookInstanceLifecycleConfig for usage and error information.
3181// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeNotebookInstanceLifecycleConfig
3182func (c *SageMaker) DescribeNotebookInstanceLifecycleConfig(input *DescribeNotebookInstanceLifecycleConfigInput) (*DescribeNotebookInstanceLifecycleConfigOutput, error) {
3183	req, out := c.DescribeNotebookInstanceLifecycleConfigRequest(input)
3184	return out, req.Send()
3185}
3186
3187// DescribeNotebookInstanceLifecycleConfigWithContext is the same as DescribeNotebookInstanceLifecycleConfig with the addition of
3188// the ability to pass a context and additional request options.
3189//
3190// See DescribeNotebookInstanceLifecycleConfig for details on how to use this API operation.
3191//
3192// The context must be non-nil and will be used for request cancellation. If
3193// the context is nil a panic will occur. In the future the SDK may create
3194// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3195// for more information on using Contexts.
3196func (c *SageMaker) DescribeNotebookInstanceLifecycleConfigWithContext(ctx aws.Context, input *DescribeNotebookInstanceLifecycleConfigInput, opts ...request.Option) (*DescribeNotebookInstanceLifecycleConfigOutput, error) {
3197	req, out := c.DescribeNotebookInstanceLifecycleConfigRequest(input)
3198	req.SetContext(ctx)
3199	req.ApplyOptions(opts...)
3200	return out, req.Send()
3201}
3202
3203const opDescribeSubscribedWorkteam = "DescribeSubscribedWorkteam"
3204
3205// DescribeSubscribedWorkteamRequest generates a "aws/request.Request" representing the
3206// client's request for the DescribeSubscribedWorkteam operation. The "output" return
3207// value will be populated with the request's response once the request completes
3208// successfully.
3209//
3210// Use "Send" method on the returned Request to send the API call to the service.
3211// the "output" return value is not valid until after Send returns without error.
3212//
3213// See DescribeSubscribedWorkteam for more information on using the DescribeSubscribedWorkteam
3214// API call, and error handling.
3215//
3216// This method is useful when you want to inject custom logic or configuration
3217// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3218//
3219//
3220//    // Example sending a request using the DescribeSubscribedWorkteamRequest method.
3221//    req, resp := client.DescribeSubscribedWorkteamRequest(params)
3222//
3223//    err := req.Send()
3224//    if err == nil { // resp is now filled
3225//        fmt.Println(resp)
3226//    }
3227//
3228// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeSubscribedWorkteam
3229func (c *SageMaker) DescribeSubscribedWorkteamRequest(input *DescribeSubscribedWorkteamInput) (req *request.Request, output *DescribeSubscribedWorkteamOutput) {
3230	op := &request.Operation{
3231		Name:       opDescribeSubscribedWorkteam,
3232		HTTPMethod: "POST",
3233		HTTPPath:   "/",
3234	}
3235
3236	if input == nil {
3237		input = &DescribeSubscribedWorkteamInput{}
3238	}
3239
3240	output = &DescribeSubscribedWorkteamOutput{}
3241	req = c.newRequest(op, input, output)
3242	return
3243}
3244
3245// DescribeSubscribedWorkteam API operation for Amazon SageMaker Service.
3246//
3247// Gets information about a work team provided by a vendor. It returns details
3248// about the subscription with a vendor in the AWS Marketplace.
3249//
3250// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3251// with awserr.Error's Code and Message methods to get detailed information about
3252// the error.
3253//
3254// See the AWS API reference guide for Amazon SageMaker Service's
3255// API operation DescribeSubscribedWorkteam for usage and error information.
3256// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeSubscribedWorkteam
3257func (c *SageMaker) DescribeSubscribedWorkteam(input *DescribeSubscribedWorkteamInput) (*DescribeSubscribedWorkteamOutput, error) {
3258	req, out := c.DescribeSubscribedWorkteamRequest(input)
3259	return out, req.Send()
3260}
3261
3262// DescribeSubscribedWorkteamWithContext is the same as DescribeSubscribedWorkteam with the addition of
3263// the ability to pass a context and additional request options.
3264//
3265// See DescribeSubscribedWorkteam for details on how to use this API operation.
3266//
3267// The context must be non-nil and will be used for request cancellation. If
3268// the context is nil a panic will occur. In the future the SDK may create
3269// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3270// for more information on using Contexts.
3271func (c *SageMaker) DescribeSubscribedWorkteamWithContext(ctx aws.Context, input *DescribeSubscribedWorkteamInput, opts ...request.Option) (*DescribeSubscribedWorkteamOutput, error) {
3272	req, out := c.DescribeSubscribedWorkteamRequest(input)
3273	req.SetContext(ctx)
3274	req.ApplyOptions(opts...)
3275	return out, req.Send()
3276}
3277
3278const opDescribeTrainingJob = "DescribeTrainingJob"
3279
3280// DescribeTrainingJobRequest generates a "aws/request.Request" representing the
3281// client's request for the DescribeTrainingJob operation. The "output" return
3282// value will be populated with the request's response once the request completes
3283// successfully.
3284//
3285// Use "Send" method on the returned Request to send the API call to the service.
3286// the "output" return value is not valid until after Send returns without error.
3287//
3288// See DescribeTrainingJob for more information on using the DescribeTrainingJob
3289// API call, and error handling.
3290//
3291// This method is useful when you want to inject custom logic or configuration
3292// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3293//
3294//
3295//    // Example sending a request using the DescribeTrainingJobRequest method.
3296//    req, resp := client.DescribeTrainingJobRequest(params)
3297//
3298//    err := req.Send()
3299//    if err == nil { // resp is now filled
3300//        fmt.Println(resp)
3301//    }
3302//
3303// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrainingJob
3304func (c *SageMaker) DescribeTrainingJobRequest(input *DescribeTrainingJobInput) (req *request.Request, output *DescribeTrainingJobOutput) {
3305	op := &request.Operation{
3306		Name:       opDescribeTrainingJob,
3307		HTTPMethod: "POST",
3308		HTTPPath:   "/",
3309	}
3310
3311	if input == nil {
3312		input = &DescribeTrainingJobInput{}
3313	}
3314
3315	output = &DescribeTrainingJobOutput{}
3316	req = c.newRequest(op, input, output)
3317	return
3318}
3319
3320// DescribeTrainingJob API operation for Amazon SageMaker Service.
3321//
3322// Returns information about a training job.
3323//
3324// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3325// with awserr.Error's Code and Message methods to get detailed information about
3326// the error.
3327//
3328// See the AWS API reference guide for Amazon SageMaker Service's
3329// API operation DescribeTrainingJob for usage and error information.
3330//
3331// Returned Error Codes:
3332//   * ErrCodeResourceNotFound "ResourceNotFound"
3333//   Resource being access is not found.
3334//
3335// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTrainingJob
3336func (c *SageMaker) DescribeTrainingJob(input *DescribeTrainingJobInput) (*DescribeTrainingJobOutput, error) {
3337	req, out := c.DescribeTrainingJobRequest(input)
3338	return out, req.Send()
3339}
3340
3341// DescribeTrainingJobWithContext is the same as DescribeTrainingJob with the addition of
3342// the ability to pass a context and additional request options.
3343//
3344// See DescribeTrainingJob for details on how to use this API operation.
3345//
3346// The context must be non-nil and will be used for request cancellation. If
3347// the context is nil a panic will occur. In the future the SDK may create
3348// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3349// for more information on using Contexts.
3350func (c *SageMaker) DescribeTrainingJobWithContext(ctx aws.Context, input *DescribeTrainingJobInput, opts ...request.Option) (*DescribeTrainingJobOutput, error) {
3351	req, out := c.DescribeTrainingJobRequest(input)
3352	req.SetContext(ctx)
3353	req.ApplyOptions(opts...)
3354	return out, req.Send()
3355}
3356
3357const opDescribeTransformJob = "DescribeTransformJob"
3358
3359// DescribeTransformJobRequest generates a "aws/request.Request" representing the
3360// client's request for the DescribeTransformJob operation. The "output" return
3361// value will be populated with the request's response once the request completes
3362// successfully.
3363//
3364// Use "Send" method on the returned Request to send the API call to the service.
3365// the "output" return value is not valid until after Send returns without error.
3366//
3367// See DescribeTransformJob for more information on using the DescribeTransformJob
3368// API call, and error handling.
3369//
3370// This method is useful when you want to inject custom logic or configuration
3371// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3372//
3373//
3374//    // Example sending a request using the DescribeTransformJobRequest method.
3375//    req, resp := client.DescribeTransformJobRequest(params)
3376//
3377//    err := req.Send()
3378//    if err == nil { // resp is now filled
3379//        fmt.Println(resp)
3380//    }
3381//
3382// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTransformJob
3383func (c *SageMaker) DescribeTransformJobRequest(input *DescribeTransformJobInput) (req *request.Request, output *DescribeTransformJobOutput) {
3384	op := &request.Operation{
3385		Name:       opDescribeTransformJob,
3386		HTTPMethod: "POST",
3387		HTTPPath:   "/",
3388	}
3389
3390	if input == nil {
3391		input = &DescribeTransformJobInput{}
3392	}
3393
3394	output = &DescribeTransformJobOutput{}
3395	req = c.newRequest(op, input, output)
3396	return
3397}
3398
3399// DescribeTransformJob API operation for Amazon SageMaker Service.
3400//
3401// Returns information about a transform job.
3402//
3403// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3404// with awserr.Error's Code and Message methods to get detailed information about
3405// the error.
3406//
3407// See the AWS API reference guide for Amazon SageMaker Service's
3408// API operation DescribeTransformJob for usage and error information.
3409//
3410// Returned Error Codes:
3411//   * ErrCodeResourceNotFound "ResourceNotFound"
3412//   Resource being access is not found.
3413//
3414// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeTransformJob
3415func (c *SageMaker) DescribeTransformJob(input *DescribeTransformJobInput) (*DescribeTransformJobOutput, error) {
3416	req, out := c.DescribeTransformJobRequest(input)
3417	return out, req.Send()
3418}
3419
3420// DescribeTransformJobWithContext is the same as DescribeTransformJob with the addition of
3421// the ability to pass a context and additional request options.
3422//
3423// See DescribeTransformJob for details on how to use this API operation.
3424//
3425// The context must be non-nil and will be used for request cancellation. If
3426// the context is nil a panic will occur. In the future the SDK may create
3427// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3428// for more information on using Contexts.
3429func (c *SageMaker) DescribeTransformJobWithContext(ctx aws.Context, input *DescribeTransformJobInput, opts ...request.Option) (*DescribeTransformJobOutput, error) {
3430	req, out := c.DescribeTransformJobRequest(input)
3431	req.SetContext(ctx)
3432	req.ApplyOptions(opts...)
3433	return out, req.Send()
3434}
3435
3436const opDescribeWorkteam = "DescribeWorkteam"
3437
3438// DescribeWorkteamRequest generates a "aws/request.Request" representing the
3439// client's request for the DescribeWorkteam operation. The "output" return
3440// value will be populated with the request's response once the request completes
3441// successfully.
3442//
3443// Use "Send" method on the returned Request to send the API call to the service.
3444// the "output" return value is not valid until after Send returns without error.
3445//
3446// See DescribeWorkteam for more information on using the DescribeWorkteam
3447// API call, and error handling.
3448//
3449// This method is useful when you want to inject custom logic or configuration
3450// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3451//
3452//
3453//    // Example sending a request using the DescribeWorkteamRequest method.
3454//    req, resp := client.DescribeWorkteamRequest(params)
3455//
3456//    err := req.Send()
3457//    if err == nil { // resp is now filled
3458//        fmt.Println(resp)
3459//    }
3460//
3461// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeWorkteam
3462func (c *SageMaker) DescribeWorkteamRequest(input *DescribeWorkteamInput) (req *request.Request, output *DescribeWorkteamOutput) {
3463	op := &request.Operation{
3464		Name:       opDescribeWorkteam,
3465		HTTPMethod: "POST",
3466		HTTPPath:   "/",
3467	}
3468
3469	if input == nil {
3470		input = &DescribeWorkteamInput{}
3471	}
3472
3473	output = &DescribeWorkteamOutput{}
3474	req = c.newRequest(op, input, output)
3475	return
3476}
3477
3478// DescribeWorkteam API operation for Amazon SageMaker Service.
3479//
3480// Gets information about a specific work team. You can see information such
3481// as the create date, the last updated date, membership information, and the
3482// work team's Amazon Resource Name (ARN).
3483//
3484// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3485// with awserr.Error's Code and Message methods to get detailed information about
3486// the error.
3487//
3488// See the AWS API reference guide for Amazon SageMaker Service's
3489// API operation DescribeWorkteam for usage and error information.
3490// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/DescribeWorkteam
3491func (c *SageMaker) DescribeWorkteam(input *DescribeWorkteamInput) (*DescribeWorkteamOutput, error) {
3492	req, out := c.DescribeWorkteamRequest(input)
3493	return out, req.Send()
3494}
3495
3496// DescribeWorkteamWithContext is the same as DescribeWorkteam with the addition of
3497// the ability to pass a context and additional request options.
3498//
3499// See DescribeWorkteam for details on how to use this API operation.
3500//
3501// The context must be non-nil and will be used for request cancellation. If
3502// the context is nil a panic will occur. In the future the SDK may create
3503// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3504// for more information on using Contexts.
3505func (c *SageMaker) DescribeWorkteamWithContext(ctx aws.Context, input *DescribeWorkteamInput, opts ...request.Option) (*DescribeWorkteamOutput, error) {
3506	req, out := c.DescribeWorkteamRequest(input)
3507	req.SetContext(ctx)
3508	req.ApplyOptions(opts...)
3509	return out, req.Send()
3510}
3511
3512const opGetSearchSuggestions = "GetSearchSuggestions"
3513
3514// GetSearchSuggestionsRequest generates a "aws/request.Request" representing the
3515// client's request for the GetSearchSuggestions operation. The "output" return
3516// value will be populated with the request's response once the request completes
3517// successfully.
3518//
3519// Use "Send" method on the returned Request to send the API call to the service.
3520// the "output" return value is not valid until after Send returns without error.
3521//
3522// See GetSearchSuggestions for more information on using the GetSearchSuggestions
3523// API call, and error handling.
3524//
3525// This method is useful when you want to inject custom logic or configuration
3526// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3527//
3528//
3529//    // Example sending a request using the GetSearchSuggestionsRequest method.
3530//    req, resp := client.GetSearchSuggestionsRequest(params)
3531//
3532//    err := req.Send()
3533//    if err == nil { // resp is now filled
3534//        fmt.Println(resp)
3535//    }
3536//
3537// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetSearchSuggestions
3538func (c *SageMaker) GetSearchSuggestionsRequest(input *GetSearchSuggestionsInput) (req *request.Request, output *GetSearchSuggestionsOutput) {
3539	op := &request.Operation{
3540		Name:       opGetSearchSuggestions,
3541		HTTPMethod: "POST",
3542		HTTPPath:   "/",
3543	}
3544
3545	if input == nil {
3546		input = &GetSearchSuggestionsInput{}
3547	}
3548
3549	output = &GetSearchSuggestionsOutput{}
3550	req = c.newRequest(op, input, output)
3551	return
3552}
3553
3554// GetSearchSuggestions API operation for Amazon SageMaker Service.
3555//
3556// An auto-complete API for the search functionality in the Amazon SageMaker
3557// console. It returns suggestions of possible matches for the property name
3558// to use in Search queries. Provides suggestions for HyperParameters, Tags,
3559// and Metrics.
3560//
3561// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3562// with awserr.Error's Code and Message methods to get detailed information about
3563// the error.
3564//
3565// See the AWS API reference guide for Amazon SageMaker Service's
3566// API operation GetSearchSuggestions for usage and error information.
3567// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/GetSearchSuggestions
3568func (c *SageMaker) GetSearchSuggestions(input *GetSearchSuggestionsInput) (*GetSearchSuggestionsOutput, error) {
3569	req, out := c.GetSearchSuggestionsRequest(input)
3570	return out, req.Send()
3571}
3572
3573// GetSearchSuggestionsWithContext is the same as GetSearchSuggestions with the addition of
3574// the ability to pass a context and additional request options.
3575//
3576// See GetSearchSuggestions for details on how to use this API operation.
3577//
3578// The context must be non-nil and will be used for request cancellation. If
3579// the context is nil a panic will occur. In the future the SDK may create
3580// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3581// for more information on using Contexts.
3582func (c *SageMaker) GetSearchSuggestionsWithContext(ctx aws.Context, input *GetSearchSuggestionsInput, opts ...request.Option) (*GetSearchSuggestionsOutput, error) {
3583	req, out := c.GetSearchSuggestionsRequest(input)
3584	req.SetContext(ctx)
3585	req.ApplyOptions(opts...)
3586	return out, req.Send()
3587}
3588
3589const opListAlgorithms = "ListAlgorithms"
3590
3591// ListAlgorithmsRequest generates a "aws/request.Request" representing the
3592// client's request for the ListAlgorithms operation. The "output" return
3593// value will be populated with the request's response once the request completes
3594// successfully.
3595//
3596// Use "Send" method on the returned Request to send the API call to the service.
3597// the "output" return value is not valid until after Send returns without error.
3598//
3599// See ListAlgorithms for more information on using the ListAlgorithms
3600// API call, and error handling.
3601//
3602// This method is useful when you want to inject custom logic or configuration
3603// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3604//
3605//
3606//    // Example sending a request using the ListAlgorithmsRequest method.
3607//    req, resp := client.ListAlgorithmsRequest(params)
3608//
3609//    err := req.Send()
3610//    if err == nil { // resp is now filled
3611//        fmt.Println(resp)
3612//    }
3613//
3614// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAlgorithms
3615func (c *SageMaker) ListAlgorithmsRequest(input *ListAlgorithmsInput) (req *request.Request, output *ListAlgorithmsOutput) {
3616	op := &request.Operation{
3617		Name:       opListAlgorithms,
3618		HTTPMethod: "POST",
3619		HTTPPath:   "/",
3620	}
3621
3622	if input == nil {
3623		input = &ListAlgorithmsInput{}
3624	}
3625
3626	output = &ListAlgorithmsOutput{}
3627	req = c.newRequest(op, input, output)
3628	return
3629}
3630
3631// ListAlgorithms API operation for Amazon SageMaker Service.
3632//
3633// Lists the machine learning algorithms that have been created.
3634//
3635// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3636// with awserr.Error's Code and Message methods to get detailed information about
3637// the error.
3638//
3639// See the AWS API reference guide for Amazon SageMaker Service's
3640// API operation ListAlgorithms for usage and error information.
3641// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListAlgorithms
3642func (c *SageMaker) ListAlgorithms(input *ListAlgorithmsInput) (*ListAlgorithmsOutput, error) {
3643	req, out := c.ListAlgorithmsRequest(input)
3644	return out, req.Send()
3645}
3646
3647// ListAlgorithmsWithContext is the same as ListAlgorithms with the addition of
3648// the ability to pass a context and additional request options.
3649//
3650// See ListAlgorithms for details on how to use this API operation.
3651//
3652// The context must be non-nil and will be used for request cancellation. If
3653// the context is nil a panic will occur. In the future the SDK may create
3654// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3655// for more information on using Contexts.
3656func (c *SageMaker) ListAlgorithmsWithContext(ctx aws.Context, input *ListAlgorithmsInput, opts ...request.Option) (*ListAlgorithmsOutput, error) {
3657	req, out := c.ListAlgorithmsRequest(input)
3658	req.SetContext(ctx)
3659	req.ApplyOptions(opts...)
3660	return out, req.Send()
3661}
3662
3663const opListCodeRepositories = "ListCodeRepositories"
3664
3665// ListCodeRepositoriesRequest generates a "aws/request.Request" representing the
3666// client's request for the ListCodeRepositories operation. The "output" return
3667// value will be populated with the request's response once the request completes
3668// successfully.
3669//
3670// Use "Send" method on the returned Request to send the API call to the service.
3671// the "output" return value is not valid until after Send returns without error.
3672//
3673// See ListCodeRepositories for more information on using the ListCodeRepositories
3674// API call, and error handling.
3675//
3676// This method is useful when you want to inject custom logic or configuration
3677// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3678//
3679//
3680//    // Example sending a request using the ListCodeRepositoriesRequest method.
3681//    req, resp := client.ListCodeRepositoriesRequest(params)
3682//
3683//    err := req.Send()
3684//    if err == nil { // resp is now filled
3685//        fmt.Println(resp)
3686//    }
3687//
3688// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCodeRepositories
3689func (c *SageMaker) ListCodeRepositoriesRequest(input *ListCodeRepositoriesInput) (req *request.Request, output *ListCodeRepositoriesOutput) {
3690	op := &request.Operation{
3691		Name:       opListCodeRepositories,
3692		HTTPMethod: "POST",
3693		HTTPPath:   "/",
3694	}
3695
3696	if input == nil {
3697		input = &ListCodeRepositoriesInput{}
3698	}
3699
3700	output = &ListCodeRepositoriesOutput{}
3701	req = c.newRequest(op, input, output)
3702	return
3703}
3704
3705// ListCodeRepositories API operation for Amazon SageMaker Service.
3706//
3707// Gets a list of the Git repositories in your account.
3708//
3709// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3710// with awserr.Error's Code and Message methods to get detailed information about
3711// the error.
3712//
3713// See the AWS API reference guide for Amazon SageMaker Service's
3714// API operation ListCodeRepositories for usage and error information.
3715// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCodeRepositories
3716func (c *SageMaker) ListCodeRepositories(input *ListCodeRepositoriesInput) (*ListCodeRepositoriesOutput, error) {
3717	req, out := c.ListCodeRepositoriesRequest(input)
3718	return out, req.Send()
3719}
3720
3721// ListCodeRepositoriesWithContext is the same as ListCodeRepositories with the addition of
3722// the ability to pass a context and additional request options.
3723//
3724// See ListCodeRepositories for details on how to use this API operation.
3725//
3726// The context must be non-nil and will be used for request cancellation. If
3727// the context is nil a panic will occur. In the future the SDK may create
3728// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3729// for more information on using Contexts.
3730func (c *SageMaker) ListCodeRepositoriesWithContext(ctx aws.Context, input *ListCodeRepositoriesInput, opts ...request.Option) (*ListCodeRepositoriesOutput, error) {
3731	req, out := c.ListCodeRepositoriesRequest(input)
3732	req.SetContext(ctx)
3733	req.ApplyOptions(opts...)
3734	return out, req.Send()
3735}
3736
3737const opListCompilationJobs = "ListCompilationJobs"
3738
3739// ListCompilationJobsRequest generates a "aws/request.Request" representing the
3740// client's request for the ListCompilationJobs operation. The "output" return
3741// value will be populated with the request's response once the request completes
3742// successfully.
3743//
3744// Use "Send" method on the returned Request to send the API call to the service.
3745// the "output" return value is not valid until after Send returns without error.
3746//
3747// See ListCompilationJobs for more information on using the ListCompilationJobs
3748// API call, and error handling.
3749//
3750// This method is useful when you want to inject custom logic or configuration
3751// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3752//
3753//
3754//    // Example sending a request using the ListCompilationJobsRequest method.
3755//    req, resp := client.ListCompilationJobsRequest(params)
3756//
3757//    err := req.Send()
3758//    if err == nil { // resp is now filled
3759//        fmt.Println(resp)
3760//    }
3761//
3762// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCompilationJobs
3763func (c *SageMaker) ListCompilationJobsRequest(input *ListCompilationJobsInput) (req *request.Request, output *ListCompilationJobsOutput) {
3764	op := &request.Operation{
3765		Name:       opListCompilationJobs,
3766		HTTPMethod: "POST",
3767		HTTPPath:   "/",
3768		Paginator: &request.Paginator{
3769			InputTokens:     []string{"NextToken"},
3770			OutputTokens:    []string{"NextToken"},
3771			LimitToken:      "MaxResults",
3772			TruncationToken: "",
3773		},
3774	}
3775
3776	if input == nil {
3777		input = &ListCompilationJobsInput{}
3778	}
3779
3780	output = &ListCompilationJobsOutput{}
3781	req = c.newRequest(op, input, output)
3782	return
3783}
3784
3785// ListCompilationJobs API operation for Amazon SageMaker Service.
3786//
3787// Lists model compilation jobs that satisfy various filters.
3788//
3789// To create a model compilation job, use CreateCompilationJob. To get information
3790// about a particular model compilation job you have created, use DescribeCompilationJob.
3791//
3792// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3793// with awserr.Error's Code and Message methods to get detailed information about
3794// the error.
3795//
3796// See the AWS API reference guide for Amazon SageMaker Service's
3797// API operation ListCompilationJobs for usage and error information.
3798// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListCompilationJobs
3799func (c *SageMaker) ListCompilationJobs(input *ListCompilationJobsInput) (*ListCompilationJobsOutput, error) {
3800	req, out := c.ListCompilationJobsRequest(input)
3801	return out, req.Send()
3802}
3803
3804// ListCompilationJobsWithContext is the same as ListCompilationJobs with the addition of
3805// the ability to pass a context and additional request options.
3806//
3807// See ListCompilationJobs for details on how to use this API operation.
3808//
3809// The context must be non-nil and will be used for request cancellation. If
3810// the context is nil a panic will occur. In the future the SDK may create
3811// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3812// for more information on using Contexts.
3813func (c *SageMaker) ListCompilationJobsWithContext(ctx aws.Context, input *ListCompilationJobsInput, opts ...request.Option) (*ListCompilationJobsOutput, error) {
3814	req, out := c.ListCompilationJobsRequest(input)
3815	req.SetContext(ctx)
3816	req.ApplyOptions(opts...)
3817	return out, req.Send()
3818}
3819
3820// ListCompilationJobsPages iterates over the pages of a ListCompilationJobs operation,
3821// calling the "fn" function with the response data for each page. To stop
3822// iterating, return false from the fn function.
3823//
3824// See ListCompilationJobs method for more information on how to use this operation.
3825//
3826// Note: This operation can generate multiple requests to a service.
3827//
3828//    // Example iterating over at most 3 pages of a ListCompilationJobs operation.
3829//    pageNum := 0
3830//    err := client.ListCompilationJobsPages(params,
3831//        func(page *sagemaker.ListCompilationJobsOutput, lastPage bool) bool {
3832//            pageNum++
3833//            fmt.Println(page)
3834//            return pageNum <= 3
3835//        })
3836//
3837func (c *SageMaker) ListCompilationJobsPages(input *ListCompilationJobsInput, fn func(*ListCompilationJobsOutput, bool) bool) error {
3838	return c.ListCompilationJobsPagesWithContext(aws.BackgroundContext(), input, fn)
3839}
3840
3841// ListCompilationJobsPagesWithContext same as ListCompilationJobsPages except
3842// it takes a Context and allows setting request options on the pages.
3843//
3844// The context must be non-nil and will be used for request cancellation. If
3845// the context is nil a panic will occur. In the future the SDK may create
3846// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3847// for more information on using Contexts.
3848func (c *SageMaker) ListCompilationJobsPagesWithContext(ctx aws.Context, input *ListCompilationJobsInput, fn func(*ListCompilationJobsOutput, bool) bool, opts ...request.Option) error {
3849	p := request.Pagination{
3850		NewRequest: func() (*request.Request, error) {
3851			var inCpy *ListCompilationJobsInput
3852			if input != nil {
3853				tmp := *input
3854				inCpy = &tmp
3855			}
3856			req, _ := c.ListCompilationJobsRequest(inCpy)
3857			req.SetContext(ctx)
3858			req.ApplyOptions(opts...)
3859			return req, nil
3860		},
3861	}
3862
3863	cont := true
3864	for p.Next() && cont {
3865		cont = fn(p.Page().(*ListCompilationJobsOutput), !p.HasNextPage())
3866	}
3867	return p.Err()
3868}
3869
3870const opListEndpointConfigs = "ListEndpointConfigs"
3871
3872// ListEndpointConfigsRequest generates a "aws/request.Request" representing the
3873// client's request for the ListEndpointConfigs operation. The "output" return
3874// value will be populated with the request's response once the request completes
3875// successfully.
3876//
3877// Use "Send" method on the returned Request to send the API call to the service.
3878// the "output" return value is not valid until after Send returns without error.
3879//
3880// See ListEndpointConfigs for more information on using the ListEndpointConfigs
3881// API call, and error handling.
3882//
3883// This method is useful when you want to inject custom logic or configuration
3884// into the SDK's request lifecycle. Such as custom headers, or retry logic.
3885//
3886//
3887//    // Example sending a request using the ListEndpointConfigsRequest method.
3888//    req, resp := client.ListEndpointConfigsRequest(params)
3889//
3890//    err := req.Send()
3891//    if err == nil { // resp is now filled
3892//        fmt.Println(resp)
3893//    }
3894//
3895// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEndpointConfigs
3896func (c *SageMaker) ListEndpointConfigsRequest(input *ListEndpointConfigsInput) (req *request.Request, output *ListEndpointConfigsOutput) {
3897	op := &request.Operation{
3898		Name:       opListEndpointConfigs,
3899		HTTPMethod: "POST",
3900		HTTPPath:   "/",
3901		Paginator: &request.Paginator{
3902			InputTokens:     []string{"NextToken"},
3903			OutputTokens:    []string{"NextToken"},
3904			LimitToken:      "MaxResults",
3905			TruncationToken: "",
3906		},
3907	}
3908
3909	if input == nil {
3910		input = &ListEndpointConfigsInput{}
3911	}
3912
3913	output = &ListEndpointConfigsOutput{}
3914	req = c.newRequest(op, input, output)
3915	return
3916}
3917
3918// ListEndpointConfigs API operation for Amazon SageMaker Service.
3919//
3920// Lists endpoint configurations.
3921//
3922// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
3923// with awserr.Error's Code and Message methods to get detailed information about
3924// the error.
3925//
3926// See the AWS API reference guide for Amazon SageMaker Service's
3927// API operation ListEndpointConfigs for usage and error information.
3928// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEndpointConfigs
3929func (c *SageMaker) ListEndpointConfigs(input *ListEndpointConfigsInput) (*ListEndpointConfigsOutput, error) {
3930	req, out := c.ListEndpointConfigsRequest(input)
3931	return out, req.Send()
3932}
3933
3934// ListEndpointConfigsWithContext is the same as ListEndpointConfigs with the addition of
3935// the ability to pass a context and additional request options.
3936//
3937// See ListEndpointConfigs for details on how to use this API operation.
3938//
3939// The context must be non-nil and will be used for request cancellation. If
3940// the context is nil a panic will occur. In the future the SDK may create
3941// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3942// for more information on using Contexts.
3943func (c *SageMaker) ListEndpointConfigsWithContext(ctx aws.Context, input *ListEndpointConfigsInput, opts ...request.Option) (*ListEndpointConfigsOutput, error) {
3944	req, out := c.ListEndpointConfigsRequest(input)
3945	req.SetContext(ctx)
3946	req.ApplyOptions(opts...)
3947	return out, req.Send()
3948}
3949
3950// ListEndpointConfigsPages iterates over the pages of a ListEndpointConfigs operation,
3951// calling the "fn" function with the response data for each page. To stop
3952// iterating, return false from the fn function.
3953//
3954// See ListEndpointConfigs method for more information on how to use this operation.
3955//
3956// Note: This operation can generate multiple requests to a service.
3957//
3958//    // Example iterating over at most 3 pages of a ListEndpointConfigs operation.
3959//    pageNum := 0
3960//    err := client.ListEndpointConfigsPages(params,
3961//        func(page *sagemaker.ListEndpointConfigsOutput, lastPage bool) bool {
3962//            pageNum++
3963//            fmt.Println(page)
3964//            return pageNum <= 3
3965//        })
3966//
3967func (c *SageMaker) ListEndpointConfigsPages(input *ListEndpointConfigsInput, fn func(*ListEndpointConfigsOutput, bool) bool) error {
3968	return c.ListEndpointConfigsPagesWithContext(aws.BackgroundContext(), input, fn)
3969}
3970
3971// ListEndpointConfigsPagesWithContext same as ListEndpointConfigsPages except
3972// it takes a Context and allows setting request options on the pages.
3973//
3974// The context must be non-nil and will be used for request cancellation. If
3975// the context is nil a panic will occur. In the future the SDK may create
3976// sub-contexts for http.Requests. See https://golang.org/pkg/context/
3977// for more information on using Contexts.
3978func (c *SageMaker) ListEndpointConfigsPagesWithContext(ctx aws.Context, input *ListEndpointConfigsInput, fn func(*ListEndpointConfigsOutput, bool) bool, opts ...request.Option) error {
3979	p := request.Pagination{
3980		NewRequest: func() (*request.Request, error) {
3981			var inCpy *ListEndpointConfigsInput
3982			if input != nil {
3983				tmp := *input
3984				inCpy = &tmp
3985			}
3986			req, _ := c.ListEndpointConfigsRequest(inCpy)
3987			req.SetContext(ctx)
3988			req.ApplyOptions(opts...)
3989			return req, nil
3990		},
3991	}
3992
3993	cont := true
3994	for p.Next() && cont {
3995		cont = fn(p.Page().(*ListEndpointConfigsOutput), !p.HasNextPage())
3996	}
3997	return p.Err()
3998}
3999
4000const opListEndpoints = "ListEndpoints"
4001
4002// ListEndpointsRequest generates a "aws/request.Request" representing the
4003// client's request for the ListEndpoints operation. The "output" return
4004// value will be populated with the request's response once the request completes
4005// successfully.
4006//
4007// Use "Send" method on the returned Request to send the API call to the service.
4008// the "output" return value is not valid until after Send returns without error.
4009//
4010// See ListEndpoints for more information on using the ListEndpoints
4011// API call, and error handling.
4012//
4013// This method is useful when you want to inject custom logic or configuration
4014// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4015//
4016//
4017//    // Example sending a request using the ListEndpointsRequest method.
4018//    req, resp := client.ListEndpointsRequest(params)
4019//
4020//    err := req.Send()
4021//    if err == nil { // resp is now filled
4022//        fmt.Println(resp)
4023//    }
4024//
4025// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEndpoints
4026func (c *SageMaker) ListEndpointsRequest(input *ListEndpointsInput) (req *request.Request, output *ListEndpointsOutput) {
4027	op := &request.Operation{
4028		Name:       opListEndpoints,
4029		HTTPMethod: "POST",
4030		HTTPPath:   "/",
4031		Paginator: &request.Paginator{
4032			InputTokens:     []string{"NextToken"},
4033			OutputTokens:    []string{"NextToken"},
4034			LimitToken:      "MaxResults",
4035			TruncationToken: "",
4036		},
4037	}
4038
4039	if input == nil {
4040		input = &ListEndpointsInput{}
4041	}
4042
4043	output = &ListEndpointsOutput{}
4044	req = c.newRequest(op, input, output)
4045	return
4046}
4047
4048// ListEndpoints API operation for Amazon SageMaker Service.
4049//
4050// Lists endpoints.
4051//
4052// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4053// with awserr.Error's Code and Message methods to get detailed information about
4054// the error.
4055//
4056// See the AWS API reference guide for Amazon SageMaker Service's
4057// API operation ListEndpoints for usage and error information.
4058// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListEndpoints
4059func (c *SageMaker) ListEndpoints(input *ListEndpointsInput) (*ListEndpointsOutput, error) {
4060	req, out := c.ListEndpointsRequest(input)
4061	return out, req.Send()
4062}
4063
4064// ListEndpointsWithContext is the same as ListEndpoints with the addition of
4065// the ability to pass a context and additional request options.
4066//
4067// See ListEndpoints for details on how to use this API operation.
4068//
4069// The context must be non-nil and will be used for request cancellation. If
4070// the context is nil a panic will occur. In the future the SDK may create
4071// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4072// for more information on using Contexts.
4073func (c *SageMaker) ListEndpointsWithContext(ctx aws.Context, input *ListEndpointsInput, opts ...request.Option) (*ListEndpointsOutput, error) {
4074	req, out := c.ListEndpointsRequest(input)
4075	req.SetContext(ctx)
4076	req.ApplyOptions(opts...)
4077	return out, req.Send()
4078}
4079
4080// ListEndpointsPages iterates over the pages of a ListEndpoints operation,
4081// calling the "fn" function with the response data for each page. To stop
4082// iterating, return false from the fn function.
4083//
4084// See ListEndpoints method for more information on how to use this operation.
4085//
4086// Note: This operation can generate multiple requests to a service.
4087//
4088//    // Example iterating over at most 3 pages of a ListEndpoints operation.
4089//    pageNum := 0
4090//    err := client.ListEndpointsPages(params,
4091//        func(page *sagemaker.ListEndpointsOutput, lastPage bool) bool {
4092//            pageNum++
4093//            fmt.Println(page)
4094//            return pageNum <= 3
4095//        })
4096//
4097func (c *SageMaker) ListEndpointsPages(input *ListEndpointsInput, fn func(*ListEndpointsOutput, bool) bool) error {
4098	return c.ListEndpointsPagesWithContext(aws.BackgroundContext(), input, fn)
4099}
4100
4101// ListEndpointsPagesWithContext same as ListEndpointsPages except
4102// it takes a Context and allows setting request options on the pages.
4103//
4104// The context must be non-nil and will be used for request cancellation. If
4105// the context is nil a panic will occur. In the future the SDK may create
4106// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4107// for more information on using Contexts.
4108func (c *SageMaker) ListEndpointsPagesWithContext(ctx aws.Context, input *ListEndpointsInput, fn func(*ListEndpointsOutput, bool) bool, opts ...request.Option) error {
4109	p := request.Pagination{
4110		NewRequest: func() (*request.Request, error) {
4111			var inCpy *ListEndpointsInput
4112			if input != nil {
4113				tmp := *input
4114				inCpy = &tmp
4115			}
4116			req, _ := c.ListEndpointsRequest(inCpy)
4117			req.SetContext(ctx)
4118			req.ApplyOptions(opts...)
4119			return req, nil
4120		},
4121	}
4122
4123	cont := true
4124	for p.Next() && cont {
4125		cont = fn(p.Page().(*ListEndpointsOutput), !p.HasNextPage())
4126	}
4127	return p.Err()
4128}
4129
4130const opListHyperParameterTuningJobs = "ListHyperParameterTuningJobs"
4131
4132// ListHyperParameterTuningJobsRequest generates a "aws/request.Request" representing the
4133// client's request for the ListHyperParameterTuningJobs operation. The "output" return
4134// value will be populated with the request's response once the request completes
4135// successfully.
4136//
4137// Use "Send" method on the returned Request to send the API call to the service.
4138// the "output" return value is not valid until after Send returns without error.
4139//
4140// See ListHyperParameterTuningJobs for more information on using the ListHyperParameterTuningJobs
4141// API call, and error handling.
4142//
4143// This method is useful when you want to inject custom logic or configuration
4144// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4145//
4146//
4147//    // Example sending a request using the ListHyperParameterTuningJobsRequest method.
4148//    req, resp := client.ListHyperParameterTuningJobsRequest(params)
4149//
4150//    err := req.Send()
4151//    if err == nil { // resp is now filled
4152//        fmt.Println(resp)
4153//    }
4154//
4155// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListHyperParameterTuningJobs
4156func (c *SageMaker) ListHyperParameterTuningJobsRequest(input *ListHyperParameterTuningJobsInput) (req *request.Request, output *ListHyperParameterTuningJobsOutput) {
4157	op := &request.Operation{
4158		Name:       opListHyperParameterTuningJobs,
4159		HTTPMethod: "POST",
4160		HTTPPath:   "/",
4161		Paginator: &request.Paginator{
4162			InputTokens:     []string{"NextToken"},
4163			OutputTokens:    []string{"NextToken"},
4164			LimitToken:      "MaxResults",
4165			TruncationToken: "",
4166		},
4167	}
4168
4169	if input == nil {
4170		input = &ListHyperParameterTuningJobsInput{}
4171	}
4172
4173	output = &ListHyperParameterTuningJobsOutput{}
4174	req = c.newRequest(op, input, output)
4175	return
4176}
4177
4178// ListHyperParameterTuningJobs API operation for Amazon SageMaker Service.
4179//
4180// Gets a list of HyperParameterTuningJobSummary objects that describe the hyperparameter
4181// tuning jobs launched in your account.
4182//
4183// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4184// with awserr.Error's Code and Message methods to get detailed information about
4185// the error.
4186//
4187// See the AWS API reference guide for Amazon SageMaker Service's
4188// API operation ListHyperParameterTuningJobs for usage and error information.
4189// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListHyperParameterTuningJobs
4190func (c *SageMaker) ListHyperParameterTuningJobs(input *ListHyperParameterTuningJobsInput) (*ListHyperParameterTuningJobsOutput, error) {
4191	req, out := c.ListHyperParameterTuningJobsRequest(input)
4192	return out, req.Send()
4193}
4194
4195// ListHyperParameterTuningJobsWithContext is the same as ListHyperParameterTuningJobs with the addition of
4196// the ability to pass a context and additional request options.
4197//
4198// See ListHyperParameterTuningJobs for details on how to use this API operation.
4199//
4200// The context must be non-nil and will be used for request cancellation. If
4201// the context is nil a panic will occur. In the future the SDK may create
4202// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4203// for more information on using Contexts.
4204func (c *SageMaker) ListHyperParameterTuningJobsWithContext(ctx aws.Context, input *ListHyperParameterTuningJobsInput, opts ...request.Option) (*ListHyperParameterTuningJobsOutput, error) {
4205	req, out := c.ListHyperParameterTuningJobsRequest(input)
4206	req.SetContext(ctx)
4207	req.ApplyOptions(opts...)
4208	return out, req.Send()
4209}
4210
4211// ListHyperParameterTuningJobsPages iterates over the pages of a ListHyperParameterTuningJobs operation,
4212// calling the "fn" function with the response data for each page. To stop
4213// iterating, return false from the fn function.
4214//
4215// See ListHyperParameterTuningJobs method for more information on how to use this operation.
4216//
4217// Note: This operation can generate multiple requests to a service.
4218//
4219//    // Example iterating over at most 3 pages of a ListHyperParameterTuningJobs operation.
4220//    pageNum := 0
4221//    err := client.ListHyperParameterTuningJobsPages(params,
4222//        func(page *sagemaker.ListHyperParameterTuningJobsOutput, lastPage bool) bool {
4223//            pageNum++
4224//            fmt.Println(page)
4225//            return pageNum <= 3
4226//        })
4227//
4228func (c *SageMaker) ListHyperParameterTuningJobsPages(input *ListHyperParameterTuningJobsInput, fn func(*ListHyperParameterTuningJobsOutput, bool) bool) error {
4229	return c.ListHyperParameterTuningJobsPagesWithContext(aws.BackgroundContext(), input, fn)
4230}
4231
4232// ListHyperParameterTuningJobsPagesWithContext same as ListHyperParameterTuningJobsPages except
4233// it takes a Context and allows setting request options on the pages.
4234//
4235// The context must be non-nil and will be used for request cancellation. If
4236// the context is nil a panic will occur. In the future the SDK may create
4237// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4238// for more information on using Contexts.
4239func (c *SageMaker) ListHyperParameterTuningJobsPagesWithContext(ctx aws.Context, input *ListHyperParameterTuningJobsInput, fn func(*ListHyperParameterTuningJobsOutput, bool) bool, opts ...request.Option) error {
4240	p := request.Pagination{
4241		NewRequest: func() (*request.Request, error) {
4242			var inCpy *ListHyperParameterTuningJobsInput
4243			if input != nil {
4244				tmp := *input
4245				inCpy = &tmp
4246			}
4247			req, _ := c.ListHyperParameterTuningJobsRequest(inCpy)
4248			req.SetContext(ctx)
4249			req.ApplyOptions(opts...)
4250			return req, nil
4251		},
4252	}
4253
4254	cont := true
4255	for p.Next() && cont {
4256		cont = fn(p.Page().(*ListHyperParameterTuningJobsOutput), !p.HasNextPage())
4257	}
4258	return p.Err()
4259}
4260
4261const opListLabelingJobs = "ListLabelingJobs"
4262
4263// ListLabelingJobsRequest generates a "aws/request.Request" representing the
4264// client's request for the ListLabelingJobs operation. The "output" return
4265// value will be populated with the request's response once the request completes
4266// successfully.
4267//
4268// Use "Send" method on the returned Request to send the API call to the service.
4269// the "output" return value is not valid until after Send returns without error.
4270//
4271// See ListLabelingJobs for more information on using the ListLabelingJobs
4272// API call, and error handling.
4273//
4274// This method is useful when you want to inject custom logic or configuration
4275// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4276//
4277//
4278//    // Example sending a request using the ListLabelingJobsRequest method.
4279//    req, resp := client.ListLabelingJobsRequest(params)
4280//
4281//    err := req.Send()
4282//    if err == nil { // resp is now filled
4283//        fmt.Println(resp)
4284//    }
4285//
4286// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListLabelingJobs
4287func (c *SageMaker) ListLabelingJobsRequest(input *ListLabelingJobsInput) (req *request.Request, output *ListLabelingJobsOutput) {
4288	op := &request.Operation{
4289		Name:       opListLabelingJobs,
4290		HTTPMethod: "POST",
4291		HTTPPath:   "/",
4292		Paginator: &request.Paginator{
4293			InputTokens:     []string{"NextToken"},
4294			OutputTokens:    []string{"NextToken"},
4295			LimitToken:      "MaxResults",
4296			TruncationToken: "",
4297		},
4298	}
4299
4300	if input == nil {
4301		input = &ListLabelingJobsInput{}
4302	}
4303
4304	output = &ListLabelingJobsOutput{}
4305	req = c.newRequest(op, input, output)
4306	return
4307}
4308
4309// ListLabelingJobs API operation for Amazon SageMaker Service.
4310//
4311// Gets a list of labeling jobs.
4312//
4313// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4314// with awserr.Error's Code and Message methods to get detailed information about
4315// the error.
4316//
4317// See the AWS API reference guide for Amazon SageMaker Service's
4318// API operation ListLabelingJobs for usage and error information.
4319// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListLabelingJobs
4320func (c *SageMaker) ListLabelingJobs(input *ListLabelingJobsInput) (*ListLabelingJobsOutput, error) {
4321	req, out := c.ListLabelingJobsRequest(input)
4322	return out, req.Send()
4323}
4324
4325// ListLabelingJobsWithContext is the same as ListLabelingJobs with the addition of
4326// the ability to pass a context and additional request options.
4327//
4328// See ListLabelingJobs for details on how to use this API operation.
4329//
4330// The context must be non-nil and will be used for request cancellation. If
4331// the context is nil a panic will occur. In the future the SDK may create
4332// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4333// for more information on using Contexts.
4334func (c *SageMaker) ListLabelingJobsWithContext(ctx aws.Context, input *ListLabelingJobsInput, opts ...request.Option) (*ListLabelingJobsOutput, error) {
4335	req, out := c.ListLabelingJobsRequest(input)
4336	req.SetContext(ctx)
4337	req.ApplyOptions(opts...)
4338	return out, req.Send()
4339}
4340
4341// ListLabelingJobsPages iterates over the pages of a ListLabelingJobs operation,
4342// calling the "fn" function with the response data for each page. To stop
4343// iterating, return false from the fn function.
4344//
4345// See ListLabelingJobs method for more information on how to use this operation.
4346//
4347// Note: This operation can generate multiple requests to a service.
4348//
4349//    // Example iterating over at most 3 pages of a ListLabelingJobs operation.
4350//    pageNum := 0
4351//    err := client.ListLabelingJobsPages(params,
4352//        func(page *sagemaker.ListLabelingJobsOutput, lastPage bool) bool {
4353//            pageNum++
4354//            fmt.Println(page)
4355//            return pageNum <= 3
4356//        })
4357//
4358func (c *SageMaker) ListLabelingJobsPages(input *ListLabelingJobsInput, fn func(*ListLabelingJobsOutput, bool) bool) error {
4359	return c.ListLabelingJobsPagesWithContext(aws.BackgroundContext(), input, fn)
4360}
4361
4362// ListLabelingJobsPagesWithContext same as ListLabelingJobsPages except
4363// it takes a Context and allows setting request options on the pages.
4364//
4365// The context must be non-nil and will be used for request cancellation. If
4366// the context is nil a panic will occur. In the future the SDK may create
4367// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4368// for more information on using Contexts.
4369func (c *SageMaker) ListLabelingJobsPagesWithContext(ctx aws.Context, input *ListLabelingJobsInput, fn func(*ListLabelingJobsOutput, bool) bool, opts ...request.Option) error {
4370	p := request.Pagination{
4371		NewRequest: func() (*request.Request, error) {
4372			var inCpy *ListLabelingJobsInput
4373			if input != nil {
4374				tmp := *input
4375				inCpy = &tmp
4376			}
4377			req, _ := c.ListLabelingJobsRequest(inCpy)
4378			req.SetContext(ctx)
4379			req.ApplyOptions(opts...)
4380			return req, nil
4381		},
4382	}
4383
4384	cont := true
4385	for p.Next() && cont {
4386		cont = fn(p.Page().(*ListLabelingJobsOutput), !p.HasNextPage())
4387	}
4388	return p.Err()
4389}
4390
4391const opListLabelingJobsForWorkteam = "ListLabelingJobsForWorkteam"
4392
4393// ListLabelingJobsForWorkteamRequest generates a "aws/request.Request" representing the
4394// client's request for the ListLabelingJobsForWorkteam operation. The "output" return
4395// value will be populated with the request's response once the request completes
4396// successfully.
4397//
4398// Use "Send" method on the returned Request to send the API call to the service.
4399// the "output" return value is not valid until after Send returns without error.
4400//
4401// See ListLabelingJobsForWorkteam for more information on using the ListLabelingJobsForWorkteam
4402// API call, and error handling.
4403//
4404// This method is useful when you want to inject custom logic or configuration
4405// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4406//
4407//
4408//    // Example sending a request using the ListLabelingJobsForWorkteamRequest method.
4409//    req, resp := client.ListLabelingJobsForWorkteamRequest(params)
4410//
4411//    err := req.Send()
4412//    if err == nil { // resp is now filled
4413//        fmt.Println(resp)
4414//    }
4415//
4416// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListLabelingJobsForWorkteam
4417func (c *SageMaker) ListLabelingJobsForWorkteamRequest(input *ListLabelingJobsForWorkteamInput) (req *request.Request, output *ListLabelingJobsForWorkteamOutput) {
4418	op := &request.Operation{
4419		Name:       opListLabelingJobsForWorkteam,
4420		HTTPMethod: "POST",
4421		HTTPPath:   "/",
4422		Paginator: &request.Paginator{
4423			InputTokens:     []string{"NextToken"},
4424			OutputTokens:    []string{"NextToken"},
4425			LimitToken:      "MaxResults",
4426			TruncationToken: "",
4427		},
4428	}
4429
4430	if input == nil {
4431		input = &ListLabelingJobsForWorkteamInput{}
4432	}
4433
4434	output = &ListLabelingJobsForWorkteamOutput{}
4435	req = c.newRequest(op, input, output)
4436	return
4437}
4438
4439// ListLabelingJobsForWorkteam API operation for Amazon SageMaker Service.
4440//
4441// Gets a list of labeling jobs assigned to a specified work team.
4442//
4443// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4444// with awserr.Error's Code and Message methods to get detailed information about
4445// the error.
4446//
4447// See the AWS API reference guide for Amazon SageMaker Service's
4448// API operation ListLabelingJobsForWorkteam for usage and error information.
4449//
4450// Returned Error Codes:
4451//   * ErrCodeResourceNotFound "ResourceNotFound"
4452//   Resource being access is not found.
4453//
4454// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListLabelingJobsForWorkteam
4455func (c *SageMaker) ListLabelingJobsForWorkteam(input *ListLabelingJobsForWorkteamInput) (*ListLabelingJobsForWorkteamOutput, error) {
4456	req, out := c.ListLabelingJobsForWorkteamRequest(input)
4457	return out, req.Send()
4458}
4459
4460// ListLabelingJobsForWorkteamWithContext is the same as ListLabelingJobsForWorkteam with the addition of
4461// the ability to pass a context and additional request options.
4462//
4463// See ListLabelingJobsForWorkteam for details on how to use this API operation.
4464//
4465// The context must be non-nil and will be used for request cancellation. If
4466// the context is nil a panic will occur. In the future the SDK may create
4467// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4468// for more information on using Contexts.
4469func (c *SageMaker) ListLabelingJobsForWorkteamWithContext(ctx aws.Context, input *ListLabelingJobsForWorkteamInput, opts ...request.Option) (*ListLabelingJobsForWorkteamOutput, error) {
4470	req, out := c.ListLabelingJobsForWorkteamRequest(input)
4471	req.SetContext(ctx)
4472	req.ApplyOptions(opts...)
4473	return out, req.Send()
4474}
4475
4476// ListLabelingJobsForWorkteamPages iterates over the pages of a ListLabelingJobsForWorkteam operation,
4477// calling the "fn" function with the response data for each page. To stop
4478// iterating, return false from the fn function.
4479//
4480// See ListLabelingJobsForWorkteam method for more information on how to use this operation.
4481//
4482// Note: This operation can generate multiple requests to a service.
4483//
4484//    // Example iterating over at most 3 pages of a ListLabelingJobsForWorkteam operation.
4485//    pageNum := 0
4486//    err := client.ListLabelingJobsForWorkteamPages(params,
4487//        func(page *sagemaker.ListLabelingJobsForWorkteamOutput, lastPage bool) bool {
4488//            pageNum++
4489//            fmt.Println(page)
4490//            return pageNum <= 3
4491//        })
4492//
4493func (c *SageMaker) ListLabelingJobsForWorkteamPages(input *ListLabelingJobsForWorkteamInput, fn func(*ListLabelingJobsForWorkteamOutput, bool) bool) error {
4494	return c.ListLabelingJobsForWorkteamPagesWithContext(aws.BackgroundContext(), input, fn)
4495}
4496
4497// ListLabelingJobsForWorkteamPagesWithContext same as ListLabelingJobsForWorkteamPages except
4498// it takes a Context and allows setting request options on the pages.
4499//
4500// The context must be non-nil and will be used for request cancellation. If
4501// the context is nil a panic will occur. In the future the SDK may create
4502// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4503// for more information on using Contexts.
4504func (c *SageMaker) ListLabelingJobsForWorkteamPagesWithContext(ctx aws.Context, input *ListLabelingJobsForWorkteamInput, fn func(*ListLabelingJobsForWorkteamOutput, bool) bool, opts ...request.Option) error {
4505	p := request.Pagination{
4506		NewRequest: func() (*request.Request, error) {
4507			var inCpy *ListLabelingJobsForWorkteamInput
4508			if input != nil {
4509				tmp := *input
4510				inCpy = &tmp
4511			}
4512			req, _ := c.ListLabelingJobsForWorkteamRequest(inCpy)
4513			req.SetContext(ctx)
4514			req.ApplyOptions(opts...)
4515			return req, nil
4516		},
4517	}
4518
4519	cont := true
4520	for p.Next() && cont {
4521		cont = fn(p.Page().(*ListLabelingJobsForWorkteamOutput), !p.HasNextPage())
4522	}
4523	return p.Err()
4524}
4525
4526const opListModelPackages = "ListModelPackages"
4527
4528// ListModelPackagesRequest generates a "aws/request.Request" representing the
4529// client's request for the ListModelPackages operation. The "output" return
4530// value will be populated with the request's response once the request completes
4531// successfully.
4532//
4533// Use "Send" method on the returned Request to send the API call to the service.
4534// the "output" return value is not valid until after Send returns without error.
4535//
4536// See ListModelPackages for more information on using the ListModelPackages
4537// API call, and error handling.
4538//
4539// This method is useful when you want to inject custom logic or configuration
4540// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4541//
4542//
4543//    // Example sending a request using the ListModelPackagesRequest method.
4544//    req, resp := client.ListModelPackagesRequest(params)
4545//
4546//    err := req.Send()
4547//    if err == nil { // resp is now filled
4548//        fmt.Println(resp)
4549//    }
4550//
4551// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelPackages
4552func (c *SageMaker) ListModelPackagesRequest(input *ListModelPackagesInput) (req *request.Request, output *ListModelPackagesOutput) {
4553	op := &request.Operation{
4554		Name:       opListModelPackages,
4555		HTTPMethod: "POST",
4556		HTTPPath:   "/",
4557	}
4558
4559	if input == nil {
4560		input = &ListModelPackagesInput{}
4561	}
4562
4563	output = &ListModelPackagesOutput{}
4564	req = c.newRequest(op, input, output)
4565	return
4566}
4567
4568// ListModelPackages API operation for Amazon SageMaker Service.
4569//
4570// Lists the model packages that have been created.
4571//
4572// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4573// with awserr.Error's Code and Message methods to get detailed information about
4574// the error.
4575//
4576// See the AWS API reference guide for Amazon SageMaker Service's
4577// API operation ListModelPackages for usage and error information.
4578// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModelPackages
4579func (c *SageMaker) ListModelPackages(input *ListModelPackagesInput) (*ListModelPackagesOutput, error) {
4580	req, out := c.ListModelPackagesRequest(input)
4581	return out, req.Send()
4582}
4583
4584// ListModelPackagesWithContext is the same as ListModelPackages with the addition of
4585// the ability to pass a context and additional request options.
4586//
4587// See ListModelPackages for details on how to use this API operation.
4588//
4589// The context must be non-nil and will be used for request cancellation. If
4590// the context is nil a panic will occur. In the future the SDK may create
4591// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4592// for more information on using Contexts.
4593func (c *SageMaker) ListModelPackagesWithContext(ctx aws.Context, input *ListModelPackagesInput, opts ...request.Option) (*ListModelPackagesOutput, error) {
4594	req, out := c.ListModelPackagesRequest(input)
4595	req.SetContext(ctx)
4596	req.ApplyOptions(opts...)
4597	return out, req.Send()
4598}
4599
4600const opListModels = "ListModels"
4601
4602// ListModelsRequest generates a "aws/request.Request" representing the
4603// client's request for the ListModels operation. The "output" return
4604// value will be populated with the request's response once the request completes
4605// successfully.
4606//
4607// Use "Send" method on the returned Request to send the API call to the service.
4608// the "output" return value is not valid until after Send returns without error.
4609//
4610// See ListModels for more information on using the ListModels
4611// API call, and error handling.
4612//
4613// This method is useful when you want to inject custom logic or configuration
4614// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4615//
4616//
4617//    // Example sending a request using the ListModelsRequest method.
4618//    req, resp := client.ListModelsRequest(params)
4619//
4620//    err := req.Send()
4621//    if err == nil { // resp is now filled
4622//        fmt.Println(resp)
4623//    }
4624//
4625// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModels
4626func (c *SageMaker) ListModelsRequest(input *ListModelsInput) (req *request.Request, output *ListModelsOutput) {
4627	op := &request.Operation{
4628		Name:       opListModels,
4629		HTTPMethod: "POST",
4630		HTTPPath:   "/",
4631		Paginator: &request.Paginator{
4632			InputTokens:     []string{"NextToken"},
4633			OutputTokens:    []string{"NextToken"},
4634			LimitToken:      "MaxResults",
4635			TruncationToken: "",
4636		},
4637	}
4638
4639	if input == nil {
4640		input = &ListModelsInput{}
4641	}
4642
4643	output = &ListModelsOutput{}
4644	req = c.newRequest(op, input, output)
4645	return
4646}
4647
4648// ListModels API operation for Amazon SageMaker Service.
4649//
4650// Lists models created with the CreateModel (https://docs.aws.amazon.com/sagemaker/latest/dg/API_CreateModel.html)
4651// API.
4652//
4653// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4654// with awserr.Error's Code and Message methods to get detailed information about
4655// the error.
4656//
4657// See the AWS API reference guide for Amazon SageMaker Service's
4658// API operation ListModels for usage and error information.
4659// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListModels
4660func (c *SageMaker) ListModels(input *ListModelsInput) (*ListModelsOutput, error) {
4661	req, out := c.ListModelsRequest(input)
4662	return out, req.Send()
4663}
4664
4665// ListModelsWithContext is the same as ListModels with the addition of
4666// the ability to pass a context and additional request options.
4667//
4668// See ListModels for details on how to use this API operation.
4669//
4670// The context must be non-nil and will be used for request cancellation. If
4671// the context is nil a panic will occur. In the future the SDK may create
4672// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4673// for more information on using Contexts.
4674func (c *SageMaker) ListModelsWithContext(ctx aws.Context, input *ListModelsInput, opts ...request.Option) (*ListModelsOutput, error) {
4675	req, out := c.ListModelsRequest(input)
4676	req.SetContext(ctx)
4677	req.ApplyOptions(opts...)
4678	return out, req.Send()
4679}
4680
4681// ListModelsPages iterates over the pages of a ListModels operation,
4682// calling the "fn" function with the response data for each page. To stop
4683// iterating, return false from the fn function.
4684//
4685// See ListModels method for more information on how to use this operation.
4686//
4687// Note: This operation can generate multiple requests to a service.
4688//
4689//    // Example iterating over at most 3 pages of a ListModels operation.
4690//    pageNum := 0
4691//    err := client.ListModelsPages(params,
4692//        func(page *sagemaker.ListModelsOutput, lastPage bool) bool {
4693//            pageNum++
4694//            fmt.Println(page)
4695//            return pageNum <= 3
4696//        })
4697//
4698func (c *SageMaker) ListModelsPages(input *ListModelsInput, fn func(*ListModelsOutput, bool) bool) error {
4699	return c.ListModelsPagesWithContext(aws.BackgroundContext(), input, fn)
4700}
4701
4702// ListModelsPagesWithContext same as ListModelsPages except
4703// it takes a Context and allows setting request options on the pages.
4704//
4705// The context must be non-nil and will be used for request cancellation. If
4706// the context is nil a panic will occur. In the future the SDK may create
4707// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4708// for more information on using Contexts.
4709func (c *SageMaker) ListModelsPagesWithContext(ctx aws.Context, input *ListModelsInput, fn func(*ListModelsOutput, bool) bool, opts ...request.Option) error {
4710	p := request.Pagination{
4711		NewRequest: func() (*request.Request, error) {
4712			var inCpy *ListModelsInput
4713			if input != nil {
4714				tmp := *input
4715				inCpy = &tmp
4716			}
4717			req, _ := c.ListModelsRequest(inCpy)
4718			req.SetContext(ctx)
4719			req.ApplyOptions(opts...)
4720			return req, nil
4721		},
4722	}
4723
4724	cont := true
4725	for p.Next() && cont {
4726		cont = fn(p.Page().(*ListModelsOutput), !p.HasNextPage())
4727	}
4728	return p.Err()
4729}
4730
4731const opListNotebookInstanceLifecycleConfigs = "ListNotebookInstanceLifecycleConfigs"
4732
4733// ListNotebookInstanceLifecycleConfigsRequest generates a "aws/request.Request" representing the
4734// client's request for the ListNotebookInstanceLifecycleConfigs operation. The "output" return
4735// value will be populated with the request's response once the request completes
4736// successfully.
4737//
4738// Use "Send" method on the returned Request to send the API call to the service.
4739// the "output" return value is not valid until after Send returns without error.
4740//
4741// See ListNotebookInstanceLifecycleConfigs for more information on using the ListNotebookInstanceLifecycleConfigs
4742// API call, and error handling.
4743//
4744// This method is useful when you want to inject custom logic or configuration
4745// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4746//
4747//
4748//    // Example sending a request using the ListNotebookInstanceLifecycleConfigsRequest method.
4749//    req, resp := client.ListNotebookInstanceLifecycleConfigsRequest(params)
4750//
4751//    err := req.Send()
4752//    if err == nil { // resp is now filled
4753//        fmt.Println(resp)
4754//    }
4755//
4756// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListNotebookInstanceLifecycleConfigs
4757func (c *SageMaker) ListNotebookInstanceLifecycleConfigsRequest(input *ListNotebookInstanceLifecycleConfigsInput) (req *request.Request, output *ListNotebookInstanceLifecycleConfigsOutput) {
4758	op := &request.Operation{
4759		Name:       opListNotebookInstanceLifecycleConfigs,
4760		HTTPMethod: "POST",
4761		HTTPPath:   "/",
4762		Paginator: &request.Paginator{
4763			InputTokens:     []string{"NextToken"},
4764			OutputTokens:    []string{"NextToken"},
4765			LimitToken:      "MaxResults",
4766			TruncationToken: "",
4767		},
4768	}
4769
4770	if input == nil {
4771		input = &ListNotebookInstanceLifecycleConfigsInput{}
4772	}
4773
4774	output = &ListNotebookInstanceLifecycleConfigsOutput{}
4775	req = c.newRequest(op, input, output)
4776	return
4777}
4778
4779// ListNotebookInstanceLifecycleConfigs API operation for Amazon SageMaker Service.
4780//
4781// Lists notebook instance lifestyle configurations created with the CreateNotebookInstanceLifecycleConfig
4782// API.
4783//
4784// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4785// with awserr.Error's Code and Message methods to get detailed information about
4786// the error.
4787//
4788// See the AWS API reference guide for Amazon SageMaker Service's
4789// API operation ListNotebookInstanceLifecycleConfigs for usage and error information.
4790// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListNotebookInstanceLifecycleConfigs
4791func (c *SageMaker) ListNotebookInstanceLifecycleConfigs(input *ListNotebookInstanceLifecycleConfigsInput) (*ListNotebookInstanceLifecycleConfigsOutput, error) {
4792	req, out := c.ListNotebookInstanceLifecycleConfigsRequest(input)
4793	return out, req.Send()
4794}
4795
4796// ListNotebookInstanceLifecycleConfigsWithContext is the same as ListNotebookInstanceLifecycleConfigs with the addition of
4797// the ability to pass a context and additional request options.
4798//
4799// See ListNotebookInstanceLifecycleConfigs for details on how to use this API operation.
4800//
4801// The context must be non-nil and will be used for request cancellation. If
4802// the context is nil a panic will occur. In the future the SDK may create
4803// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4804// for more information on using Contexts.
4805func (c *SageMaker) ListNotebookInstanceLifecycleConfigsWithContext(ctx aws.Context, input *ListNotebookInstanceLifecycleConfigsInput, opts ...request.Option) (*ListNotebookInstanceLifecycleConfigsOutput, error) {
4806	req, out := c.ListNotebookInstanceLifecycleConfigsRequest(input)
4807	req.SetContext(ctx)
4808	req.ApplyOptions(opts...)
4809	return out, req.Send()
4810}
4811
4812// ListNotebookInstanceLifecycleConfigsPages iterates over the pages of a ListNotebookInstanceLifecycleConfigs operation,
4813// calling the "fn" function with the response data for each page. To stop
4814// iterating, return false from the fn function.
4815//
4816// See ListNotebookInstanceLifecycleConfigs method for more information on how to use this operation.
4817//
4818// Note: This operation can generate multiple requests to a service.
4819//
4820//    // Example iterating over at most 3 pages of a ListNotebookInstanceLifecycleConfigs operation.
4821//    pageNum := 0
4822//    err := client.ListNotebookInstanceLifecycleConfigsPages(params,
4823//        func(page *sagemaker.ListNotebookInstanceLifecycleConfigsOutput, lastPage bool) bool {
4824//            pageNum++
4825//            fmt.Println(page)
4826//            return pageNum <= 3
4827//        })
4828//
4829func (c *SageMaker) ListNotebookInstanceLifecycleConfigsPages(input *ListNotebookInstanceLifecycleConfigsInput, fn func(*ListNotebookInstanceLifecycleConfigsOutput, bool) bool) error {
4830	return c.ListNotebookInstanceLifecycleConfigsPagesWithContext(aws.BackgroundContext(), input, fn)
4831}
4832
4833// ListNotebookInstanceLifecycleConfigsPagesWithContext same as ListNotebookInstanceLifecycleConfigsPages except
4834// it takes a Context and allows setting request options on the pages.
4835//
4836// The context must be non-nil and will be used for request cancellation. If
4837// the context is nil a panic will occur. In the future the SDK may create
4838// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4839// for more information on using Contexts.
4840func (c *SageMaker) ListNotebookInstanceLifecycleConfigsPagesWithContext(ctx aws.Context, input *ListNotebookInstanceLifecycleConfigsInput, fn func(*ListNotebookInstanceLifecycleConfigsOutput, bool) bool, opts ...request.Option) error {
4841	p := request.Pagination{
4842		NewRequest: func() (*request.Request, error) {
4843			var inCpy *ListNotebookInstanceLifecycleConfigsInput
4844			if input != nil {
4845				tmp := *input
4846				inCpy = &tmp
4847			}
4848			req, _ := c.ListNotebookInstanceLifecycleConfigsRequest(inCpy)
4849			req.SetContext(ctx)
4850			req.ApplyOptions(opts...)
4851			return req, nil
4852		},
4853	}
4854
4855	cont := true
4856	for p.Next() && cont {
4857		cont = fn(p.Page().(*ListNotebookInstanceLifecycleConfigsOutput), !p.HasNextPage())
4858	}
4859	return p.Err()
4860}
4861
4862const opListNotebookInstances = "ListNotebookInstances"
4863
4864// ListNotebookInstancesRequest generates a "aws/request.Request" representing the
4865// client's request for the ListNotebookInstances operation. The "output" return
4866// value will be populated with the request's response once the request completes
4867// successfully.
4868//
4869// Use "Send" method on the returned Request to send the API call to the service.
4870// the "output" return value is not valid until after Send returns without error.
4871//
4872// See ListNotebookInstances for more information on using the ListNotebookInstances
4873// API call, and error handling.
4874//
4875// This method is useful when you want to inject custom logic or configuration
4876// into the SDK's request lifecycle. Such as custom headers, or retry logic.
4877//
4878//
4879//    // Example sending a request using the ListNotebookInstancesRequest method.
4880//    req, resp := client.ListNotebookInstancesRequest(params)
4881//
4882//    err := req.Send()
4883//    if err == nil { // resp is now filled
4884//        fmt.Println(resp)
4885//    }
4886//
4887// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListNotebookInstances
4888func (c *SageMaker) ListNotebookInstancesRequest(input *ListNotebookInstancesInput) (req *request.Request, output *ListNotebookInstancesOutput) {
4889	op := &request.Operation{
4890		Name:       opListNotebookInstances,
4891		HTTPMethod: "POST",
4892		HTTPPath:   "/",
4893		Paginator: &request.Paginator{
4894			InputTokens:     []string{"NextToken"},
4895			OutputTokens:    []string{"NextToken"},
4896			LimitToken:      "MaxResults",
4897			TruncationToken: "",
4898		},
4899	}
4900
4901	if input == nil {
4902		input = &ListNotebookInstancesInput{}
4903	}
4904
4905	output = &ListNotebookInstancesOutput{}
4906	req = c.newRequest(op, input, output)
4907	return
4908}
4909
4910// ListNotebookInstances API operation for Amazon SageMaker Service.
4911//
4912// Returns a list of the Amazon SageMaker notebook instances in the requester's
4913// account in an AWS Region.
4914//
4915// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
4916// with awserr.Error's Code and Message methods to get detailed information about
4917// the error.
4918//
4919// See the AWS API reference guide for Amazon SageMaker Service's
4920// API operation ListNotebookInstances for usage and error information.
4921// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListNotebookInstances
4922func (c *SageMaker) ListNotebookInstances(input *ListNotebookInstancesInput) (*ListNotebookInstancesOutput, error) {
4923	req, out := c.ListNotebookInstancesRequest(input)
4924	return out, req.Send()
4925}
4926
4927// ListNotebookInstancesWithContext is the same as ListNotebookInstances with the addition of
4928// the ability to pass a context and additional request options.
4929//
4930// See ListNotebookInstances for details on how to use this API operation.
4931//
4932// The context must be non-nil and will be used for request cancellation. If
4933// the context is nil a panic will occur. In the future the SDK may create
4934// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4935// for more information on using Contexts.
4936func (c *SageMaker) ListNotebookInstancesWithContext(ctx aws.Context, input *ListNotebookInstancesInput, opts ...request.Option) (*ListNotebookInstancesOutput, error) {
4937	req, out := c.ListNotebookInstancesRequest(input)
4938	req.SetContext(ctx)
4939	req.ApplyOptions(opts...)
4940	return out, req.Send()
4941}
4942
4943// ListNotebookInstancesPages iterates over the pages of a ListNotebookInstances operation,
4944// calling the "fn" function with the response data for each page. To stop
4945// iterating, return false from the fn function.
4946//
4947// See ListNotebookInstances method for more information on how to use this operation.
4948//
4949// Note: This operation can generate multiple requests to a service.
4950//
4951//    // Example iterating over at most 3 pages of a ListNotebookInstances operation.
4952//    pageNum := 0
4953//    err := client.ListNotebookInstancesPages(params,
4954//        func(page *sagemaker.ListNotebookInstancesOutput, lastPage bool) bool {
4955//            pageNum++
4956//            fmt.Println(page)
4957//            return pageNum <= 3
4958//        })
4959//
4960func (c *SageMaker) ListNotebookInstancesPages(input *ListNotebookInstancesInput, fn func(*ListNotebookInstancesOutput, bool) bool) error {
4961	return c.ListNotebookInstancesPagesWithContext(aws.BackgroundContext(), input, fn)
4962}
4963
4964// ListNotebookInstancesPagesWithContext same as ListNotebookInstancesPages except
4965// it takes a Context and allows setting request options on the pages.
4966//
4967// The context must be non-nil and will be used for request cancellation. If
4968// the context is nil a panic will occur. In the future the SDK may create
4969// sub-contexts for http.Requests. See https://golang.org/pkg/context/
4970// for more information on using Contexts.
4971func (c *SageMaker) ListNotebookInstancesPagesWithContext(ctx aws.Context, input *ListNotebookInstancesInput, fn func(*ListNotebookInstancesOutput, bool) bool, opts ...request.Option) error {
4972	p := request.Pagination{
4973		NewRequest: func() (*request.Request, error) {
4974			var inCpy *ListNotebookInstancesInput
4975			if input != nil {
4976				tmp := *input
4977				inCpy = &tmp
4978			}
4979			req, _ := c.ListNotebookInstancesRequest(inCpy)
4980			req.SetContext(ctx)
4981			req.ApplyOptions(opts...)
4982			return req, nil
4983		},
4984	}
4985
4986	cont := true
4987	for p.Next() && cont {
4988		cont = fn(p.Page().(*ListNotebookInstancesOutput), !p.HasNextPage())
4989	}
4990	return p.Err()
4991}
4992
4993const opListSubscribedWorkteams = "ListSubscribedWorkteams"
4994
4995// ListSubscribedWorkteamsRequest generates a "aws/request.Request" representing the
4996// client's request for the ListSubscribedWorkteams operation. The "output" return
4997// value will be populated with the request's response once the request completes
4998// successfully.
4999//
5000// Use "Send" method on the returned Request to send the API call to the service.
5001// the "output" return value is not valid until after Send returns without error.
5002//
5003// See ListSubscribedWorkteams for more information on using the ListSubscribedWorkteams
5004// API call, and error handling.
5005//
5006// This method is useful when you want to inject custom logic or configuration
5007// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5008//
5009//
5010//    // Example sending a request using the ListSubscribedWorkteamsRequest method.
5011//    req, resp := client.ListSubscribedWorkteamsRequest(params)
5012//
5013//    err := req.Send()
5014//    if err == nil { // resp is now filled
5015//        fmt.Println(resp)
5016//    }
5017//
5018// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListSubscribedWorkteams
5019func (c *SageMaker) ListSubscribedWorkteamsRequest(input *ListSubscribedWorkteamsInput) (req *request.Request, output *ListSubscribedWorkteamsOutput) {
5020	op := &request.Operation{
5021		Name:       opListSubscribedWorkteams,
5022		HTTPMethod: "POST",
5023		HTTPPath:   "/",
5024		Paginator: &request.Paginator{
5025			InputTokens:     []string{"NextToken"},
5026			OutputTokens:    []string{"NextToken"},
5027			LimitToken:      "MaxResults",
5028			TruncationToken: "",
5029		},
5030	}
5031
5032	if input == nil {
5033		input = &ListSubscribedWorkteamsInput{}
5034	}
5035
5036	output = &ListSubscribedWorkteamsOutput{}
5037	req = c.newRequest(op, input, output)
5038	return
5039}
5040
5041// ListSubscribedWorkteams API operation for Amazon SageMaker Service.
5042//
5043// Gets a list of the work teams that you are subscribed to in the AWS Marketplace.
5044// The list may be empty if no work team satisfies the filter specified in the
5045// NameContains parameter.
5046//
5047// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5048// with awserr.Error's Code and Message methods to get detailed information about
5049// the error.
5050//
5051// See the AWS API reference guide for Amazon SageMaker Service's
5052// API operation ListSubscribedWorkteams for usage and error information.
5053// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListSubscribedWorkteams
5054func (c *SageMaker) ListSubscribedWorkteams(input *ListSubscribedWorkteamsInput) (*ListSubscribedWorkteamsOutput, error) {
5055	req, out := c.ListSubscribedWorkteamsRequest(input)
5056	return out, req.Send()
5057}
5058
5059// ListSubscribedWorkteamsWithContext is the same as ListSubscribedWorkteams with the addition of
5060// the ability to pass a context and additional request options.
5061//
5062// See ListSubscribedWorkteams for details on how to use this API operation.
5063//
5064// The context must be non-nil and will be used for request cancellation. If
5065// the context is nil a panic will occur. In the future the SDK may create
5066// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5067// for more information on using Contexts.
5068func (c *SageMaker) ListSubscribedWorkteamsWithContext(ctx aws.Context, input *ListSubscribedWorkteamsInput, opts ...request.Option) (*ListSubscribedWorkteamsOutput, error) {
5069	req, out := c.ListSubscribedWorkteamsRequest(input)
5070	req.SetContext(ctx)
5071	req.ApplyOptions(opts...)
5072	return out, req.Send()
5073}
5074
5075// ListSubscribedWorkteamsPages iterates over the pages of a ListSubscribedWorkteams operation,
5076// calling the "fn" function with the response data for each page. To stop
5077// iterating, return false from the fn function.
5078//
5079// See ListSubscribedWorkteams method for more information on how to use this operation.
5080//
5081// Note: This operation can generate multiple requests to a service.
5082//
5083//    // Example iterating over at most 3 pages of a ListSubscribedWorkteams operation.
5084//    pageNum := 0
5085//    err := client.ListSubscribedWorkteamsPages(params,
5086//        func(page *sagemaker.ListSubscribedWorkteamsOutput, lastPage bool) bool {
5087//            pageNum++
5088//            fmt.Println(page)
5089//            return pageNum <= 3
5090//        })
5091//
5092func (c *SageMaker) ListSubscribedWorkteamsPages(input *ListSubscribedWorkteamsInput, fn func(*ListSubscribedWorkteamsOutput, bool) bool) error {
5093	return c.ListSubscribedWorkteamsPagesWithContext(aws.BackgroundContext(), input, fn)
5094}
5095
5096// ListSubscribedWorkteamsPagesWithContext same as ListSubscribedWorkteamsPages except
5097// it takes a Context and allows setting request options on the pages.
5098//
5099// The context must be non-nil and will be used for request cancellation. If
5100// the context is nil a panic will occur. In the future the SDK may create
5101// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5102// for more information on using Contexts.
5103func (c *SageMaker) ListSubscribedWorkteamsPagesWithContext(ctx aws.Context, input *ListSubscribedWorkteamsInput, fn func(*ListSubscribedWorkteamsOutput, bool) bool, opts ...request.Option) error {
5104	p := request.Pagination{
5105		NewRequest: func() (*request.Request, error) {
5106			var inCpy *ListSubscribedWorkteamsInput
5107			if input != nil {
5108				tmp := *input
5109				inCpy = &tmp
5110			}
5111			req, _ := c.ListSubscribedWorkteamsRequest(inCpy)
5112			req.SetContext(ctx)
5113			req.ApplyOptions(opts...)
5114			return req, nil
5115		},
5116	}
5117
5118	cont := true
5119	for p.Next() && cont {
5120		cont = fn(p.Page().(*ListSubscribedWorkteamsOutput), !p.HasNextPage())
5121	}
5122	return p.Err()
5123}
5124
5125const opListTags = "ListTags"
5126
5127// ListTagsRequest generates a "aws/request.Request" representing the
5128// client's request for the ListTags operation. The "output" return
5129// value will be populated with the request's response once the request completes
5130// successfully.
5131//
5132// Use "Send" method on the returned Request to send the API call to the service.
5133// the "output" return value is not valid until after Send returns without error.
5134//
5135// See ListTags for more information on using the ListTags
5136// API call, and error handling.
5137//
5138// This method is useful when you want to inject custom logic or configuration
5139// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5140//
5141//
5142//    // Example sending a request using the ListTagsRequest method.
5143//    req, resp := client.ListTagsRequest(params)
5144//
5145//    err := req.Send()
5146//    if err == nil { // resp is now filled
5147//        fmt.Println(resp)
5148//    }
5149//
5150// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTags
5151func (c *SageMaker) ListTagsRequest(input *ListTagsInput) (req *request.Request, output *ListTagsOutput) {
5152	op := &request.Operation{
5153		Name:       opListTags,
5154		HTTPMethod: "POST",
5155		HTTPPath:   "/",
5156		Paginator: &request.Paginator{
5157			InputTokens:     []string{"NextToken"},
5158			OutputTokens:    []string{"NextToken"},
5159			LimitToken:      "MaxResults",
5160			TruncationToken: "",
5161		},
5162	}
5163
5164	if input == nil {
5165		input = &ListTagsInput{}
5166	}
5167
5168	output = &ListTagsOutput{}
5169	req = c.newRequest(op, input, output)
5170	return
5171}
5172
5173// ListTags API operation for Amazon SageMaker Service.
5174//
5175// Returns the tags for the specified Amazon SageMaker resource.
5176//
5177// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5178// with awserr.Error's Code and Message methods to get detailed information about
5179// the error.
5180//
5181// See the AWS API reference guide for Amazon SageMaker Service's
5182// API operation ListTags for usage and error information.
5183// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTags
5184func (c *SageMaker) ListTags(input *ListTagsInput) (*ListTagsOutput, error) {
5185	req, out := c.ListTagsRequest(input)
5186	return out, req.Send()
5187}
5188
5189// ListTagsWithContext is the same as ListTags with the addition of
5190// the ability to pass a context and additional request options.
5191//
5192// See ListTags for details on how to use this API operation.
5193//
5194// The context must be non-nil and will be used for request cancellation. If
5195// the context is nil a panic will occur. In the future the SDK may create
5196// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5197// for more information on using Contexts.
5198func (c *SageMaker) ListTagsWithContext(ctx aws.Context, input *ListTagsInput, opts ...request.Option) (*ListTagsOutput, error) {
5199	req, out := c.ListTagsRequest(input)
5200	req.SetContext(ctx)
5201	req.ApplyOptions(opts...)
5202	return out, req.Send()
5203}
5204
5205// ListTagsPages iterates over the pages of a ListTags operation,
5206// calling the "fn" function with the response data for each page. To stop
5207// iterating, return false from the fn function.
5208//
5209// See ListTags method for more information on how to use this operation.
5210//
5211// Note: This operation can generate multiple requests to a service.
5212//
5213//    // Example iterating over at most 3 pages of a ListTags operation.
5214//    pageNum := 0
5215//    err := client.ListTagsPages(params,
5216//        func(page *sagemaker.ListTagsOutput, lastPage bool) bool {
5217//            pageNum++
5218//            fmt.Println(page)
5219//            return pageNum <= 3
5220//        })
5221//
5222func (c *SageMaker) ListTagsPages(input *ListTagsInput, fn func(*ListTagsOutput, bool) bool) error {
5223	return c.ListTagsPagesWithContext(aws.BackgroundContext(), input, fn)
5224}
5225
5226// ListTagsPagesWithContext same as ListTagsPages except
5227// it takes a Context and allows setting request options on the pages.
5228//
5229// The context must be non-nil and will be used for request cancellation. If
5230// the context is nil a panic will occur. In the future the SDK may create
5231// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5232// for more information on using Contexts.
5233func (c *SageMaker) ListTagsPagesWithContext(ctx aws.Context, input *ListTagsInput, fn func(*ListTagsOutput, bool) bool, opts ...request.Option) error {
5234	p := request.Pagination{
5235		NewRequest: func() (*request.Request, error) {
5236			var inCpy *ListTagsInput
5237			if input != nil {
5238				tmp := *input
5239				inCpy = &tmp
5240			}
5241			req, _ := c.ListTagsRequest(inCpy)
5242			req.SetContext(ctx)
5243			req.ApplyOptions(opts...)
5244			return req, nil
5245		},
5246	}
5247
5248	cont := true
5249	for p.Next() && cont {
5250		cont = fn(p.Page().(*ListTagsOutput), !p.HasNextPage())
5251	}
5252	return p.Err()
5253}
5254
5255const opListTrainingJobs = "ListTrainingJobs"
5256
5257// ListTrainingJobsRequest generates a "aws/request.Request" representing the
5258// client's request for the ListTrainingJobs operation. The "output" return
5259// value will be populated with the request's response once the request completes
5260// successfully.
5261//
5262// Use "Send" method on the returned Request to send the API call to the service.
5263// the "output" return value is not valid until after Send returns without error.
5264//
5265// See ListTrainingJobs for more information on using the ListTrainingJobs
5266// API call, and error handling.
5267//
5268// This method is useful when you want to inject custom logic or configuration
5269// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5270//
5271//
5272//    // Example sending a request using the ListTrainingJobsRequest method.
5273//    req, resp := client.ListTrainingJobsRequest(params)
5274//
5275//    err := req.Send()
5276//    if err == nil { // resp is now filled
5277//        fmt.Println(resp)
5278//    }
5279//
5280// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrainingJobs
5281func (c *SageMaker) ListTrainingJobsRequest(input *ListTrainingJobsInput) (req *request.Request, output *ListTrainingJobsOutput) {
5282	op := &request.Operation{
5283		Name:       opListTrainingJobs,
5284		HTTPMethod: "POST",
5285		HTTPPath:   "/",
5286		Paginator: &request.Paginator{
5287			InputTokens:     []string{"NextToken"},
5288			OutputTokens:    []string{"NextToken"},
5289			LimitToken:      "MaxResults",
5290			TruncationToken: "",
5291		},
5292	}
5293
5294	if input == nil {
5295		input = &ListTrainingJobsInput{}
5296	}
5297
5298	output = &ListTrainingJobsOutput{}
5299	req = c.newRequest(op, input, output)
5300	return
5301}
5302
5303// ListTrainingJobs API operation for Amazon SageMaker Service.
5304//
5305// Lists training jobs.
5306//
5307// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5308// with awserr.Error's Code and Message methods to get detailed information about
5309// the error.
5310//
5311// See the AWS API reference guide for Amazon SageMaker Service's
5312// API operation ListTrainingJobs for usage and error information.
5313// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrainingJobs
5314func (c *SageMaker) ListTrainingJobs(input *ListTrainingJobsInput) (*ListTrainingJobsOutput, error) {
5315	req, out := c.ListTrainingJobsRequest(input)
5316	return out, req.Send()
5317}
5318
5319// ListTrainingJobsWithContext is the same as ListTrainingJobs with the addition of
5320// the ability to pass a context and additional request options.
5321//
5322// See ListTrainingJobs for details on how to use this API operation.
5323//
5324// The context must be non-nil and will be used for request cancellation. If
5325// the context is nil a panic will occur. In the future the SDK may create
5326// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5327// for more information on using Contexts.
5328func (c *SageMaker) ListTrainingJobsWithContext(ctx aws.Context, input *ListTrainingJobsInput, opts ...request.Option) (*ListTrainingJobsOutput, error) {
5329	req, out := c.ListTrainingJobsRequest(input)
5330	req.SetContext(ctx)
5331	req.ApplyOptions(opts...)
5332	return out, req.Send()
5333}
5334
5335// ListTrainingJobsPages iterates over the pages of a ListTrainingJobs operation,
5336// calling the "fn" function with the response data for each page. To stop
5337// iterating, return false from the fn function.
5338//
5339// See ListTrainingJobs method for more information on how to use this operation.
5340//
5341// Note: This operation can generate multiple requests to a service.
5342//
5343//    // Example iterating over at most 3 pages of a ListTrainingJobs operation.
5344//    pageNum := 0
5345//    err := client.ListTrainingJobsPages(params,
5346//        func(page *sagemaker.ListTrainingJobsOutput, lastPage bool) bool {
5347//            pageNum++
5348//            fmt.Println(page)
5349//            return pageNum <= 3
5350//        })
5351//
5352func (c *SageMaker) ListTrainingJobsPages(input *ListTrainingJobsInput, fn func(*ListTrainingJobsOutput, bool) bool) error {
5353	return c.ListTrainingJobsPagesWithContext(aws.BackgroundContext(), input, fn)
5354}
5355
5356// ListTrainingJobsPagesWithContext same as ListTrainingJobsPages except
5357// it takes a Context and allows setting request options on the pages.
5358//
5359// The context must be non-nil and will be used for request cancellation. If
5360// the context is nil a panic will occur. In the future the SDK may create
5361// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5362// for more information on using Contexts.
5363func (c *SageMaker) ListTrainingJobsPagesWithContext(ctx aws.Context, input *ListTrainingJobsInput, fn func(*ListTrainingJobsOutput, bool) bool, opts ...request.Option) error {
5364	p := request.Pagination{
5365		NewRequest: func() (*request.Request, error) {
5366			var inCpy *ListTrainingJobsInput
5367			if input != nil {
5368				tmp := *input
5369				inCpy = &tmp
5370			}
5371			req, _ := c.ListTrainingJobsRequest(inCpy)
5372			req.SetContext(ctx)
5373			req.ApplyOptions(opts...)
5374			return req, nil
5375		},
5376	}
5377
5378	cont := true
5379	for p.Next() && cont {
5380		cont = fn(p.Page().(*ListTrainingJobsOutput), !p.HasNextPage())
5381	}
5382	return p.Err()
5383}
5384
5385const opListTrainingJobsForHyperParameterTuningJob = "ListTrainingJobsForHyperParameterTuningJob"
5386
5387// ListTrainingJobsForHyperParameterTuningJobRequest generates a "aws/request.Request" representing the
5388// client's request for the ListTrainingJobsForHyperParameterTuningJob operation. The "output" return
5389// value will be populated with the request's response once the request completes
5390// successfully.
5391//
5392// Use "Send" method on the returned Request to send the API call to the service.
5393// the "output" return value is not valid until after Send returns without error.
5394//
5395// See ListTrainingJobsForHyperParameterTuningJob for more information on using the ListTrainingJobsForHyperParameterTuningJob
5396// API call, and error handling.
5397//
5398// This method is useful when you want to inject custom logic or configuration
5399// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5400//
5401//
5402//    // Example sending a request using the ListTrainingJobsForHyperParameterTuningJobRequest method.
5403//    req, resp := client.ListTrainingJobsForHyperParameterTuningJobRequest(params)
5404//
5405//    err := req.Send()
5406//    if err == nil { // resp is now filled
5407//        fmt.Println(resp)
5408//    }
5409//
5410// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrainingJobsForHyperParameterTuningJob
5411func (c *SageMaker) ListTrainingJobsForHyperParameterTuningJobRequest(input *ListTrainingJobsForHyperParameterTuningJobInput) (req *request.Request, output *ListTrainingJobsForHyperParameterTuningJobOutput) {
5412	op := &request.Operation{
5413		Name:       opListTrainingJobsForHyperParameterTuningJob,
5414		HTTPMethod: "POST",
5415		HTTPPath:   "/",
5416		Paginator: &request.Paginator{
5417			InputTokens:     []string{"NextToken"},
5418			OutputTokens:    []string{"NextToken"},
5419			LimitToken:      "MaxResults",
5420			TruncationToken: "",
5421		},
5422	}
5423
5424	if input == nil {
5425		input = &ListTrainingJobsForHyperParameterTuningJobInput{}
5426	}
5427
5428	output = &ListTrainingJobsForHyperParameterTuningJobOutput{}
5429	req = c.newRequest(op, input, output)
5430	return
5431}
5432
5433// ListTrainingJobsForHyperParameterTuningJob API operation for Amazon SageMaker Service.
5434//
5435// Gets a list of TrainingJobSummary objects that describe the training jobs
5436// that a hyperparameter tuning job launched.
5437//
5438// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5439// with awserr.Error's Code and Message methods to get detailed information about
5440// the error.
5441//
5442// See the AWS API reference guide for Amazon SageMaker Service's
5443// API operation ListTrainingJobsForHyperParameterTuningJob for usage and error information.
5444//
5445// Returned Error Codes:
5446//   * ErrCodeResourceNotFound "ResourceNotFound"
5447//   Resource being access is not found.
5448//
5449// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTrainingJobsForHyperParameterTuningJob
5450func (c *SageMaker) ListTrainingJobsForHyperParameterTuningJob(input *ListTrainingJobsForHyperParameterTuningJobInput) (*ListTrainingJobsForHyperParameterTuningJobOutput, error) {
5451	req, out := c.ListTrainingJobsForHyperParameterTuningJobRequest(input)
5452	return out, req.Send()
5453}
5454
5455// ListTrainingJobsForHyperParameterTuningJobWithContext is the same as ListTrainingJobsForHyperParameterTuningJob with the addition of
5456// the ability to pass a context and additional request options.
5457//
5458// See ListTrainingJobsForHyperParameterTuningJob for details on how to use this API operation.
5459//
5460// The context must be non-nil and will be used for request cancellation. If
5461// the context is nil a panic will occur. In the future the SDK may create
5462// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5463// for more information on using Contexts.
5464func (c *SageMaker) ListTrainingJobsForHyperParameterTuningJobWithContext(ctx aws.Context, input *ListTrainingJobsForHyperParameterTuningJobInput, opts ...request.Option) (*ListTrainingJobsForHyperParameterTuningJobOutput, error) {
5465	req, out := c.ListTrainingJobsForHyperParameterTuningJobRequest(input)
5466	req.SetContext(ctx)
5467	req.ApplyOptions(opts...)
5468	return out, req.Send()
5469}
5470
5471// ListTrainingJobsForHyperParameterTuningJobPages iterates over the pages of a ListTrainingJobsForHyperParameterTuningJob operation,
5472// calling the "fn" function with the response data for each page. To stop
5473// iterating, return false from the fn function.
5474//
5475// See ListTrainingJobsForHyperParameterTuningJob method for more information on how to use this operation.
5476//
5477// Note: This operation can generate multiple requests to a service.
5478//
5479//    // Example iterating over at most 3 pages of a ListTrainingJobsForHyperParameterTuningJob operation.
5480//    pageNum := 0
5481//    err := client.ListTrainingJobsForHyperParameterTuningJobPages(params,
5482//        func(page *sagemaker.ListTrainingJobsForHyperParameterTuningJobOutput, lastPage bool) bool {
5483//            pageNum++
5484//            fmt.Println(page)
5485//            return pageNum <= 3
5486//        })
5487//
5488func (c *SageMaker) ListTrainingJobsForHyperParameterTuningJobPages(input *ListTrainingJobsForHyperParameterTuningJobInput, fn func(*ListTrainingJobsForHyperParameterTuningJobOutput, bool) bool) error {
5489	return c.ListTrainingJobsForHyperParameterTuningJobPagesWithContext(aws.BackgroundContext(), input, fn)
5490}
5491
5492// ListTrainingJobsForHyperParameterTuningJobPagesWithContext same as ListTrainingJobsForHyperParameterTuningJobPages except
5493// it takes a Context and allows setting request options on the pages.
5494//
5495// The context must be non-nil and will be used for request cancellation. If
5496// the context is nil a panic will occur. In the future the SDK may create
5497// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5498// for more information on using Contexts.
5499func (c *SageMaker) ListTrainingJobsForHyperParameterTuningJobPagesWithContext(ctx aws.Context, input *ListTrainingJobsForHyperParameterTuningJobInput, fn func(*ListTrainingJobsForHyperParameterTuningJobOutput, bool) bool, opts ...request.Option) error {
5500	p := request.Pagination{
5501		NewRequest: func() (*request.Request, error) {
5502			var inCpy *ListTrainingJobsForHyperParameterTuningJobInput
5503			if input != nil {
5504				tmp := *input
5505				inCpy = &tmp
5506			}
5507			req, _ := c.ListTrainingJobsForHyperParameterTuningJobRequest(inCpy)
5508			req.SetContext(ctx)
5509			req.ApplyOptions(opts...)
5510			return req, nil
5511		},
5512	}
5513
5514	cont := true
5515	for p.Next() && cont {
5516		cont = fn(p.Page().(*ListTrainingJobsForHyperParameterTuningJobOutput), !p.HasNextPage())
5517	}
5518	return p.Err()
5519}
5520
5521const opListTransformJobs = "ListTransformJobs"
5522
5523// ListTransformJobsRequest generates a "aws/request.Request" representing the
5524// client's request for the ListTransformJobs operation. The "output" return
5525// value will be populated with the request's response once the request completes
5526// successfully.
5527//
5528// Use "Send" method on the returned Request to send the API call to the service.
5529// the "output" return value is not valid until after Send returns without error.
5530//
5531// See ListTransformJobs for more information on using the ListTransformJobs
5532// API call, and error handling.
5533//
5534// This method is useful when you want to inject custom logic or configuration
5535// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5536//
5537//
5538//    // Example sending a request using the ListTransformJobsRequest method.
5539//    req, resp := client.ListTransformJobsRequest(params)
5540//
5541//    err := req.Send()
5542//    if err == nil { // resp is now filled
5543//        fmt.Println(resp)
5544//    }
5545//
5546// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTransformJobs
5547func (c *SageMaker) ListTransformJobsRequest(input *ListTransformJobsInput) (req *request.Request, output *ListTransformJobsOutput) {
5548	op := &request.Operation{
5549		Name:       opListTransformJobs,
5550		HTTPMethod: "POST",
5551		HTTPPath:   "/",
5552		Paginator: &request.Paginator{
5553			InputTokens:     []string{"NextToken"},
5554			OutputTokens:    []string{"NextToken"},
5555			LimitToken:      "MaxResults",
5556			TruncationToken: "",
5557		},
5558	}
5559
5560	if input == nil {
5561		input = &ListTransformJobsInput{}
5562	}
5563
5564	output = &ListTransformJobsOutput{}
5565	req = c.newRequest(op, input, output)
5566	return
5567}
5568
5569// ListTransformJobs API operation for Amazon SageMaker Service.
5570//
5571// Lists transform jobs.
5572//
5573// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5574// with awserr.Error's Code and Message methods to get detailed information about
5575// the error.
5576//
5577// See the AWS API reference guide for Amazon SageMaker Service's
5578// API operation ListTransformJobs for usage and error information.
5579// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListTransformJobs
5580func (c *SageMaker) ListTransformJobs(input *ListTransformJobsInput) (*ListTransformJobsOutput, error) {
5581	req, out := c.ListTransformJobsRequest(input)
5582	return out, req.Send()
5583}
5584
5585// ListTransformJobsWithContext is the same as ListTransformJobs with the addition of
5586// the ability to pass a context and additional request options.
5587//
5588// See ListTransformJobs for details on how to use this API operation.
5589//
5590// The context must be non-nil and will be used for request cancellation. If
5591// the context is nil a panic will occur. In the future the SDK may create
5592// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5593// for more information on using Contexts.
5594func (c *SageMaker) ListTransformJobsWithContext(ctx aws.Context, input *ListTransformJobsInput, opts ...request.Option) (*ListTransformJobsOutput, error) {
5595	req, out := c.ListTransformJobsRequest(input)
5596	req.SetContext(ctx)
5597	req.ApplyOptions(opts...)
5598	return out, req.Send()
5599}
5600
5601// ListTransformJobsPages iterates over the pages of a ListTransformJobs operation,
5602// calling the "fn" function with the response data for each page. To stop
5603// iterating, return false from the fn function.
5604//
5605// See ListTransformJobs method for more information on how to use this operation.
5606//
5607// Note: This operation can generate multiple requests to a service.
5608//
5609//    // Example iterating over at most 3 pages of a ListTransformJobs operation.
5610//    pageNum := 0
5611//    err := client.ListTransformJobsPages(params,
5612//        func(page *sagemaker.ListTransformJobsOutput, lastPage bool) bool {
5613//            pageNum++
5614//            fmt.Println(page)
5615//            return pageNum <= 3
5616//        })
5617//
5618func (c *SageMaker) ListTransformJobsPages(input *ListTransformJobsInput, fn func(*ListTransformJobsOutput, bool) bool) error {
5619	return c.ListTransformJobsPagesWithContext(aws.BackgroundContext(), input, fn)
5620}
5621
5622// ListTransformJobsPagesWithContext same as ListTransformJobsPages except
5623// it takes a Context and allows setting request options on the pages.
5624//
5625// The context must be non-nil and will be used for request cancellation. If
5626// the context is nil a panic will occur. In the future the SDK may create
5627// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5628// for more information on using Contexts.
5629func (c *SageMaker) ListTransformJobsPagesWithContext(ctx aws.Context, input *ListTransformJobsInput, fn func(*ListTransformJobsOutput, bool) bool, opts ...request.Option) error {
5630	p := request.Pagination{
5631		NewRequest: func() (*request.Request, error) {
5632			var inCpy *ListTransformJobsInput
5633			if input != nil {
5634				tmp := *input
5635				inCpy = &tmp
5636			}
5637			req, _ := c.ListTransformJobsRequest(inCpy)
5638			req.SetContext(ctx)
5639			req.ApplyOptions(opts...)
5640			return req, nil
5641		},
5642	}
5643
5644	cont := true
5645	for p.Next() && cont {
5646		cont = fn(p.Page().(*ListTransformJobsOutput), !p.HasNextPage())
5647	}
5648	return p.Err()
5649}
5650
5651const opListWorkteams = "ListWorkteams"
5652
5653// ListWorkteamsRequest generates a "aws/request.Request" representing the
5654// client's request for the ListWorkteams operation. The "output" return
5655// value will be populated with the request's response once the request completes
5656// successfully.
5657//
5658// Use "Send" method on the returned Request to send the API call to the service.
5659// the "output" return value is not valid until after Send returns without error.
5660//
5661// See ListWorkteams for more information on using the ListWorkteams
5662// API call, and error handling.
5663//
5664// This method is useful when you want to inject custom logic or configuration
5665// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5666//
5667//
5668//    // Example sending a request using the ListWorkteamsRequest method.
5669//    req, resp := client.ListWorkteamsRequest(params)
5670//
5671//    err := req.Send()
5672//    if err == nil { // resp is now filled
5673//        fmt.Println(resp)
5674//    }
5675//
5676// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListWorkteams
5677func (c *SageMaker) ListWorkteamsRequest(input *ListWorkteamsInput) (req *request.Request, output *ListWorkteamsOutput) {
5678	op := &request.Operation{
5679		Name:       opListWorkteams,
5680		HTTPMethod: "POST",
5681		HTTPPath:   "/",
5682		Paginator: &request.Paginator{
5683			InputTokens:     []string{"NextToken"},
5684			OutputTokens:    []string{"NextToken"},
5685			LimitToken:      "MaxResults",
5686			TruncationToken: "",
5687		},
5688	}
5689
5690	if input == nil {
5691		input = &ListWorkteamsInput{}
5692	}
5693
5694	output = &ListWorkteamsOutput{}
5695	req = c.newRequest(op, input, output)
5696	return
5697}
5698
5699// ListWorkteams API operation for Amazon SageMaker Service.
5700//
5701// Gets a list of work teams that you have defined in a region. The list may
5702// be empty if no work team satisfies the filter specified in the NameContains
5703// parameter.
5704//
5705// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5706// with awserr.Error's Code and Message methods to get detailed information about
5707// the error.
5708//
5709// See the AWS API reference guide for Amazon SageMaker Service's
5710// API operation ListWorkteams for usage and error information.
5711// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/ListWorkteams
5712func (c *SageMaker) ListWorkteams(input *ListWorkteamsInput) (*ListWorkteamsOutput, error) {
5713	req, out := c.ListWorkteamsRequest(input)
5714	return out, req.Send()
5715}
5716
5717// ListWorkteamsWithContext is the same as ListWorkteams with the addition of
5718// the ability to pass a context and additional request options.
5719//
5720// See ListWorkteams for details on how to use this API operation.
5721//
5722// The context must be non-nil and will be used for request cancellation. If
5723// the context is nil a panic will occur. In the future the SDK may create
5724// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5725// for more information on using Contexts.
5726func (c *SageMaker) ListWorkteamsWithContext(ctx aws.Context, input *ListWorkteamsInput, opts ...request.Option) (*ListWorkteamsOutput, error) {
5727	req, out := c.ListWorkteamsRequest(input)
5728	req.SetContext(ctx)
5729	req.ApplyOptions(opts...)
5730	return out, req.Send()
5731}
5732
5733// ListWorkteamsPages iterates over the pages of a ListWorkteams operation,
5734// calling the "fn" function with the response data for each page. To stop
5735// iterating, return false from the fn function.
5736//
5737// See ListWorkteams method for more information on how to use this operation.
5738//
5739// Note: This operation can generate multiple requests to a service.
5740//
5741//    // Example iterating over at most 3 pages of a ListWorkteams operation.
5742//    pageNum := 0
5743//    err := client.ListWorkteamsPages(params,
5744//        func(page *sagemaker.ListWorkteamsOutput, lastPage bool) bool {
5745//            pageNum++
5746//            fmt.Println(page)
5747//            return pageNum <= 3
5748//        })
5749//
5750func (c *SageMaker) ListWorkteamsPages(input *ListWorkteamsInput, fn func(*ListWorkteamsOutput, bool) bool) error {
5751	return c.ListWorkteamsPagesWithContext(aws.BackgroundContext(), input, fn)
5752}
5753
5754// ListWorkteamsPagesWithContext same as ListWorkteamsPages except
5755// it takes a Context and allows setting request options on the pages.
5756//
5757// The context must be non-nil and will be used for request cancellation. If
5758// the context is nil a panic will occur. In the future the SDK may create
5759// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5760// for more information on using Contexts.
5761func (c *SageMaker) ListWorkteamsPagesWithContext(ctx aws.Context, input *ListWorkteamsInput, fn func(*ListWorkteamsOutput, bool) bool, opts ...request.Option) error {
5762	p := request.Pagination{
5763		NewRequest: func() (*request.Request, error) {
5764			var inCpy *ListWorkteamsInput
5765			if input != nil {
5766				tmp := *input
5767				inCpy = &tmp
5768			}
5769			req, _ := c.ListWorkteamsRequest(inCpy)
5770			req.SetContext(ctx)
5771			req.ApplyOptions(opts...)
5772			return req, nil
5773		},
5774	}
5775
5776	cont := true
5777	for p.Next() && cont {
5778		cont = fn(p.Page().(*ListWorkteamsOutput), !p.HasNextPage())
5779	}
5780	return p.Err()
5781}
5782
5783const opRenderUiTemplate = "RenderUiTemplate"
5784
5785// RenderUiTemplateRequest generates a "aws/request.Request" representing the
5786// client's request for the RenderUiTemplate operation. The "output" return
5787// value will be populated with the request's response once the request completes
5788// successfully.
5789//
5790// Use "Send" method on the returned Request to send the API call to the service.
5791// the "output" return value is not valid until after Send returns without error.
5792//
5793// See RenderUiTemplate for more information on using the RenderUiTemplate
5794// API call, and error handling.
5795//
5796// This method is useful when you want to inject custom logic or configuration
5797// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5798//
5799//
5800//    // Example sending a request using the RenderUiTemplateRequest method.
5801//    req, resp := client.RenderUiTemplateRequest(params)
5802//
5803//    err := req.Send()
5804//    if err == nil { // resp is now filled
5805//        fmt.Println(resp)
5806//    }
5807//
5808// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RenderUiTemplate
5809func (c *SageMaker) RenderUiTemplateRequest(input *RenderUiTemplateInput) (req *request.Request, output *RenderUiTemplateOutput) {
5810	op := &request.Operation{
5811		Name:       opRenderUiTemplate,
5812		HTTPMethod: "POST",
5813		HTTPPath:   "/",
5814	}
5815
5816	if input == nil {
5817		input = &RenderUiTemplateInput{}
5818	}
5819
5820	output = &RenderUiTemplateOutput{}
5821	req = c.newRequest(op, input, output)
5822	return
5823}
5824
5825// RenderUiTemplate API operation for Amazon SageMaker Service.
5826//
5827// Renders the UI template so that you can preview the worker's experience.
5828//
5829// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5830// with awserr.Error's Code and Message methods to get detailed information about
5831// the error.
5832//
5833// See the AWS API reference guide for Amazon SageMaker Service's
5834// API operation RenderUiTemplate for usage and error information.
5835// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/RenderUiTemplate
5836func (c *SageMaker) RenderUiTemplate(input *RenderUiTemplateInput) (*RenderUiTemplateOutput, error) {
5837	req, out := c.RenderUiTemplateRequest(input)
5838	return out, req.Send()
5839}
5840
5841// RenderUiTemplateWithContext is the same as RenderUiTemplate with the addition of
5842// the ability to pass a context and additional request options.
5843//
5844// See RenderUiTemplate for details on how to use this API operation.
5845//
5846// The context must be non-nil and will be used for request cancellation. If
5847// the context is nil a panic will occur. In the future the SDK may create
5848// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5849// for more information on using Contexts.
5850func (c *SageMaker) RenderUiTemplateWithContext(ctx aws.Context, input *RenderUiTemplateInput, opts ...request.Option) (*RenderUiTemplateOutput, error) {
5851	req, out := c.RenderUiTemplateRequest(input)
5852	req.SetContext(ctx)
5853	req.ApplyOptions(opts...)
5854	return out, req.Send()
5855}
5856
5857const opSearch = "Search"
5858
5859// SearchRequest generates a "aws/request.Request" representing the
5860// client's request for the Search operation. The "output" return
5861// value will be populated with the request's response once the request completes
5862// successfully.
5863//
5864// Use "Send" method on the returned Request to send the API call to the service.
5865// the "output" return value is not valid until after Send returns without error.
5866//
5867// See Search for more information on using the Search
5868// API call, and error handling.
5869//
5870// This method is useful when you want to inject custom logic or configuration
5871// into the SDK's request lifecycle. Such as custom headers, or retry logic.
5872//
5873//
5874//    // Example sending a request using the SearchRequest method.
5875//    req, resp := client.SearchRequest(params)
5876//
5877//    err := req.Send()
5878//    if err == nil { // resp is now filled
5879//        fmt.Println(resp)
5880//    }
5881//
5882// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/Search
5883func (c *SageMaker) SearchRequest(input *SearchInput) (req *request.Request, output *SearchOutput) {
5884	op := &request.Operation{
5885		Name:       opSearch,
5886		HTTPMethod: "POST",
5887		HTTPPath:   "/",
5888		Paginator: &request.Paginator{
5889			InputTokens:     []string{"NextToken"},
5890			OutputTokens:    []string{"NextToken"},
5891			LimitToken:      "MaxResults",
5892			TruncationToken: "",
5893		},
5894	}
5895
5896	if input == nil {
5897		input = &SearchInput{}
5898	}
5899
5900	output = &SearchOutput{}
5901	req = c.newRequest(op, input, output)
5902	return
5903}
5904
5905// Search API operation for Amazon SageMaker Service.
5906//
5907// Finds Amazon SageMaker resources that match a search query. Matching resource
5908// objects are returned as a list of SearchResult objects in the response. You
5909// can sort the search results by any resource property in a ascending or descending
5910// order.
5911//
5912// You can query against the following value types: numerical, text, Booleans,
5913// and timestamps.
5914//
5915// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
5916// with awserr.Error's Code and Message methods to get detailed information about
5917// the error.
5918//
5919// See the AWS API reference guide for Amazon SageMaker Service's
5920// API operation Search for usage and error information.
5921// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/Search
5922func (c *SageMaker) Search(input *SearchInput) (*SearchOutput, error) {
5923	req, out := c.SearchRequest(input)
5924	return out, req.Send()
5925}
5926
5927// SearchWithContext is the same as Search with the addition of
5928// the ability to pass a context and additional request options.
5929//
5930// See Search for details on how to use this API operation.
5931//
5932// The context must be non-nil and will be used for request cancellation. If
5933// the context is nil a panic will occur. In the future the SDK may create
5934// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5935// for more information on using Contexts.
5936func (c *SageMaker) SearchWithContext(ctx aws.Context, input *SearchInput, opts ...request.Option) (*SearchOutput, error) {
5937	req, out := c.SearchRequest(input)
5938	req.SetContext(ctx)
5939	req.ApplyOptions(opts...)
5940	return out, req.Send()
5941}
5942
5943// SearchPages iterates over the pages of a Search operation,
5944// calling the "fn" function with the response data for each page. To stop
5945// iterating, return false from the fn function.
5946//
5947// See Search method for more information on how to use this operation.
5948//
5949// Note: This operation can generate multiple requests to a service.
5950//
5951//    // Example iterating over at most 3 pages of a Search operation.
5952//    pageNum := 0
5953//    err := client.SearchPages(params,
5954//        func(page *sagemaker.SearchOutput, lastPage bool) bool {
5955//            pageNum++
5956//            fmt.Println(page)
5957//            return pageNum <= 3
5958//        })
5959//
5960func (c *SageMaker) SearchPages(input *SearchInput, fn func(*SearchOutput, bool) bool) error {
5961	return c.SearchPagesWithContext(aws.BackgroundContext(), input, fn)
5962}
5963
5964// SearchPagesWithContext same as SearchPages except
5965// it takes a Context and allows setting request options on the pages.
5966//
5967// The context must be non-nil and will be used for request cancellation. If
5968// the context is nil a panic will occur. In the future the SDK may create
5969// sub-contexts for http.Requests. See https://golang.org/pkg/context/
5970// for more information on using Contexts.
5971func (c *SageMaker) SearchPagesWithContext(ctx aws.Context, input *SearchInput, fn func(*SearchOutput, bool) bool, opts ...request.Option) error {
5972	p := request.Pagination{
5973		NewRequest: func() (*request.Request, error) {
5974			var inCpy *SearchInput
5975			if input != nil {
5976				tmp := *input
5977				inCpy = &tmp
5978			}
5979			req, _ := c.SearchRequest(inCpy)
5980			req.SetContext(ctx)
5981			req.ApplyOptions(opts...)
5982			return req, nil
5983		},
5984	}
5985
5986	cont := true
5987	for p.Next() && cont {
5988		cont = fn(p.Page().(*SearchOutput), !p.HasNextPage())
5989	}
5990	return p.Err()
5991}
5992
5993const opStartNotebookInstance = "StartNotebookInstance"
5994
5995// StartNotebookInstanceRequest generates a "aws/request.Request" representing the
5996// client's request for the StartNotebookInstance operation. The "output" return
5997// value will be populated with the request's response once the request completes
5998// successfully.
5999//
6000// Use "Send" method on the returned Request to send the API call to the service.
6001// the "output" return value is not valid until after Send returns without error.
6002//
6003// See StartNotebookInstance for more information on using the StartNotebookInstance
6004// API call, and error handling.
6005//
6006// This method is useful when you want to inject custom logic or configuration
6007// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6008//
6009//
6010//    // Example sending a request using the StartNotebookInstanceRequest method.
6011//    req, resp := client.StartNotebookInstanceRequest(params)
6012//
6013//    err := req.Send()
6014//    if err == nil { // resp is now filled
6015//        fmt.Println(resp)
6016//    }
6017//
6018// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartNotebookInstance
6019func (c *SageMaker) StartNotebookInstanceRequest(input *StartNotebookInstanceInput) (req *request.Request, output *StartNotebookInstanceOutput) {
6020	op := &request.Operation{
6021		Name:       opStartNotebookInstance,
6022		HTTPMethod: "POST",
6023		HTTPPath:   "/",
6024	}
6025
6026	if input == nil {
6027		input = &StartNotebookInstanceInput{}
6028	}
6029
6030	output = &StartNotebookInstanceOutput{}
6031	req = c.newRequest(op, input, output)
6032	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
6033	return
6034}
6035
6036// StartNotebookInstance API operation for Amazon SageMaker Service.
6037//
6038// Launches an ML compute instance with the latest version of the libraries
6039// and attaches your ML storage volume. After configuring the notebook instance,
6040// Amazon SageMaker sets the notebook instance status to InService. A notebook
6041// instance's status must be InService before you can connect to your Jupyter
6042// notebook.
6043//
6044// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6045// with awserr.Error's Code and Message methods to get detailed information about
6046// the error.
6047//
6048// See the AWS API reference guide for Amazon SageMaker Service's
6049// API operation StartNotebookInstance for usage and error information.
6050//
6051// Returned Error Codes:
6052//   * ErrCodeResourceLimitExceeded "ResourceLimitExceeded"
6053//   You have exceeded an Amazon SageMaker resource limit. For example, you might
6054//   have too many training jobs created.
6055//
6056// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StartNotebookInstance
6057func (c *SageMaker) StartNotebookInstance(input *StartNotebookInstanceInput) (*StartNotebookInstanceOutput, error) {
6058	req, out := c.StartNotebookInstanceRequest(input)
6059	return out, req.Send()
6060}
6061
6062// StartNotebookInstanceWithContext is the same as StartNotebookInstance with the addition of
6063// the ability to pass a context and additional request options.
6064//
6065// See StartNotebookInstance for details on how to use this API operation.
6066//
6067// The context must be non-nil and will be used for request cancellation. If
6068// the context is nil a panic will occur. In the future the SDK may create
6069// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6070// for more information on using Contexts.
6071func (c *SageMaker) StartNotebookInstanceWithContext(ctx aws.Context, input *StartNotebookInstanceInput, opts ...request.Option) (*StartNotebookInstanceOutput, error) {
6072	req, out := c.StartNotebookInstanceRequest(input)
6073	req.SetContext(ctx)
6074	req.ApplyOptions(opts...)
6075	return out, req.Send()
6076}
6077
6078const opStopCompilationJob = "StopCompilationJob"
6079
6080// StopCompilationJobRequest generates a "aws/request.Request" representing the
6081// client's request for the StopCompilationJob operation. The "output" return
6082// value will be populated with the request's response once the request completes
6083// successfully.
6084//
6085// Use "Send" method on the returned Request to send the API call to the service.
6086// the "output" return value is not valid until after Send returns without error.
6087//
6088// See StopCompilationJob for more information on using the StopCompilationJob
6089// API call, and error handling.
6090//
6091// This method is useful when you want to inject custom logic or configuration
6092// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6093//
6094//
6095//    // Example sending a request using the StopCompilationJobRequest method.
6096//    req, resp := client.StopCompilationJobRequest(params)
6097//
6098//    err := req.Send()
6099//    if err == nil { // resp is now filled
6100//        fmt.Println(resp)
6101//    }
6102//
6103// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopCompilationJob
6104func (c *SageMaker) StopCompilationJobRequest(input *StopCompilationJobInput) (req *request.Request, output *StopCompilationJobOutput) {
6105	op := &request.Operation{
6106		Name:       opStopCompilationJob,
6107		HTTPMethod: "POST",
6108		HTTPPath:   "/",
6109	}
6110
6111	if input == nil {
6112		input = &StopCompilationJobInput{}
6113	}
6114
6115	output = &StopCompilationJobOutput{}
6116	req = c.newRequest(op, input, output)
6117	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
6118	return
6119}
6120
6121// StopCompilationJob API operation for Amazon SageMaker Service.
6122//
6123// Stops a model compilation job.
6124//
6125// To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal. This
6126// gracefully shuts the job down. If the job hasn't stopped, it sends the SIGKILL
6127// signal.
6128//
6129// When it receives a StopCompilationJob request, Amazon SageMaker changes the
6130// CompilationJobSummary$CompilationJobStatus of the job to Stopping. After
6131// Amazon SageMaker stops the job, it sets the CompilationJobSummary$CompilationJobStatus
6132// to Stopped.
6133//
6134// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6135// with awserr.Error's Code and Message methods to get detailed information about
6136// the error.
6137//
6138// See the AWS API reference guide for Amazon SageMaker Service's
6139// API operation StopCompilationJob for usage and error information.
6140//
6141// Returned Error Codes:
6142//   * ErrCodeResourceNotFound "ResourceNotFound"
6143//   Resource being access is not found.
6144//
6145// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopCompilationJob
6146func (c *SageMaker) StopCompilationJob(input *StopCompilationJobInput) (*StopCompilationJobOutput, error) {
6147	req, out := c.StopCompilationJobRequest(input)
6148	return out, req.Send()
6149}
6150
6151// StopCompilationJobWithContext is the same as StopCompilationJob with the addition of
6152// the ability to pass a context and additional request options.
6153//
6154// See StopCompilationJob for details on how to use this API operation.
6155//
6156// The context must be non-nil and will be used for request cancellation. If
6157// the context is nil a panic will occur. In the future the SDK may create
6158// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6159// for more information on using Contexts.
6160func (c *SageMaker) StopCompilationJobWithContext(ctx aws.Context, input *StopCompilationJobInput, opts ...request.Option) (*StopCompilationJobOutput, error) {
6161	req, out := c.StopCompilationJobRequest(input)
6162	req.SetContext(ctx)
6163	req.ApplyOptions(opts...)
6164	return out, req.Send()
6165}
6166
6167const opStopHyperParameterTuningJob = "StopHyperParameterTuningJob"
6168
6169// StopHyperParameterTuningJobRequest generates a "aws/request.Request" representing the
6170// client's request for the StopHyperParameterTuningJob operation. The "output" return
6171// value will be populated with the request's response once the request completes
6172// successfully.
6173//
6174// Use "Send" method on the returned Request to send the API call to the service.
6175// the "output" return value is not valid until after Send returns without error.
6176//
6177// See StopHyperParameterTuningJob for more information on using the StopHyperParameterTuningJob
6178// API call, and error handling.
6179//
6180// This method is useful when you want to inject custom logic or configuration
6181// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6182//
6183//
6184//    // Example sending a request using the StopHyperParameterTuningJobRequest method.
6185//    req, resp := client.StopHyperParameterTuningJobRequest(params)
6186//
6187//    err := req.Send()
6188//    if err == nil { // resp is now filled
6189//        fmt.Println(resp)
6190//    }
6191//
6192// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopHyperParameterTuningJob
6193func (c *SageMaker) StopHyperParameterTuningJobRequest(input *StopHyperParameterTuningJobInput) (req *request.Request, output *StopHyperParameterTuningJobOutput) {
6194	op := &request.Operation{
6195		Name:       opStopHyperParameterTuningJob,
6196		HTTPMethod: "POST",
6197		HTTPPath:   "/",
6198	}
6199
6200	if input == nil {
6201		input = &StopHyperParameterTuningJobInput{}
6202	}
6203
6204	output = &StopHyperParameterTuningJobOutput{}
6205	req = c.newRequest(op, input, output)
6206	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
6207	return
6208}
6209
6210// StopHyperParameterTuningJob API operation for Amazon SageMaker Service.
6211//
6212// Stops a running hyperparameter tuning job and all running training jobs that
6213// the tuning job launched.
6214//
6215// All model artifacts output from the training jobs are stored in Amazon Simple
6216// Storage Service (Amazon S3). All data that the training jobs write to Amazon
6217// CloudWatch Logs are still available in CloudWatch. After the tuning job moves
6218// to the Stopped state, it releases all reserved resources for the tuning job.
6219//
6220// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6221// with awserr.Error's Code and Message methods to get detailed information about
6222// the error.
6223//
6224// See the AWS API reference guide for Amazon SageMaker Service's
6225// API operation StopHyperParameterTuningJob for usage and error information.
6226//
6227// Returned Error Codes:
6228//   * ErrCodeResourceNotFound "ResourceNotFound"
6229//   Resource being access is not found.
6230//
6231// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopHyperParameterTuningJob
6232func (c *SageMaker) StopHyperParameterTuningJob(input *StopHyperParameterTuningJobInput) (*StopHyperParameterTuningJobOutput, error) {
6233	req, out := c.StopHyperParameterTuningJobRequest(input)
6234	return out, req.Send()
6235}
6236
6237// StopHyperParameterTuningJobWithContext is the same as StopHyperParameterTuningJob with the addition of
6238// the ability to pass a context and additional request options.
6239//
6240// See StopHyperParameterTuningJob for details on how to use this API operation.
6241//
6242// The context must be non-nil and will be used for request cancellation. If
6243// the context is nil a panic will occur. In the future the SDK may create
6244// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6245// for more information on using Contexts.
6246func (c *SageMaker) StopHyperParameterTuningJobWithContext(ctx aws.Context, input *StopHyperParameterTuningJobInput, opts ...request.Option) (*StopHyperParameterTuningJobOutput, error) {
6247	req, out := c.StopHyperParameterTuningJobRequest(input)
6248	req.SetContext(ctx)
6249	req.ApplyOptions(opts...)
6250	return out, req.Send()
6251}
6252
6253const opStopLabelingJob = "StopLabelingJob"
6254
6255// StopLabelingJobRequest generates a "aws/request.Request" representing the
6256// client's request for the StopLabelingJob operation. The "output" return
6257// value will be populated with the request's response once the request completes
6258// successfully.
6259//
6260// Use "Send" method on the returned Request to send the API call to the service.
6261// the "output" return value is not valid until after Send returns without error.
6262//
6263// See StopLabelingJob for more information on using the StopLabelingJob
6264// API call, and error handling.
6265//
6266// This method is useful when you want to inject custom logic or configuration
6267// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6268//
6269//
6270//    // Example sending a request using the StopLabelingJobRequest method.
6271//    req, resp := client.StopLabelingJobRequest(params)
6272//
6273//    err := req.Send()
6274//    if err == nil { // resp is now filled
6275//        fmt.Println(resp)
6276//    }
6277//
6278// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopLabelingJob
6279func (c *SageMaker) StopLabelingJobRequest(input *StopLabelingJobInput) (req *request.Request, output *StopLabelingJobOutput) {
6280	op := &request.Operation{
6281		Name:       opStopLabelingJob,
6282		HTTPMethod: "POST",
6283		HTTPPath:   "/",
6284	}
6285
6286	if input == nil {
6287		input = &StopLabelingJobInput{}
6288	}
6289
6290	output = &StopLabelingJobOutput{}
6291	req = c.newRequest(op, input, output)
6292	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
6293	return
6294}
6295
6296// StopLabelingJob API operation for Amazon SageMaker Service.
6297//
6298// Stops a running labeling job. A job that is stopped cannot be restarted.
6299// Any results obtained before the job is stopped are placed in the Amazon S3
6300// output bucket.
6301//
6302// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6303// with awserr.Error's Code and Message methods to get detailed information about
6304// the error.
6305//
6306// See the AWS API reference guide for Amazon SageMaker Service's
6307// API operation StopLabelingJob for usage and error information.
6308//
6309// Returned Error Codes:
6310//   * ErrCodeResourceNotFound "ResourceNotFound"
6311//   Resource being access is not found.
6312//
6313// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopLabelingJob
6314func (c *SageMaker) StopLabelingJob(input *StopLabelingJobInput) (*StopLabelingJobOutput, error) {
6315	req, out := c.StopLabelingJobRequest(input)
6316	return out, req.Send()
6317}
6318
6319// StopLabelingJobWithContext is the same as StopLabelingJob with the addition of
6320// the ability to pass a context and additional request options.
6321//
6322// See StopLabelingJob for details on how to use this API operation.
6323//
6324// The context must be non-nil and will be used for request cancellation. If
6325// the context is nil a panic will occur. In the future the SDK may create
6326// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6327// for more information on using Contexts.
6328func (c *SageMaker) StopLabelingJobWithContext(ctx aws.Context, input *StopLabelingJobInput, opts ...request.Option) (*StopLabelingJobOutput, error) {
6329	req, out := c.StopLabelingJobRequest(input)
6330	req.SetContext(ctx)
6331	req.ApplyOptions(opts...)
6332	return out, req.Send()
6333}
6334
6335const opStopNotebookInstance = "StopNotebookInstance"
6336
6337// StopNotebookInstanceRequest generates a "aws/request.Request" representing the
6338// client's request for the StopNotebookInstance operation. The "output" return
6339// value will be populated with the request's response once the request completes
6340// successfully.
6341//
6342// Use "Send" method on the returned Request to send the API call to the service.
6343// the "output" return value is not valid until after Send returns without error.
6344//
6345// See StopNotebookInstance for more information on using the StopNotebookInstance
6346// API call, and error handling.
6347//
6348// This method is useful when you want to inject custom logic or configuration
6349// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6350//
6351//
6352//    // Example sending a request using the StopNotebookInstanceRequest method.
6353//    req, resp := client.StopNotebookInstanceRequest(params)
6354//
6355//    err := req.Send()
6356//    if err == nil { // resp is now filled
6357//        fmt.Println(resp)
6358//    }
6359//
6360// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopNotebookInstance
6361func (c *SageMaker) StopNotebookInstanceRequest(input *StopNotebookInstanceInput) (req *request.Request, output *StopNotebookInstanceOutput) {
6362	op := &request.Operation{
6363		Name:       opStopNotebookInstance,
6364		HTTPMethod: "POST",
6365		HTTPPath:   "/",
6366	}
6367
6368	if input == nil {
6369		input = &StopNotebookInstanceInput{}
6370	}
6371
6372	output = &StopNotebookInstanceOutput{}
6373	req = c.newRequest(op, input, output)
6374	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
6375	return
6376}
6377
6378// StopNotebookInstance API operation for Amazon SageMaker Service.
6379//
6380// Terminates the ML compute instance. Before terminating the instance, Amazon
6381// SageMaker disconnects the ML storage volume from it. Amazon SageMaker preserves
6382// the ML storage volume. Amazon SageMaker stops charging you for the ML compute
6383// instance when you call StopNotebookInstance.
6384//
6385// To access data on the ML storage volume for a notebook instance that has
6386// been terminated, call the StartNotebookInstance API. StartNotebookInstance
6387// launches another ML compute instance, configures it, and attaches the preserved
6388// ML storage volume so you can continue your work.
6389//
6390// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6391// with awserr.Error's Code and Message methods to get detailed information about
6392// the error.
6393//
6394// See the AWS API reference guide for Amazon SageMaker Service's
6395// API operation StopNotebookInstance for usage and error information.
6396// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopNotebookInstance
6397func (c *SageMaker) StopNotebookInstance(input *StopNotebookInstanceInput) (*StopNotebookInstanceOutput, error) {
6398	req, out := c.StopNotebookInstanceRequest(input)
6399	return out, req.Send()
6400}
6401
6402// StopNotebookInstanceWithContext is the same as StopNotebookInstance with the addition of
6403// the ability to pass a context and additional request options.
6404//
6405// See StopNotebookInstance for details on how to use this API operation.
6406//
6407// The context must be non-nil and will be used for request cancellation. If
6408// the context is nil a panic will occur. In the future the SDK may create
6409// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6410// for more information on using Contexts.
6411func (c *SageMaker) StopNotebookInstanceWithContext(ctx aws.Context, input *StopNotebookInstanceInput, opts ...request.Option) (*StopNotebookInstanceOutput, error) {
6412	req, out := c.StopNotebookInstanceRequest(input)
6413	req.SetContext(ctx)
6414	req.ApplyOptions(opts...)
6415	return out, req.Send()
6416}
6417
6418const opStopTrainingJob = "StopTrainingJob"
6419
6420// StopTrainingJobRequest generates a "aws/request.Request" representing the
6421// client's request for the StopTrainingJob operation. The "output" return
6422// value will be populated with the request's response once the request completes
6423// successfully.
6424//
6425// Use "Send" method on the returned Request to send the API call to the service.
6426// the "output" return value is not valid until after Send returns without error.
6427//
6428// See StopTrainingJob for more information on using the StopTrainingJob
6429// API call, and error handling.
6430//
6431// This method is useful when you want to inject custom logic or configuration
6432// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6433//
6434//
6435//    // Example sending a request using the StopTrainingJobRequest method.
6436//    req, resp := client.StopTrainingJobRequest(params)
6437//
6438//    err := req.Send()
6439//    if err == nil { // resp is now filled
6440//        fmt.Println(resp)
6441//    }
6442//
6443// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopTrainingJob
6444func (c *SageMaker) StopTrainingJobRequest(input *StopTrainingJobInput) (req *request.Request, output *StopTrainingJobOutput) {
6445	op := &request.Operation{
6446		Name:       opStopTrainingJob,
6447		HTTPMethod: "POST",
6448		HTTPPath:   "/",
6449	}
6450
6451	if input == nil {
6452		input = &StopTrainingJobInput{}
6453	}
6454
6455	output = &StopTrainingJobOutput{}
6456	req = c.newRequest(op, input, output)
6457	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
6458	return
6459}
6460
6461// StopTrainingJob API operation for Amazon SageMaker Service.
6462//
6463// Stops a training job. To stop a job, Amazon SageMaker sends the algorithm
6464// the SIGTERM signal, which delays job termination for 120 seconds. Algorithms
6465// might use this 120-second window to save the model artifacts, so the results
6466// of the training is not lost.
6467//
6468// When it receives a StopTrainingJob request, Amazon SageMaker changes the
6469// status of the job to Stopping. After Amazon SageMaker stops the job, it sets
6470// the status to Stopped.
6471//
6472// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6473// with awserr.Error's Code and Message methods to get detailed information about
6474// the error.
6475//
6476// See the AWS API reference guide for Amazon SageMaker Service's
6477// API operation StopTrainingJob for usage and error information.
6478//
6479// Returned Error Codes:
6480//   * ErrCodeResourceNotFound "ResourceNotFound"
6481//   Resource being access is not found.
6482//
6483// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopTrainingJob
6484func (c *SageMaker) StopTrainingJob(input *StopTrainingJobInput) (*StopTrainingJobOutput, error) {
6485	req, out := c.StopTrainingJobRequest(input)
6486	return out, req.Send()
6487}
6488
6489// StopTrainingJobWithContext is the same as StopTrainingJob with the addition of
6490// the ability to pass a context and additional request options.
6491//
6492// See StopTrainingJob for details on how to use this API operation.
6493//
6494// The context must be non-nil and will be used for request cancellation. If
6495// the context is nil a panic will occur. In the future the SDK may create
6496// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6497// for more information on using Contexts.
6498func (c *SageMaker) StopTrainingJobWithContext(ctx aws.Context, input *StopTrainingJobInput, opts ...request.Option) (*StopTrainingJobOutput, error) {
6499	req, out := c.StopTrainingJobRequest(input)
6500	req.SetContext(ctx)
6501	req.ApplyOptions(opts...)
6502	return out, req.Send()
6503}
6504
6505const opStopTransformJob = "StopTransformJob"
6506
6507// StopTransformJobRequest generates a "aws/request.Request" representing the
6508// client's request for the StopTransformJob operation. The "output" return
6509// value will be populated with the request's response once the request completes
6510// successfully.
6511//
6512// Use "Send" method on the returned Request to send the API call to the service.
6513// the "output" return value is not valid until after Send returns without error.
6514//
6515// See StopTransformJob for more information on using the StopTransformJob
6516// API call, and error handling.
6517//
6518// This method is useful when you want to inject custom logic or configuration
6519// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6520//
6521//
6522//    // Example sending a request using the StopTransformJobRequest method.
6523//    req, resp := client.StopTransformJobRequest(params)
6524//
6525//    err := req.Send()
6526//    if err == nil { // resp is now filled
6527//        fmt.Println(resp)
6528//    }
6529//
6530// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopTransformJob
6531func (c *SageMaker) StopTransformJobRequest(input *StopTransformJobInput) (req *request.Request, output *StopTransformJobOutput) {
6532	op := &request.Operation{
6533		Name:       opStopTransformJob,
6534		HTTPMethod: "POST",
6535		HTTPPath:   "/",
6536	}
6537
6538	if input == nil {
6539		input = &StopTransformJobInput{}
6540	}
6541
6542	output = &StopTransformJobOutput{}
6543	req = c.newRequest(op, input, output)
6544	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
6545	return
6546}
6547
6548// StopTransformJob API operation for Amazon SageMaker Service.
6549//
6550// Stops a transform job.
6551//
6552// When Amazon SageMaker receives a StopTransformJob request, the status of
6553// the job changes to Stopping. After Amazon SageMaker stops the job, the status
6554// is set to Stopped. When you stop a transform job before it is completed,
6555// Amazon SageMaker doesn't store the job's output in Amazon S3.
6556//
6557// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6558// with awserr.Error's Code and Message methods to get detailed information about
6559// the error.
6560//
6561// See the AWS API reference guide for Amazon SageMaker Service's
6562// API operation StopTransformJob for usage and error information.
6563//
6564// Returned Error Codes:
6565//   * ErrCodeResourceNotFound "ResourceNotFound"
6566//   Resource being access is not found.
6567//
6568// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/StopTransformJob
6569func (c *SageMaker) StopTransformJob(input *StopTransformJobInput) (*StopTransformJobOutput, error) {
6570	req, out := c.StopTransformJobRequest(input)
6571	return out, req.Send()
6572}
6573
6574// StopTransformJobWithContext is the same as StopTransformJob with the addition of
6575// the ability to pass a context and additional request options.
6576//
6577// See StopTransformJob for details on how to use this API operation.
6578//
6579// The context must be non-nil and will be used for request cancellation. If
6580// the context is nil a panic will occur. In the future the SDK may create
6581// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6582// for more information on using Contexts.
6583func (c *SageMaker) StopTransformJobWithContext(ctx aws.Context, input *StopTransformJobInput, opts ...request.Option) (*StopTransformJobOutput, error) {
6584	req, out := c.StopTransformJobRequest(input)
6585	req.SetContext(ctx)
6586	req.ApplyOptions(opts...)
6587	return out, req.Send()
6588}
6589
6590const opUpdateCodeRepository = "UpdateCodeRepository"
6591
6592// UpdateCodeRepositoryRequest generates a "aws/request.Request" representing the
6593// client's request for the UpdateCodeRepository operation. The "output" return
6594// value will be populated with the request's response once the request completes
6595// successfully.
6596//
6597// Use "Send" method on the returned Request to send the API call to the service.
6598// the "output" return value is not valid until after Send returns without error.
6599//
6600// See UpdateCodeRepository for more information on using the UpdateCodeRepository
6601// API call, and error handling.
6602//
6603// This method is useful when you want to inject custom logic or configuration
6604// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6605//
6606//
6607//    // Example sending a request using the UpdateCodeRepositoryRequest method.
6608//    req, resp := client.UpdateCodeRepositoryRequest(params)
6609//
6610//    err := req.Send()
6611//    if err == nil { // resp is now filled
6612//        fmt.Println(resp)
6613//    }
6614//
6615// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateCodeRepository
6616func (c *SageMaker) UpdateCodeRepositoryRequest(input *UpdateCodeRepositoryInput) (req *request.Request, output *UpdateCodeRepositoryOutput) {
6617	op := &request.Operation{
6618		Name:       opUpdateCodeRepository,
6619		HTTPMethod: "POST",
6620		HTTPPath:   "/",
6621	}
6622
6623	if input == nil {
6624		input = &UpdateCodeRepositoryInput{}
6625	}
6626
6627	output = &UpdateCodeRepositoryOutput{}
6628	req = c.newRequest(op, input, output)
6629	return
6630}
6631
6632// UpdateCodeRepository API operation for Amazon SageMaker Service.
6633//
6634// Updates the specified Git repository with the specified values.
6635//
6636// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6637// with awserr.Error's Code and Message methods to get detailed information about
6638// the error.
6639//
6640// See the AWS API reference guide for Amazon SageMaker Service's
6641// API operation UpdateCodeRepository for usage and error information.
6642// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateCodeRepository
6643func (c *SageMaker) UpdateCodeRepository(input *UpdateCodeRepositoryInput) (*UpdateCodeRepositoryOutput, error) {
6644	req, out := c.UpdateCodeRepositoryRequest(input)
6645	return out, req.Send()
6646}
6647
6648// UpdateCodeRepositoryWithContext is the same as UpdateCodeRepository with the addition of
6649// the ability to pass a context and additional request options.
6650//
6651// See UpdateCodeRepository for details on how to use this API operation.
6652//
6653// The context must be non-nil and will be used for request cancellation. If
6654// the context is nil a panic will occur. In the future the SDK may create
6655// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6656// for more information on using Contexts.
6657func (c *SageMaker) UpdateCodeRepositoryWithContext(ctx aws.Context, input *UpdateCodeRepositoryInput, opts ...request.Option) (*UpdateCodeRepositoryOutput, error) {
6658	req, out := c.UpdateCodeRepositoryRequest(input)
6659	req.SetContext(ctx)
6660	req.ApplyOptions(opts...)
6661	return out, req.Send()
6662}
6663
6664const opUpdateEndpoint = "UpdateEndpoint"
6665
6666// UpdateEndpointRequest generates a "aws/request.Request" representing the
6667// client's request for the UpdateEndpoint operation. The "output" return
6668// value will be populated with the request's response once the request completes
6669// successfully.
6670//
6671// Use "Send" method on the returned Request to send the API call to the service.
6672// the "output" return value is not valid until after Send returns without error.
6673//
6674// See UpdateEndpoint for more information on using the UpdateEndpoint
6675// API call, and error handling.
6676//
6677// This method is useful when you want to inject custom logic or configuration
6678// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6679//
6680//
6681//    // Example sending a request using the UpdateEndpointRequest method.
6682//    req, resp := client.UpdateEndpointRequest(params)
6683//
6684//    err := req.Send()
6685//    if err == nil { // resp is now filled
6686//        fmt.Println(resp)
6687//    }
6688//
6689// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpoint
6690func (c *SageMaker) UpdateEndpointRequest(input *UpdateEndpointInput) (req *request.Request, output *UpdateEndpointOutput) {
6691	op := &request.Operation{
6692		Name:       opUpdateEndpoint,
6693		HTTPMethod: "POST",
6694		HTTPPath:   "/",
6695	}
6696
6697	if input == nil {
6698		input = &UpdateEndpointInput{}
6699	}
6700
6701	output = &UpdateEndpointOutput{}
6702	req = c.newRequest(op, input, output)
6703	return
6704}
6705
6706// UpdateEndpoint API operation for Amazon SageMaker Service.
6707//
6708// Deploys the new EndpointConfig specified in the request, switches to using
6709// newly created endpoint, and then deletes resources provisioned for the endpoint
6710// using the previous EndpointConfig (there is no availability loss).
6711//
6712// When Amazon SageMaker receives the request, it sets the endpoint status to
6713// Updating. After updating the endpoint, it sets the status to InService. To
6714// check the status of an endpoint, use the DescribeEndpoint (https://docs.aws.amazon.com/sagemaker/latest/dg/API_DescribeEndpoint.html)
6715// API.
6716//
6717// You must not delete an EndpointConfig in use by an endpoint that is live
6718// or while the UpdateEndpoint or CreateEndpoint operations are being performed
6719// on the endpoint. To update an endpoint, you must create a new EndpointConfig.
6720//
6721// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6722// with awserr.Error's Code and Message methods to get detailed information about
6723// the error.
6724//
6725// See the AWS API reference guide for Amazon SageMaker Service's
6726// API operation UpdateEndpoint for usage and error information.
6727//
6728// Returned Error Codes:
6729//   * ErrCodeResourceLimitExceeded "ResourceLimitExceeded"
6730//   You have exceeded an Amazon SageMaker resource limit. For example, you might
6731//   have too many training jobs created.
6732//
6733// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpoint
6734func (c *SageMaker) UpdateEndpoint(input *UpdateEndpointInput) (*UpdateEndpointOutput, error) {
6735	req, out := c.UpdateEndpointRequest(input)
6736	return out, req.Send()
6737}
6738
6739// UpdateEndpointWithContext is the same as UpdateEndpoint with the addition of
6740// the ability to pass a context and additional request options.
6741//
6742// See UpdateEndpoint for details on how to use this API operation.
6743//
6744// The context must be non-nil and will be used for request cancellation. If
6745// the context is nil a panic will occur. In the future the SDK may create
6746// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6747// for more information on using Contexts.
6748func (c *SageMaker) UpdateEndpointWithContext(ctx aws.Context, input *UpdateEndpointInput, opts ...request.Option) (*UpdateEndpointOutput, error) {
6749	req, out := c.UpdateEndpointRequest(input)
6750	req.SetContext(ctx)
6751	req.ApplyOptions(opts...)
6752	return out, req.Send()
6753}
6754
6755const opUpdateEndpointWeightsAndCapacities = "UpdateEndpointWeightsAndCapacities"
6756
6757// UpdateEndpointWeightsAndCapacitiesRequest generates a "aws/request.Request" representing the
6758// client's request for the UpdateEndpointWeightsAndCapacities operation. The "output" return
6759// value will be populated with the request's response once the request completes
6760// successfully.
6761//
6762// Use "Send" method on the returned Request to send the API call to the service.
6763// the "output" return value is not valid until after Send returns without error.
6764//
6765// See UpdateEndpointWeightsAndCapacities for more information on using the UpdateEndpointWeightsAndCapacities
6766// API call, and error handling.
6767//
6768// This method is useful when you want to inject custom logic or configuration
6769// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6770//
6771//
6772//    // Example sending a request using the UpdateEndpointWeightsAndCapacitiesRequest method.
6773//    req, resp := client.UpdateEndpointWeightsAndCapacitiesRequest(params)
6774//
6775//    err := req.Send()
6776//    if err == nil { // resp is now filled
6777//        fmt.Println(resp)
6778//    }
6779//
6780// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpointWeightsAndCapacities
6781func (c *SageMaker) UpdateEndpointWeightsAndCapacitiesRequest(input *UpdateEndpointWeightsAndCapacitiesInput) (req *request.Request, output *UpdateEndpointWeightsAndCapacitiesOutput) {
6782	op := &request.Operation{
6783		Name:       opUpdateEndpointWeightsAndCapacities,
6784		HTTPMethod: "POST",
6785		HTTPPath:   "/",
6786	}
6787
6788	if input == nil {
6789		input = &UpdateEndpointWeightsAndCapacitiesInput{}
6790	}
6791
6792	output = &UpdateEndpointWeightsAndCapacitiesOutput{}
6793	req = c.newRequest(op, input, output)
6794	return
6795}
6796
6797// UpdateEndpointWeightsAndCapacities API operation for Amazon SageMaker Service.
6798//
6799// Updates variant weight of one or more variants associated with an existing
6800// endpoint, or capacity of one variant associated with an existing endpoint.
6801// When it receives the request, Amazon SageMaker sets the endpoint status to
6802// Updating. After updating the endpoint, it sets the status to InService. To
6803// check the status of an endpoint, use the DescribeEndpoint (https://docs.aws.amazon.com/sagemaker/latest/dg/API_DescribeEndpoint.html)
6804// API.
6805//
6806// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6807// with awserr.Error's Code and Message methods to get detailed information about
6808// the error.
6809//
6810// See the AWS API reference guide for Amazon SageMaker Service's
6811// API operation UpdateEndpointWeightsAndCapacities for usage and error information.
6812//
6813// Returned Error Codes:
6814//   * ErrCodeResourceLimitExceeded "ResourceLimitExceeded"
6815//   You have exceeded an Amazon SageMaker resource limit. For example, you might
6816//   have too many training jobs created.
6817//
6818// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateEndpointWeightsAndCapacities
6819func (c *SageMaker) UpdateEndpointWeightsAndCapacities(input *UpdateEndpointWeightsAndCapacitiesInput) (*UpdateEndpointWeightsAndCapacitiesOutput, error) {
6820	req, out := c.UpdateEndpointWeightsAndCapacitiesRequest(input)
6821	return out, req.Send()
6822}
6823
6824// UpdateEndpointWeightsAndCapacitiesWithContext is the same as UpdateEndpointWeightsAndCapacities with the addition of
6825// the ability to pass a context and additional request options.
6826//
6827// See UpdateEndpointWeightsAndCapacities for details on how to use this API operation.
6828//
6829// The context must be non-nil and will be used for request cancellation. If
6830// the context is nil a panic will occur. In the future the SDK may create
6831// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6832// for more information on using Contexts.
6833func (c *SageMaker) UpdateEndpointWeightsAndCapacitiesWithContext(ctx aws.Context, input *UpdateEndpointWeightsAndCapacitiesInput, opts ...request.Option) (*UpdateEndpointWeightsAndCapacitiesOutput, error) {
6834	req, out := c.UpdateEndpointWeightsAndCapacitiesRequest(input)
6835	req.SetContext(ctx)
6836	req.ApplyOptions(opts...)
6837	return out, req.Send()
6838}
6839
6840const opUpdateNotebookInstance = "UpdateNotebookInstance"
6841
6842// UpdateNotebookInstanceRequest generates a "aws/request.Request" representing the
6843// client's request for the UpdateNotebookInstance operation. The "output" return
6844// value will be populated with the request's response once the request completes
6845// successfully.
6846//
6847// Use "Send" method on the returned Request to send the API call to the service.
6848// the "output" return value is not valid until after Send returns without error.
6849//
6850// See UpdateNotebookInstance for more information on using the UpdateNotebookInstance
6851// API call, and error handling.
6852//
6853// This method is useful when you want to inject custom logic or configuration
6854// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6855//
6856//
6857//    // Example sending a request using the UpdateNotebookInstanceRequest method.
6858//    req, resp := client.UpdateNotebookInstanceRequest(params)
6859//
6860//    err := req.Send()
6861//    if err == nil { // resp is now filled
6862//        fmt.Println(resp)
6863//    }
6864//
6865// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateNotebookInstance
6866func (c *SageMaker) UpdateNotebookInstanceRequest(input *UpdateNotebookInstanceInput) (req *request.Request, output *UpdateNotebookInstanceOutput) {
6867	op := &request.Operation{
6868		Name:       opUpdateNotebookInstance,
6869		HTTPMethod: "POST",
6870		HTTPPath:   "/",
6871	}
6872
6873	if input == nil {
6874		input = &UpdateNotebookInstanceInput{}
6875	}
6876
6877	output = &UpdateNotebookInstanceOutput{}
6878	req = c.newRequest(op, input, output)
6879	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
6880	return
6881}
6882
6883// UpdateNotebookInstance API operation for Amazon SageMaker Service.
6884//
6885// Updates a notebook instance. NotebookInstance updates include upgrading or
6886// downgrading the ML compute instance used for your notebook instance to accommodate
6887// changes in your workload requirements.
6888//
6889// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6890// with awserr.Error's Code and Message methods to get detailed information about
6891// the error.
6892//
6893// See the AWS API reference guide for Amazon SageMaker Service's
6894// API operation UpdateNotebookInstance for usage and error information.
6895//
6896// Returned Error Codes:
6897//   * ErrCodeResourceLimitExceeded "ResourceLimitExceeded"
6898//   You have exceeded an Amazon SageMaker resource limit. For example, you might
6899//   have too many training jobs created.
6900//
6901// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateNotebookInstance
6902func (c *SageMaker) UpdateNotebookInstance(input *UpdateNotebookInstanceInput) (*UpdateNotebookInstanceOutput, error) {
6903	req, out := c.UpdateNotebookInstanceRequest(input)
6904	return out, req.Send()
6905}
6906
6907// UpdateNotebookInstanceWithContext is the same as UpdateNotebookInstance with the addition of
6908// the ability to pass a context and additional request options.
6909//
6910// See UpdateNotebookInstance for details on how to use this API operation.
6911//
6912// The context must be non-nil and will be used for request cancellation. If
6913// the context is nil a panic will occur. In the future the SDK may create
6914// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6915// for more information on using Contexts.
6916func (c *SageMaker) UpdateNotebookInstanceWithContext(ctx aws.Context, input *UpdateNotebookInstanceInput, opts ...request.Option) (*UpdateNotebookInstanceOutput, error) {
6917	req, out := c.UpdateNotebookInstanceRequest(input)
6918	req.SetContext(ctx)
6919	req.ApplyOptions(opts...)
6920	return out, req.Send()
6921}
6922
6923const opUpdateNotebookInstanceLifecycleConfig = "UpdateNotebookInstanceLifecycleConfig"
6924
6925// UpdateNotebookInstanceLifecycleConfigRequest generates a "aws/request.Request" representing the
6926// client's request for the UpdateNotebookInstanceLifecycleConfig operation. The "output" return
6927// value will be populated with the request's response once the request completes
6928// successfully.
6929//
6930// Use "Send" method on the returned Request to send the API call to the service.
6931// the "output" return value is not valid until after Send returns without error.
6932//
6933// See UpdateNotebookInstanceLifecycleConfig for more information on using the UpdateNotebookInstanceLifecycleConfig
6934// API call, and error handling.
6935//
6936// This method is useful when you want to inject custom logic or configuration
6937// into the SDK's request lifecycle. Such as custom headers, or retry logic.
6938//
6939//
6940//    // Example sending a request using the UpdateNotebookInstanceLifecycleConfigRequest method.
6941//    req, resp := client.UpdateNotebookInstanceLifecycleConfigRequest(params)
6942//
6943//    err := req.Send()
6944//    if err == nil { // resp is now filled
6945//        fmt.Println(resp)
6946//    }
6947//
6948// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateNotebookInstanceLifecycleConfig
6949func (c *SageMaker) UpdateNotebookInstanceLifecycleConfigRequest(input *UpdateNotebookInstanceLifecycleConfigInput) (req *request.Request, output *UpdateNotebookInstanceLifecycleConfigOutput) {
6950	op := &request.Operation{
6951		Name:       opUpdateNotebookInstanceLifecycleConfig,
6952		HTTPMethod: "POST",
6953		HTTPPath:   "/",
6954	}
6955
6956	if input == nil {
6957		input = &UpdateNotebookInstanceLifecycleConfigInput{}
6958	}
6959
6960	output = &UpdateNotebookInstanceLifecycleConfigOutput{}
6961	req = c.newRequest(op, input, output)
6962	req.Handlers.Unmarshal.Swap(jsonrpc.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
6963	return
6964}
6965
6966// UpdateNotebookInstanceLifecycleConfig API operation for Amazon SageMaker Service.
6967//
6968// Updates a notebook instance lifecycle configuration created with the CreateNotebookInstanceLifecycleConfig
6969// API.
6970//
6971// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
6972// with awserr.Error's Code and Message methods to get detailed information about
6973// the error.
6974//
6975// See the AWS API reference guide for Amazon SageMaker Service's
6976// API operation UpdateNotebookInstanceLifecycleConfig for usage and error information.
6977//
6978// Returned Error Codes:
6979//   * ErrCodeResourceLimitExceeded "ResourceLimitExceeded"
6980//   You have exceeded an Amazon SageMaker resource limit. For example, you might
6981//   have too many training jobs created.
6982//
6983// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateNotebookInstanceLifecycleConfig
6984func (c *SageMaker) UpdateNotebookInstanceLifecycleConfig(input *UpdateNotebookInstanceLifecycleConfigInput) (*UpdateNotebookInstanceLifecycleConfigOutput, error) {
6985	req, out := c.UpdateNotebookInstanceLifecycleConfigRequest(input)
6986	return out, req.Send()
6987}
6988
6989// UpdateNotebookInstanceLifecycleConfigWithContext is the same as UpdateNotebookInstanceLifecycleConfig with the addition of
6990// the ability to pass a context and additional request options.
6991//
6992// See UpdateNotebookInstanceLifecycleConfig for details on how to use this API operation.
6993//
6994// The context must be non-nil and will be used for request cancellation. If
6995// the context is nil a panic will occur. In the future the SDK may create
6996// sub-contexts for http.Requests. See https://golang.org/pkg/context/
6997// for more information on using Contexts.
6998func (c *SageMaker) UpdateNotebookInstanceLifecycleConfigWithContext(ctx aws.Context, input *UpdateNotebookInstanceLifecycleConfigInput, opts ...request.Option) (*UpdateNotebookInstanceLifecycleConfigOutput, error) {
6999	req, out := c.UpdateNotebookInstanceLifecycleConfigRequest(input)
7000	req.SetContext(ctx)
7001	req.ApplyOptions(opts...)
7002	return out, req.Send()
7003}
7004
7005const opUpdateWorkteam = "UpdateWorkteam"
7006
7007// UpdateWorkteamRequest generates a "aws/request.Request" representing the
7008// client's request for the UpdateWorkteam operation. The "output" return
7009// value will be populated with the request's response once the request completes
7010// successfully.
7011//
7012// Use "Send" method on the returned Request to send the API call to the service.
7013// the "output" return value is not valid until after Send returns without error.
7014//
7015// See UpdateWorkteam for more information on using the UpdateWorkteam
7016// API call, and error handling.
7017//
7018// This method is useful when you want to inject custom logic or configuration
7019// into the SDK's request lifecycle. Such as custom headers, or retry logic.
7020//
7021//
7022//    // Example sending a request using the UpdateWorkteamRequest method.
7023//    req, resp := client.UpdateWorkteamRequest(params)
7024//
7025//    err := req.Send()
7026//    if err == nil { // resp is now filled
7027//        fmt.Println(resp)
7028//    }
7029//
7030// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateWorkteam
7031func (c *SageMaker) UpdateWorkteamRequest(input *UpdateWorkteamInput) (req *request.Request, output *UpdateWorkteamOutput) {
7032	op := &request.Operation{
7033		Name:       opUpdateWorkteam,
7034		HTTPMethod: "POST",
7035		HTTPPath:   "/",
7036	}
7037
7038	if input == nil {
7039		input = &UpdateWorkteamInput{}
7040	}
7041
7042	output = &UpdateWorkteamOutput{}
7043	req = c.newRequest(op, input, output)
7044	return
7045}
7046
7047// UpdateWorkteam API operation for Amazon SageMaker Service.
7048//
7049// Updates an existing work team with new member definitions or description.
7050//
7051// Returns awserr.Error for service API and SDK errors. Use runtime type assertions
7052// with awserr.Error's Code and Message methods to get detailed information about
7053// the error.
7054//
7055// See the AWS API reference guide for Amazon SageMaker Service's
7056// API operation UpdateWorkteam for usage and error information.
7057//
7058// Returned Error Codes:
7059//   * ErrCodeResourceLimitExceeded "ResourceLimitExceeded"
7060//   You have exceeded an Amazon SageMaker resource limit. For example, you might
7061//   have too many training jobs created.
7062//
7063// See also, https://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/UpdateWorkteam
7064func (c *SageMaker) UpdateWorkteam(input *UpdateWorkteamInput) (*UpdateWorkteamOutput, error) {
7065	req, out := c.UpdateWorkteamRequest(input)
7066	return out, req.Send()
7067}
7068
7069// UpdateWorkteamWithContext is the same as UpdateWorkteam with the addition of
7070// the ability to pass a context and additional request options.
7071//
7072// See UpdateWorkteam for details on how to use this API operation.
7073//
7074// The context must be non-nil and will be used for request cancellation. If
7075// the context is nil a panic will occur. In the future the SDK may create
7076// sub-contexts for http.Requests. See https://golang.org/pkg/context/
7077// for more information on using Contexts.
7078func (c *SageMaker) UpdateWorkteamWithContext(ctx aws.Context, input *UpdateWorkteamInput, opts ...request.Option) (*UpdateWorkteamOutput, error) {
7079	req, out := c.UpdateWorkteamRequest(input)
7080	req.SetContext(ctx)
7081	req.ApplyOptions(opts...)
7082	return out, req.Send()
7083}
7084
7085type AddTagsInput struct {
7086	_ struct{} `type:"structure"`
7087
7088	// The Amazon Resource Name (ARN) of the resource that you want to tag.
7089	//
7090	// ResourceArn is a required field
7091	ResourceArn *string `type:"string" required:"true"`
7092
7093	// An array of Tag objects. Each tag is a key-value pair. Only the key parameter
7094	// is required. If you don't specify a value, Amazon SageMaker sets the value
7095	// to an empty string.
7096	//
7097	// Tags is a required field
7098	Tags []*Tag `type:"list" required:"true"`
7099}
7100
7101// String returns the string representation
7102func (s AddTagsInput) String() string {
7103	return awsutil.Prettify(s)
7104}
7105
7106// GoString returns the string representation
7107func (s AddTagsInput) GoString() string {
7108	return s.String()
7109}
7110
7111// Validate inspects the fields of the type to determine if they are valid.
7112func (s *AddTagsInput) Validate() error {
7113	invalidParams := request.ErrInvalidParams{Context: "AddTagsInput"}
7114	if s.ResourceArn == nil {
7115		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
7116	}
7117	if s.Tags == nil {
7118		invalidParams.Add(request.NewErrParamRequired("Tags"))
7119	}
7120	if s.Tags != nil {
7121		for i, v := range s.Tags {
7122			if v == nil {
7123				continue
7124			}
7125			if err := v.Validate(); err != nil {
7126				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
7127			}
7128		}
7129	}
7130
7131	if invalidParams.Len() > 0 {
7132		return invalidParams
7133	}
7134	return nil
7135}
7136
7137// SetResourceArn sets the ResourceArn field's value.
7138func (s *AddTagsInput) SetResourceArn(v string) *AddTagsInput {
7139	s.ResourceArn = &v
7140	return s
7141}
7142
7143// SetTags sets the Tags field's value.
7144func (s *AddTagsInput) SetTags(v []*Tag) *AddTagsInput {
7145	s.Tags = v
7146	return s
7147}
7148
7149type AddTagsOutput struct {
7150	_ struct{} `type:"structure"`
7151
7152	// A list of tags associated with the Amazon SageMaker resource.
7153	Tags []*Tag `type:"list"`
7154}
7155
7156// String returns the string representation
7157func (s AddTagsOutput) String() string {
7158	return awsutil.Prettify(s)
7159}
7160
7161// GoString returns the string representation
7162func (s AddTagsOutput) GoString() string {
7163	return s.String()
7164}
7165
7166// SetTags sets the Tags field's value.
7167func (s *AddTagsOutput) SetTags(v []*Tag) *AddTagsOutput {
7168	s.Tags = v
7169	return s
7170}
7171
7172// Specifies the training algorithm to use in a CreateTrainingJob (https://docs.aws.amazon.com/sagemaker/latest/dg/API_CreateTrainingJob.html)
7173// request.
7174//
7175// For more information about algorithms provided by Amazon SageMaker, see Algorithms
7176// (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html). For information
7177// about using your own algorithms, see Using Your Own Algorithms with Amazon
7178// SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html).
7179type AlgorithmSpecification struct {
7180	_ struct{} `type:"structure"`
7181
7182	// The name of the algorithm resource to use for the training job. This must
7183	// be an algorithm resource that you created or subscribe to on AWS Marketplace.
7184	// If you specify a value for this parameter, you can't specify a value for
7185	// TrainingImage.
7186	AlgorithmName *string `min:"1" type:"string"`
7187
7188	// A list of metric definition objects. Each object specifies the metric name
7189	// and regular expressions used to parse algorithm logs. Amazon SageMaker publishes
7190	// each metric to Amazon CloudWatch.
7191	MetricDefinitions []*MetricDefinition `type:"list"`
7192
7193	// The registry path of the Docker image that contains the training algorithm.
7194	// For information about docker registry paths for built-in algorithms, see
7195	// Algorithms Provided by Amazon SageMaker: Common Parameters (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-algo-docker-registry-paths.html).
7196	// Amazon SageMaker supports both registry/repository[:tag] and registry/repository[@digest]
7197	// image path formats. For more information, see Using Your Own Algorithms with
7198	// Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html).
7199	TrainingImage *string `type:"string"`
7200
7201	// The input mode that the algorithm supports. For the input modes that Amazon
7202	// SageMaker algorithms support, see Algorithms (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html).
7203	// If an algorithm supports the File input mode, Amazon SageMaker downloads
7204	// the training data from S3 to the provisioned ML storage Volume, and mounts
7205	// the directory to docker volume for training container. If an algorithm supports
7206	// the Pipe input mode, Amazon SageMaker streams data directly from S3 to the
7207	// container.
7208	//
7209	// In File mode, make sure you provision ML storage volume with sufficient capacity
7210	// to accommodate the data download from S3. In addition to the training data,
7211	// the ML storage volume also stores the output model. The algorithm container
7212	// use ML storage volume to also store intermediate information, if any.
7213	//
7214	// For distributed algorithms using File mode, training data is distributed
7215	// uniformly, and your training duration is predictable if the input data objects
7216	// size is approximately same. Amazon SageMaker does not split the files any
7217	// further for model training. If the object sizes are skewed, training won't
7218	// be optimal as the data distribution is also skewed where one host in a training
7219	// cluster is overloaded, thus becoming bottleneck in training.
7220	//
7221	// TrainingInputMode is a required field
7222	TrainingInputMode *string `type:"string" required:"true" enum:"TrainingInputMode"`
7223}
7224
7225// String returns the string representation
7226func (s AlgorithmSpecification) String() string {
7227	return awsutil.Prettify(s)
7228}
7229
7230// GoString returns the string representation
7231func (s AlgorithmSpecification) GoString() string {
7232	return s.String()
7233}
7234
7235// Validate inspects the fields of the type to determine if they are valid.
7236func (s *AlgorithmSpecification) Validate() error {
7237	invalidParams := request.ErrInvalidParams{Context: "AlgorithmSpecification"}
7238	if s.AlgorithmName != nil && len(*s.AlgorithmName) < 1 {
7239		invalidParams.Add(request.NewErrParamMinLen("AlgorithmName", 1))
7240	}
7241	if s.TrainingInputMode == nil {
7242		invalidParams.Add(request.NewErrParamRequired("TrainingInputMode"))
7243	}
7244	if s.MetricDefinitions != nil {
7245		for i, v := range s.MetricDefinitions {
7246			if v == nil {
7247				continue
7248			}
7249			if err := v.Validate(); err != nil {
7250				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MetricDefinitions", i), err.(request.ErrInvalidParams))
7251			}
7252		}
7253	}
7254
7255	if invalidParams.Len() > 0 {
7256		return invalidParams
7257	}
7258	return nil
7259}
7260
7261// SetAlgorithmName sets the AlgorithmName field's value.
7262func (s *AlgorithmSpecification) SetAlgorithmName(v string) *AlgorithmSpecification {
7263	s.AlgorithmName = &v
7264	return s
7265}
7266
7267// SetMetricDefinitions sets the MetricDefinitions field's value.
7268func (s *AlgorithmSpecification) SetMetricDefinitions(v []*MetricDefinition) *AlgorithmSpecification {
7269	s.MetricDefinitions = v
7270	return s
7271}
7272
7273// SetTrainingImage sets the TrainingImage field's value.
7274func (s *AlgorithmSpecification) SetTrainingImage(v string) *AlgorithmSpecification {
7275	s.TrainingImage = &v
7276	return s
7277}
7278
7279// SetTrainingInputMode sets the TrainingInputMode field's value.
7280func (s *AlgorithmSpecification) SetTrainingInputMode(v string) *AlgorithmSpecification {
7281	s.TrainingInputMode = &v
7282	return s
7283}
7284
7285// Specifies the validation and image scan statuses of the algorithm.
7286type AlgorithmStatusDetails struct {
7287	_ struct{} `type:"structure"`
7288
7289	// The status of the scan of the algorithm's Docker image container.
7290	ImageScanStatuses []*AlgorithmStatusItem `type:"list"`
7291
7292	// The status of algorithm validation.
7293	ValidationStatuses []*AlgorithmStatusItem `type:"list"`
7294}
7295
7296// String returns the string representation
7297func (s AlgorithmStatusDetails) String() string {
7298	return awsutil.Prettify(s)
7299}
7300
7301// GoString returns the string representation
7302func (s AlgorithmStatusDetails) GoString() string {
7303	return s.String()
7304}
7305
7306// SetImageScanStatuses sets the ImageScanStatuses field's value.
7307func (s *AlgorithmStatusDetails) SetImageScanStatuses(v []*AlgorithmStatusItem) *AlgorithmStatusDetails {
7308	s.ImageScanStatuses = v
7309	return s
7310}
7311
7312// SetValidationStatuses sets the ValidationStatuses field's value.
7313func (s *AlgorithmStatusDetails) SetValidationStatuses(v []*AlgorithmStatusItem) *AlgorithmStatusDetails {
7314	s.ValidationStatuses = v
7315	return s
7316}
7317
7318// Represents the overall status of an algorithm.
7319type AlgorithmStatusItem struct {
7320	_ struct{} `type:"structure"`
7321
7322	// if the overall status is Failed, the reason for the failure.
7323	FailureReason *string `type:"string"`
7324
7325	// The name of the algorithm for which the overall status is being reported.
7326	//
7327	// Name is a required field
7328	Name *string `min:"1" type:"string" required:"true"`
7329
7330	// The current status.
7331	//
7332	// Status is a required field
7333	Status *string `type:"string" required:"true" enum:"DetailedAlgorithmStatus"`
7334}
7335
7336// String returns the string representation
7337func (s AlgorithmStatusItem) String() string {
7338	return awsutil.Prettify(s)
7339}
7340
7341// GoString returns the string representation
7342func (s AlgorithmStatusItem) GoString() string {
7343	return s.String()
7344}
7345
7346// SetFailureReason sets the FailureReason field's value.
7347func (s *AlgorithmStatusItem) SetFailureReason(v string) *AlgorithmStatusItem {
7348	s.FailureReason = &v
7349	return s
7350}
7351
7352// SetName sets the Name field's value.
7353func (s *AlgorithmStatusItem) SetName(v string) *AlgorithmStatusItem {
7354	s.Name = &v
7355	return s
7356}
7357
7358// SetStatus sets the Status field's value.
7359func (s *AlgorithmStatusItem) SetStatus(v string) *AlgorithmStatusItem {
7360	s.Status = &v
7361	return s
7362}
7363
7364// Provides summary information about an algorithm.
7365type AlgorithmSummary struct {
7366	_ struct{} `type:"structure"`
7367
7368	// The Amazon Resource Name (ARN) of the algorithm.
7369	//
7370	// AlgorithmArn is a required field
7371	AlgorithmArn *string `min:"1" type:"string" required:"true"`
7372
7373	// A brief description of the algorithm.
7374	AlgorithmDescription *string `type:"string"`
7375
7376	// The name of the algorithm that is described by the summary.
7377	//
7378	// AlgorithmName is a required field
7379	AlgorithmName *string `min:"1" type:"string" required:"true"`
7380
7381	// The overall status of the algorithm.
7382	//
7383	// AlgorithmStatus is a required field
7384	AlgorithmStatus *string `type:"string" required:"true" enum:"AlgorithmStatus"`
7385
7386	// A timestamp that shows when the algorithm was created.
7387	//
7388	// CreationTime is a required field
7389	CreationTime *time.Time `type:"timestamp" required:"true"`
7390}
7391
7392// String returns the string representation
7393func (s AlgorithmSummary) String() string {
7394	return awsutil.Prettify(s)
7395}
7396
7397// GoString returns the string representation
7398func (s AlgorithmSummary) GoString() string {
7399	return s.String()
7400}
7401
7402// SetAlgorithmArn sets the AlgorithmArn field's value.
7403func (s *AlgorithmSummary) SetAlgorithmArn(v string) *AlgorithmSummary {
7404	s.AlgorithmArn = &v
7405	return s
7406}
7407
7408// SetAlgorithmDescription sets the AlgorithmDescription field's value.
7409func (s *AlgorithmSummary) SetAlgorithmDescription(v string) *AlgorithmSummary {
7410	s.AlgorithmDescription = &v
7411	return s
7412}
7413
7414// SetAlgorithmName sets the AlgorithmName field's value.
7415func (s *AlgorithmSummary) SetAlgorithmName(v string) *AlgorithmSummary {
7416	s.AlgorithmName = &v
7417	return s
7418}
7419
7420// SetAlgorithmStatus sets the AlgorithmStatus field's value.
7421func (s *AlgorithmSummary) SetAlgorithmStatus(v string) *AlgorithmSummary {
7422	s.AlgorithmStatus = &v
7423	return s
7424}
7425
7426// SetCreationTime sets the CreationTime field's value.
7427func (s *AlgorithmSummary) SetCreationTime(v time.Time) *AlgorithmSummary {
7428	s.CreationTime = &v
7429	return s
7430}
7431
7432// Defines a training job and a batch transform job that Amazon SageMaker runs
7433// to validate your algorithm.
7434//
7435// The data provided in the validation profile is made available to your buyers
7436// on AWS Marketplace.
7437type AlgorithmValidationProfile struct {
7438	_ struct{} `type:"structure"`
7439
7440	// The name of the profile for the algorithm. The name must have 1 to 63 characters.
7441	// Valid characters are a-z, A-Z, 0-9, and - (hyphen).
7442	//
7443	// ProfileName is a required field
7444	ProfileName *string `min:"1" type:"string" required:"true"`
7445
7446	// The TrainingJobDefinition object that describes the training job that Amazon
7447	// SageMaker runs to validate your algorithm.
7448	//
7449	// TrainingJobDefinition is a required field
7450	TrainingJobDefinition *TrainingJobDefinition `type:"structure" required:"true"`
7451
7452	// The TransformJobDefinition object that describes the transform job that Amazon
7453	// SageMaker runs to validate your algorithm.
7454	TransformJobDefinition *TransformJobDefinition `type:"structure"`
7455}
7456
7457// String returns the string representation
7458func (s AlgorithmValidationProfile) String() string {
7459	return awsutil.Prettify(s)
7460}
7461
7462// GoString returns the string representation
7463func (s AlgorithmValidationProfile) GoString() string {
7464	return s.String()
7465}
7466
7467// Validate inspects the fields of the type to determine if they are valid.
7468func (s *AlgorithmValidationProfile) Validate() error {
7469	invalidParams := request.ErrInvalidParams{Context: "AlgorithmValidationProfile"}
7470	if s.ProfileName == nil {
7471		invalidParams.Add(request.NewErrParamRequired("ProfileName"))
7472	}
7473	if s.ProfileName != nil && len(*s.ProfileName) < 1 {
7474		invalidParams.Add(request.NewErrParamMinLen("ProfileName", 1))
7475	}
7476	if s.TrainingJobDefinition == nil {
7477		invalidParams.Add(request.NewErrParamRequired("TrainingJobDefinition"))
7478	}
7479	if s.TrainingJobDefinition != nil {
7480		if err := s.TrainingJobDefinition.Validate(); err != nil {
7481			invalidParams.AddNested("TrainingJobDefinition", err.(request.ErrInvalidParams))
7482		}
7483	}
7484	if s.TransformJobDefinition != nil {
7485		if err := s.TransformJobDefinition.Validate(); err != nil {
7486			invalidParams.AddNested("TransformJobDefinition", err.(request.ErrInvalidParams))
7487		}
7488	}
7489
7490	if invalidParams.Len() > 0 {
7491		return invalidParams
7492	}
7493	return nil
7494}
7495
7496// SetProfileName sets the ProfileName field's value.
7497func (s *AlgorithmValidationProfile) SetProfileName(v string) *AlgorithmValidationProfile {
7498	s.ProfileName = &v
7499	return s
7500}
7501
7502// SetTrainingJobDefinition sets the TrainingJobDefinition field's value.
7503func (s *AlgorithmValidationProfile) SetTrainingJobDefinition(v *TrainingJobDefinition) *AlgorithmValidationProfile {
7504	s.TrainingJobDefinition = v
7505	return s
7506}
7507
7508// SetTransformJobDefinition sets the TransformJobDefinition field's value.
7509func (s *AlgorithmValidationProfile) SetTransformJobDefinition(v *TransformJobDefinition) *AlgorithmValidationProfile {
7510	s.TransformJobDefinition = v
7511	return s
7512}
7513
7514// Specifies configurations for one or more training jobs that Amazon SageMaker
7515// runs to test the algorithm.
7516type AlgorithmValidationSpecification struct {
7517	_ struct{} `type:"structure"`
7518
7519	// An array of AlgorithmValidationProfile objects, each of which specifies a
7520	// training job and batch transform job that Amazon SageMaker runs to validate
7521	// your algorithm.
7522	//
7523	// ValidationProfiles is a required field
7524	ValidationProfiles []*AlgorithmValidationProfile `min:"1" type:"list" required:"true"`
7525
7526	// The IAM roles that Amazon SageMaker uses to run the training jobs.
7527	//
7528	// ValidationRole is a required field
7529	ValidationRole *string `min:"20" type:"string" required:"true"`
7530}
7531
7532// String returns the string representation
7533func (s AlgorithmValidationSpecification) String() string {
7534	return awsutil.Prettify(s)
7535}
7536
7537// GoString returns the string representation
7538func (s AlgorithmValidationSpecification) GoString() string {
7539	return s.String()
7540}
7541
7542// Validate inspects the fields of the type to determine if they are valid.
7543func (s *AlgorithmValidationSpecification) Validate() error {
7544	invalidParams := request.ErrInvalidParams{Context: "AlgorithmValidationSpecification"}
7545	if s.ValidationProfiles == nil {
7546		invalidParams.Add(request.NewErrParamRequired("ValidationProfiles"))
7547	}
7548	if s.ValidationProfiles != nil && len(s.ValidationProfiles) < 1 {
7549		invalidParams.Add(request.NewErrParamMinLen("ValidationProfiles", 1))
7550	}
7551	if s.ValidationRole == nil {
7552		invalidParams.Add(request.NewErrParamRequired("ValidationRole"))
7553	}
7554	if s.ValidationRole != nil && len(*s.ValidationRole) < 20 {
7555		invalidParams.Add(request.NewErrParamMinLen("ValidationRole", 20))
7556	}
7557	if s.ValidationProfiles != nil {
7558		for i, v := range s.ValidationProfiles {
7559			if v == nil {
7560				continue
7561			}
7562			if err := v.Validate(); err != nil {
7563				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ValidationProfiles", i), err.(request.ErrInvalidParams))
7564			}
7565		}
7566	}
7567
7568	if invalidParams.Len() > 0 {
7569		return invalidParams
7570	}
7571	return nil
7572}
7573
7574// SetValidationProfiles sets the ValidationProfiles field's value.
7575func (s *AlgorithmValidationSpecification) SetValidationProfiles(v []*AlgorithmValidationProfile) *AlgorithmValidationSpecification {
7576	s.ValidationProfiles = v
7577	return s
7578}
7579
7580// SetValidationRole sets the ValidationRole field's value.
7581func (s *AlgorithmValidationSpecification) SetValidationRole(v string) *AlgorithmValidationSpecification {
7582	s.ValidationRole = &v
7583	return s
7584}
7585
7586// Configures how labels are consolidated across human workers.
7587type AnnotationConsolidationConfig struct {
7588	_ struct{} `type:"structure"`
7589
7590	// The Amazon Resource Name (ARN) of a Lambda function implements the logic
7591	// for annotation consolidation.
7592	//
7593	// For the built-in bounding box, image classification, semantic segmentation,
7594	// and text classification task types, Amazon SageMaker Ground Truth provides
7595	// the following Lambda functions:
7596	//
7597	//    * Bounding box - Finds the most similar boxes from different workers based
7598	//    on the Jaccard index of the boxes. arn:aws:lambda:us-east-1:432418664414:function:ACS-BoundingBox
7599	//    arn:aws:lambda:us-east-2:266458841044:function:ACS-BoundingBox arn:aws:lambda:us-west-2:081040173940:function:ACS-BoundingBox
7600	//    arn:aws:lambda:eu-west-1:568282634449:function:ACS-BoundingBox arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-BoundingBox
7601	//    arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-BoundingBox
7602	//
7603	//    * Image classification - Uses a variant of the Expectation Maximization
7604	//    approach to estimate the true class of an image based on annotations from
7605	//    individual workers. arn:aws:lambda:us-east-1:432418664414:function:ACS-ImageMultiClass
7606	//    arn:aws:lambda:us-east-2:266458841044:function:ACS-ImageMultiClass arn:aws:lambda:us-west-2:081040173940:function:ACS-ImageMultiClass
7607	//    arn:aws:lambda:eu-west-1:568282634449:function:ACS-ImageMultiClass arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-ImageMultiClass
7608	//    arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-ImageMultiClass
7609	//
7610	//    * Semantic segmentation - Treats each pixel in an image as a multi-class
7611	//    classification and treats pixel annotations from workers as "votes" for
7612	//    the correct label. arn:aws:lambda:us-east-1:432418664414:function:ACS-SemanticSegmentation
7613	//    arn:aws:lambda:us-east-2:266458841044:function:ACS-SemanticSegmentation
7614	//    arn:aws:lambda:us-west-2:081040173940:function:ACS-SemanticSegmentation
7615	//    arn:aws:lambda:eu-west-1:568282634449:function:ACS-SemanticSegmentation
7616	//    arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-SemanticSegmentation
7617	//    arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-SemanticSegmentation
7618	//
7619	//    * Text classification - Uses a variant of the Expectation Maximization
7620	//    approach to estimate the true class of text based on annotations from
7621	//    individual workers. arn:aws:lambda:us-east-1:432418664414:function:ACS-TextMultiClass
7622	//    arn:aws:lambda:us-east-2:266458841044:function:ACS-TextMultiClass arn:aws:lambda:us-west-2:081040173940:function:ACS-TextMultiClass
7623	//    arn:aws:lambda:eu-west-1:568282634449:function:ACS-TextMultiClass arn:aws:lambda:ap-northeast-1:477331159723:function:ACS-TextMultiClass
7624	//    arn:aws:lambda:ap-southeast-2:454466003867:function:ACS-TextMultiClass
7625	//
7626	// For more information, see Annotation Consolidation (http://docs.aws.amazon.com/sagemaker/latest/dg/sms-annotation-consolidation.html).
7627	//
7628	// AnnotationConsolidationLambdaArn is a required field
7629	AnnotationConsolidationLambdaArn *string `type:"string" required:"true"`
7630}
7631
7632// String returns the string representation
7633func (s AnnotationConsolidationConfig) String() string {
7634	return awsutil.Prettify(s)
7635}
7636
7637// GoString returns the string representation
7638func (s AnnotationConsolidationConfig) GoString() string {
7639	return s.String()
7640}
7641
7642// Validate inspects the fields of the type to determine if they are valid.
7643func (s *AnnotationConsolidationConfig) Validate() error {
7644	invalidParams := request.ErrInvalidParams{Context: "AnnotationConsolidationConfig"}
7645	if s.AnnotationConsolidationLambdaArn == nil {
7646		invalidParams.Add(request.NewErrParamRequired("AnnotationConsolidationLambdaArn"))
7647	}
7648
7649	if invalidParams.Len() > 0 {
7650		return invalidParams
7651	}
7652	return nil
7653}
7654
7655// SetAnnotationConsolidationLambdaArn sets the AnnotationConsolidationLambdaArn field's value.
7656func (s *AnnotationConsolidationConfig) SetAnnotationConsolidationLambdaArn(v string) *AnnotationConsolidationConfig {
7657	s.AnnotationConsolidationLambdaArn = &v
7658	return s
7659}
7660
7661// A list of categorical hyperparameters to tune.
7662type CategoricalParameterRange struct {
7663	_ struct{} `type:"structure"`
7664
7665	// The name of the categorical hyperparameter to tune.
7666	//
7667	// Name is a required field
7668	Name *string `type:"string" required:"true"`
7669
7670	// A list of the categories for the hyperparameter.
7671	//
7672	// Values is a required field
7673	Values []*string `min:"1" type:"list" required:"true"`
7674}
7675
7676// String returns the string representation
7677func (s CategoricalParameterRange) String() string {
7678	return awsutil.Prettify(s)
7679}
7680
7681// GoString returns the string representation
7682func (s CategoricalParameterRange) GoString() string {
7683	return s.String()
7684}
7685
7686// Validate inspects the fields of the type to determine if they are valid.
7687func (s *CategoricalParameterRange) Validate() error {
7688	invalidParams := request.ErrInvalidParams{Context: "CategoricalParameterRange"}
7689	if s.Name == nil {
7690		invalidParams.Add(request.NewErrParamRequired("Name"))
7691	}
7692	if s.Values == nil {
7693		invalidParams.Add(request.NewErrParamRequired("Values"))
7694	}
7695	if s.Values != nil && len(s.Values) < 1 {
7696		invalidParams.Add(request.NewErrParamMinLen("Values", 1))
7697	}
7698
7699	if invalidParams.Len() > 0 {
7700		return invalidParams
7701	}
7702	return nil
7703}
7704
7705// SetName sets the Name field's value.
7706func (s *CategoricalParameterRange) SetName(v string) *CategoricalParameterRange {
7707	s.Name = &v
7708	return s
7709}
7710
7711// SetValues sets the Values field's value.
7712func (s *CategoricalParameterRange) SetValues(v []*string) *CategoricalParameterRange {
7713	s.Values = v
7714	return s
7715}
7716
7717// Defines the possible values for a categorical hyperparameter.
7718type CategoricalParameterRangeSpecification struct {
7719	_ struct{} `type:"structure"`
7720
7721	// The allowed categories for the hyperparameter.
7722	//
7723	// Values is a required field
7724	Values []*string `min:"1" type:"list" required:"true"`
7725}
7726
7727// String returns the string representation
7728func (s CategoricalParameterRangeSpecification) String() string {
7729	return awsutil.Prettify(s)
7730}
7731
7732// GoString returns the string representation
7733func (s CategoricalParameterRangeSpecification) GoString() string {
7734	return s.String()
7735}
7736
7737// Validate inspects the fields of the type to determine if they are valid.
7738func (s *CategoricalParameterRangeSpecification) Validate() error {
7739	invalidParams := request.ErrInvalidParams{Context: "CategoricalParameterRangeSpecification"}
7740	if s.Values == nil {
7741		invalidParams.Add(request.NewErrParamRequired("Values"))
7742	}
7743	if s.Values != nil && len(s.Values) < 1 {
7744		invalidParams.Add(request.NewErrParamMinLen("Values", 1))
7745	}
7746
7747	if invalidParams.Len() > 0 {
7748		return invalidParams
7749	}
7750	return nil
7751}
7752
7753// SetValues sets the Values field's value.
7754func (s *CategoricalParameterRangeSpecification) SetValues(v []*string) *CategoricalParameterRangeSpecification {
7755	s.Values = v
7756	return s
7757}
7758
7759// A channel is a named input source that training algorithms can consume.
7760type Channel struct {
7761	_ struct{} `type:"structure"`
7762
7763	// The name of the channel.
7764	//
7765	// ChannelName is a required field
7766	ChannelName *string `min:"1" type:"string" required:"true"`
7767
7768	// If training data is compressed, the compression type. The default value is
7769	// None. CompressionType is used only in Pipe input mode. In File mode, leave
7770	// this field unset or set it to None.
7771	CompressionType *string `type:"string" enum:"CompressionType"`
7772
7773	// The MIME type of the data.
7774	ContentType *string `type:"string"`
7775
7776	// The location of the channel data.
7777	//
7778	// DataSource is a required field
7779	DataSource *DataSource `type:"structure" required:"true"`
7780
7781	// (Optional) The input mode to use for the data channel in a training job.
7782	// If you don't set a value for InputMode, Amazon SageMaker uses the value set
7783	// for TrainingInputMode. Use this parameter to override the TrainingInputMode
7784	// setting in a AlgorithmSpecification request when you have a channel that
7785	// needs a different input mode from the training job's general setting. To
7786	// download the data from Amazon Simple Storage Service (Amazon S3) to the provisioned
7787	// ML storage volume, and mount the directory to a Docker volume, use File input
7788	// mode. To stream data directly from Amazon S3 to the container, choose Pipe
7789	// input mode.
7790	//
7791	// To use a model for incremental training, choose File input model.
7792	InputMode *string `type:"string" enum:"TrainingInputMode"`
7793
7794	// Specify RecordIO as the value when input data is in raw format but the training
7795	// algorithm requires the RecordIO format. In this case, Amazon SageMaker wraps
7796	// each individual S3 object in a RecordIO record. If the input data is already
7797	// in RecordIO format, you don't need to set this attribute. For more information,
7798	// see Create a Dataset Using RecordIO (https://mxnet.incubator.apache.org/architecture/note_data_loading.html#data-format).
7799	//
7800	// In File mode, leave this field unset or set it to None.
7801	RecordWrapperType *string `type:"string" enum:"RecordWrapper"`
7802
7803	// A configuration for a shuffle option for input data in a channel. If you
7804	// use S3Prefix for S3DataType, this shuffles the results of the S3 key prefix
7805	// matches. If you use ManifestFile, the order of the S3 object references in
7806	// the ManifestFile is shuffled. If you use AugmentedManifestFile, the order
7807	// of the JSON lines in the AugmentedManifestFile is shuffled. The shuffling
7808	// order is determined using the Seed value.
7809	//
7810	// For Pipe input mode, shuffling is done at the start of every epoch. With
7811	// large datasets this ensures that the order of the training data is different
7812	// for each epoch, it helps reduce bias and possible overfitting. In a multi-node
7813	// training job when ShuffleConfig is combined with S3DataDistributionType of
7814	// ShardedByS3Key, the data is shuffled across nodes so that the content sent
7815	// to a particular node on the first epoch might be sent to a different node
7816	// on the second epoch.
7817	ShuffleConfig *ShuffleConfig `type:"structure"`
7818}
7819
7820// String returns the string representation
7821func (s Channel) String() string {
7822	return awsutil.Prettify(s)
7823}
7824
7825// GoString returns the string representation
7826func (s Channel) GoString() string {
7827	return s.String()
7828}
7829
7830// Validate inspects the fields of the type to determine if they are valid.
7831func (s *Channel) Validate() error {
7832	invalidParams := request.ErrInvalidParams{Context: "Channel"}
7833	if s.ChannelName == nil {
7834		invalidParams.Add(request.NewErrParamRequired("ChannelName"))
7835	}
7836	if s.ChannelName != nil && len(*s.ChannelName) < 1 {
7837		invalidParams.Add(request.NewErrParamMinLen("ChannelName", 1))
7838	}
7839	if s.DataSource == nil {
7840		invalidParams.Add(request.NewErrParamRequired("DataSource"))
7841	}
7842	if s.DataSource != nil {
7843		if err := s.DataSource.Validate(); err != nil {
7844			invalidParams.AddNested("DataSource", err.(request.ErrInvalidParams))
7845		}
7846	}
7847	if s.ShuffleConfig != nil {
7848		if err := s.ShuffleConfig.Validate(); err != nil {
7849			invalidParams.AddNested("ShuffleConfig", err.(request.ErrInvalidParams))
7850		}
7851	}
7852
7853	if invalidParams.Len() > 0 {
7854		return invalidParams
7855	}
7856	return nil
7857}
7858
7859// SetChannelName sets the ChannelName field's value.
7860func (s *Channel) SetChannelName(v string) *Channel {
7861	s.ChannelName = &v
7862	return s
7863}
7864
7865// SetCompressionType sets the CompressionType field's value.
7866func (s *Channel) SetCompressionType(v string) *Channel {
7867	s.CompressionType = &v
7868	return s
7869}
7870
7871// SetContentType sets the ContentType field's value.
7872func (s *Channel) SetContentType(v string) *Channel {
7873	s.ContentType = &v
7874	return s
7875}
7876
7877// SetDataSource sets the DataSource field's value.
7878func (s *Channel) SetDataSource(v *DataSource) *Channel {
7879	s.DataSource = v
7880	return s
7881}
7882
7883// SetInputMode sets the InputMode field's value.
7884func (s *Channel) SetInputMode(v string) *Channel {
7885	s.InputMode = &v
7886	return s
7887}
7888
7889// SetRecordWrapperType sets the RecordWrapperType field's value.
7890func (s *Channel) SetRecordWrapperType(v string) *Channel {
7891	s.RecordWrapperType = &v
7892	return s
7893}
7894
7895// SetShuffleConfig sets the ShuffleConfig field's value.
7896func (s *Channel) SetShuffleConfig(v *ShuffleConfig) *Channel {
7897	s.ShuffleConfig = v
7898	return s
7899}
7900
7901// Defines a named input source, called a channel, to be used by an algorithm.
7902type ChannelSpecification struct {
7903	_ struct{} `type:"structure"`
7904
7905	// A brief description of the channel.
7906	Description *string `type:"string"`
7907
7908	// Indicates whether the channel is required by the algorithm.
7909	IsRequired *bool `type:"boolean"`
7910
7911	// The name of the channel.
7912	//
7913	// Name is a required field
7914	Name *string `min:"1" type:"string" required:"true"`
7915
7916	// The allowed compression types, if data compression is used.
7917	SupportedCompressionTypes []*string `type:"list"`
7918
7919	// The supported MIME types for the data.
7920	//
7921	// SupportedContentTypes is a required field
7922	SupportedContentTypes []*string `type:"list" required:"true"`
7923
7924	// The allowed input mode, either FILE or PIPE.
7925	//
7926	// In FILE mode, Amazon SageMaker copies the data from the input source onto
7927	// the local Amazon Elastic Block Store (Amazon EBS) volumes before starting
7928	// your training algorithm. This is the most commonly used input mode.
7929	//
7930	// In PIPE mode, Amazon SageMaker streams input data from the source directly
7931	// to your algorithm without using the EBS volume.
7932	//
7933	// SupportedInputModes is a required field
7934	SupportedInputModes []*string `min:"1" type:"list" required:"true"`
7935}
7936
7937// String returns the string representation
7938func (s ChannelSpecification) String() string {
7939	return awsutil.Prettify(s)
7940}
7941
7942// GoString returns the string representation
7943func (s ChannelSpecification) GoString() string {
7944	return s.String()
7945}
7946
7947// Validate inspects the fields of the type to determine if they are valid.
7948func (s *ChannelSpecification) Validate() error {
7949	invalidParams := request.ErrInvalidParams{Context: "ChannelSpecification"}
7950	if s.Name == nil {
7951		invalidParams.Add(request.NewErrParamRequired("Name"))
7952	}
7953	if s.Name != nil && len(*s.Name) < 1 {
7954		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
7955	}
7956	if s.SupportedContentTypes == nil {
7957		invalidParams.Add(request.NewErrParamRequired("SupportedContentTypes"))
7958	}
7959	if s.SupportedInputModes == nil {
7960		invalidParams.Add(request.NewErrParamRequired("SupportedInputModes"))
7961	}
7962	if s.SupportedInputModes != nil && len(s.SupportedInputModes) < 1 {
7963		invalidParams.Add(request.NewErrParamMinLen("SupportedInputModes", 1))
7964	}
7965
7966	if invalidParams.Len() > 0 {
7967		return invalidParams
7968	}
7969	return nil
7970}
7971
7972// SetDescription sets the Description field's value.
7973func (s *ChannelSpecification) SetDescription(v string) *ChannelSpecification {
7974	s.Description = &v
7975	return s
7976}
7977
7978// SetIsRequired sets the IsRequired field's value.
7979func (s *ChannelSpecification) SetIsRequired(v bool) *ChannelSpecification {
7980	s.IsRequired = &v
7981	return s
7982}
7983
7984// SetName sets the Name field's value.
7985func (s *ChannelSpecification) SetName(v string) *ChannelSpecification {
7986	s.Name = &v
7987	return s
7988}
7989
7990// SetSupportedCompressionTypes sets the SupportedCompressionTypes field's value.
7991func (s *ChannelSpecification) SetSupportedCompressionTypes(v []*string) *ChannelSpecification {
7992	s.SupportedCompressionTypes = v
7993	return s
7994}
7995
7996// SetSupportedContentTypes sets the SupportedContentTypes field's value.
7997func (s *ChannelSpecification) SetSupportedContentTypes(v []*string) *ChannelSpecification {
7998	s.SupportedContentTypes = v
7999	return s
8000}
8001
8002// SetSupportedInputModes sets the SupportedInputModes field's value.
8003func (s *ChannelSpecification) SetSupportedInputModes(v []*string) *ChannelSpecification {
8004	s.SupportedInputModes = v
8005	return s
8006}
8007
8008// Specifies summary information about a Git repository.
8009type CodeRepositorySummary struct {
8010	_ struct{} `type:"structure"`
8011
8012	// The Amazon Resource Name (ARN) of the Git repository.
8013	//
8014	// CodeRepositoryArn is a required field
8015	CodeRepositoryArn *string `min:"1" type:"string" required:"true"`
8016
8017	// The name of the Git repository.
8018	//
8019	// CodeRepositoryName is a required field
8020	CodeRepositoryName *string `min:"1" type:"string" required:"true"`
8021
8022	// The date and time that the Git repository was created.
8023	//
8024	// CreationTime is a required field
8025	CreationTime *time.Time `type:"timestamp" required:"true"`
8026
8027	// Configuration details for the Git repository, including the URL where it
8028	// is located and the ARN of the AWS Secrets Manager secret that contains the
8029	// credentials used to access the repository.
8030	GitConfig *GitConfig `type:"structure"`
8031
8032	// The date and time that the Git repository was last modified.
8033	//
8034	// LastModifiedTime is a required field
8035	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
8036}
8037
8038// String returns the string representation
8039func (s CodeRepositorySummary) String() string {
8040	return awsutil.Prettify(s)
8041}
8042
8043// GoString returns the string representation
8044func (s CodeRepositorySummary) GoString() string {
8045	return s.String()
8046}
8047
8048// SetCodeRepositoryArn sets the CodeRepositoryArn field's value.
8049func (s *CodeRepositorySummary) SetCodeRepositoryArn(v string) *CodeRepositorySummary {
8050	s.CodeRepositoryArn = &v
8051	return s
8052}
8053
8054// SetCodeRepositoryName sets the CodeRepositoryName field's value.
8055func (s *CodeRepositorySummary) SetCodeRepositoryName(v string) *CodeRepositorySummary {
8056	s.CodeRepositoryName = &v
8057	return s
8058}
8059
8060// SetCreationTime sets the CreationTime field's value.
8061func (s *CodeRepositorySummary) SetCreationTime(v time.Time) *CodeRepositorySummary {
8062	s.CreationTime = &v
8063	return s
8064}
8065
8066// SetGitConfig sets the GitConfig field's value.
8067func (s *CodeRepositorySummary) SetGitConfig(v *GitConfig) *CodeRepositorySummary {
8068	s.GitConfig = v
8069	return s
8070}
8071
8072// SetLastModifiedTime sets the LastModifiedTime field's value.
8073func (s *CodeRepositorySummary) SetLastModifiedTime(v time.Time) *CodeRepositorySummary {
8074	s.LastModifiedTime = &v
8075	return s
8076}
8077
8078// Identifies a Amazon Cognito user group. A user group can be used in on or
8079// more work teams.
8080type CognitoMemberDefinition struct {
8081	_ struct{} `type:"structure"`
8082
8083	// An identifier for an application client. You must create the app client ID
8084	// using Amazon Cognito.
8085	//
8086	// ClientId is a required field
8087	ClientId *string `min:"1" type:"string" required:"true"`
8088
8089	// An identifier for a user group.
8090	//
8091	// UserGroup is a required field
8092	UserGroup *string `min:"1" type:"string" required:"true"`
8093
8094	// An identifier for a user pool. The user pool must be in the same region as
8095	// the service that you are calling.
8096	//
8097	// UserPool is a required field
8098	UserPool *string `min:"1" type:"string" required:"true"`
8099}
8100
8101// String returns the string representation
8102func (s CognitoMemberDefinition) String() string {
8103	return awsutil.Prettify(s)
8104}
8105
8106// GoString returns the string representation
8107func (s CognitoMemberDefinition) GoString() string {
8108	return s.String()
8109}
8110
8111// Validate inspects the fields of the type to determine if they are valid.
8112func (s *CognitoMemberDefinition) Validate() error {
8113	invalidParams := request.ErrInvalidParams{Context: "CognitoMemberDefinition"}
8114	if s.ClientId == nil {
8115		invalidParams.Add(request.NewErrParamRequired("ClientId"))
8116	}
8117	if s.ClientId != nil && len(*s.ClientId) < 1 {
8118		invalidParams.Add(request.NewErrParamMinLen("ClientId", 1))
8119	}
8120	if s.UserGroup == nil {
8121		invalidParams.Add(request.NewErrParamRequired("UserGroup"))
8122	}
8123	if s.UserGroup != nil && len(*s.UserGroup) < 1 {
8124		invalidParams.Add(request.NewErrParamMinLen("UserGroup", 1))
8125	}
8126	if s.UserPool == nil {
8127		invalidParams.Add(request.NewErrParamRequired("UserPool"))
8128	}
8129	if s.UserPool != nil && len(*s.UserPool) < 1 {
8130		invalidParams.Add(request.NewErrParamMinLen("UserPool", 1))
8131	}
8132
8133	if invalidParams.Len() > 0 {
8134		return invalidParams
8135	}
8136	return nil
8137}
8138
8139// SetClientId sets the ClientId field's value.
8140func (s *CognitoMemberDefinition) SetClientId(v string) *CognitoMemberDefinition {
8141	s.ClientId = &v
8142	return s
8143}
8144
8145// SetUserGroup sets the UserGroup field's value.
8146func (s *CognitoMemberDefinition) SetUserGroup(v string) *CognitoMemberDefinition {
8147	s.UserGroup = &v
8148	return s
8149}
8150
8151// SetUserPool sets the UserPool field's value.
8152func (s *CognitoMemberDefinition) SetUserPool(v string) *CognitoMemberDefinition {
8153	s.UserPool = &v
8154	return s
8155}
8156
8157// A summary of a model compilation job.
8158type CompilationJobSummary struct {
8159	_ struct{} `type:"structure"`
8160
8161	// The time when the model compilation job completed.
8162	CompilationEndTime *time.Time `type:"timestamp"`
8163
8164	// The Amazon Resource Name (ARN) of the model compilation job.
8165	//
8166	// CompilationJobArn is a required field
8167	CompilationJobArn *string `type:"string" required:"true"`
8168
8169	// The name of the model compilation job that you want a summary for.
8170	//
8171	// CompilationJobName is a required field
8172	CompilationJobName *string `min:"1" type:"string" required:"true"`
8173
8174	// The status of the model compilation job.
8175	//
8176	// CompilationJobStatus is a required field
8177	CompilationJobStatus *string `type:"string" required:"true" enum:"CompilationJobStatus"`
8178
8179	// The time when the model compilation job started.
8180	CompilationStartTime *time.Time `type:"timestamp"`
8181
8182	// The type of device that the model will run on after compilation has completed.
8183	//
8184	// CompilationTargetDevice is a required field
8185	CompilationTargetDevice *string `type:"string" required:"true" enum:"TargetDevice"`
8186
8187	// The time when the model compilation job was created.
8188	//
8189	// CreationTime is a required field
8190	CreationTime *time.Time `type:"timestamp" required:"true"`
8191
8192	// The time when the model compilation job was last modified.
8193	LastModifiedTime *time.Time `type:"timestamp"`
8194}
8195
8196// String returns the string representation
8197func (s CompilationJobSummary) String() string {
8198	return awsutil.Prettify(s)
8199}
8200
8201// GoString returns the string representation
8202func (s CompilationJobSummary) GoString() string {
8203	return s.String()
8204}
8205
8206// SetCompilationEndTime sets the CompilationEndTime field's value.
8207func (s *CompilationJobSummary) SetCompilationEndTime(v time.Time) *CompilationJobSummary {
8208	s.CompilationEndTime = &v
8209	return s
8210}
8211
8212// SetCompilationJobArn sets the CompilationJobArn field's value.
8213func (s *CompilationJobSummary) SetCompilationJobArn(v string) *CompilationJobSummary {
8214	s.CompilationJobArn = &v
8215	return s
8216}
8217
8218// SetCompilationJobName sets the CompilationJobName field's value.
8219func (s *CompilationJobSummary) SetCompilationJobName(v string) *CompilationJobSummary {
8220	s.CompilationJobName = &v
8221	return s
8222}
8223
8224// SetCompilationJobStatus sets the CompilationJobStatus field's value.
8225func (s *CompilationJobSummary) SetCompilationJobStatus(v string) *CompilationJobSummary {
8226	s.CompilationJobStatus = &v
8227	return s
8228}
8229
8230// SetCompilationStartTime sets the CompilationStartTime field's value.
8231func (s *CompilationJobSummary) SetCompilationStartTime(v time.Time) *CompilationJobSummary {
8232	s.CompilationStartTime = &v
8233	return s
8234}
8235
8236// SetCompilationTargetDevice sets the CompilationTargetDevice field's value.
8237func (s *CompilationJobSummary) SetCompilationTargetDevice(v string) *CompilationJobSummary {
8238	s.CompilationTargetDevice = &v
8239	return s
8240}
8241
8242// SetCreationTime sets the CreationTime field's value.
8243func (s *CompilationJobSummary) SetCreationTime(v time.Time) *CompilationJobSummary {
8244	s.CreationTime = &v
8245	return s
8246}
8247
8248// SetLastModifiedTime sets the LastModifiedTime field's value.
8249func (s *CompilationJobSummary) SetLastModifiedTime(v time.Time) *CompilationJobSummary {
8250	s.LastModifiedTime = &v
8251	return s
8252}
8253
8254// Describes the container, as part of model definition.
8255type ContainerDefinition struct {
8256	_ struct{} `type:"structure"`
8257
8258	// This parameter is ignored for models that contain only a PrimaryContainer.
8259	//
8260	// When a ContainerDefinition is part of an inference pipeline, the value of
8261	// ths parameter uniquely identifies the container for the purposes of logging
8262	// and metrics. For information, see Use Logs and Metrics to Monitor an Inference
8263	// Pipeline (http://docs.aws.amazon.com/sagemaker/latest/dg/inference-pipeline-logs-metrics.html).
8264	// If you don't specify a value for this parameter for a ContainerDefinition
8265	// that is part of an inference pipeline, a unique name is automatically assigned
8266	// based on the position of the ContainerDefinition in the pipeline. If you
8267	// specify a value for the ContainerHostName for any ContainerDefinition that
8268	// is part of an inference pipeline, you must specify a value for the ContainerHostName
8269	// parameter of every ContainerDefinition in that pipeline.
8270	ContainerHostname *string `type:"string"`
8271
8272	// The environment variables to set in the Docker container. Each key and value
8273	// in the Environment string to string map can have length of up to 1024. We
8274	// support up to 16 entries in the map.
8275	Environment map[string]*string `type:"map"`
8276
8277	// The Amazon EC2 Container Registry (Amazon ECR) path where inference code
8278	// is stored. If you are using your own custom algorithm instead of an algorithm
8279	// provided by Amazon SageMaker, the inference code must meet Amazon SageMaker
8280	// requirements. Amazon SageMaker supports both registry/repository[:tag] and
8281	// registry/repository[@digest] image path formats. For more information, see
8282	// Using Your Own Algorithms with Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html)
8283	Image *string `type:"string"`
8284
8285	// The S3 path where the model artifacts, which result from model training,
8286	// are stored. This path must point to a single gzip compressed tar archive
8287	// (.tar.gz suffix). The S3 path is required for Amazon SageMaker built-in algorithms,
8288	// but not if you use your own algorithms. For more information on built-in
8289	// algorithms, see Common Parameters (http://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-algo-docker-registry-paths.html).
8290	//
8291	// If you provide a value for this parameter, Amazon SageMaker uses AWS Security
8292	// Token Service to download model artifacts from the S3 path you provide. AWS
8293	// STS is activated in your IAM user account by default. If you previously deactivated
8294	// AWS STS for a region, you need to reactivate AWS STS for that region. For
8295	// more information, see Activating and Deactivating AWS STS in an AWS Region
8296	// (http://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_temp_enable-regions.html)
8297	// in the AWS Identity and Access Management User Guide.
8298	//
8299	// If you use a built-in algorithm to create a model, Amazon SageMaker requires
8300	// that you provide a S3 path to the model artifacts in ModelDataUrl.
8301	ModelDataUrl *string `type:"string"`
8302
8303	// The name or Amazon Resource Name (ARN) of the model package to use to create
8304	// the model.
8305	ModelPackageName *string `min:"1" type:"string"`
8306}
8307
8308// String returns the string representation
8309func (s ContainerDefinition) String() string {
8310	return awsutil.Prettify(s)
8311}
8312
8313// GoString returns the string representation
8314func (s ContainerDefinition) GoString() string {
8315	return s.String()
8316}
8317
8318// Validate inspects the fields of the type to determine if they are valid.
8319func (s *ContainerDefinition) Validate() error {
8320	invalidParams := request.ErrInvalidParams{Context: "ContainerDefinition"}
8321	if s.ModelPackageName != nil && len(*s.ModelPackageName) < 1 {
8322		invalidParams.Add(request.NewErrParamMinLen("ModelPackageName", 1))
8323	}
8324
8325	if invalidParams.Len() > 0 {
8326		return invalidParams
8327	}
8328	return nil
8329}
8330
8331// SetContainerHostname sets the ContainerHostname field's value.
8332func (s *ContainerDefinition) SetContainerHostname(v string) *ContainerDefinition {
8333	s.ContainerHostname = &v
8334	return s
8335}
8336
8337// SetEnvironment sets the Environment field's value.
8338func (s *ContainerDefinition) SetEnvironment(v map[string]*string) *ContainerDefinition {
8339	s.Environment = v
8340	return s
8341}
8342
8343// SetImage sets the Image field's value.
8344func (s *ContainerDefinition) SetImage(v string) *ContainerDefinition {
8345	s.Image = &v
8346	return s
8347}
8348
8349// SetModelDataUrl sets the ModelDataUrl field's value.
8350func (s *ContainerDefinition) SetModelDataUrl(v string) *ContainerDefinition {
8351	s.ModelDataUrl = &v
8352	return s
8353}
8354
8355// SetModelPackageName sets the ModelPackageName field's value.
8356func (s *ContainerDefinition) SetModelPackageName(v string) *ContainerDefinition {
8357	s.ModelPackageName = &v
8358	return s
8359}
8360
8361// A list of continuous hyperparameters to tune.
8362type ContinuousParameterRange struct {
8363	_ struct{} `type:"structure"`
8364
8365	// The maximum value for the hyperparameter. The tuning job uses floating-point
8366	// values between MinValue value and this value for tuning.
8367	//
8368	// MaxValue is a required field
8369	MaxValue *string `type:"string" required:"true"`
8370
8371	// The minimum value for the hyperparameter. The tuning job uses floating-point
8372	// values between this value and MaxValuefor tuning.
8373	//
8374	// MinValue is a required field
8375	MinValue *string `type:"string" required:"true"`
8376
8377	// The name of the continuous hyperparameter to tune.
8378	//
8379	// Name is a required field
8380	Name *string `type:"string" required:"true"`
8381
8382	// The scale that hyperparameter tuning uses to search the hyperparameter range.
8383	// For information about choosing a hyperparameter scale, see Hyperparameter
8384	// Scaling (http://docs.aws.amazon.com//sagemaker/latest/dg/automatic-model-tuning-define-ranges.html#scaling-type).
8385	// One of the following values:
8386	//
8387	// Auto
8388	//
8389	// Amazon SageMaker hyperparameter tuning chooses the best scale for the hyperparameter.
8390	//
8391	// Linear
8392	//
8393	// Hyperparameter tuning searches the values in the hyperparameter range by
8394	// using a linear scale.
8395	//
8396	// Logarithmic
8397	//
8398	// Hyperparameter tuning searches the values in the hyperparameter range by
8399	// using a logarithmic scale.
8400	//
8401	// Logarithmic scaling works only for ranges that have only values greater than
8402	// 0.
8403	//
8404	// ReverseLogarithmic
8405	//
8406	// Hyperparemeter tuning searches the values in the hyperparameter range by
8407	// using a reverse logarithmic scale.
8408	//
8409	// Reverse logarithmic scaling works only for ranges that are entirely within
8410	// the range 0<=x<1.0.
8411	ScalingType *string `type:"string" enum:"HyperParameterScalingType"`
8412}
8413
8414// String returns the string representation
8415func (s ContinuousParameterRange) String() string {
8416	return awsutil.Prettify(s)
8417}
8418
8419// GoString returns the string representation
8420func (s ContinuousParameterRange) GoString() string {
8421	return s.String()
8422}
8423
8424// Validate inspects the fields of the type to determine if they are valid.
8425func (s *ContinuousParameterRange) Validate() error {
8426	invalidParams := request.ErrInvalidParams{Context: "ContinuousParameterRange"}
8427	if s.MaxValue == nil {
8428		invalidParams.Add(request.NewErrParamRequired("MaxValue"))
8429	}
8430	if s.MinValue == nil {
8431		invalidParams.Add(request.NewErrParamRequired("MinValue"))
8432	}
8433	if s.Name == nil {
8434		invalidParams.Add(request.NewErrParamRequired("Name"))
8435	}
8436
8437	if invalidParams.Len() > 0 {
8438		return invalidParams
8439	}
8440	return nil
8441}
8442
8443// SetMaxValue sets the MaxValue field's value.
8444func (s *ContinuousParameterRange) SetMaxValue(v string) *ContinuousParameterRange {
8445	s.MaxValue = &v
8446	return s
8447}
8448
8449// SetMinValue sets the MinValue field's value.
8450func (s *ContinuousParameterRange) SetMinValue(v string) *ContinuousParameterRange {
8451	s.MinValue = &v
8452	return s
8453}
8454
8455// SetName sets the Name field's value.
8456func (s *ContinuousParameterRange) SetName(v string) *ContinuousParameterRange {
8457	s.Name = &v
8458	return s
8459}
8460
8461// SetScalingType sets the ScalingType field's value.
8462func (s *ContinuousParameterRange) SetScalingType(v string) *ContinuousParameterRange {
8463	s.ScalingType = &v
8464	return s
8465}
8466
8467// Defines the possible values for a continuous hyperparameter.
8468type ContinuousParameterRangeSpecification struct {
8469	_ struct{} `type:"structure"`
8470
8471	// The maximum floating-point value allowed.
8472	//
8473	// MaxValue is a required field
8474	MaxValue *string `type:"string" required:"true"`
8475
8476	// The minimum floating-point value allowed.
8477	//
8478	// MinValue is a required field
8479	MinValue *string `type:"string" required:"true"`
8480}
8481
8482// String returns the string representation
8483func (s ContinuousParameterRangeSpecification) String() string {
8484	return awsutil.Prettify(s)
8485}
8486
8487// GoString returns the string representation
8488func (s ContinuousParameterRangeSpecification) GoString() string {
8489	return s.String()
8490}
8491
8492// Validate inspects the fields of the type to determine if they are valid.
8493func (s *ContinuousParameterRangeSpecification) Validate() error {
8494	invalidParams := request.ErrInvalidParams{Context: "ContinuousParameterRangeSpecification"}
8495	if s.MaxValue == nil {
8496		invalidParams.Add(request.NewErrParamRequired("MaxValue"))
8497	}
8498	if s.MinValue == nil {
8499		invalidParams.Add(request.NewErrParamRequired("MinValue"))
8500	}
8501
8502	if invalidParams.Len() > 0 {
8503		return invalidParams
8504	}
8505	return nil
8506}
8507
8508// SetMaxValue sets the MaxValue field's value.
8509func (s *ContinuousParameterRangeSpecification) SetMaxValue(v string) *ContinuousParameterRangeSpecification {
8510	s.MaxValue = &v
8511	return s
8512}
8513
8514// SetMinValue sets the MinValue field's value.
8515func (s *ContinuousParameterRangeSpecification) SetMinValue(v string) *ContinuousParameterRangeSpecification {
8516	s.MinValue = &v
8517	return s
8518}
8519
8520type CreateAlgorithmInput struct {
8521	_ struct{} `type:"structure"`
8522
8523	// A description of the algorithm.
8524	AlgorithmDescription *string `type:"string"`
8525
8526	// The name of the algorithm.
8527	//
8528	// AlgorithmName is a required field
8529	AlgorithmName *string `min:"1" type:"string" required:"true"`
8530
8531	// Whether to certify the algorithm so that it can be listed in AWS Marketplace.
8532	CertifyForMarketplace *bool `type:"boolean"`
8533
8534	// Specifies details about inference jobs that the algorithm runs, including
8535	// the following:
8536	//
8537	//    * The Amazon ECR paths of containers that contain the inference code and
8538	//    model artifacts.
8539	//
8540	//    * The instance types that the algorithm supports for transform jobs and
8541	//    real-time endpoints used for inference.
8542	//
8543	//    * The input and output content formats that the algorithm supports for
8544	//    inference.
8545	InferenceSpecification *InferenceSpecification `type:"structure"`
8546
8547	// Specifies details about training jobs run by this algorithm, including the
8548	// following:
8549	//
8550	//    * The Amazon ECR path of the container and the version digest of the algorithm.
8551	//
8552	//    * The hyperparameters that the algorithm supports.
8553	//
8554	//    * The instance types that the algorithm supports for training.
8555	//
8556	//    * Whether the algorithm supports distributed training.
8557	//
8558	//    * The metrics that the algorithm emits to Amazon CloudWatch.
8559	//
8560	//    * Which metrics that the algorithm emits can be used as the objective
8561	//    metric for hyperparameter tuning jobs.
8562	//
8563	//    * The input channels that the algorithm supports for training data. For
8564	//    example, an algorithm might support train, validation, and test channels.
8565	//
8566	// TrainingSpecification is a required field
8567	TrainingSpecification *TrainingSpecification `type:"structure" required:"true"`
8568
8569	// Specifies configurations for one or more training jobs and that Amazon SageMaker
8570	// runs to test the algorithm's training code and, optionally, one or more batch
8571	// transform jobs that Amazon SageMaker runs to test the algorithm's inference
8572	// code.
8573	ValidationSpecification *AlgorithmValidationSpecification `type:"structure"`
8574}
8575
8576// String returns the string representation
8577func (s CreateAlgorithmInput) String() string {
8578	return awsutil.Prettify(s)
8579}
8580
8581// GoString returns the string representation
8582func (s CreateAlgorithmInput) GoString() string {
8583	return s.String()
8584}
8585
8586// Validate inspects the fields of the type to determine if they are valid.
8587func (s *CreateAlgorithmInput) Validate() error {
8588	invalidParams := request.ErrInvalidParams{Context: "CreateAlgorithmInput"}
8589	if s.AlgorithmName == nil {
8590		invalidParams.Add(request.NewErrParamRequired("AlgorithmName"))
8591	}
8592	if s.AlgorithmName != nil && len(*s.AlgorithmName) < 1 {
8593		invalidParams.Add(request.NewErrParamMinLen("AlgorithmName", 1))
8594	}
8595	if s.TrainingSpecification == nil {
8596		invalidParams.Add(request.NewErrParamRequired("TrainingSpecification"))
8597	}
8598	if s.InferenceSpecification != nil {
8599		if err := s.InferenceSpecification.Validate(); err != nil {
8600			invalidParams.AddNested("InferenceSpecification", err.(request.ErrInvalidParams))
8601		}
8602	}
8603	if s.TrainingSpecification != nil {
8604		if err := s.TrainingSpecification.Validate(); err != nil {
8605			invalidParams.AddNested("TrainingSpecification", err.(request.ErrInvalidParams))
8606		}
8607	}
8608	if s.ValidationSpecification != nil {
8609		if err := s.ValidationSpecification.Validate(); err != nil {
8610			invalidParams.AddNested("ValidationSpecification", err.(request.ErrInvalidParams))
8611		}
8612	}
8613
8614	if invalidParams.Len() > 0 {
8615		return invalidParams
8616	}
8617	return nil
8618}
8619
8620// SetAlgorithmDescription sets the AlgorithmDescription field's value.
8621func (s *CreateAlgorithmInput) SetAlgorithmDescription(v string) *CreateAlgorithmInput {
8622	s.AlgorithmDescription = &v
8623	return s
8624}
8625
8626// SetAlgorithmName sets the AlgorithmName field's value.
8627func (s *CreateAlgorithmInput) SetAlgorithmName(v string) *CreateAlgorithmInput {
8628	s.AlgorithmName = &v
8629	return s
8630}
8631
8632// SetCertifyForMarketplace sets the CertifyForMarketplace field's value.
8633func (s *CreateAlgorithmInput) SetCertifyForMarketplace(v bool) *CreateAlgorithmInput {
8634	s.CertifyForMarketplace = &v
8635	return s
8636}
8637
8638// SetInferenceSpecification sets the InferenceSpecification field's value.
8639func (s *CreateAlgorithmInput) SetInferenceSpecification(v *InferenceSpecification) *CreateAlgorithmInput {
8640	s.InferenceSpecification = v
8641	return s
8642}
8643
8644// SetTrainingSpecification sets the TrainingSpecification field's value.
8645func (s *CreateAlgorithmInput) SetTrainingSpecification(v *TrainingSpecification) *CreateAlgorithmInput {
8646	s.TrainingSpecification = v
8647	return s
8648}
8649
8650// SetValidationSpecification sets the ValidationSpecification field's value.
8651func (s *CreateAlgorithmInput) SetValidationSpecification(v *AlgorithmValidationSpecification) *CreateAlgorithmInput {
8652	s.ValidationSpecification = v
8653	return s
8654}
8655
8656type CreateAlgorithmOutput struct {
8657	_ struct{} `type:"structure"`
8658
8659	// The Amazon Resource Name (ARN) of the new algorithm.
8660	//
8661	// AlgorithmArn is a required field
8662	AlgorithmArn *string `min:"1" type:"string" required:"true"`
8663}
8664
8665// String returns the string representation
8666func (s CreateAlgorithmOutput) String() string {
8667	return awsutil.Prettify(s)
8668}
8669
8670// GoString returns the string representation
8671func (s CreateAlgorithmOutput) GoString() string {
8672	return s.String()
8673}
8674
8675// SetAlgorithmArn sets the AlgorithmArn field's value.
8676func (s *CreateAlgorithmOutput) SetAlgorithmArn(v string) *CreateAlgorithmOutput {
8677	s.AlgorithmArn = &v
8678	return s
8679}
8680
8681type CreateCodeRepositoryInput struct {
8682	_ struct{} `type:"structure"`
8683
8684	// The name of the Git repository. The name must have 1 to 63 characters. Valid
8685	// characters are a-z, A-Z, 0-9, and - (hyphen).
8686	//
8687	// CodeRepositoryName is a required field
8688	CodeRepositoryName *string `min:"1" type:"string" required:"true"`
8689
8690	// Specifies details about the repository, including the URL where the repository
8691	// is located, the default branch, and credentials to use to access the repository.
8692	//
8693	// GitConfig is a required field
8694	GitConfig *GitConfig `type:"structure" required:"true"`
8695}
8696
8697// String returns the string representation
8698func (s CreateCodeRepositoryInput) String() string {
8699	return awsutil.Prettify(s)
8700}
8701
8702// GoString returns the string representation
8703func (s CreateCodeRepositoryInput) GoString() string {
8704	return s.String()
8705}
8706
8707// Validate inspects the fields of the type to determine if they are valid.
8708func (s *CreateCodeRepositoryInput) Validate() error {
8709	invalidParams := request.ErrInvalidParams{Context: "CreateCodeRepositoryInput"}
8710	if s.CodeRepositoryName == nil {
8711		invalidParams.Add(request.NewErrParamRequired("CodeRepositoryName"))
8712	}
8713	if s.CodeRepositoryName != nil && len(*s.CodeRepositoryName) < 1 {
8714		invalidParams.Add(request.NewErrParamMinLen("CodeRepositoryName", 1))
8715	}
8716	if s.GitConfig == nil {
8717		invalidParams.Add(request.NewErrParamRequired("GitConfig"))
8718	}
8719	if s.GitConfig != nil {
8720		if err := s.GitConfig.Validate(); err != nil {
8721			invalidParams.AddNested("GitConfig", err.(request.ErrInvalidParams))
8722		}
8723	}
8724
8725	if invalidParams.Len() > 0 {
8726		return invalidParams
8727	}
8728	return nil
8729}
8730
8731// SetCodeRepositoryName sets the CodeRepositoryName field's value.
8732func (s *CreateCodeRepositoryInput) SetCodeRepositoryName(v string) *CreateCodeRepositoryInput {
8733	s.CodeRepositoryName = &v
8734	return s
8735}
8736
8737// SetGitConfig sets the GitConfig field's value.
8738func (s *CreateCodeRepositoryInput) SetGitConfig(v *GitConfig) *CreateCodeRepositoryInput {
8739	s.GitConfig = v
8740	return s
8741}
8742
8743type CreateCodeRepositoryOutput struct {
8744	_ struct{} `type:"structure"`
8745
8746	// The Amazon Resource Name (ARN) of the new repository.
8747	//
8748	// CodeRepositoryArn is a required field
8749	CodeRepositoryArn *string `min:"1" type:"string" required:"true"`
8750}
8751
8752// String returns the string representation
8753func (s CreateCodeRepositoryOutput) String() string {
8754	return awsutil.Prettify(s)
8755}
8756
8757// GoString returns the string representation
8758func (s CreateCodeRepositoryOutput) GoString() string {
8759	return s.String()
8760}
8761
8762// SetCodeRepositoryArn sets the CodeRepositoryArn field's value.
8763func (s *CreateCodeRepositoryOutput) SetCodeRepositoryArn(v string) *CreateCodeRepositoryOutput {
8764	s.CodeRepositoryArn = &v
8765	return s
8766}
8767
8768type CreateCompilationJobInput struct {
8769	_ struct{} `type:"structure"`
8770
8771	// A name for the model compilation job. The name must be unique within the
8772	// AWS Region and within your AWS account.
8773	//
8774	// CompilationJobName is a required field
8775	CompilationJobName *string `min:"1" type:"string" required:"true"`
8776
8777	// Provides information about the location of input model artifacts, the name
8778	// and shape of the expected data inputs, and the framework in which the model
8779	// was trained.
8780	//
8781	// InputConfig is a required field
8782	InputConfig *InputConfig `type:"structure" required:"true"`
8783
8784	// Provides information about the output location for the compiled model and
8785	// the target device the model runs on.
8786	//
8787	// OutputConfig is a required field
8788	OutputConfig *OutputConfig `type:"structure" required:"true"`
8789
8790	// The Amazon Resource Name (ARN) of an IAM role that enables Amazon SageMaker
8791	// to perform tasks on your behalf.
8792	//
8793	// During model compilation, Amazon SageMaker needs your permission to:
8794	//
8795	//    * Read input data from an S3 bucket
8796	//
8797	//    * Write model artifacts to an S3 bucket
8798	//
8799	//    * Write logs to Amazon CloudWatch Logs
8800	//
8801	//    * Publish metrics to Amazon CloudWatch
8802	//
8803	// You grant permissions for all of these tasks to an IAM role. To pass this
8804	// role to Amazon SageMaker, the caller of this API must have the iam:PassRole
8805	// permission. For more information, see Amazon SageMaker Roles. (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html)
8806	//
8807	// RoleArn is a required field
8808	RoleArn *string `min:"20" type:"string" required:"true"`
8809
8810	// Specifies a limit to how long a model compilation job can run. When the job
8811	// reaches the time limit, Amazon SageMaker ends the compilation job. Use this
8812	// API to cap model training costs.
8813	//
8814	// StoppingCondition is a required field
8815	StoppingCondition *StoppingCondition `type:"structure" required:"true"`
8816}
8817
8818// String returns the string representation
8819func (s CreateCompilationJobInput) String() string {
8820	return awsutil.Prettify(s)
8821}
8822
8823// GoString returns the string representation
8824func (s CreateCompilationJobInput) GoString() string {
8825	return s.String()
8826}
8827
8828// Validate inspects the fields of the type to determine if they are valid.
8829func (s *CreateCompilationJobInput) Validate() error {
8830	invalidParams := request.ErrInvalidParams{Context: "CreateCompilationJobInput"}
8831	if s.CompilationJobName == nil {
8832		invalidParams.Add(request.NewErrParamRequired("CompilationJobName"))
8833	}
8834	if s.CompilationJobName != nil && len(*s.CompilationJobName) < 1 {
8835		invalidParams.Add(request.NewErrParamMinLen("CompilationJobName", 1))
8836	}
8837	if s.InputConfig == nil {
8838		invalidParams.Add(request.NewErrParamRequired("InputConfig"))
8839	}
8840	if s.OutputConfig == nil {
8841		invalidParams.Add(request.NewErrParamRequired("OutputConfig"))
8842	}
8843	if s.RoleArn == nil {
8844		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
8845	}
8846	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
8847		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
8848	}
8849	if s.StoppingCondition == nil {
8850		invalidParams.Add(request.NewErrParamRequired("StoppingCondition"))
8851	}
8852	if s.InputConfig != nil {
8853		if err := s.InputConfig.Validate(); err != nil {
8854			invalidParams.AddNested("InputConfig", err.(request.ErrInvalidParams))
8855		}
8856	}
8857	if s.OutputConfig != nil {
8858		if err := s.OutputConfig.Validate(); err != nil {
8859			invalidParams.AddNested("OutputConfig", err.(request.ErrInvalidParams))
8860		}
8861	}
8862	if s.StoppingCondition != nil {
8863		if err := s.StoppingCondition.Validate(); err != nil {
8864			invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams))
8865		}
8866	}
8867
8868	if invalidParams.Len() > 0 {
8869		return invalidParams
8870	}
8871	return nil
8872}
8873
8874// SetCompilationJobName sets the CompilationJobName field's value.
8875func (s *CreateCompilationJobInput) SetCompilationJobName(v string) *CreateCompilationJobInput {
8876	s.CompilationJobName = &v
8877	return s
8878}
8879
8880// SetInputConfig sets the InputConfig field's value.
8881func (s *CreateCompilationJobInput) SetInputConfig(v *InputConfig) *CreateCompilationJobInput {
8882	s.InputConfig = v
8883	return s
8884}
8885
8886// SetOutputConfig sets the OutputConfig field's value.
8887func (s *CreateCompilationJobInput) SetOutputConfig(v *OutputConfig) *CreateCompilationJobInput {
8888	s.OutputConfig = v
8889	return s
8890}
8891
8892// SetRoleArn sets the RoleArn field's value.
8893func (s *CreateCompilationJobInput) SetRoleArn(v string) *CreateCompilationJobInput {
8894	s.RoleArn = &v
8895	return s
8896}
8897
8898// SetStoppingCondition sets the StoppingCondition field's value.
8899func (s *CreateCompilationJobInput) SetStoppingCondition(v *StoppingCondition) *CreateCompilationJobInput {
8900	s.StoppingCondition = v
8901	return s
8902}
8903
8904type CreateCompilationJobOutput struct {
8905	_ struct{} `type:"structure"`
8906
8907	// If the action is successful, the service sends back an HTTP 200 response.
8908	// Amazon SageMaker returns the following data in JSON format:
8909	//
8910	//    * CompilationJobArn: The Amazon Resource Name (ARN) of the compiled job.
8911	//
8912	// CompilationJobArn is a required field
8913	CompilationJobArn *string `type:"string" required:"true"`
8914}
8915
8916// String returns the string representation
8917func (s CreateCompilationJobOutput) String() string {
8918	return awsutil.Prettify(s)
8919}
8920
8921// GoString returns the string representation
8922func (s CreateCompilationJobOutput) GoString() string {
8923	return s.String()
8924}
8925
8926// SetCompilationJobArn sets the CompilationJobArn field's value.
8927func (s *CreateCompilationJobOutput) SetCompilationJobArn(v string) *CreateCompilationJobOutput {
8928	s.CompilationJobArn = &v
8929	return s
8930}
8931
8932type CreateEndpointConfigInput struct {
8933	_ struct{} `type:"structure"`
8934
8935	// The name of the endpoint configuration. You specify this name in a CreateEndpoint
8936	// (https://docs.aws.amazon.com/sagemaker/latest/dg/API_CreateEndpoint.html)
8937	// request.
8938	//
8939	// EndpointConfigName is a required field
8940	EndpointConfigName *string `type:"string" required:"true"`
8941
8942	// The Amazon Resource Name (ARN) of a AWS Key Management Service key that Amazon
8943	// SageMaker uses to encrypt data on the storage volume attached to the ML compute
8944	// instance that hosts the endpoint.
8945	KmsKeyId *string `type:"string"`
8946
8947	// An list of ProductionVariant objects, one for each model that you want to
8948	// host at this endpoint.
8949	//
8950	// ProductionVariants is a required field
8951	ProductionVariants []*ProductionVariant `min:"1" type:"list" required:"true"`
8952
8953	// A list of key-value pairs. For more information, see Using Cost Allocation
8954	// Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what)
8955	// in the AWS Billing and Cost Management User Guide.
8956	Tags []*Tag `type:"list"`
8957}
8958
8959// String returns the string representation
8960func (s CreateEndpointConfigInput) String() string {
8961	return awsutil.Prettify(s)
8962}
8963
8964// GoString returns the string representation
8965func (s CreateEndpointConfigInput) GoString() string {
8966	return s.String()
8967}
8968
8969// Validate inspects the fields of the type to determine if they are valid.
8970func (s *CreateEndpointConfigInput) Validate() error {
8971	invalidParams := request.ErrInvalidParams{Context: "CreateEndpointConfigInput"}
8972	if s.EndpointConfigName == nil {
8973		invalidParams.Add(request.NewErrParamRequired("EndpointConfigName"))
8974	}
8975	if s.ProductionVariants == nil {
8976		invalidParams.Add(request.NewErrParamRequired("ProductionVariants"))
8977	}
8978	if s.ProductionVariants != nil && len(s.ProductionVariants) < 1 {
8979		invalidParams.Add(request.NewErrParamMinLen("ProductionVariants", 1))
8980	}
8981	if s.ProductionVariants != nil {
8982		for i, v := range s.ProductionVariants {
8983			if v == nil {
8984				continue
8985			}
8986			if err := v.Validate(); err != nil {
8987				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ProductionVariants", i), err.(request.ErrInvalidParams))
8988			}
8989		}
8990	}
8991	if s.Tags != nil {
8992		for i, v := range s.Tags {
8993			if v == nil {
8994				continue
8995			}
8996			if err := v.Validate(); err != nil {
8997				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
8998			}
8999		}
9000	}
9001
9002	if invalidParams.Len() > 0 {
9003		return invalidParams
9004	}
9005	return nil
9006}
9007
9008// SetEndpointConfigName sets the EndpointConfigName field's value.
9009func (s *CreateEndpointConfigInput) SetEndpointConfigName(v string) *CreateEndpointConfigInput {
9010	s.EndpointConfigName = &v
9011	return s
9012}
9013
9014// SetKmsKeyId sets the KmsKeyId field's value.
9015func (s *CreateEndpointConfigInput) SetKmsKeyId(v string) *CreateEndpointConfigInput {
9016	s.KmsKeyId = &v
9017	return s
9018}
9019
9020// SetProductionVariants sets the ProductionVariants field's value.
9021func (s *CreateEndpointConfigInput) SetProductionVariants(v []*ProductionVariant) *CreateEndpointConfigInput {
9022	s.ProductionVariants = v
9023	return s
9024}
9025
9026// SetTags sets the Tags field's value.
9027func (s *CreateEndpointConfigInput) SetTags(v []*Tag) *CreateEndpointConfigInput {
9028	s.Tags = v
9029	return s
9030}
9031
9032type CreateEndpointConfigOutput struct {
9033	_ struct{} `type:"structure"`
9034
9035	// The Amazon Resource Name (ARN) of the endpoint configuration.
9036	//
9037	// EndpointConfigArn is a required field
9038	EndpointConfigArn *string `min:"20" type:"string" required:"true"`
9039}
9040
9041// String returns the string representation
9042func (s CreateEndpointConfigOutput) String() string {
9043	return awsutil.Prettify(s)
9044}
9045
9046// GoString returns the string representation
9047func (s CreateEndpointConfigOutput) GoString() string {
9048	return s.String()
9049}
9050
9051// SetEndpointConfigArn sets the EndpointConfigArn field's value.
9052func (s *CreateEndpointConfigOutput) SetEndpointConfigArn(v string) *CreateEndpointConfigOutput {
9053	s.EndpointConfigArn = &v
9054	return s
9055}
9056
9057type CreateEndpointInput struct {
9058	_ struct{} `type:"structure"`
9059
9060	// The name of an endpoint configuration. For more information, see CreateEndpointConfig
9061	// (https://docs.aws.amazon.com/sagemaker/latest/dg/API_CreateEndpointConfig.html).
9062	//
9063	// EndpointConfigName is a required field
9064	EndpointConfigName *string `type:"string" required:"true"`
9065
9066	// The name of the endpoint. The name must be unique within an AWS Region in
9067	// your AWS account.
9068	//
9069	// EndpointName is a required field
9070	EndpointName *string `type:"string" required:"true"`
9071
9072	// An array of key-value pairs. For more information, see Using Cost Allocation
9073	// Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what)in
9074	// the AWS Billing and Cost Management User Guide.
9075	Tags []*Tag `type:"list"`
9076}
9077
9078// String returns the string representation
9079func (s CreateEndpointInput) String() string {
9080	return awsutil.Prettify(s)
9081}
9082
9083// GoString returns the string representation
9084func (s CreateEndpointInput) GoString() string {
9085	return s.String()
9086}
9087
9088// Validate inspects the fields of the type to determine if they are valid.
9089func (s *CreateEndpointInput) Validate() error {
9090	invalidParams := request.ErrInvalidParams{Context: "CreateEndpointInput"}
9091	if s.EndpointConfigName == nil {
9092		invalidParams.Add(request.NewErrParamRequired("EndpointConfigName"))
9093	}
9094	if s.EndpointName == nil {
9095		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
9096	}
9097	if s.Tags != nil {
9098		for i, v := range s.Tags {
9099			if v == nil {
9100				continue
9101			}
9102			if err := v.Validate(); err != nil {
9103				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
9104			}
9105		}
9106	}
9107
9108	if invalidParams.Len() > 0 {
9109		return invalidParams
9110	}
9111	return nil
9112}
9113
9114// SetEndpointConfigName sets the EndpointConfigName field's value.
9115func (s *CreateEndpointInput) SetEndpointConfigName(v string) *CreateEndpointInput {
9116	s.EndpointConfigName = &v
9117	return s
9118}
9119
9120// SetEndpointName sets the EndpointName field's value.
9121func (s *CreateEndpointInput) SetEndpointName(v string) *CreateEndpointInput {
9122	s.EndpointName = &v
9123	return s
9124}
9125
9126// SetTags sets the Tags field's value.
9127func (s *CreateEndpointInput) SetTags(v []*Tag) *CreateEndpointInput {
9128	s.Tags = v
9129	return s
9130}
9131
9132type CreateEndpointOutput struct {
9133	_ struct{} `type:"structure"`
9134
9135	// The Amazon Resource Name (ARN) of the endpoint.
9136	//
9137	// EndpointArn is a required field
9138	EndpointArn *string `min:"20" type:"string" required:"true"`
9139}
9140
9141// String returns the string representation
9142func (s CreateEndpointOutput) String() string {
9143	return awsutil.Prettify(s)
9144}
9145
9146// GoString returns the string representation
9147func (s CreateEndpointOutput) GoString() string {
9148	return s.String()
9149}
9150
9151// SetEndpointArn sets the EndpointArn field's value.
9152func (s *CreateEndpointOutput) SetEndpointArn(v string) *CreateEndpointOutput {
9153	s.EndpointArn = &v
9154	return s
9155}
9156
9157type CreateHyperParameterTuningJobInput struct {
9158	_ struct{} `type:"structure"`
9159
9160	// The HyperParameterTuningJobConfig object that describes the tuning job, including
9161	// the search strategy, the objective metric used to evaluate training jobs,
9162	// ranges of parameters to search, and resource limits for the tuning job. For
9163	// more information, see automatic-model-tuning
9164	//
9165	// HyperParameterTuningJobConfig is a required field
9166	HyperParameterTuningJobConfig *HyperParameterTuningJobConfig `type:"structure" required:"true"`
9167
9168	// The name of the tuning job. This name is the prefix for the names of all
9169	// training jobs that this tuning job launches. The name must be unique within
9170	// the same AWS account and AWS Region. The name must have { } to { } characters.
9171	// Valid characters are a-z, A-Z, 0-9, and : + = @ _ % - (hyphen). The name
9172	// is not case sensitive.
9173	//
9174	// HyperParameterTuningJobName is a required field
9175	HyperParameterTuningJobName *string `min:"1" type:"string" required:"true"`
9176
9177	// An array of key-value pairs. You can use tags to categorize your AWS resources
9178	// in different ways, for example, by purpose, owner, or environment. For more
9179	// information, see AWS Tagging Strategies (https://aws.amazon.com/answers/account-management/aws-tagging-strategies/).
9180	//
9181	// Tags that you specify for the tuning job are also added to all training jobs
9182	// that the tuning job launches.
9183	Tags []*Tag `type:"list"`
9184
9185	// The HyperParameterTrainingJobDefinition object that describes the training
9186	// jobs that this tuning job launches, including static hyperparameters, input
9187	// data configuration, output data configuration, resource configuration, and
9188	// stopping condition.
9189	TrainingJobDefinition *HyperParameterTrainingJobDefinition `type:"structure"`
9190
9191	// Specifies the configuration for starting the hyperparameter tuning job using
9192	// one or more previous tuning jobs as a starting point. The results of previous
9193	// tuning jobs are used to inform which combinations of hyperparameters to search
9194	// over in the new tuning job.
9195	//
9196	// All training jobs launched by the new hyperparameter tuning job are evaluated
9197	// by using the objective metric. If you specify IDENTICAL_DATA_AND_ALGORITHM
9198	// as the WarmStartType value for the warm start configuration, the training
9199	// job that performs the best in the new tuning job is compared to the best
9200	// training jobs from the parent tuning jobs. From these, the training job that
9201	// performs the best as measured by the objective metric is returned as the
9202	// overall best training job.
9203	//
9204	// All training jobs launched by parent hyperparameter tuning jobs and the new
9205	// hyperparameter tuning jobs count against the limit of training jobs for the
9206	// tuning job.
9207	WarmStartConfig *HyperParameterTuningJobWarmStartConfig `type:"structure"`
9208}
9209
9210// String returns the string representation
9211func (s CreateHyperParameterTuningJobInput) String() string {
9212	return awsutil.Prettify(s)
9213}
9214
9215// GoString returns the string representation
9216func (s CreateHyperParameterTuningJobInput) GoString() string {
9217	return s.String()
9218}
9219
9220// Validate inspects the fields of the type to determine if they are valid.
9221func (s *CreateHyperParameterTuningJobInput) Validate() error {
9222	invalidParams := request.ErrInvalidParams{Context: "CreateHyperParameterTuningJobInput"}
9223	if s.HyperParameterTuningJobConfig == nil {
9224		invalidParams.Add(request.NewErrParamRequired("HyperParameterTuningJobConfig"))
9225	}
9226	if s.HyperParameterTuningJobName == nil {
9227		invalidParams.Add(request.NewErrParamRequired("HyperParameterTuningJobName"))
9228	}
9229	if s.HyperParameterTuningJobName != nil && len(*s.HyperParameterTuningJobName) < 1 {
9230		invalidParams.Add(request.NewErrParamMinLen("HyperParameterTuningJobName", 1))
9231	}
9232	if s.HyperParameterTuningJobConfig != nil {
9233		if err := s.HyperParameterTuningJobConfig.Validate(); err != nil {
9234			invalidParams.AddNested("HyperParameterTuningJobConfig", err.(request.ErrInvalidParams))
9235		}
9236	}
9237	if s.Tags != nil {
9238		for i, v := range s.Tags {
9239			if v == nil {
9240				continue
9241			}
9242			if err := v.Validate(); err != nil {
9243				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
9244			}
9245		}
9246	}
9247	if s.TrainingJobDefinition != nil {
9248		if err := s.TrainingJobDefinition.Validate(); err != nil {
9249			invalidParams.AddNested("TrainingJobDefinition", err.(request.ErrInvalidParams))
9250		}
9251	}
9252	if s.WarmStartConfig != nil {
9253		if err := s.WarmStartConfig.Validate(); err != nil {
9254			invalidParams.AddNested("WarmStartConfig", err.(request.ErrInvalidParams))
9255		}
9256	}
9257
9258	if invalidParams.Len() > 0 {
9259		return invalidParams
9260	}
9261	return nil
9262}
9263
9264// SetHyperParameterTuningJobConfig sets the HyperParameterTuningJobConfig field's value.
9265func (s *CreateHyperParameterTuningJobInput) SetHyperParameterTuningJobConfig(v *HyperParameterTuningJobConfig) *CreateHyperParameterTuningJobInput {
9266	s.HyperParameterTuningJobConfig = v
9267	return s
9268}
9269
9270// SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value.
9271func (s *CreateHyperParameterTuningJobInput) SetHyperParameterTuningJobName(v string) *CreateHyperParameterTuningJobInput {
9272	s.HyperParameterTuningJobName = &v
9273	return s
9274}
9275
9276// SetTags sets the Tags field's value.
9277func (s *CreateHyperParameterTuningJobInput) SetTags(v []*Tag) *CreateHyperParameterTuningJobInput {
9278	s.Tags = v
9279	return s
9280}
9281
9282// SetTrainingJobDefinition sets the TrainingJobDefinition field's value.
9283func (s *CreateHyperParameterTuningJobInput) SetTrainingJobDefinition(v *HyperParameterTrainingJobDefinition) *CreateHyperParameterTuningJobInput {
9284	s.TrainingJobDefinition = v
9285	return s
9286}
9287
9288// SetWarmStartConfig sets the WarmStartConfig field's value.
9289func (s *CreateHyperParameterTuningJobInput) SetWarmStartConfig(v *HyperParameterTuningJobWarmStartConfig) *CreateHyperParameterTuningJobInput {
9290	s.WarmStartConfig = v
9291	return s
9292}
9293
9294type CreateHyperParameterTuningJobOutput struct {
9295	_ struct{} `type:"structure"`
9296
9297	// The Amazon Resource Name (ARN) of the tuning job. Amazon SageMaker assigns
9298	// an ARN to a hyperparameter tuning job when you create it.
9299	//
9300	// HyperParameterTuningJobArn is a required field
9301	HyperParameterTuningJobArn *string `type:"string" required:"true"`
9302}
9303
9304// String returns the string representation
9305func (s CreateHyperParameterTuningJobOutput) String() string {
9306	return awsutil.Prettify(s)
9307}
9308
9309// GoString returns the string representation
9310func (s CreateHyperParameterTuningJobOutput) GoString() string {
9311	return s.String()
9312}
9313
9314// SetHyperParameterTuningJobArn sets the HyperParameterTuningJobArn field's value.
9315func (s *CreateHyperParameterTuningJobOutput) SetHyperParameterTuningJobArn(v string) *CreateHyperParameterTuningJobOutput {
9316	s.HyperParameterTuningJobArn = &v
9317	return s
9318}
9319
9320type CreateLabelingJobInput struct {
9321	_ struct{} `type:"structure"`
9322
9323	// Configures the information required for human workers to complete a labeling
9324	// task.
9325	//
9326	// HumanTaskConfig is a required field
9327	HumanTaskConfig *HumanTaskConfig `type:"structure" required:"true"`
9328
9329	// Input data for the labeling job, such as the Amazon S3 location of the data
9330	// objects and the location of the manifest file that describes the data objects.
9331	//
9332	// InputConfig is a required field
9333	InputConfig *LabelingJobInputConfig `type:"structure" required:"true"`
9334
9335	// The attribute name to use for the label in the output manifest file. This
9336	// is the key for the key/value pair formed with the label that a worker assigns
9337	// to the object. The name can't end with "-metadata". If you are running a
9338	// semantic segmentation labeling job, the attribute name must end with "-ref".
9339	// If you are running any other kind of labeling job, the attribute name must
9340	// not end with "-ref".
9341	//
9342	// LabelAttributeName is a required field
9343	LabelAttributeName *string `min:"1" type:"string" required:"true"`
9344
9345	// The S3 URL of the file that defines the categories used to label the data
9346	// objects.
9347	//
9348	// The file is a JSON structure in the following format:
9349	//
9350	// {
9351	//
9352	// "document-version": "2018-11-28"
9353	//
9354	// "labels": [
9355	//
9356	// {
9357	//
9358	// "label": "label 1"
9359	//
9360	// },
9361	//
9362	// {
9363	//
9364	// "label": "label 2"
9365	//
9366	// },
9367	//
9368	// ...
9369	//
9370	// {
9371	//
9372	// "label": "label n"
9373	//
9374	// }
9375	//
9376	// ]
9377	//
9378	// }
9379	LabelCategoryConfigS3Uri *string `type:"string"`
9380
9381	// Configures the information required to perform automated data labeling.
9382	LabelingJobAlgorithmsConfig *LabelingJobAlgorithmsConfig `type:"structure"`
9383
9384	// The name of the labeling job. This name is used to identify the job in a
9385	// list of labeling jobs.
9386	//
9387	// LabelingJobName is a required field
9388	LabelingJobName *string `min:"1" type:"string" required:"true"`
9389
9390	// The location of the output data and the AWS Key Management Service key ID
9391	// for the key used to encrypt the output data, if any.
9392	//
9393	// OutputConfig is a required field
9394	OutputConfig *LabelingJobOutputConfig `type:"structure" required:"true"`
9395
9396	// The Amazon Resource Number (ARN) that Amazon SageMaker assumes to perform
9397	// tasks on your behalf during data labeling. You must grant this role the necessary
9398	// permissions so that Amazon SageMaker can successfully complete data labeling.
9399	//
9400	// RoleArn is a required field
9401	RoleArn *string `min:"20" type:"string" required:"true"`
9402
9403	// A set of conditions for stopping the labeling job. If any of the conditions
9404	// are met, the job is automatically stopped. You can use these conditions to
9405	// control the cost of data labeling.
9406	StoppingConditions *LabelingJobStoppingConditions `type:"structure"`
9407
9408	// An array of key/value pairs. For more information, see Using Cost Allocation
9409	// Tags (http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what)
9410	// in the AWS Billing and Cost Management User Guide.
9411	Tags []*Tag `type:"list"`
9412}
9413
9414// String returns the string representation
9415func (s CreateLabelingJobInput) String() string {
9416	return awsutil.Prettify(s)
9417}
9418
9419// GoString returns the string representation
9420func (s CreateLabelingJobInput) GoString() string {
9421	return s.String()
9422}
9423
9424// Validate inspects the fields of the type to determine if they are valid.
9425func (s *CreateLabelingJobInput) Validate() error {
9426	invalidParams := request.ErrInvalidParams{Context: "CreateLabelingJobInput"}
9427	if s.HumanTaskConfig == nil {
9428		invalidParams.Add(request.NewErrParamRequired("HumanTaskConfig"))
9429	}
9430	if s.InputConfig == nil {
9431		invalidParams.Add(request.NewErrParamRequired("InputConfig"))
9432	}
9433	if s.LabelAttributeName == nil {
9434		invalidParams.Add(request.NewErrParamRequired("LabelAttributeName"))
9435	}
9436	if s.LabelAttributeName != nil && len(*s.LabelAttributeName) < 1 {
9437		invalidParams.Add(request.NewErrParamMinLen("LabelAttributeName", 1))
9438	}
9439	if s.LabelingJobName == nil {
9440		invalidParams.Add(request.NewErrParamRequired("LabelingJobName"))
9441	}
9442	if s.LabelingJobName != nil && len(*s.LabelingJobName) < 1 {
9443		invalidParams.Add(request.NewErrParamMinLen("LabelingJobName", 1))
9444	}
9445	if s.OutputConfig == nil {
9446		invalidParams.Add(request.NewErrParamRequired("OutputConfig"))
9447	}
9448	if s.RoleArn == nil {
9449		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
9450	}
9451	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
9452		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
9453	}
9454	if s.HumanTaskConfig != nil {
9455		if err := s.HumanTaskConfig.Validate(); err != nil {
9456			invalidParams.AddNested("HumanTaskConfig", err.(request.ErrInvalidParams))
9457		}
9458	}
9459	if s.InputConfig != nil {
9460		if err := s.InputConfig.Validate(); err != nil {
9461			invalidParams.AddNested("InputConfig", err.(request.ErrInvalidParams))
9462		}
9463	}
9464	if s.LabelingJobAlgorithmsConfig != nil {
9465		if err := s.LabelingJobAlgorithmsConfig.Validate(); err != nil {
9466			invalidParams.AddNested("LabelingJobAlgorithmsConfig", err.(request.ErrInvalidParams))
9467		}
9468	}
9469	if s.OutputConfig != nil {
9470		if err := s.OutputConfig.Validate(); err != nil {
9471			invalidParams.AddNested("OutputConfig", err.(request.ErrInvalidParams))
9472		}
9473	}
9474	if s.StoppingConditions != nil {
9475		if err := s.StoppingConditions.Validate(); err != nil {
9476			invalidParams.AddNested("StoppingConditions", err.(request.ErrInvalidParams))
9477		}
9478	}
9479	if s.Tags != nil {
9480		for i, v := range s.Tags {
9481			if v == nil {
9482				continue
9483			}
9484			if err := v.Validate(); err != nil {
9485				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
9486			}
9487		}
9488	}
9489
9490	if invalidParams.Len() > 0 {
9491		return invalidParams
9492	}
9493	return nil
9494}
9495
9496// SetHumanTaskConfig sets the HumanTaskConfig field's value.
9497func (s *CreateLabelingJobInput) SetHumanTaskConfig(v *HumanTaskConfig) *CreateLabelingJobInput {
9498	s.HumanTaskConfig = v
9499	return s
9500}
9501
9502// SetInputConfig sets the InputConfig field's value.
9503func (s *CreateLabelingJobInput) SetInputConfig(v *LabelingJobInputConfig) *CreateLabelingJobInput {
9504	s.InputConfig = v
9505	return s
9506}
9507
9508// SetLabelAttributeName sets the LabelAttributeName field's value.
9509func (s *CreateLabelingJobInput) SetLabelAttributeName(v string) *CreateLabelingJobInput {
9510	s.LabelAttributeName = &v
9511	return s
9512}
9513
9514// SetLabelCategoryConfigS3Uri sets the LabelCategoryConfigS3Uri field's value.
9515func (s *CreateLabelingJobInput) SetLabelCategoryConfigS3Uri(v string) *CreateLabelingJobInput {
9516	s.LabelCategoryConfigS3Uri = &v
9517	return s
9518}
9519
9520// SetLabelingJobAlgorithmsConfig sets the LabelingJobAlgorithmsConfig field's value.
9521func (s *CreateLabelingJobInput) SetLabelingJobAlgorithmsConfig(v *LabelingJobAlgorithmsConfig) *CreateLabelingJobInput {
9522	s.LabelingJobAlgorithmsConfig = v
9523	return s
9524}
9525
9526// SetLabelingJobName sets the LabelingJobName field's value.
9527func (s *CreateLabelingJobInput) SetLabelingJobName(v string) *CreateLabelingJobInput {
9528	s.LabelingJobName = &v
9529	return s
9530}
9531
9532// SetOutputConfig sets the OutputConfig field's value.
9533func (s *CreateLabelingJobInput) SetOutputConfig(v *LabelingJobOutputConfig) *CreateLabelingJobInput {
9534	s.OutputConfig = v
9535	return s
9536}
9537
9538// SetRoleArn sets the RoleArn field's value.
9539func (s *CreateLabelingJobInput) SetRoleArn(v string) *CreateLabelingJobInput {
9540	s.RoleArn = &v
9541	return s
9542}
9543
9544// SetStoppingConditions sets the StoppingConditions field's value.
9545func (s *CreateLabelingJobInput) SetStoppingConditions(v *LabelingJobStoppingConditions) *CreateLabelingJobInput {
9546	s.StoppingConditions = v
9547	return s
9548}
9549
9550// SetTags sets the Tags field's value.
9551func (s *CreateLabelingJobInput) SetTags(v []*Tag) *CreateLabelingJobInput {
9552	s.Tags = v
9553	return s
9554}
9555
9556type CreateLabelingJobOutput struct {
9557	_ struct{} `type:"structure"`
9558
9559	// The Amazon Resource Name (ARN) of the labeling job. You use this ARN to identify
9560	// the labeling job.
9561	//
9562	// LabelingJobArn is a required field
9563	LabelingJobArn *string `type:"string" required:"true"`
9564}
9565
9566// String returns the string representation
9567func (s CreateLabelingJobOutput) String() string {
9568	return awsutil.Prettify(s)
9569}
9570
9571// GoString returns the string representation
9572func (s CreateLabelingJobOutput) GoString() string {
9573	return s.String()
9574}
9575
9576// SetLabelingJobArn sets the LabelingJobArn field's value.
9577func (s *CreateLabelingJobOutput) SetLabelingJobArn(v string) *CreateLabelingJobOutput {
9578	s.LabelingJobArn = &v
9579	return s
9580}
9581
9582type CreateModelInput struct {
9583	_ struct{} `type:"structure"`
9584
9585	// Specifies the containers in the inference pipeline.
9586	Containers []*ContainerDefinition `type:"list"`
9587
9588	// Isolates the model container. No inbound or outbound network calls can be
9589	// made to or from the model container.
9590	//
9591	// The Semantic Segmentation built-in algorithm does not support network isolation.
9592	EnableNetworkIsolation *bool `type:"boolean"`
9593
9594	// The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker can
9595	// assume to access model artifacts and docker image for deployment on ML compute
9596	// instances or for batch transform jobs. Deploying on ML compute instances
9597	// is part of model hosting. For more information, see Amazon SageMaker Roles
9598	// (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html).
9599	//
9600	// To be able to pass this role to Amazon SageMaker, the caller of this API
9601	// must have the iam:PassRole permission.
9602	//
9603	// ExecutionRoleArn is a required field
9604	ExecutionRoleArn *string `min:"20" type:"string" required:"true"`
9605
9606	// The name of the new model.
9607	//
9608	// ModelName is a required field
9609	ModelName *string `type:"string" required:"true"`
9610
9611	// The location of the primary docker image containing inference code, associated
9612	// artifacts, and custom environment map that the inference code uses when the
9613	// model is deployed for predictions.
9614	PrimaryContainer *ContainerDefinition `type:"structure"`
9615
9616	// An array of key-value pairs. For more information, see Using Cost Allocation
9617	// Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what)
9618	// in the AWS Billing and Cost Management User Guide.
9619	Tags []*Tag `type:"list"`
9620
9621	// A VpcConfig (https://docs.aws.amazon.com/sagemaker/latest/dg/API_VpcConfig.html)
9622	// object that specifies the VPC that you want your model to connect to. Control
9623	// access to and from your model container by configuring the VPC. VpcConfig
9624	// is used in hosting services and in batch transform. For more information,
9625	// see Protect Endpoints by Using an Amazon Virtual Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html)
9626	// and Protect Data in Batch Transform Jobs by Using an Amazon Virtual Private
9627	// Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-vpc.html).
9628	VpcConfig *VpcConfig `type:"structure"`
9629}
9630
9631// String returns the string representation
9632func (s CreateModelInput) String() string {
9633	return awsutil.Prettify(s)
9634}
9635
9636// GoString returns the string representation
9637func (s CreateModelInput) GoString() string {
9638	return s.String()
9639}
9640
9641// Validate inspects the fields of the type to determine if they are valid.
9642func (s *CreateModelInput) Validate() error {
9643	invalidParams := request.ErrInvalidParams{Context: "CreateModelInput"}
9644	if s.ExecutionRoleArn == nil {
9645		invalidParams.Add(request.NewErrParamRequired("ExecutionRoleArn"))
9646	}
9647	if s.ExecutionRoleArn != nil && len(*s.ExecutionRoleArn) < 20 {
9648		invalidParams.Add(request.NewErrParamMinLen("ExecutionRoleArn", 20))
9649	}
9650	if s.ModelName == nil {
9651		invalidParams.Add(request.NewErrParamRequired("ModelName"))
9652	}
9653	if s.Containers != nil {
9654		for i, v := range s.Containers {
9655			if v == nil {
9656				continue
9657			}
9658			if err := v.Validate(); err != nil {
9659				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Containers", i), err.(request.ErrInvalidParams))
9660			}
9661		}
9662	}
9663	if s.PrimaryContainer != nil {
9664		if err := s.PrimaryContainer.Validate(); err != nil {
9665			invalidParams.AddNested("PrimaryContainer", err.(request.ErrInvalidParams))
9666		}
9667	}
9668	if s.Tags != nil {
9669		for i, v := range s.Tags {
9670			if v == nil {
9671				continue
9672			}
9673			if err := v.Validate(); err != nil {
9674				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
9675			}
9676		}
9677	}
9678	if s.VpcConfig != nil {
9679		if err := s.VpcConfig.Validate(); err != nil {
9680			invalidParams.AddNested("VpcConfig", err.(request.ErrInvalidParams))
9681		}
9682	}
9683
9684	if invalidParams.Len() > 0 {
9685		return invalidParams
9686	}
9687	return nil
9688}
9689
9690// SetContainers sets the Containers field's value.
9691func (s *CreateModelInput) SetContainers(v []*ContainerDefinition) *CreateModelInput {
9692	s.Containers = v
9693	return s
9694}
9695
9696// SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value.
9697func (s *CreateModelInput) SetEnableNetworkIsolation(v bool) *CreateModelInput {
9698	s.EnableNetworkIsolation = &v
9699	return s
9700}
9701
9702// SetExecutionRoleArn sets the ExecutionRoleArn field's value.
9703func (s *CreateModelInput) SetExecutionRoleArn(v string) *CreateModelInput {
9704	s.ExecutionRoleArn = &v
9705	return s
9706}
9707
9708// SetModelName sets the ModelName field's value.
9709func (s *CreateModelInput) SetModelName(v string) *CreateModelInput {
9710	s.ModelName = &v
9711	return s
9712}
9713
9714// SetPrimaryContainer sets the PrimaryContainer field's value.
9715func (s *CreateModelInput) SetPrimaryContainer(v *ContainerDefinition) *CreateModelInput {
9716	s.PrimaryContainer = v
9717	return s
9718}
9719
9720// SetTags sets the Tags field's value.
9721func (s *CreateModelInput) SetTags(v []*Tag) *CreateModelInput {
9722	s.Tags = v
9723	return s
9724}
9725
9726// SetVpcConfig sets the VpcConfig field's value.
9727func (s *CreateModelInput) SetVpcConfig(v *VpcConfig) *CreateModelInput {
9728	s.VpcConfig = v
9729	return s
9730}
9731
9732type CreateModelOutput struct {
9733	_ struct{} `type:"structure"`
9734
9735	// The ARN of the model created in Amazon SageMaker.
9736	//
9737	// ModelArn is a required field
9738	ModelArn *string `min:"20" type:"string" required:"true"`
9739}
9740
9741// String returns the string representation
9742func (s CreateModelOutput) String() string {
9743	return awsutil.Prettify(s)
9744}
9745
9746// GoString returns the string representation
9747func (s CreateModelOutput) GoString() string {
9748	return s.String()
9749}
9750
9751// SetModelArn sets the ModelArn field's value.
9752func (s *CreateModelOutput) SetModelArn(v string) *CreateModelOutput {
9753	s.ModelArn = &v
9754	return s
9755}
9756
9757type CreateModelPackageInput struct {
9758	_ struct{} `type:"structure"`
9759
9760	// Whether to certify the model package for listing on AWS Marketplace.
9761	CertifyForMarketplace *bool `type:"boolean"`
9762
9763	// Specifies details about inference jobs that can be run with models based
9764	// on this model package, including the following:
9765	//
9766	//    * The Amazon ECR paths of containers that contain the inference code and
9767	//    model artifacts.
9768	//
9769	//    * The instance types that the model package supports for transform jobs
9770	//    and real-time endpoints used for inference.
9771	//
9772	//    * The input and output content formats that the model package supports
9773	//    for inference.
9774	InferenceSpecification *InferenceSpecification `type:"structure"`
9775
9776	// A description of the model package.
9777	ModelPackageDescription *string `type:"string"`
9778
9779	// The name of the model package. The name must have 1 to 63 characters. Valid
9780	// characters are a-z, A-Z, 0-9, and - (hyphen).
9781	//
9782	// ModelPackageName is a required field
9783	ModelPackageName *string `min:"1" type:"string" required:"true"`
9784
9785	// Details about the algorithm that was used to create the model package.
9786	SourceAlgorithmSpecification *SourceAlgorithmSpecification `type:"structure"`
9787
9788	// Specifies configurations for one or more transform jobs that Amazon SageMaker
9789	// runs to test the model package.
9790	ValidationSpecification *ModelPackageValidationSpecification `type:"structure"`
9791}
9792
9793// String returns the string representation
9794func (s CreateModelPackageInput) String() string {
9795	return awsutil.Prettify(s)
9796}
9797
9798// GoString returns the string representation
9799func (s CreateModelPackageInput) GoString() string {
9800	return s.String()
9801}
9802
9803// Validate inspects the fields of the type to determine if they are valid.
9804func (s *CreateModelPackageInput) Validate() error {
9805	invalidParams := request.ErrInvalidParams{Context: "CreateModelPackageInput"}
9806	if s.ModelPackageName == nil {
9807		invalidParams.Add(request.NewErrParamRequired("ModelPackageName"))
9808	}
9809	if s.ModelPackageName != nil && len(*s.ModelPackageName) < 1 {
9810		invalidParams.Add(request.NewErrParamMinLen("ModelPackageName", 1))
9811	}
9812	if s.InferenceSpecification != nil {
9813		if err := s.InferenceSpecification.Validate(); err != nil {
9814			invalidParams.AddNested("InferenceSpecification", err.(request.ErrInvalidParams))
9815		}
9816	}
9817	if s.SourceAlgorithmSpecification != nil {
9818		if err := s.SourceAlgorithmSpecification.Validate(); err != nil {
9819			invalidParams.AddNested("SourceAlgorithmSpecification", err.(request.ErrInvalidParams))
9820		}
9821	}
9822	if s.ValidationSpecification != nil {
9823		if err := s.ValidationSpecification.Validate(); err != nil {
9824			invalidParams.AddNested("ValidationSpecification", err.(request.ErrInvalidParams))
9825		}
9826	}
9827
9828	if invalidParams.Len() > 0 {
9829		return invalidParams
9830	}
9831	return nil
9832}
9833
9834// SetCertifyForMarketplace sets the CertifyForMarketplace field's value.
9835func (s *CreateModelPackageInput) SetCertifyForMarketplace(v bool) *CreateModelPackageInput {
9836	s.CertifyForMarketplace = &v
9837	return s
9838}
9839
9840// SetInferenceSpecification sets the InferenceSpecification field's value.
9841func (s *CreateModelPackageInput) SetInferenceSpecification(v *InferenceSpecification) *CreateModelPackageInput {
9842	s.InferenceSpecification = v
9843	return s
9844}
9845
9846// SetModelPackageDescription sets the ModelPackageDescription field's value.
9847func (s *CreateModelPackageInput) SetModelPackageDescription(v string) *CreateModelPackageInput {
9848	s.ModelPackageDescription = &v
9849	return s
9850}
9851
9852// SetModelPackageName sets the ModelPackageName field's value.
9853func (s *CreateModelPackageInput) SetModelPackageName(v string) *CreateModelPackageInput {
9854	s.ModelPackageName = &v
9855	return s
9856}
9857
9858// SetSourceAlgorithmSpecification sets the SourceAlgorithmSpecification field's value.
9859func (s *CreateModelPackageInput) SetSourceAlgorithmSpecification(v *SourceAlgorithmSpecification) *CreateModelPackageInput {
9860	s.SourceAlgorithmSpecification = v
9861	return s
9862}
9863
9864// SetValidationSpecification sets the ValidationSpecification field's value.
9865func (s *CreateModelPackageInput) SetValidationSpecification(v *ModelPackageValidationSpecification) *CreateModelPackageInput {
9866	s.ValidationSpecification = v
9867	return s
9868}
9869
9870type CreateModelPackageOutput struct {
9871	_ struct{} `type:"structure"`
9872
9873	// The Amazon Resource Name (ARN) of the new model package.
9874	//
9875	// ModelPackageArn is a required field
9876	ModelPackageArn *string `min:"1" type:"string" required:"true"`
9877}
9878
9879// String returns the string representation
9880func (s CreateModelPackageOutput) String() string {
9881	return awsutil.Prettify(s)
9882}
9883
9884// GoString returns the string representation
9885func (s CreateModelPackageOutput) GoString() string {
9886	return s.String()
9887}
9888
9889// SetModelPackageArn sets the ModelPackageArn field's value.
9890func (s *CreateModelPackageOutput) SetModelPackageArn(v string) *CreateModelPackageOutput {
9891	s.ModelPackageArn = &v
9892	return s
9893}
9894
9895type CreateNotebookInstanceInput struct {
9896	_ struct{} `type:"structure"`
9897
9898	// A list of Elastic Inference (EI) instance types to associate with this notebook
9899	// instance. Currently, only one instance type can be associated with a notebook
9900	// instance. For more information, see Using Elastic Inference in Amazon SageMaker
9901	// (http://docs.aws.amazon.com/sagemaker/latest/dg/ei.html).
9902	AcceleratorTypes []*string `type:"list"`
9903
9904	// An array of up to three Git repositories to associate with the notebook instance.
9905	// These can be either the names of Git repositories stored as resources in
9906	// your account, or the URL of Git repositories in AWS CodeCommit (http://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html)
9907	// or in any other Git repository. These repositories are cloned at the same
9908	// level as the default repository of your notebook instance. For more information,
9909	// see Associating Git Repositories with Amazon SageMaker Notebook Instances
9910	// (http://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).
9911	AdditionalCodeRepositories []*string `type:"list"`
9912
9913	// A Git repository to associate with the notebook instance as its default code
9914	// repository. This can be either the name of a Git repository stored as a resource
9915	// in your account, or the URL of a Git repository in AWS CodeCommit (http://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html)
9916	// or in any other Git repository. When you open a notebook instance, it opens
9917	// in the directory that contains this repository. For more information, see
9918	// Associating Git Repositories with Amazon SageMaker Notebook Instances (http://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).
9919	DefaultCodeRepository *string `min:"1" type:"string"`
9920
9921	// Sets whether Amazon SageMaker provides internet access to the notebook instance.
9922	// If you set this to Disabled this notebook instance will be able to access
9923	// resources only in your VPC, and will not be able to connect to Amazon SageMaker
9924	// training and endpoint services unless your configure a NAT Gateway in your
9925	// VPC.
9926	//
9927	// For more information, see Notebook Instances Are Internet-Enabled by Default
9928	// (https://docs.aws.amazon.com/sagemaker/latest/dg/appendix-additional-considerations.html#appendix-notebook-and-internet-access).
9929	// You can set the value of this parameter to Disabled only if you set a value
9930	// for the SubnetId parameter.
9931	DirectInternetAccess *string `type:"string" enum:"DirectInternetAccess"`
9932
9933	// The type of ML compute instance to launch for the notebook instance.
9934	//
9935	// InstanceType is a required field
9936	InstanceType *string `type:"string" required:"true" enum:"InstanceType"`
9937
9938	// The Amazon Resource Name (ARN) of a AWS Key Management Service key that Amazon
9939	// SageMaker uses to encrypt data on the storage volume attached to your notebook
9940	// instance. The KMS key you provide must be enabled. For information, see Enabling
9941	// and Disabling Keys (http://docs.aws.amazon.com/kms/latest/developerguide/enabling-keys.html)
9942	// in the AWS Key Management Service Developer Guide.
9943	KmsKeyId *string `type:"string"`
9944
9945	// The name of a lifecycle configuration to associate with the notebook instance.
9946	// For information about lifestyle configurations, see Step 2.1: (Optional)
9947	// Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html).
9948	LifecycleConfigName *string `type:"string"`
9949
9950	// The name of the new notebook instance.
9951	//
9952	// NotebookInstanceName is a required field
9953	NotebookInstanceName *string `type:"string" required:"true"`
9954
9955	// When you send any requests to AWS resources from the notebook instance, Amazon
9956	// SageMaker assumes this role to perform tasks on your behalf. You must grant
9957	// this role necessary permissions so Amazon SageMaker can perform these tasks.
9958	// The policy must allow the Amazon SageMaker service principal (sagemaker.amazonaws.com)
9959	// permissions to assume this role. For more information, see Amazon SageMaker
9960	// Roles (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html).
9961	//
9962	// To be able to pass this role to Amazon SageMaker, the caller of this API
9963	// must have the iam:PassRole permission.
9964	//
9965	// RoleArn is a required field
9966	RoleArn *string `min:"20" type:"string" required:"true"`
9967
9968	// Whether root access is enabled or disabled for users of the notebook instance.
9969	// The default value is Enabled.
9970	//
9971	// Lifecycle configurations need root access to be able to set up a notebook
9972	// instance. Because of this, lifecycle configurations associated with a notebook
9973	// instance always run with root access even if you disable root access for
9974	// users.
9975	RootAccess *string `type:"string" enum:"RootAccess"`
9976
9977	// The VPC security group IDs, in the form sg-xxxxxxxx. The security groups
9978	// must be for the same VPC as specified in the subnet.
9979	SecurityGroupIds []*string `type:"list"`
9980
9981	// The ID of the subnet in a VPC to which you would like to have a connectivity
9982	// from your ML compute instance.
9983	SubnetId *string `type:"string"`
9984
9985	// A list of tags to associate with the notebook instance. You can add tags
9986	// later by using the CreateTags API.
9987	Tags []*Tag `type:"list"`
9988
9989	// The size, in GB, of the ML storage volume to attach to the notebook instance.
9990	// The default value is 5 GB.
9991	VolumeSizeInGB *int64 `min:"5" type:"integer"`
9992}
9993
9994// String returns the string representation
9995func (s CreateNotebookInstanceInput) String() string {
9996	return awsutil.Prettify(s)
9997}
9998
9999// GoString returns the string representation
10000func (s CreateNotebookInstanceInput) GoString() string {
10001	return s.String()
10002}
10003
10004// Validate inspects the fields of the type to determine if they are valid.
10005func (s *CreateNotebookInstanceInput) Validate() error {
10006	invalidParams := request.ErrInvalidParams{Context: "CreateNotebookInstanceInput"}
10007	if s.DefaultCodeRepository != nil && len(*s.DefaultCodeRepository) < 1 {
10008		invalidParams.Add(request.NewErrParamMinLen("DefaultCodeRepository", 1))
10009	}
10010	if s.InstanceType == nil {
10011		invalidParams.Add(request.NewErrParamRequired("InstanceType"))
10012	}
10013	if s.NotebookInstanceName == nil {
10014		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName"))
10015	}
10016	if s.RoleArn == nil {
10017		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
10018	}
10019	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
10020		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
10021	}
10022	if s.VolumeSizeInGB != nil && *s.VolumeSizeInGB < 5 {
10023		invalidParams.Add(request.NewErrParamMinValue("VolumeSizeInGB", 5))
10024	}
10025	if s.Tags != nil {
10026		for i, v := range s.Tags {
10027			if v == nil {
10028				continue
10029			}
10030			if err := v.Validate(); err != nil {
10031				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
10032			}
10033		}
10034	}
10035
10036	if invalidParams.Len() > 0 {
10037		return invalidParams
10038	}
10039	return nil
10040}
10041
10042// SetAcceleratorTypes sets the AcceleratorTypes field's value.
10043func (s *CreateNotebookInstanceInput) SetAcceleratorTypes(v []*string) *CreateNotebookInstanceInput {
10044	s.AcceleratorTypes = v
10045	return s
10046}
10047
10048// SetAdditionalCodeRepositories sets the AdditionalCodeRepositories field's value.
10049func (s *CreateNotebookInstanceInput) SetAdditionalCodeRepositories(v []*string) *CreateNotebookInstanceInput {
10050	s.AdditionalCodeRepositories = v
10051	return s
10052}
10053
10054// SetDefaultCodeRepository sets the DefaultCodeRepository field's value.
10055func (s *CreateNotebookInstanceInput) SetDefaultCodeRepository(v string) *CreateNotebookInstanceInput {
10056	s.DefaultCodeRepository = &v
10057	return s
10058}
10059
10060// SetDirectInternetAccess sets the DirectInternetAccess field's value.
10061func (s *CreateNotebookInstanceInput) SetDirectInternetAccess(v string) *CreateNotebookInstanceInput {
10062	s.DirectInternetAccess = &v
10063	return s
10064}
10065
10066// SetInstanceType sets the InstanceType field's value.
10067func (s *CreateNotebookInstanceInput) SetInstanceType(v string) *CreateNotebookInstanceInput {
10068	s.InstanceType = &v
10069	return s
10070}
10071
10072// SetKmsKeyId sets the KmsKeyId field's value.
10073func (s *CreateNotebookInstanceInput) SetKmsKeyId(v string) *CreateNotebookInstanceInput {
10074	s.KmsKeyId = &v
10075	return s
10076}
10077
10078// SetLifecycleConfigName sets the LifecycleConfigName field's value.
10079func (s *CreateNotebookInstanceInput) SetLifecycleConfigName(v string) *CreateNotebookInstanceInput {
10080	s.LifecycleConfigName = &v
10081	return s
10082}
10083
10084// SetNotebookInstanceName sets the NotebookInstanceName field's value.
10085func (s *CreateNotebookInstanceInput) SetNotebookInstanceName(v string) *CreateNotebookInstanceInput {
10086	s.NotebookInstanceName = &v
10087	return s
10088}
10089
10090// SetRoleArn sets the RoleArn field's value.
10091func (s *CreateNotebookInstanceInput) SetRoleArn(v string) *CreateNotebookInstanceInput {
10092	s.RoleArn = &v
10093	return s
10094}
10095
10096// SetRootAccess sets the RootAccess field's value.
10097func (s *CreateNotebookInstanceInput) SetRootAccess(v string) *CreateNotebookInstanceInput {
10098	s.RootAccess = &v
10099	return s
10100}
10101
10102// SetSecurityGroupIds sets the SecurityGroupIds field's value.
10103func (s *CreateNotebookInstanceInput) SetSecurityGroupIds(v []*string) *CreateNotebookInstanceInput {
10104	s.SecurityGroupIds = v
10105	return s
10106}
10107
10108// SetSubnetId sets the SubnetId field's value.
10109func (s *CreateNotebookInstanceInput) SetSubnetId(v string) *CreateNotebookInstanceInput {
10110	s.SubnetId = &v
10111	return s
10112}
10113
10114// SetTags sets the Tags field's value.
10115func (s *CreateNotebookInstanceInput) SetTags(v []*Tag) *CreateNotebookInstanceInput {
10116	s.Tags = v
10117	return s
10118}
10119
10120// SetVolumeSizeInGB sets the VolumeSizeInGB field's value.
10121func (s *CreateNotebookInstanceInput) SetVolumeSizeInGB(v int64) *CreateNotebookInstanceInput {
10122	s.VolumeSizeInGB = &v
10123	return s
10124}
10125
10126type CreateNotebookInstanceLifecycleConfigInput struct {
10127	_ struct{} `type:"structure"`
10128
10129	// The name of the lifecycle configuration.
10130	//
10131	// NotebookInstanceLifecycleConfigName is a required field
10132	NotebookInstanceLifecycleConfigName *string `type:"string" required:"true"`
10133
10134	// A shell script that runs only once, when you create a notebook instance.
10135	// The shell script must be a base64-encoded string.
10136	OnCreate []*NotebookInstanceLifecycleHook `type:"list"`
10137
10138	// A shell script that runs every time you start a notebook instance, including
10139	// when you create the notebook instance. The shell script must be a base64-encoded
10140	// string.
10141	OnStart []*NotebookInstanceLifecycleHook `type:"list"`
10142}
10143
10144// String returns the string representation
10145func (s CreateNotebookInstanceLifecycleConfigInput) String() string {
10146	return awsutil.Prettify(s)
10147}
10148
10149// GoString returns the string representation
10150func (s CreateNotebookInstanceLifecycleConfigInput) GoString() string {
10151	return s.String()
10152}
10153
10154// Validate inspects the fields of the type to determine if they are valid.
10155func (s *CreateNotebookInstanceLifecycleConfigInput) Validate() error {
10156	invalidParams := request.ErrInvalidParams{Context: "CreateNotebookInstanceLifecycleConfigInput"}
10157	if s.NotebookInstanceLifecycleConfigName == nil {
10158		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceLifecycleConfigName"))
10159	}
10160	if s.OnCreate != nil {
10161		for i, v := range s.OnCreate {
10162			if v == nil {
10163				continue
10164			}
10165			if err := v.Validate(); err != nil {
10166				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OnCreate", i), err.(request.ErrInvalidParams))
10167			}
10168		}
10169	}
10170	if s.OnStart != nil {
10171		for i, v := range s.OnStart {
10172			if v == nil {
10173				continue
10174			}
10175			if err := v.Validate(); err != nil {
10176				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OnStart", i), err.(request.ErrInvalidParams))
10177			}
10178		}
10179	}
10180
10181	if invalidParams.Len() > 0 {
10182		return invalidParams
10183	}
10184	return nil
10185}
10186
10187// SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value.
10188func (s *CreateNotebookInstanceLifecycleConfigInput) SetNotebookInstanceLifecycleConfigName(v string) *CreateNotebookInstanceLifecycleConfigInput {
10189	s.NotebookInstanceLifecycleConfigName = &v
10190	return s
10191}
10192
10193// SetOnCreate sets the OnCreate field's value.
10194func (s *CreateNotebookInstanceLifecycleConfigInput) SetOnCreate(v []*NotebookInstanceLifecycleHook) *CreateNotebookInstanceLifecycleConfigInput {
10195	s.OnCreate = v
10196	return s
10197}
10198
10199// SetOnStart sets the OnStart field's value.
10200func (s *CreateNotebookInstanceLifecycleConfigInput) SetOnStart(v []*NotebookInstanceLifecycleHook) *CreateNotebookInstanceLifecycleConfigInput {
10201	s.OnStart = v
10202	return s
10203}
10204
10205type CreateNotebookInstanceLifecycleConfigOutput struct {
10206	_ struct{} `type:"structure"`
10207
10208	// The Amazon Resource Name (ARN) of the lifecycle configuration.
10209	NotebookInstanceLifecycleConfigArn *string `type:"string"`
10210}
10211
10212// String returns the string representation
10213func (s CreateNotebookInstanceLifecycleConfigOutput) String() string {
10214	return awsutil.Prettify(s)
10215}
10216
10217// GoString returns the string representation
10218func (s CreateNotebookInstanceLifecycleConfigOutput) GoString() string {
10219	return s.String()
10220}
10221
10222// SetNotebookInstanceLifecycleConfigArn sets the NotebookInstanceLifecycleConfigArn field's value.
10223func (s *CreateNotebookInstanceLifecycleConfigOutput) SetNotebookInstanceLifecycleConfigArn(v string) *CreateNotebookInstanceLifecycleConfigOutput {
10224	s.NotebookInstanceLifecycleConfigArn = &v
10225	return s
10226}
10227
10228type CreateNotebookInstanceOutput struct {
10229	_ struct{} `type:"structure"`
10230
10231	// The Amazon Resource Name (ARN) of the notebook instance.
10232	NotebookInstanceArn *string `type:"string"`
10233}
10234
10235// String returns the string representation
10236func (s CreateNotebookInstanceOutput) String() string {
10237	return awsutil.Prettify(s)
10238}
10239
10240// GoString returns the string representation
10241func (s CreateNotebookInstanceOutput) GoString() string {
10242	return s.String()
10243}
10244
10245// SetNotebookInstanceArn sets the NotebookInstanceArn field's value.
10246func (s *CreateNotebookInstanceOutput) SetNotebookInstanceArn(v string) *CreateNotebookInstanceOutput {
10247	s.NotebookInstanceArn = &v
10248	return s
10249}
10250
10251type CreatePresignedNotebookInstanceUrlInput struct {
10252	_ struct{} `type:"structure"`
10253
10254	// The name of the notebook instance.
10255	//
10256	// NotebookInstanceName is a required field
10257	NotebookInstanceName *string `type:"string" required:"true"`
10258
10259	// The duration of the session, in seconds. The default is 12 hours.
10260	SessionExpirationDurationInSeconds *int64 `min:"1800" type:"integer"`
10261}
10262
10263// String returns the string representation
10264func (s CreatePresignedNotebookInstanceUrlInput) String() string {
10265	return awsutil.Prettify(s)
10266}
10267
10268// GoString returns the string representation
10269func (s CreatePresignedNotebookInstanceUrlInput) GoString() string {
10270	return s.String()
10271}
10272
10273// Validate inspects the fields of the type to determine if they are valid.
10274func (s *CreatePresignedNotebookInstanceUrlInput) Validate() error {
10275	invalidParams := request.ErrInvalidParams{Context: "CreatePresignedNotebookInstanceUrlInput"}
10276	if s.NotebookInstanceName == nil {
10277		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName"))
10278	}
10279	if s.SessionExpirationDurationInSeconds != nil && *s.SessionExpirationDurationInSeconds < 1800 {
10280		invalidParams.Add(request.NewErrParamMinValue("SessionExpirationDurationInSeconds", 1800))
10281	}
10282
10283	if invalidParams.Len() > 0 {
10284		return invalidParams
10285	}
10286	return nil
10287}
10288
10289// SetNotebookInstanceName sets the NotebookInstanceName field's value.
10290func (s *CreatePresignedNotebookInstanceUrlInput) SetNotebookInstanceName(v string) *CreatePresignedNotebookInstanceUrlInput {
10291	s.NotebookInstanceName = &v
10292	return s
10293}
10294
10295// SetSessionExpirationDurationInSeconds sets the SessionExpirationDurationInSeconds field's value.
10296func (s *CreatePresignedNotebookInstanceUrlInput) SetSessionExpirationDurationInSeconds(v int64) *CreatePresignedNotebookInstanceUrlInput {
10297	s.SessionExpirationDurationInSeconds = &v
10298	return s
10299}
10300
10301type CreatePresignedNotebookInstanceUrlOutput struct {
10302	_ struct{} `type:"structure"`
10303
10304	// A JSON object that contains the URL string.
10305	AuthorizedUrl *string `type:"string"`
10306}
10307
10308// String returns the string representation
10309func (s CreatePresignedNotebookInstanceUrlOutput) String() string {
10310	return awsutil.Prettify(s)
10311}
10312
10313// GoString returns the string representation
10314func (s CreatePresignedNotebookInstanceUrlOutput) GoString() string {
10315	return s.String()
10316}
10317
10318// SetAuthorizedUrl sets the AuthorizedUrl field's value.
10319func (s *CreatePresignedNotebookInstanceUrlOutput) SetAuthorizedUrl(v string) *CreatePresignedNotebookInstanceUrlOutput {
10320	s.AuthorizedUrl = &v
10321	return s
10322}
10323
10324type CreateTrainingJobInput struct {
10325	_ struct{} `type:"structure"`
10326
10327	// The registry path of the Docker image that contains the training algorithm
10328	// and algorithm-specific metadata, including the input mode. For more information
10329	// about algorithms provided by Amazon SageMaker, see Algorithms (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html).
10330	// For information about providing your own algorithms, see Using Your Own Algorithms
10331	// with Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html).
10332	//
10333	// AlgorithmSpecification is a required field
10334	AlgorithmSpecification *AlgorithmSpecification `type:"structure" required:"true"`
10335
10336	// To encrypt all communications between ML compute instances in distributed
10337	// training, choose True. Encryption provides greater security for distributed
10338	// training, but training might take longer. How long it takes depends on the
10339	// amount of communication between compute instances, especially if you use
10340	// a deep learning algorithm in distributed training. For more information,
10341	// see Protect Communications Between ML Compute Instances in a Distributed
10342	// Training Job (https://docs.aws.amazon.com/sagemaker/latest/dg/train-encrypt.html).
10343	EnableInterContainerTrafficEncryption *bool `type:"boolean"`
10344
10345	// Isolates the training container. No inbound or outbound network calls can
10346	// be made, except for calls between peers within a training cluster for distributed
10347	// training. If you enable network isolation for training jobs that are configured
10348	// to use a VPC, Amazon SageMaker downloads and uploads customer data and model
10349	// artifacts through the specified VPC, but the training container does not
10350	// have network access.
10351	//
10352	// The Semantic Segmentation built-in algorithm does not support network isolation.
10353	EnableNetworkIsolation *bool `type:"boolean"`
10354
10355	// Algorithm-specific parameters that influence the quality of the model. You
10356	// set hyperparameters before you start the learning process. For a list of
10357	// hyperparameters for each training algorithm provided by Amazon SageMaker,
10358	// see Algorithms (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html).
10359	//
10360	// You can specify a maximum of 100 hyperparameters. Each hyperparameter is
10361	// a key-value pair. Each key and value is limited to 256 characters, as specified
10362	// by the Length Constraint.
10363	HyperParameters map[string]*string `type:"map"`
10364
10365	// An array of Channel objects. Each channel is a named input source. InputDataConfig
10366	// describes the input data and its location.
10367	//
10368	// Algorithms can accept input data from one or more channels. For example,
10369	// an algorithm might have two channels of input data, training_data and validation_data.
10370	// The configuration for each channel provides the S3 location where the input
10371	// data is stored. It also provides information about the stored data: the MIME
10372	// type, compression method, and whether the data is wrapped in RecordIO format.
10373	//
10374	// Depending on the input mode that the algorithm supports, Amazon SageMaker
10375	// either copies input data files from an S3 bucket to a local directory in
10376	// the Docker container, or makes it available as input streams.
10377	InputDataConfig []*Channel `min:"1" type:"list"`
10378
10379	// Specifies the path to the S3 bucket where you want to store model artifacts.
10380	// Amazon SageMaker creates subfolders for the artifacts.
10381	//
10382	// OutputDataConfig is a required field
10383	OutputDataConfig *OutputDataConfig `type:"structure" required:"true"`
10384
10385	// The resources, including the ML compute instances and ML storage volumes,
10386	// to use for model training.
10387	//
10388	// ML storage volumes store model artifacts and incremental states. Training
10389	// algorithms might also use ML storage volumes for scratch space. If you want
10390	// Amazon SageMaker to use the ML storage volume to store the training data,
10391	// choose File as the TrainingInputMode in the algorithm specification. For
10392	// distributed training algorithms, specify an instance count greater than 1.
10393	//
10394	// ResourceConfig is a required field
10395	ResourceConfig *ResourceConfig `type:"structure" required:"true"`
10396
10397	// The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker can assume
10398	// to perform tasks on your behalf.
10399	//
10400	// During model training, Amazon SageMaker needs your permission to read input
10401	// data from an S3 bucket, download a Docker image that contains training code,
10402	// write model artifacts to an S3 bucket, write logs to Amazon CloudWatch Logs,
10403	// and publish metrics to Amazon CloudWatch. You grant permissions for all of
10404	// these tasks to an IAM role. For more information, see Amazon SageMaker Roles
10405	// (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html).
10406	//
10407	// To be able to pass this role to Amazon SageMaker, the caller of this API
10408	// must have the iam:PassRole permission.
10409	//
10410	// RoleArn is a required field
10411	RoleArn *string `min:"20" type:"string" required:"true"`
10412
10413	// Specifies a limit to how long a model training job can run. When the job
10414	// reaches the time limit, Amazon SageMaker ends the training job. Use this
10415	// API to cap model training costs.
10416	//
10417	// To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal, which
10418	// delays job termination for 120 seconds. Algorithms can use this 120-second
10419	// window to save the model artifacts, so the results of training are not lost.
10420	//
10421	// StoppingCondition is a required field
10422	StoppingCondition *StoppingCondition `type:"structure" required:"true"`
10423
10424	// An array of key-value pairs. For more information, see Using Cost Allocation
10425	// Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what)
10426	// in the AWS Billing and Cost Management User Guide.
10427	Tags []*Tag `type:"list"`
10428
10429	// The name of the training job. The name must be unique within an AWS Region
10430	// in an AWS account.
10431	//
10432	// TrainingJobName is a required field
10433	TrainingJobName *string `min:"1" type:"string" required:"true"`
10434
10435	// A VpcConfig object that specifies the VPC that you want your training job
10436	// to connect to. Control access to and from your training container by configuring
10437	// the VPC. For more information, see Protect Training Jobs by Using an Amazon
10438	// Virtual Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html).
10439	VpcConfig *VpcConfig `type:"structure"`
10440}
10441
10442// String returns the string representation
10443func (s CreateTrainingJobInput) String() string {
10444	return awsutil.Prettify(s)
10445}
10446
10447// GoString returns the string representation
10448func (s CreateTrainingJobInput) GoString() string {
10449	return s.String()
10450}
10451
10452// Validate inspects the fields of the type to determine if they are valid.
10453func (s *CreateTrainingJobInput) Validate() error {
10454	invalidParams := request.ErrInvalidParams{Context: "CreateTrainingJobInput"}
10455	if s.AlgorithmSpecification == nil {
10456		invalidParams.Add(request.NewErrParamRequired("AlgorithmSpecification"))
10457	}
10458	if s.InputDataConfig != nil && len(s.InputDataConfig) < 1 {
10459		invalidParams.Add(request.NewErrParamMinLen("InputDataConfig", 1))
10460	}
10461	if s.OutputDataConfig == nil {
10462		invalidParams.Add(request.NewErrParamRequired("OutputDataConfig"))
10463	}
10464	if s.ResourceConfig == nil {
10465		invalidParams.Add(request.NewErrParamRequired("ResourceConfig"))
10466	}
10467	if s.RoleArn == nil {
10468		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
10469	}
10470	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
10471		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
10472	}
10473	if s.StoppingCondition == nil {
10474		invalidParams.Add(request.NewErrParamRequired("StoppingCondition"))
10475	}
10476	if s.TrainingJobName == nil {
10477		invalidParams.Add(request.NewErrParamRequired("TrainingJobName"))
10478	}
10479	if s.TrainingJobName != nil && len(*s.TrainingJobName) < 1 {
10480		invalidParams.Add(request.NewErrParamMinLen("TrainingJobName", 1))
10481	}
10482	if s.AlgorithmSpecification != nil {
10483		if err := s.AlgorithmSpecification.Validate(); err != nil {
10484			invalidParams.AddNested("AlgorithmSpecification", err.(request.ErrInvalidParams))
10485		}
10486	}
10487	if s.InputDataConfig != nil {
10488		for i, v := range s.InputDataConfig {
10489			if v == nil {
10490				continue
10491			}
10492			if err := v.Validate(); err != nil {
10493				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputDataConfig", i), err.(request.ErrInvalidParams))
10494			}
10495		}
10496	}
10497	if s.OutputDataConfig != nil {
10498		if err := s.OutputDataConfig.Validate(); err != nil {
10499			invalidParams.AddNested("OutputDataConfig", err.(request.ErrInvalidParams))
10500		}
10501	}
10502	if s.ResourceConfig != nil {
10503		if err := s.ResourceConfig.Validate(); err != nil {
10504			invalidParams.AddNested("ResourceConfig", err.(request.ErrInvalidParams))
10505		}
10506	}
10507	if s.StoppingCondition != nil {
10508		if err := s.StoppingCondition.Validate(); err != nil {
10509			invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams))
10510		}
10511	}
10512	if s.Tags != nil {
10513		for i, v := range s.Tags {
10514			if v == nil {
10515				continue
10516			}
10517			if err := v.Validate(); err != nil {
10518				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
10519			}
10520		}
10521	}
10522	if s.VpcConfig != nil {
10523		if err := s.VpcConfig.Validate(); err != nil {
10524			invalidParams.AddNested("VpcConfig", err.(request.ErrInvalidParams))
10525		}
10526	}
10527
10528	if invalidParams.Len() > 0 {
10529		return invalidParams
10530	}
10531	return nil
10532}
10533
10534// SetAlgorithmSpecification sets the AlgorithmSpecification field's value.
10535func (s *CreateTrainingJobInput) SetAlgorithmSpecification(v *AlgorithmSpecification) *CreateTrainingJobInput {
10536	s.AlgorithmSpecification = v
10537	return s
10538}
10539
10540// SetEnableInterContainerTrafficEncryption sets the EnableInterContainerTrafficEncryption field's value.
10541func (s *CreateTrainingJobInput) SetEnableInterContainerTrafficEncryption(v bool) *CreateTrainingJobInput {
10542	s.EnableInterContainerTrafficEncryption = &v
10543	return s
10544}
10545
10546// SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value.
10547func (s *CreateTrainingJobInput) SetEnableNetworkIsolation(v bool) *CreateTrainingJobInput {
10548	s.EnableNetworkIsolation = &v
10549	return s
10550}
10551
10552// SetHyperParameters sets the HyperParameters field's value.
10553func (s *CreateTrainingJobInput) SetHyperParameters(v map[string]*string) *CreateTrainingJobInput {
10554	s.HyperParameters = v
10555	return s
10556}
10557
10558// SetInputDataConfig sets the InputDataConfig field's value.
10559func (s *CreateTrainingJobInput) SetInputDataConfig(v []*Channel) *CreateTrainingJobInput {
10560	s.InputDataConfig = v
10561	return s
10562}
10563
10564// SetOutputDataConfig sets the OutputDataConfig field's value.
10565func (s *CreateTrainingJobInput) SetOutputDataConfig(v *OutputDataConfig) *CreateTrainingJobInput {
10566	s.OutputDataConfig = v
10567	return s
10568}
10569
10570// SetResourceConfig sets the ResourceConfig field's value.
10571func (s *CreateTrainingJobInput) SetResourceConfig(v *ResourceConfig) *CreateTrainingJobInput {
10572	s.ResourceConfig = v
10573	return s
10574}
10575
10576// SetRoleArn sets the RoleArn field's value.
10577func (s *CreateTrainingJobInput) SetRoleArn(v string) *CreateTrainingJobInput {
10578	s.RoleArn = &v
10579	return s
10580}
10581
10582// SetStoppingCondition sets the StoppingCondition field's value.
10583func (s *CreateTrainingJobInput) SetStoppingCondition(v *StoppingCondition) *CreateTrainingJobInput {
10584	s.StoppingCondition = v
10585	return s
10586}
10587
10588// SetTags sets the Tags field's value.
10589func (s *CreateTrainingJobInput) SetTags(v []*Tag) *CreateTrainingJobInput {
10590	s.Tags = v
10591	return s
10592}
10593
10594// SetTrainingJobName sets the TrainingJobName field's value.
10595func (s *CreateTrainingJobInput) SetTrainingJobName(v string) *CreateTrainingJobInput {
10596	s.TrainingJobName = &v
10597	return s
10598}
10599
10600// SetVpcConfig sets the VpcConfig field's value.
10601func (s *CreateTrainingJobInput) SetVpcConfig(v *VpcConfig) *CreateTrainingJobInput {
10602	s.VpcConfig = v
10603	return s
10604}
10605
10606type CreateTrainingJobOutput struct {
10607	_ struct{} `type:"structure"`
10608
10609	// The Amazon Resource Name (ARN) of the training job.
10610	//
10611	// TrainingJobArn is a required field
10612	TrainingJobArn *string `type:"string" required:"true"`
10613}
10614
10615// String returns the string representation
10616func (s CreateTrainingJobOutput) String() string {
10617	return awsutil.Prettify(s)
10618}
10619
10620// GoString returns the string representation
10621func (s CreateTrainingJobOutput) GoString() string {
10622	return s.String()
10623}
10624
10625// SetTrainingJobArn sets the TrainingJobArn field's value.
10626func (s *CreateTrainingJobOutput) SetTrainingJobArn(v string) *CreateTrainingJobOutput {
10627	s.TrainingJobArn = &v
10628	return s
10629}
10630
10631type CreateTransformJobInput struct {
10632	_ struct{} `type:"structure"`
10633
10634	// Specifies the number of records to include in a mini-batch for an HTTP inference
10635	// request. A record is a single unit of input data that inference can be made
10636	// on. For example, a single line in a CSV file is a record.
10637	//
10638	// To enable the batch strategy, you must set SplitType to Line, RecordIO, or
10639	// TFRecord.
10640	//
10641	// To use only one record when making an HTTP invocation request to a container,
10642	// set BatchStrategy to SingleRecord and SplitType to Line.
10643	//
10644	// To fit as many records in a mini-batch as can fit within the MaxPayloadInMB
10645	// limit, set BatchStrategy to MultiRecord and SplitType to Line.
10646	BatchStrategy *string `type:"string" enum:"BatchStrategy"`
10647
10648	// The data structure used for combining the input data and inference in the
10649	// output file. For more information, see Batch Transform I/O Join (http://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-io-join.html).
10650	DataProcessing *DataProcessing `type:"structure"`
10651
10652	// The environment variables to set in the Docker container. We support up to
10653	// 16 key and values entries in the map.
10654	Environment map[string]*string `type:"map"`
10655
10656	// The maximum number of parallel requests that can be sent to each instance
10657	// in a transform job. If MaxConcurrentTransforms is set to 0 or left unset,
10658	// Amazon SageMaker checks the optional execution-parameters to determine the
10659	// optimal settings for your chosen algorithm. If the execution-parameters endpoint
10660	// is not enabled, the default value is 1. For more information on execution-parameters,
10661	// see How Containers Serve Requests (http://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms-batch-code.html#your-algorithms-batch-code-how-containe-serves-requests).
10662	// For built-in algorithms, you don't need to set a value for MaxConcurrentTransforms.
10663	MaxConcurrentTransforms *int64 `type:"integer"`
10664
10665	// The maximum allowed size of the payload, in MB. A payload is the data portion
10666	// of a record (without metadata). The value in MaxPayloadInMB must be greater
10667	// than, or equal to, the size of a single record. To estimate the size of a
10668	// record in MB, divide the size of your dataset by the number of records. To
10669	// ensure that the records fit within the maximum payload size, we recommend
10670	// using a slightly larger value. The default value is 6 MB.
10671	//
10672	// For cases where the payload might be arbitrarily large and is transmitted
10673	// using HTTP chunked encoding, set the value to 0. This feature works only
10674	// in supported algorithms. Currently, Amazon SageMaker built-in algorithms
10675	// do not support HTTP chunked encoding.
10676	MaxPayloadInMB *int64 `type:"integer"`
10677
10678	// The name of the model that you want to use for the transform job. ModelName
10679	// must be the name of an existing Amazon SageMaker model within an AWS Region
10680	// in an AWS account.
10681	//
10682	// ModelName is a required field
10683	ModelName *string `type:"string" required:"true"`
10684
10685	// (Optional) An array of key-value pairs. For more information, see Using Cost
10686	// Allocation Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what)
10687	// in the AWS Billing and Cost Management User Guide.
10688	Tags []*Tag `type:"list"`
10689
10690	// Describes the input source and the way the transform job consumes it.
10691	//
10692	// TransformInput is a required field
10693	TransformInput *TransformInput `type:"structure" required:"true"`
10694
10695	// The name of the transform job. The name must be unique within an AWS Region
10696	// in an AWS account.
10697	//
10698	// TransformJobName is a required field
10699	TransformJobName *string `min:"1" type:"string" required:"true"`
10700
10701	// Describes the results of the transform job.
10702	//
10703	// TransformOutput is a required field
10704	TransformOutput *TransformOutput `type:"structure" required:"true"`
10705
10706	// Describes the resources, including ML instance types and ML instance count,
10707	// to use for the transform job.
10708	//
10709	// TransformResources is a required field
10710	TransformResources *TransformResources `type:"structure" required:"true"`
10711}
10712
10713// String returns the string representation
10714func (s CreateTransformJobInput) String() string {
10715	return awsutil.Prettify(s)
10716}
10717
10718// GoString returns the string representation
10719func (s CreateTransformJobInput) GoString() string {
10720	return s.String()
10721}
10722
10723// Validate inspects the fields of the type to determine if they are valid.
10724func (s *CreateTransformJobInput) Validate() error {
10725	invalidParams := request.ErrInvalidParams{Context: "CreateTransformJobInput"}
10726	if s.ModelName == nil {
10727		invalidParams.Add(request.NewErrParamRequired("ModelName"))
10728	}
10729	if s.TransformInput == nil {
10730		invalidParams.Add(request.NewErrParamRequired("TransformInput"))
10731	}
10732	if s.TransformJobName == nil {
10733		invalidParams.Add(request.NewErrParamRequired("TransformJobName"))
10734	}
10735	if s.TransformJobName != nil && len(*s.TransformJobName) < 1 {
10736		invalidParams.Add(request.NewErrParamMinLen("TransformJobName", 1))
10737	}
10738	if s.TransformOutput == nil {
10739		invalidParams.Add(request.NewErrParamRequired("TransformOutput"))
10740	}
10741	if s.TransformResources == nil {
10742		invalidParams.Add(request.NewErrParamRequired("TransformResources"))
10743	}
10744	if s.Tags != nil {
10745		for i, v := range s.Tags {
10746			if v == nil {
10747				continue
10748			}
10749			if err := v.Validate(); err != nil {
10750				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
10751			}
10752		}
10753	}
10754	if s.TransformInput != nil {
10755		if err := s.TransformInput.Validate(); err != nil {
10756			invalidParams.AddNested("TransformInput", err.(request.ErrInvalidParams))
10757		}
10758	}
10759	if s.TransformOutput != nil {
10760		if err := s.TransformOutput.Validate(); err != nil {
10761			invalidParams.AddNested("TransformOutput", err.(request.ErrInvalidParams))
10762		}
10763	}
10764	if s.TransformResources != nil {
10765		if err := s.TransformResources.Validate(); err != nil {
10766			invalidParams.AddNested("TransformResources", err.(request.ErrInvalidParams))
10767		}
10768	}
10769
10770	if invalidParams.Len() > 0 {
10771		return invalidParams
10772	}
10773	return nil
10774}
10775
10776// SetBatchStrategy sets the BatchStrategy field's value.
10777func (s *CreateTransformJobInput) SetBatchStrategy(v string) *CreateTransformJobInput {
10778	s.BatchStrategy = &v
10779	return s
10780}
10781
10782// SetDataProcessing sets the DataProcessing field's value.
10783func (s *CreateTransformJobInput) SetDataProcessing(v *DataProcessing) *CreateTransformJobInput {
10784	s.DataProcessing = v
10785	return s
10786}
10787
10788// SetEnvironment sets the Environment field's value.
10789func (s *CreateTransformJobInput) SetEnvironment(v map[string]*string) *CreateTransformJobInput {
10790	s.Environment = v
10791	return s
10792}
10793
10794// SetMaxConcurrentTransforms sets the MaxConcurrentTransforms field's value.
10795func (s *CreateTransformJobInput) SetMaxConcurrentTransforms(v int64) *CreateTransformJobInput {
10796	s.MaxConcurrentTransforms = &v
10797	return s
10798}
10799
10800// SetMaxPayloadInMB sets the MaxPayloadInMB field's value.
10801func (s *CreateTransformJobInput) SetMaxPayloadInMB(v int64) *CreateTransformJobInput {
10802	s.MaxPayloadInMB = &v
10803	return s
10804}
10805
10806// SetModelName sets the ModelName field's value.
10807func (s *CreateTransformJobInput) SetModelName(v string) *CreateTransformJobInput {
10808	s.ModelName = &v
10809	return s
10810}
10811
10812// SetTags sets the Tags field's value.
10813func (s *CreateTransformJobInput) SetTags(v []*Tag) *CreateTransformJobInput {
10814	s.Tags = v
10815	return s
10816}
10817
10818// SetTransformInput sets the TransformInput field's value.
10819func (s *CreateTransformJobInput) SetTransformInput(v *TransformInput) *CreateTransformJobInput {
10820	s.TransformInput = v
10821	return s
10822}
10823
10824// SetTransformJobName sets the TransformJobName field's value.
10825func (s *CreateTransformJobInput) SetTransformJobName(v string) *CreateTransformJobInput {
10826	s.TransformJobName = &v
10827	return s
10828}
10829
10830// SetTransformOutput sets the TransformOutput field's value.
10831func (s *CreateTransformJobInput) SetTransformOutput(v *TransformOutput) *CreateTransformJobInput {
10832	s.TransformOutput = v
10833	return s
10834}
10835
10836// SetTransformResources sets the TransformResources field's value.
10837func (s *CreateTransformJobInput) SetTransformResources(v *TransformResources) *CreateTransformJobInput {
10838	s.TransformResources = v
10839	return s
10840}
10841
10842type CreateTransformJobOutput struct {
10843	_ struct{} `type:"structure"`
10844
10845	// The Amazon Resource Name (ARN) of the transform job.
10846	//
10847	// TransformJobArn is a required field
10848	TransformJobArn *string `type:"string" required:"true"`
10849}
10850
10851// String returns the string representation
10852func (s CreateTransformJobOutput) String() string {
10853	return awsutil.Prettify(s)
10854}
10855
10856// GoString returns the string representation
10857func (s CreateTransformJobOutput) GoString() string {
10858	return s.String()
10859}
10860
10861// SetTransformJobArn sets the TransformJobArn field's value.
10862func (s *CreateTransformJobOutput) SetTransformJobArn(v string) *CreateTransformJobOutput {
10863	s.TransformJobArn = &v
10864	return s
10865}
10866
10867type CreateWorkteamInput struct {
10868	_ struct{} `type:"structure"`
10869
10870	// A description of the work team.
10871	//
10872	// Description is a required field
10873	Description *string `min:"1" type:"string" required:"true"`
10874
10875	// A list of MemberDefinition objects that contains objects that identify the
10876	// Amazon Cognito user pool that makes up the work team. For more information,
10877	// see Amazon Cognito User Pools (http://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-identity-pools.html).
10878	//
10879	// All of the CognitoMemberDefinition objects that make up the member definition
10880	// must have the same ClientId and UserPool values.
10881	//
10882	// MemberDefinitions is a required field
10883	MemberDefinitions []*MemberDefinition `min:"1" type:"list" required:"true"`
10884
10885	// Configures notification of workers regarding available or expiring work items.
10886	NotificationConfiguration *NotificationConfiguration `type:"structure"`
10887
10888	Tags []*Tag `type:"list"`
10889
10890	// The name of the work team. Use this name to identify the work team.
10891	//
10892	// WorkteamName is a required field
10893	WorkteamName *string `min:"1" type:"string" required:"true"`
10894}
10895
10896// String returns the string representation
10897func (s CreateWorkteamInput) String() string {
10898	return awsutil.Prettify(s)
10899}
10900
10901// GoString returns the string representation
10902func (s CreateWorkteamInput) GoString() string {
10903	return s.String()
10904}
10905
10906// Validate inspects the fields of the type to determine if they are valid.
10907func (s *CreateWorkteamInput) Validate() error {
10908	invalidParams := request.ErrInvalidParams{Context: "CreateWorkteamInput"}
10909	if s.Description == nil {
10910		invalidParams.Add(request.NewErrParamRequired("Description"))
10911	}
10912	if s.Description != nil && len(*s.Description) < 1 {
10913		invalidParams.Add(request.NewErrParamMinLen("Description", 1))
10914	}
10915	if s.MemberDefinitions == nil {
10916		invalidParams.Add(request.NewErrParamRequired("MemberDefinitions"))
10917	}
10918	if s.MemberDefinitions != nil && len(s.MemberDefinitions) < 1 {
10919		invalidParams.Add(request.NewErrParamMinLen("MemberDefinitions", 1))
10920	}
10921	if s.WorkteamName == nil {
10922		invalidParams.Add(request.NewErrParamRequired("WorkteamName"))
10923	}
10924	if s.WorkteamName != nil && len(*s.WorkteamName) < 1 {
10925		invalidParams.Add(request.NewErrParamMinLen("WorkteamName", 1))
10926	}
10927	if s.MemberDefinitions != nil {
10928		for i, v := range s.MemberDefinitions {
10929			if v == nil {
10930				continue
10931			}
10932			if err := v.Validate(); err != nil {
10933				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MemberDefinitions", i), err.(request.ErrInvalidParams))
10934			}
10935		}
10936	}
10937	if s.Tags != nil {
10938		for i, v := range s.Tags {
10939			if v == nil {
10940				continue
10941			}
10942			if err := v.Validate(); err != nil {
10943				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Tags", i), err.(request.ErrInvalidParams))
10944			}
10945		}
10946	}
10947
10948	if invalidParams.Len() > 0 {
10949		return invalidParams
10950	}
10951	return nil
10952}
10953
10954// SetDescription sets the Description field's value.
10955func (s *CreateWorkteamInput) SetDescription(v string) *CreateWorkteamInput {
10956	s.Description = &v
10957	return s
10958}
10959
10960// SetMemberDefinitions sets the MemberDefinitions field's value.
10961func (s *CreateWorkteamInput) SetMemberDefinitions(v []*MemberDefinition) *CreateWorkteamInput {
10962	s.MemberDefinitions = v
10963	return s
10964}
10965
10966// SetNotificationConfiguration sets the NotificationConfiguration field's value.
10967func (s *CreateWorkteamInput) SetNotificationConfiguration(v *NotificationConfiguration) *CreateWorkteamInput {
10968	s.NotificationConfiguration = v
10969	return s
10970}
10971
10972// SetTags sets the Tags field's value.
10973func (s *CreateWorkteamInput) SetTags(v []*Tag) *CreateWorkteamInput {
10974	s.Tags = v
10975	return s
10976}
10977
10978// SetWorkteamName sets the WorkteamName field's value.
10979func (s *CreateWorkteamInput) SetWorkteamName(v string) *CreateWorkteamInput {
10980	s.WorkteamName = &v
10981	return s
10982}
10983
10984type CreateWorkteamOutput struct {
10985	_ struct{} `type:"structure"`
10986
10987	// The Amazon Resource Name (ARN) of the work team. You can use this ARN to
10988	// identify the work team.
10989	WorkteamArn *string `type:"string"`
10990}
10991
10992// String returns the string representation
10993func (s CreateWorkteamOutput) String() string {
10994	return awsutil.Prettify(s)
10995}
10996
10997// GoString returns the string representation
10998func (s CreateWorkteamOutput) GoString() string {
10999	return s.String()
11000}
11001
11002// SetWorkteamArn sets the WorkteamArn field's value.
11003func (s *CreateWorkteamOutput) SetWorkteamArn(v string) *CreateWorkteamOutput {
11004	s.WorkteamArn = &v
11005	return s
11006}
11007
11008// The data structure used to combine the input data and transformed data from
11009// the batch transform output into a joined dataset and to store it in an output
11010// file. It also contains information on how to filter the input data and the
11011// joined dataset. For more information, see Batch Transform I/O Join (http://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-io-join.html).
11012type DataProcessing struct {
11013	_ struct{} `type:"structure"`
11014
11015	// A JSONPath expression used to select a portion of the input data to pass
11016	// to the algorithm. Use the InputFilter parameter to exclude fields, such as
11017	// an ID column, from the input. If you want Amazon SageMaker to pass the entire
11018	// input dataset to the algorithm, accept the default value $.
11019	//
11020	// Examples: "$", "$[1:]", "$.features"
11021	InputFilter *string `type:"string"`
11022
11023	// Specifies the source of the data to join with the transformed data. The valid
11024	// values are None and Input The default value is None which specifies not to
11025	// join the input with the transformed data. If you want the batch transform
11026	// job to join the original input data with the transformed data, set JoinSource
11027	// to Input. To join input and output, the batch transform job must satisfy
11028	// the Requirements for Using Batch Transform I/O Join (http://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-io-join.html#batch-transform-io-join-requirements).
11029	//
11030	// For JSON or JSONLines objects, such as a JSON array, Amazon SageMaker adds
11031	// the transformed data to the input JSON object in an attribute called SageMakerOutput.
11032	// The joined result for JSON must be a key-value pair object. If the input
11033	// is not a key-value pair object, Amazon SageMaker creates a new JSON file.
11034	// In the new JSON file, and the input data is stored under the SageMakerInput
11035	// key and the results are stored in SageMakerOutput.
11036	//
11037	// For CSV files, Amazon SageMaker combines the transformed data with the input
11038	// data at the end of the input data and stores it in the output file. The joined
11039	// data has the joined input data followed by the transformed data and the output
11040	// is a CSV file.
11041	JoinSource *string `type:"string" enum:"JoinSource"`
11042
11043	// A JSONPath expression used to select a portion of the joined dataset to save
11044	// in the output file for a batch transform job. If you want Amazon SageMaker
11045	// to store the entire input dataset in the output file, leave the default value,
11046	// $. If you specify indexes that aren't within the dimension size of the joined
11047	// dataset, you get an error.
11048	//
11049	// Examples: "$", "$[0,5:]", "$.['id','SageMakerOutput']"
11050	OutputFilter *string `type:"string"`
11051}
11052
11053// String returns the string representation
11054func (s DataProcessing) String() string {
11055	return awsutil.Prettify(s)
11056}
11057
11058// GoString returns the string representation
11059func (s DataProcessing) GoString() string {
11060	return s.String()
11061}
11062
11063// SetInputFilter sets the InputFilter field's value.
11064func (s *DataProcessing) SetInputFilter(v string) *DataProcessing {
11065	s.InputFilter = &v
11066	return s
11067}
11068
11069// SetJoinSource sets the JoinSource field's value.
11070func (s *DataProcessing) SetJoinSource(v string) *DataProcessing {
11071	s.JoinSource = &v
11072	return s
11073}
11074
11075// SetOutputFilter sets the OutputFilter field's value.
11076func (s *DataProcessing) SetOutputFilter(v string) *DataProcessing {
11077	s.OutputFilter = &v
11078	return s
11079}
11080
11081// Describes the location of the channel data.
11082type DataSource struct {
11083	_ struct{} `type:"structure"`
11084
11085	// The S3 location of the data source that is associated with a channel.
11086	S3DataSource *S3DataSource `type:"structure"`
11087}
11088
11089// String returns the string representation
11090func (s DataSource) String() string {
11091	return awsutil.Prettify(s)
11092}
11093
11094// GoString returns the string representation
11095func (s DataSource) GoString() string {
11096	return s.String()
11097}
11098
11099// Validate inspects the fields of the type to determine if they are valid.
11100func (s *DataSource) Validate() error {
11101	invalidParams := request.ErrInvalidParams{Context: "DataSource"}
11102	if s.S3DataSource != nil {
11103		if err := s.S3DataSource.Validate(); err != nil {
11104			invalidParams.AddNested("S3DataSource", err.(request.ErrInvalidParams))
11105		}
11106	}
11107
11108	if invalidParams.Len() > 0 {
11109		return invalidParams
11110	}
11111	return nil
11112}
11113
11114// SetS3DataSource sets the S3DataSource field's value.
11115func (s *DataSource) SetS3DataSource(v *S3DataSource) *DataSource {
11116	s.S3DataSource = v
11117	return s
11118}
11119
11120type DeleteAlgorithmInput struct {
11121	_ struct{} `type:"structure"`
11122
11123	// The name of the algorithm to delete.
11124	//
11125	// AlgorithmName is a required field
11126	AlgorithmName *string `min:"1" type:"string" required:"true"`
11127}
11128
11129// String returns the string representation
11130func (s DeleteAlgorithmInput) String() string {
11131	return awsutil.Prettify(s)
11132}
11133
11134// GoString returns the string representation
11135func (s DeleteAlgorithmInput) GoString() string {
11136	return s.String()
11137}
11138
11139// Validate inspects the fields of the type to determine if they are valid.
11140func (s *DeleteAlgorithmInput) Validate() error {
11141	invalidParams := request.ErrInvalidParams{Context: "DeleteAlgorithmInput"}
11142	if s.AlgorithmName == nil {
11143		invalidParams.Add(request.NewErrParamRequired("AlgorithmName"))
11144	}
11145	if s.AlgorithmName != nil && len(*s.AlgorithmName) < 1 {
11146		invalidParams.Add(request.NewErrParamMinLen("AlgorithmName", 1))
11147	}
11148
11149	if invalidParams.Len() > 0 {
11150		return invalidParams
11151	}
11152	return nil
11153}
11154
11155// SetAlgorithmName sets the AlgorithmName field's value.
11156func (s *DeleteAlgorithmInput) SetAlgorithmName(v string) *DeleteAlgorithmInput {
11157	s.AlgorithmName = &v
11158	return s
11159}
11160
11161type DeleteAlgorithmOutput struct {
11162	_ struct{} `type:"structure"`
11163}
11164
11165// String returns the string representation
11166func (s DeleteAlgorithmOutput) String() string {
11167	return awsutil.Prettify(s)
11168}
11169
11170// GoString returns the string representation
11171func (s DeleteAlgorithmOutput) GoString() string {
11172	return s.String()
11173}
11174
11175type DeleteCodeRepositoryInput struct {
11176	_ struct{} `type:"structure"`
11177
11178	// The name of the Git repository to delete.
11179	//
11180	// CodeRepositoryName is a required field
11181	CodeRepositoryName *string `min:"1" type:"string" required:"true"`
11182}
11183
11184// String returns the string representation
11185func (s DeleteCodeRepositoryInput) String() string {
11186	return awsutil.Prettify(s)
11187}
11188
11189// GoString returns the string representation
11190func (s DeleteCodeRepositoryInput) GoString() string {
11191	return s.String()
11192}
11193
11194// Validate inspects the fields of the type to determine if they are valid.
11195func (s *DeleteCodeRepositoryInput) Validate() error {
11196	invalidParams := request.ErrInvalidParams{Context: "DeleteCodeRepositoryInput"}
11197	if s.CodeRepositoryName == nil {
11198		invalidParams.Add(request.NewErrParamRequired("CodeRepositoryName"))
11199	}
11200	if s.CodeRepositoryName != nil && len(*s.CodeRepositoryName) < 1 {
11201		invalidParams.Add(request.NewErrParamMinLen("CodeRepositoryName", 1))
11202	}
11203
11204	if invalidParams.Len() > 0 {
11205		return invalidParams
11206	}
11207	return nil
11208}
11209
11210// SetCodeRepositoryName sets the CodeRepositoryName field's value.
11211func (s *DeleteCodeRepositoryInput) SetCodeRepositoryName(v string) *DeleteCodeRepositoryInput {
11212	s.CodeRepositoryName = &v
11213	return s
11214}
11215
11216type DeleteCodeRepositoryOutput struct {
11217	_ struct{} `type:"structure"`
11218}
11219
11220// String returns the string representation
11221func (s DeleteCodeRepositoryOutput) String() string {
11222	return awsutil.Prettify(s)
11223}
11224
11225// GoString returns the string representation
11226func (s DeleteCodeRepositoryOutput) GoString() string {
11227	return s.String()
11228}
11229
11230type DeleteEndpointConfigInput struct {
11231	_ struct{} `type:"structure"`
11232
11233	// The name of the endpoint configuration that you want to delete.
11234	//
11235	// EndpointConfigName is a required field
11236	EndpointConfigName *string `type:"string" required:"true"`
11237}
11238
11239// String returns the string representation
11240func (s DeleteEndpointConfigInput) String() string {
11241	return awsutil.Prettify(s)
11242}
11243
11244// GoString returns the string representation
11245func (s DeleteEndpointConfigInput) GoString() string {
11246	return s.String()
11247}
11248
11249// Validate inspects the fields of the type to determine if they are valid.
11250func (s *DeleteEndpointConfigInput) Validate() error {
11251	invalidParams := request.ErrInvalidParams{Context: "DeleteEndpointConfigInput"}
11252	if s.EndpointConfigName == nil {
11253		invalidParams.Add(request.NewErrParamRequired("EndpointConfigName"))
11254	}
11255
11256	if invalidParams.Len() > 0 {
11257		return invalidParams
11258	}
11259	return nil
11260}
11261
11262// SetEndpointConfigName sets the EndpointConfigName field's value.
11263func (s *DeleteEndpointConfigInput) SetEndpointConfigName(v string) *DeleteEndpointConfigInput {
11264	s.EndpointConfigName = &v
11265	return s
11266}
11267
11268type DeleteEndpointConfigOutput struct {
11269	_ struct{} `type:"structure"`
11270}
11271
11272// String returns the string representation
11273func (s DeleteEndpointConfigOutput) String() string {
11274	return awsutil.Prettify(s)
11275}
11276
11277// GoString returns the string representation
11278func (s DeleteEndpointConfigOutput) GoString() string {
11279	return s.String()
11280}
11281
11282type DeleteEndpointInput struct {
11283	_ struct{} `type:"structure"`
11284
11285	// The name of the endpoint that you want to delete.
11286	//
11287	// EndpointName is a required field
11288	EndpointName *string `type:"string" required:"true"`
11289}
11290
11291// String returns the string representation
11292func (s DeleteEndpointInput) String() string {
11293	return awsutil.Prettify(s)
11294}
11295
11296// GoString returns the string representation
11297func (s DeleteEndpointInput) GoString() string {
11298	return s.String()
11299}
11300
11301// Validate inspects the fields of the type to determine if they are valid.
11302func (s *DeleteEndpointInput) Validate() error {
11303	invalidParams := request.ErrInvalidParams{Context: "DeleteEndpointInput"}
11304	if s.EndpointName == nil {
11305		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
11306	}
11307
11308	if invalidParams.Len() > 0 {
11309		return invalidParams
11310	}
11311	return nil
11312}
11313
11314// SetEndpointName sets the EndpointName field's value.
11315func (s *DeleteEndpointInput) SetEndpointName(v string) *DeleteEndpointInput {
11316	s.EndpointName = &v
11317	return s
11318}
11319
11320type DeleteEndpointOutput struct {
11321	_ struct{} `type:"structure"`
11322}
11323
11324// String returns the string representation
11325func (s DeleteEndpointOutput) String() string {
11326	return awsutil.Prettify(s)
11327}
11328
11329// GoString returns the string representation
11330func (s DeleteEndpointOutput) GoString() string {
11331	return s.String()
11332}
11333
11334type DeleteModelInput struct {
11335	_ struct{} `type:"structure"`
11336
11337	// The name of the model to delete.
11338	//
11339	// ModelName is a required field
11340	ModelName *string `type:"string" required:"true"`
11341}
11342
11343// String returns the string representation
11344func (s DeleteModelInput) String() string {
11345	return awsutil.Prettify(s)
11346}
11347
11348// GoString returns the string representation
11349func (s DeleteModelInput) GoString() string {
11350	return s.String()
11351}
11352
11353// Validate inspects the fields of the type to determine if they are valid.
11354func (s *DeleteModelInput) Validate() error {
11355	invalidParams := request.ErrInvalidParams{Context: "DeleteModelInput"}
11356	if s.ModelName == nil {
11357		invalidParams.Add(request.NewErrParamRequired("ModelName"))
11358	}
11359
11360	if invalidParams.Len() > 0 {
11361		return invalidParams
11362	}
11363	return nil
11364}
11365
11366// SetModelName sets the ModelName field's value.
11367func (s *DeleteModelInput) SetModelName(v string) *DeleteModelInput {
11368	s.ModelName = &v
11369	return s
11370}
11371
11372type DeleteModelOutput struct {
11373	_ struct{} `type:"structure"`
11374}
11375
11376// String returns the string representation
11377func (s DeleteModelOutput) String() string {
11378	return awsutil.Prettify(s)
11379}
11380
11381// GoString returns the string representation
11382func (s DeleteModelOutput) GoString() string {
11383	return s.String()
11384}
11385
11386type DeleteModelPackageInput struct {
11387	_ struct{} `type:"structure"`
11388
11389	// The name of the model package. The name must have 1 to 63 characters. Valid
11390	// characters are a-z, A-Z, 0-9, and - (hyphen).
11391	//
11392	// ModelPackageName is a required field
11393	ModelPackageName *string `min:"1" type:"string" required:"true"`
11394}
11395
11396// String returns the string representation
11397func (s DeleteModelPackageInput) String() string {
11398	return awsutil.Prettify(s)
11399}
11400
11401// GoString returns the string representation
11402func (s DeleteModelPackageInput) GoString() string {
11403	return s.String()
11404}
11405
11406// Validate inspects the fields of the type to determine if they are valid.
11407func (s *DeleteModelPackageInput) Validate() error {
11408	invalidParams := request.ErrInvalidParams{Context: "DeleteModelPackageInput"}
11409	if s.ModelPackageName == nil {
11410		invalidParams.Add(request.NewErrParamRequired("ModelPackageName"))
11411	}
11412	if s.ModelPackageName != nil && len(*s.ModelPackageName) < 1 {
11413		invalidParams.Add(request.NewErrParamMinLen("ModelPackageName", 1))
11414	}
11415
11416	if invalidParams.Len() > 0 {
11417		return invalidParams
11418	}
11419	return nil
11420}
11421
11422// SetModelPackageName sets the ModelPackageName field's value.
11423func (s *DeleteModelPackageInput) SetModelPackageName(v string) *DeleteModelPackageInput {
11424	s.ModelPackageName = &v
11425	return s
11426}
11427
11428type DeleteModelPackageOutput struct {
11429	_ struct{} `type:"structure"`
11430}
11431
11432// String returns the string representation
11433func (s DeleteModelPackageOutput) String() string {
11434	return awsutil.Prettify(s)
11435}
11436
11437// GoString returns the string representation
11438func (s DeleteModelPackageOutput) GoString() string {
11439	return s.String()
11440}
11441
11442type DeleteNotebookInstanceInput struct {
11443	_ struct{} `type:"structure"`
11444
11445	// The name of the Amazon SageMaker notebook instance to delete.
11446	//
11447	// NotebookInstanceName is a required field
11448	NotebookInstanceName *string `type:"string" required:"true"`
11449}
11450
11451// String returns the string representation
11452func (s DeleteNotebookInstanceInput) String() string {
11453	return awsutil.Prettify(s)
11454}
11455
11456// GoString returns the string representation
11457func (s DeleteNotebookInstanceInput) GoString() string {
11458	return s.String()
11459}
11460
11461// Validate inspects the fields of the type to determine if they are valid.
11462func (s *DeleteNotebookInstanceInput) Validate() error {
11463	invalidParams := request.ErrInvalidParams{Context: "DeleteNotebookInstanceInput"}
11464	if s.NotebookInstanceName == nil {
11465		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName"))
11466	}
11467
11468	if invalidParams.Len() > 0 {
11469		return invalidParams
11470	}
11471	return nil
11472}
11473
11474// SetNotebookInstanceName sets the NotebookInstanceName field's value.
11475func (s *DeleteNotebookInstanceInput) SetNotebookInstanceName(v string) *DeleteNotebookInstanceInput {
11476	s.NotebookInstanceName = &v
11477	return s
11478}
11479
11480type DeleteNotebookInstanceLifecycleConfigInput struct {
11481	_ struct{} `type:"structure"`
11482
11483	// The name of the lifecycle configuration to delete.
11484	//
11485	// NotebookInstanceLifecycleConfigName is a required field
11486	NotebookInstanceLifecycleConfigName *string `type:"string" required:"true"`
11487}
11488
11489// String returns the string representation
11490func (s DeleteNotebookInstanceLifecycleConfigInput) String() string {
11491	return awsutil.Prettify(s)
11492}
11493
11494// GoString returns the string representation
11495func (s DeleteNotebookInstanceLifecycleConfigInput) GoString() string {
11496	return s.String()
11497}
11498
11499// Validate inspects the fields of the type to determine if they are valid.
11500func (s *DeleteNotebookInstanceLifecycleConfigInput) Validate() error {
11501	invalidParams := request.ErrInvalidParams{Context: "DeleteNotebookInstanceLifecycleConfigInput"}
11502	if s.NotebookInstanceLifecycleConfigName == nil {
11503		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceLifecycleConfigName"))
11504	}
11505
11506	if invalidParams.Len() > 0 {
11507		return invalidParams
11508	}
11509	return nil
11510}
11511
11512// SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value.
11513func (s *DeleteNotebookInstanceLifecycleConfigInput) SetNotebookInstanceLifecycleConfigName(v string) *DeleteNotebookInstanceLifecycleConfigInput {
11514	s.NotebookInstanceLifecycleConfigName = &v
11515	return s
11516}
11517
11518type DeleteNotebookInstanceLifecycleConfigOutput struct {
11519	_ struct{} `type:"structure"`
11520}
11521
11522// String returns the string representation
11523func (s DeleteNotebookInstanceLifecycleConfigOutput) String() string {
11524	return awsutil.Prettify(s)
11525}
11526
11527// GoString returns the string representation
11528func (s DeleteNotebookInstanceLifecycleConfigOutput) GoString() string {
11529	return s.String()
11530}
11531
11532type DeleteNotebookInstanceOutput struct {
11533	_ struct{} `type:"structure"`
11534}
11535
11536// String returns the string representation
11537func (s DeleteNotebookInstanceOutput) String() string {
11538	return awsutil.Prettify(s)
11539}
11540
11541// GoString returns the string representation
11542func (s DeleteNotebookInstanceOutput) GoString() string {
11543	return s.String()
11544}
11545
11546type DeleteTagsInput struct {
11547	_ struct{} `type:"structure"`
11548
11549	// The Amazon Resource Name (ARN) of the resource whose tags you want to delete.
11550	//
11551	// ResourceArn is a required field
11552	ResourceArn *string `type:"string" required:"true"`
11553
11554	// An array or one or more tag keys to delete.
11555	//
11556	// TagKeys is a required field
11557	TagKeys []*string `min:"1" type:"list" required:"true"`
11558}
11559
11560// String returns the string representation
11561func (s DeleteTagsInput) String() string {
11562	return awsutil.Prettify(s)
11563}
11564
11565// GoString returns the string representation
11566func (s DeleteTagsInput) GoString() string {
11567	return s.String()
11568}
11569
11570// Validate inspects the fields of the type to determine if they are valid.
11571func (s *DeleteTagsInput) Validate() error {
11572	invalidParams := request.ErrInvalidParams{Context: "DeleteTagsInput"}
11573	if s.ResourceArn == nil {
11574		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
11575	}
11576	if s.TagKeys == nil {
11577		invalidParams.Add(request.NewErrParamRequired("TagKeys"))
11578	}
11579	if s.TagKeys != nil && len(s.TagKeys) < 1 {
11580		invalidParams.Add(request.NewErrParamMinLen("TagKeys", 1))
11581	}
11582
11583	if invalidParams.Len() > 0 {
11584		return invalidParams
11585	}
11586	return nil
11587}
11588
11589// SetResourceArn sets the ResourceArn field's value.
11590func (s *DeleteTagsInput) SetResourceArn(v string) *DeleteTagsInput {
11591	s.ResourceArn = &v
11592	return s
11593}
11594
11595// SetTagKeys sets the TagKeys field's value.
11596func (s *DeleteTagsInput) SetTagKeys(v []*string) *DeleteTagsInput {
11597	s.TagKeys = v
11598	return s
11599}
11600
11601type DeleteTagsOutput struct {
11602	_ struct{} `type:"structure"`
11603}
11604
11605// String returns the string representation
11606func (s DeleteTagsOutput) String() string {
11607	return awsutil.Prettify(s)
11608}
11609
11610// GoString returns the string representation
11611func (s DeleteTagsOutput) GoString() string {
11612	return s.String()
11613}
11614
11615type DeleteWorkteamInput struct {
11616	_ struct{} `type:"structure"`
11617
11618	// The name of the work team to delete.
11619	//
11620	// WorkteamName is a required field
11621	WorkteamName *string `min:"1" type:"string" required:"true"`
11622}
11623
11624// String returns the string representation
11625func (s DeleteWorkteamInput) String() string {
11626	return awsutil.Prettify(s)
11627}
11628
11629// GoString returns the string representation
11630func (s DeleteWorkteamInput) GoString() string {
11631	return s.String()
11632}
11633
11634// Validate inspects the fields of the type to determine if they are valid.
11635func (s *DeleteWorkteamInput) Validate() error {
11636	invalidParams := request.ErrInvalidParams{Context: "DeleteWorkteamInput"}
11637	if s.WorkteamName == nil {
11638		invalidParams.Add(request.NewErrParamRequired("WorkteamName"))
11639	}
11640	if s.WorkteamName != nil && len(*s.WorkteamName) < 1 {
11641		invalidParams.Add(request.NewErrParamMinLen("WorkteamName", 1))
11642	}
11643
11644	if invalidParams.Len() > 0 {
11645		return invalidParams
11646	}
11647	return nil
11648}
11649
11650// SetWorkteamName sets the WorkteamName field's value.
11651func (s *DeleteWorkteamInput) SetWorkteamName(v string) *DeleteWorkteamInput {
11652	s.WorkteamName = &v
11653	return s
11654}
11655
11656type DeleteWorkteamOutput struct {
11657	_ struct{} `type:"structure"`
11658
11659	// Returns true if the work team was successfully deleted; otherwise, returns
11660	// false.
11661	//
11662	// Success is a required field
11663	Success *bool `type:"boolean" required:"true"`
11664}
11665
11666// String returns the string representation
11667func (s DeleteWorkteamOutput) String() string {
11668	return awsutil.Prettify(s)
11669}
11670
11671// GoString returns the string representation
11672func (s DeleteWorkteamOutput) GoString() string {
11673	return s.String()
11674}
11675
11676// SetSuccess sets the Success field's value.
11677func (s *DeleteWorkteamOutput) SetSuccess(v bool) *DeleteWorkteamOutput {
11678	s.Success = &v
11679	return s
11680}
11681
11682// Gets the Amazon EC2 Container Registry path of the docker image of the model
11683// that is hosted in this ProductionVariant.
11684//
11685// If you used the registry/repository[:tag] form to specify the image path
11686// of the primary container when you created the model hosted in this ProductionVariant,
11687// the path resolves to a path of the form registry/repository[@digest]. A digest
11688// is a hash value that identifies a specific version of an image. For information
11689// about Amazon ECR paths, see Pulling an Image (http://docs.aws.amazon.com//AmazonECR/latest/userguide/docker-pull-ecr-image.html)
11690// in the Amazon ECR User Guide.
11691type DeployedImage struct {
11692	_ struct{} `type:"structure"`
11693
11694	// The date and time when the image path for the model resolved to the ResolvedImage
11695	ResolutionTime *time.Time `type:"timestamp"`
11696
11697	// The specific digest path of the image hosted in this ProductionVariant.
11698	ResolvedImage *string `type:"string"`
11699
11700	// The image path you specified when you created the model.
11701	SpecifiedImage *string `type:"string"`
11702}
11703
11704// String returns the string representation
11705func (s DeployedImage) String() string {
11706	return awsutil.Prettify(s)
11707}
11708
11709// GoString returns the string representation
11710func (s DeployedImage) GoString() string {
11711	return s.String()
11712}
11713
11714// SetResolutionTime sets the ResolutionTime field's value.
11715func (s *DeployedImage) SetResolutionTime(v time.Time) *DeployedImage {
11716	s.ResolutionTime = &v
11717	return s
11718}
11719
11720// SetResolvedImage sets the ResolvedImage field's value.
11721func (s *DeployedImage) SetResolvedImage(v string) *DeployedImage {
11722	s.ResolvedImage = &v
11723	return s
11724}
11725
11726// SetSpecifiedImage sets the SpecifiedImage field's value.
11727func (s *DeployedImage) SetSpecifiedImage(v string) *DeployedImage {
11728	s.SpecifiedImage = &v
11729	return s
11730}
11731
11732type DescribeAlgorithmInput struct {
11733	_ struct{} `type:"structure"`
11734
11735	// The name of the algorithm to describe.
11736	//
11737	// AlgorithmName is a required field
11738	AlgorithmName *string `min:"1" type:"string" required:"true"`
11739}
11740
11741// String returns the string representation
11742func (s DescribeAlgorithmInput) String() string {
11743	return awsutil.Prettify(s)
11744}
11745
11746// GoString returns the string representation
11747func (s DescribeAlgorithmInput) GoString() string {
11748	return s.String()
11749}
11750
11751// Validate inspects the fields of the type to determine if they are valid.
11752func (s *DescribeAlgorithmInput) Validate() error {
11753	invalidParams := request.ErrInvalidParams{Context: "DescribeAlgorithmInput"}
11754	if s.AlgorithmName == nil {
11755		invalidParams.Add(request.NewErrParamRequired("AlgorithmName"))
11756	}
11757	if s.AlgorithmName != nil && len(*s.AlgorithmName) < 1 {
11758		invalidParams.Add(request.NewErrParamMinLen("AlgorithmName", 1))
11759	}
11760
11761	if invalidParams.Len() > 0 {
11762		return invalidParams
11763	}
11764	return nil
11765}
11766
11767// SetAlgorithmName sets the AlgorithmName field's value.
11768func (s *DescribeAlgorithmInput) SetAlgorithmName(v string) *DescribeAlgorithmInput {
11769	s.AlgorithmName = &v
11770	return s
11771}
11772
11773type DescribeAlgorithmOutput struct {
11774	_ struct{} `type:"structure"`
11775
11776	// The Amazon Resource Name (ARN) of the algorithm.
11777	//
11778	// AlgorithmArn is a required field
11779	AlgorithmArn *string `min:"1" type:"string" required:"true"`
11780
11781	// A brief summary about the algorithm.
11782	AlgorithmDescription *string `type:"string"`
11783
11784	// The name of the algorithm being described.
11785	//
11786	// AlgorithmName is a required field
11787	AlgorithmName *string `min:"1" type:"string" required:"true"`
11788
11789	// The current status of the algorithm.
11790	//
11791	// AlgorithmStatus is a required field
11792	AlgorithmStatus *string `type:"string" required:"true" enum:"AlgorithmStatus"`
11793
11794	// Details about the current status of the algorithm.
11795	//
11796	// AlgorithmStatusDetails is a required field
11797	AlgorithmStatusDetails *AlgorithmStatusDetails `type:"structure" required:"true"`
11798
11799	// Whether the algorithm is certified to be listed in AWS Marketplace.
11800	CertifyForMarketplace *bool `type:"boolean"`
11801
11802	// A timestamp specifying when the algorithm was created.
11803	//
11804	// CreationTime is a required field
11805	CreationTime *time.Time `type:"timestamp" required:"true"`
11806
11807	// Details about inference jobs that the algorithm runs.
11808	InferenceSpecification *InferenceSpecification `type:"structure"`
11809
11810	// The product identifier of the algorithm.
11811	ProductId *string `type:"string"`
11812
11813	// Details about training jobs run by this algorithm.
11814	//
11815	// TrainingSpecification is a required field
11816	TrainingSpecification *TrainingSpecification `type:"structure" required:"true"`
11817
11818	// Details about configurations for one or more training jobs that Amazon SageMaker
11819	// runs to test the algorithm.
11820	ValidationSpecification *AlgorithmValidationSpecification `type:"structure"`
11821}
11822
11823// String returns the string representation
11824func (s DescribeAlgorithmOutput) String() string {
11825	return awsutil.Prettify(s)
11826}
11827
11828// GoString returns the string representation
11829func (s DescribeAlgorithmOutput) GoString() string {
11830	return s.String()
11831}
11832
11833// SetAlgorithmArn sets the AlgorithmArn field's value.
11834func (s *DescribeAlgorithmOutput) SetAlgorithmArn(v string) *DescribeAlgorithmOutput {
11835	s.AlgorithmArn = &v
11836	return s
11837}
11838
11839// SetAlgorithmDescription sets the AlgorithmDescription field's value.
11840func (s *DescribeAlgorithmOutput) SetAlgorithmDescription(v string) *DescribeAlgorithmOutput {
11841	s.AlgorithmDescription = &v
11842	return s
11843}
11844
11845// SetAlgorithmName sets the AlgorithmName field's value.
11846func (s *DescribeAlgorithmOutput) SetAlgorithmName(v string) *DescribeAlgorithmOutput {
11847	s.AlgorithmName = &v
11848	return s
11849}
11850
11851// SetAlgorithmStatus sets the AlgorithmStatus field's value.
11852func (s *DescribeAlgorithmOutput) SetAlgorithmStatus(v string) *DescribeAlgorithmOutput {
11853	s.AlgorithmStatus = &v
11854	return s
11855}
11856
11857// SetAlgorithmStatusDetails sets the AlgorithmStatusDetails field's value.
11858func (s *DescribeAlgorithmOutput) SetAlgorithmStatusDetails(v *AlgorithmStatusDetails) *DescribeAlgorithmOutput {
11859	s.AlgorithmStatusDetails = v
11860	return s
11861}
11862
11863// SetCertifyForMarketplace sets the CertifyForMarketplace field's value.
11864func (s *DescribeAlgorithmOutput) SetCertifyForMarketplace(v bool) *DescribeAlgorithmOutput {
11865	s.CertifyForMarketplace = &v
11866	return s
11867}
11868
11869// SetCreationTime sets the CreationTime field's value.
11870func (s *DescribeAlgorithmOutput) SetCreationTime(v time.Time) *DescribeAlgorithmOutput {
11871	s.CreationTime = &v
11872	return s
11873}
11874
11875// SetInferenceSpecification sets the InferenceSpecification field's value.
11876func (s *DescribeAlgorithmOutput) SetInferenceSpecification(v *InferenceSpecification) *DescribeAlgorithmOutput {
11877	s.InferenceSpecification = v
11878	return s
11879}
11880
11881// SetProductId sets the ProductId field's value.
11882func (s *DescribeAlgorithmOutput) SetProductId(v string) *DescribeAlgorithmOutput {
11883	s.ProductId = &v
11884	return s
11885}
11886
11887// SetTrainingSpecification sets the TrainingSpecification field's value.
11888func (s *DescribeAlgorithmOutput) SetTrainingSpecification(v *TrainingSpecification) *DescribeAlgorithmOutput {
11889	s.TrainingSpecification = v
11890	return s
11891}
11892
11893// SetValidationSpecification sets the ValidationSpecification field's value.
11894func (s *DescribeAlgorithmOutput) SetValidationSpecification(v *AlgorithmValidationSpecification) *DescribeAlgorithmOutput {
11895	s.ValidationSpecification = v
11896	return s
11897}
11898
11899type DescribeCodeRepositoryInput struct {
11900	_ struct{} `type:"structure"`
11901
11902	// The name of the Git repository to describe.
11903	//
11904	// CodeRepositoryName is a required field
11905	CodeRepositoryName *string `min:"1" type:"string" required:"true"`
11906}
11907
11908// String returns the string representation
11909func (s DescribeCodeRepositoryInput) String() string {
11910	return awsutil.Prettify(s)
11911}
11912
11913// GoString returns the string representation
11914func (s DescribeCodeRepositoryInput) GoString() string {
11915	return s.String()
11916}
11917
11918// Validate inspects the fields of the type to determine if they are valid.
11919func (s *DescribeCodeRepositoryInput) Validate() error {
11920	invalidParams := request.ErrInvalidParams{Context: "DescribeCodeRepositoryInput"}
11921	if s.CodeRepositoryName == nil {
11922		invalidParams.Add(request.NewErrParamRequired("CodeRepositoryName"))
11923	}
11924	if s.CodeRepositoryName != nil && len(*s.CodeRepositoryName) < 1 {
11925		invalidParams.Add(request.NewErrParamMinLen("CodeRepositoryName", 1))
11926	}
11927
11928	if invalidParams.Len() > 0 {
11929		return invalidParams
11930	}
11931	return nil
11932}
11933
11934// SetCodeRepositoryName sets the CodeRepositoryName field's value.
11935func (s *DescribeCodeRepositoryInput) SetCodeRepositoryName(v string) *DescribeCodeRepositoryInput {
11936	s.CodeRepositoryName = &v
11937	return s
11938}
11939
11940type DescribeCodeRepositoryOutput struct {
11941	_ struct{} `type:"structure"`
11942
11943	// The Amazon Resource Name (ARN) of the Git repository.
11944	//
11945	// CodeRepositoryArn is a required field
11946	CodeRepositoryArn *string `min:"1" type:"string" required:"true"`
11947
11948	// The name of the Git repository.
11949	//
11950	// CodeRepositoryName is a required field
11951	CodeRepositoryName *string `min:"1" type:"string" required:"true"`
11952
11953	// The date and time that the repository was created.
11954	//
11955	// CreationTime is a required field
11956	CreationTime *time.Time `type:"timestamp" required:"true"`
11957
11958	// Configuration details about the repository, including the URL where the repository
11959	// is located, the default branch, and the Amazon Resource Name (ARN) of the
11960	// AWS Secrets Manager secret that contains the credentials used to access the
11961	// repository.
11962	GitConfig *GitConfig `type:"structure"`
11963
11964	// The date and time that the repository was last changed.
11965	//
11966	// LastModifiedTime is a required field
11967	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
11968}
11969
11970// String returns the string representation
11971func (s DescribeCodeRepositoryOutput) String() string {
11972	return awsutil.Prettify(s)
11973}
11974
11975// GoString returns the string representation
11976func (s DescribeCodeRepositoryOutput) GoString() string {
11977	return s.String()
11978}
11979
11980// SetCodeRepositoryArn sets the CodeRepositoryArn field's value.
11981func (s *DescribeCodeRepositoryOutput) SetCodeRepositoryArn(v string) *DescribeCodeRepositoryOutput {
11982	s.CodeRepositoryArn = &v
11983	return s
11984}
11985
11986// SetCodeRepositoryName sets the CodeRepositoryName field's value.
11987func (s *DescribeCodeRepositoryOutput) SetCodeRepositoryName(v string) *DescribeCodeRepositoryOutput {
11988	s.CodeRepositoryName = &v
11989	return s
11990}
11991
11992// SetCreationTime sets the CreationTime field's value.
11993func (s *DescribeCodeRepositoryOutput) SetCreationTime(v time.Time) *DescribeCodeRepositoryOutput {
11994	s.CreationTime = &v
11995	return s
11996}
11997
11998// SetGitConfig sets the GitConfig field's value.
11999func (s *DescribeCodeRepositoryOutput) SetGitConfig(v *GitConfig) *DescribeCodeRepositoryOutput {
12000	s.GitConfig = v
12001	return s
12002}
12003
12004// SetLastModifiedTime sets the LastModifiedTime field's value.
12005func (s *DescribeCodeRepositoryOutput) SetLastModifiedTime(v time.Time) *DescribeCodeRepositoryOutput {
12006	s.LastModifiedTime = &v
12007	return s
12008}
12009
12010type DescribeCompilationJobInput struct {
12011	_ struct{} `type:"structure"`
12012
12013	// The name of the model compilation job that you want information about.
12014	//
12015	// CompilationJobName is a required field
12016	CompilationJobName *string `min:"1" type:"string" required:"true"`
12017}
12018
12019// String returns the string representation
12020func (s DescribeCompilationJobInput) String() string {
12021	return awsutil.Prettify(s)
12022}
12023
12024// GoString returns the string representation
12025func (s DescribeCompilationJobInput) GoString() string {
12026	return s.String()
12027}
12028
12029// Validate inspects the fields of the type to determine if they are valid.
12030func (s *DescribeCompilationJobInput) Validate() error {
12031	invalidParams := request.ErrInvalidParams{Context: "DescribeCompilationJobInput"}
12032	if s.CompilationJobName == nil {
12033		invalidParams.Add(request.NewErrParamRequired("CompilationJobName"))
12034	}
12035	if s.CompilationJobName != nil && len(*s.CompilationJobName) < 1 {
12036		invalidParams.Add(request.NewErrParamMinLen("CompilationJobName", 1))
12037	}
12038
12039	if invalidParams.Len() > 0 {
12040		return invalidParams
12041	}
12042	return nil
12043}
12044
12045// SetCompilationJobName sets the CompilationJobName field's value.
12046func (s *DescribeCompilationJobInput) SetCompilationJobName(v string) *DescribeCompilationJobInput {
12047	s.CompilationJobName = &v
12048	return s
12049}
12050
12051type DescribeCompilationJobOutput struct {
12052	_ struct{} `type:"structure"`
12053
12054	// The time when the model compilation job on a compilation job instance ended.
12055	// For a successful or stopped job, this is when the job's model artifacts have
12056	// finished uploading. For a failed job, this is when Amazon SageMaker detected
12057	// that the job failed.
12058	CompilationEndTime *time.Time `type:"timestamp"`
12059
12060	// The Amazon Resource Name (ARN) of an IAM role that Amazon SageMaker assumes
12061	// to perform the model compilation job.
12062	//
12063	// CompilationJobArn is a required field
12064	CompilationJobArn *string `type:"string" required:"true"`
12065
12066	// The name of the model compilation job.
12067	//
12068	// CompilationJobName is a required field
12069	CompilationJobName *string `min:"1" type:"string" required:"true"`
12070
12071	// The status of the model compilation job.
12072	//
12073	// CompilationJobStatus is a required field
12074	CompilationJobStatus *string `type:"string" required:"true" enum:"CompilationJobStatus"`
12075
12076	// The time when the model compilation job started the CompilationJob instances.
12077	//
12078	// You are billed for the time between this timestamp and the timestamp in the
12079	// DescribeCompilationJobResponse$CompilationEndTime field. In Amazon CloudWatch
12080	// Logs, the start time might be later than this time. That's because it takes
12081	// time to download the compilation job, which depends on the size of the compilation
12082	// job container.
12083	CompilationStartTime *time.Time `type:"timestamp"`
12084
12085	// The time that the model compilation job was created.
12086	//
12087	// CreationTime is a required field
12088	CreationTime *time.Time `type:"timestamp" required:"true"`
12089
12090	// If a model compilation job failed, the reason it failed.
12091	//
12092	// FailureReason is a required field
12093	FailureReason *string `type:"string" required:"true"`
12094
12095	// Information about the location in Amazon S3 of the input model artifacts,
12096	// the name and shape of the expected data inputs, and the framework in which
12097	// the model was trained.
12098	//
12099	// InputConfig is a required field
12100	InputConfig *InputConfig `type:"structure" required:"true"`
12101
12102	// The time that the status of the model compilation job was last modified.
12103	//
12104	// LastModifiedTime is a required field
12105	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
12106
12107	// Information about the location in Amazon S3 that has been configured for
12108	// storing the model artifacts used in the compilation job.
12109	//
12110	// ModelArtifacts is a required field
12111	ModelArtifacts *ModelArtifacts `type:"structure" required:"true"`
12112
12113	// Information about the output location for the compiled model and the target
12114	// device that the model runs on.
12115	//
12116	// OutputConfig is a required field
12117	OutputConfig *OutputConfig `type:"structure" required:"true"`
12118
12119	// The Amazon Resource Name (ARN) of the model compilation job.
12120	//
12121	// RoleArn is a required field
12122	RoleArn *string `min:"20" type:"string" required:"true"`
12123
12124	// Specifies a limit to how long a model compilation job can run. When the job
12125	// reaches the time limit, Amazon SageMaker ends the compilation job. Use this
12126	// API to cap model training costs.
12127	//
12128	// StoppingCondition is a required field
12129	StoppingCondition *StoppingCondition `type:"structure" required:"true"`
12130}
12131
12132// String returns the string representation
12133func (s DescribeCompilationJobOutput) String() string {
12134	return awsutil.Prettify(s)
12135}
12136
12137// GoString returns the string representation
12138func (s DescribeCompilationJobOutput) GoString() string {
12139	return s.String()
12140}
12141
12142// SetCompilationEndTime sets the CompilationEndTime field's value.
12143func (s *DescribeCompilationJobOutput) SetCompilationEndTime(v time.Time) *DescribeCompilationJobOutput {
12144	s.CompilationEndTime = &v
12145	return s
12146}
12147
12148// SetCompilationJobArn sets the CompilationJobArn field's value.
12149func (s *DescribeCompilationJobOutput) SetCompilationJobArn(v string) *DescribeCompilationJobOutput {
12150	s.CompilationJobArn = &v
12151	return s
12152}
12153
12154// SetCompilationJobName sets the CompilationJobName field's value.
12155func (s *DescribeCompilationJobOutput) SetCompilationJobName(v string) *DescribeCompilationJobOutput {
12156	s.CompilationJobName = &v
12157	return s
12158}
12159
12160// SetCompilationJobStatus sets the CompilationJobStatus field's value.
12161func (s *DescribeCompilationJobOutput) SetCompilationJobStatus(v string) *DescribeCompilationJobOutput {
12162	s.CompilationJobStatus = &v
12163	return s
12164}
12165
12166// SetCompilationStartTime sets the CompilationStartTime field's value.
12167func (s *DescribeCompilationJobOutput) SetCompilationStartTime(v time.Time) *DescribeCompilationJobOutput {
12168	s.CompilationStartTime = &v
12169	return s
12170}
12171
12172// SetCreationTime sets the CreationTime field's value.
12173func (s *DescribeCompilationJobOutput) SetCreationTime(v time.Time) *DescribeCompilationJobOutput {
12174	s.CreationTime = &v
12175	return s
12176}
12177
12178// SetFailureReason sets the FailureReason field's value.
12179func (s *DescribeCompilationJobOutput) SetFailureReason(v string) *DescribeCompilationJobOutput {
12180	s.FailureReason = &v
12181	return s
12182}
12183
12184// SetInputConfig sets the InputConfig field's value.
12185func (s *DescribeCompilationJobOutput) SetInputConfig(v *InputConfig) *DescribeCompilationJobOutput {
12186	s.InputConfig = v
12187	return s
12188}
12189
12190// SetLastModifiedTime sets the LastModifiedTime field's value.
12191func (s *DescribeCompilationJobOutput) SetLastModifiedTime(v time.Time) *DescribeCompilationJobOutput {
12192	s.LastModifiedTime = &v
12193	return s
12194}
12195
12196// SetModelArtifacts sets the ModelArtifacts field's value.
12197func (s *DescribeCompilationJobOutput) SetModelArtifacts(v *ModelArtifacts) *DescribeCompilationJobOutput {
12198	s.ModelArtifacts = v
12199	return s
12200}
12201
12202// SetOutputConfig sets the OutputConfig field's value.
12203func (s *DescribeCompilationJobOutput) SetOutputConfig(v *OutputConfig) *DescribeCompilationJobOutput {
12204	s.OutputConfig = v
12205	return s
12206}
12207
12208// SetRoleArn sets the RoleArn field's value.
12209func (s *DescribeCompilationJobOutput) SetRoleArn(v string) *DescribeCompilationJobOutput {
12210	s.RoleArn = &v
12211	return s
12212}
12213
12214// SetStoppingCondition sets the StoppingCondition field's value.
12215func (s *DescribeCompilationJobOutput) SetStoppingCondition(v *StoppingCondition) *DescribeCompilationJobOutput {
12216	s.StoppingCondition = v
12217	return s
12218}
12219
12220type DescribeEndpointConfigInput struct {
12221	_ struct{} `type:"structure"`
12222
12223	// The name of the endpoint configuration.
12224	//
12225	// EndpointConfigName is a required field
12226	EndpointConfigName *string `type:"string" required:"true"`
12227}
12228
12229// String returns the string representation
12230func (s DescribeEndpointConfigInput) String() string {
12231	return awsutil.Prettify(s)
12232}
12233
12234// GoString returns the string representation
12235func (s DescribeEndpointConfigInput) GoString() string {
12236	return s.String()
12237}
12238
12239// Validate inspects the fields of the type to determine if they are valid.
12240func (s *DescribeEndpointConfigInput) Validate() error {
12241	invalidParams := request.ErrInvalidParams{Context: "DescribeEndpointConfigInput"}
12242	if s.EndpointConfigName == nil {
12243		invalidParams.Add(request.NewErrParamRequired("EndpointConfigName"))
12244	}
12245
12246	if invalidParams.Len() > 0 {
12247		return invalidParams
12248	}
12249	return nil
12250}
12251
12252// SetEndpointConfigName sets the EndpointConfigName field's value.
12253func (s *DescribeEndpointConfigInput) SetEndpointConfigName(v string) *DescribeEndpointConfigInput {
12254	s.EndpointConfigName = &v
12255	return s
12256}
12257
12258type DescribeEndpointConfigOutput struct {
12259	_ struct{} `type:"structure"`
12260
12261	// A timestamp that shows when the endpoint configuration was created.
12262	//
12263	// CreationTime is a required field
12264	CreationTime *time.Time `type:"timestamp" required:"true"`
12265
12266	// The Amazon Resource Name (ARN) of the endpoint configuration.
12267	//
12268	// EndpointConfigArn is a required field
12269	EndpointConfigArn *string `min:"20" type:"string" required:"true"`
12270
12271	// Name of the Amazon SageMaker endpoint configuration.
12272	//
12273	// EndpointConfigName is a required field
12274	EndpointConfigName *string `type:"string" required:"true"`
12275
12276	// AWS KMS key ID Amazon SageMaker uses to encrypt data when storing it on the
12277	// ML storage volume attached to the instance.
12278	KmsKeyId *string `type:"string"`
12279
12280	// An array of ProductionVariant objects, one for each model that you want to
12281	// host at this endpoint.
12282	//
12283	// ProductionVariants is a required field
12284	ProductionVariants []*ProductionVariant `min:"1" type:"list" required:"true"`
12285}
12286
12287// String returns the string representation
12288func (s DescribeEndpointConfigOutput) String() string {
12289	return awsutil.Prettify(s)
12290}
12291
12292// GoString returns the string representation
12293func (s DescribeEndpointConfigOutput) GoString() string {
12294	return s.String()
12295}
12296
12297// SetCreationTime sets the CreationTime field's value.
12298func (s *DescribeEndpointConfigOutput) SetCreationTime(v time.Time) *DescribeEndpointConfigOutput {
12299	s.CreationTime = &v
12300	return s
12301}
12302
12303// SetEndpointConfigArn sets the EndpointConfigArn field's value.
12304func (s *DescribeEndpointConfigOutput) SetEndpointConfigArn(v string) *DescribeEndpointConfigOutput {
12305	s.EndpointConfigArn = &v
12306	return s
12307}
12308
12309// SetEndpointConfigName sets the EndpointConfigName field's value.
12310func (s *DescribeEndpointConfigOutput) SetEndpointConfigName(v string) *DescribeEndpointConfigOutput {
12311	s.EndpointConfigName = &v
12312	return s
12313}
12314
12315// SetKmsKeyId sets the KmsKeyId field's value.
12316func (s *DescribeEndpointConfigOutput) SetKmsKeyId(v string) *DescribeEndpointConfigOutput {
12317	s.KmsKeyId = &v
12318	return s
12319}
12320
12321// SetProductionVariants sets the ProductionVariants field's value.
12322func (s *DescribeEndpointConfigOutput) SetProductionVariants(v []*ProductionVariant) *DescribeEndpointConfigOutput {
12323	s.ProductionVariants = v
12324	return s
12325}
12326
12327type DescribeEndpointInput struct {
12328	_ struct{} `type:"structure"`
12329
12330	// The name of the endpoint.
12331	//
12332	// EndpointName is a required field
12333	EndpointName *string `type:"string" required:"true"`
12334}
12335
12336// String returns the string representation
12337func (s DescribeEndpointInput) String() string {
12338	return awsutil.Prettify(s)
12339}
12340
12341// GoString returns the string representation
12342func (s DescribeEndpointInput) GoString() string {
12343	return s.String()
12344}
12345
12346// Validate inspects the fields of the type to determine if they are valid.
12347func (s *DescribeEndpointInput) Validate() error {
12348	invalidParams := request.ErrInvalidParams{Context: "DescribeEndpointInput"}
12349	if s.EndpointName == nil {
12350		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
12351	}
12352
12353	if invalidParams.Len() > 0 {
12354		return invalidParams
12355	}
12356	return nil
12357}
12358
12359// SetEndpointName sets the EndpointName field's value.
12360func (s *DescribeEndpointInput) SetEndpointName(v string) *DescribeEndpointInput {
12361	s.EndpointName = &v
12362	return s
12363}
12364
12365type DescribeEndpointOutput struct {
12366	_ struct{} `type:"structure"`
12367
12368	// A timestamp that shows when the endpoint was created.
12369	//
12370	// CreationTime is a required field
12371	CreationTime *time.Time `type:"timestamp" required:"true"`
12372
12373	// The Amazon Resource Name (ARN) of the endpoint.
12374	//
12375	// EndpointArn is a required field
12376	EndpointArn *string `min:"20" type:"string" required:"true"`
12377
12378	// The name of the endpoint configuration associated with this endpoint.
12379	//
12380	// EndpointConfigName is a required field
12381	EndpointConfigName *string `type:"string" required:"true"`
12382
12383	// Name of the endpoint.
12384	//
12385	// EndpointName is a required field
12386	EndpointName *string `type:"string" required:"true"`
12387
12388	// The status of the endpoint.
12389	//
12390	//    * OutOfService: Endpoint is not available to take incoming requests.
12391	//
12392	//    * Creating: CreateEndpoint is executing.
12393	//
12394	//    * Updating: UpdateEndpoint or UpdateEndpointWeightsAndCapacities is executing.
12395	//
12396	//    * SystemUpdating: Endpoint is undergoing maintenance and cannot be updated
12397	//    or deleted or re-scaled until it has completed. This maintenance operation
12398	//    does not change any customer-specified values such as VPC config, KMS
12399	//    encryption, model, instance type, or instance count.
12400	//
12401	//    * RollingBack: Endpoint fails to scale up or down or change its variant
12402	//    weight and is in the process of rolling back to its previous configuration.
12403	//    Once the rollback completes, endpoint returns to an InService status.
12404	//    This transitional status only applies to an endpoint that has autoscaling
12405	//    enabled and is undergoing variant weight or capacity changes as part of
12406	//    an UpdateEndpointWeightsAndCapacities call or when the UpdateEndpointWeightsAndCapacities
12407	//    operation is called explicitly.
12408	//
12409	//    * InService: Endpoint is available to process incoming requests.
12410	//
12411	//    * Deleting: DeleteEndpoint is executing.
12412	//
12413	//    * Failed: Endpoint could not be created, updated, or re-scaled. Use DescribeEndpointOutput$FailureReason
12414	//    for information about the failure. DeleteEndpoint is the only operation
12415	//    that can be performed on a failed endpoint.
12416	//
12417	// EndpointStatus is a required field
12418	EndpointStatus *string `type:"string" required:"true" enum:"EndpointStatus"`
12419
12420	// If the status of the endpoint is Failed, the reason why it failed.
12421	FailureReason *string `type:"string"`
12422
12423	// A timestamp that shows when the endpoint was last modified.
12424	//
12425	// LastModifiedTime is a required field
12426	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
12427
12428	// An array of ProductionVariantSummary objects, one for each model hosted behind
12429	// this endpoint.
12430	ProductionVariants []*ProductionVariantSummary `min:"1" type:"list"`
12431}
12432
12433// String returns the string representation
12434func (s DescribeEndpointOutput) String() string {
12435	return awsutil.Prettify(s)
12436}
12437
12438// GoString returns the string representation
12439func (s DescribeEndpointOutput) GoString() string {
12440	return s.String()
12441}
12442
12443// SetCreationTime sets the CreationTime field's value.
12444func (s *DescribeEndpointOutput) SetCreationTime(v time.Time) *DescribeEndpointOutput {
12445	s.CreationTime = &v
12446	return s
12447}
12448
12449// SetEndpointArn sets the EndpointArn field's value.
12450func (s *DescribeEndpointOutput) SetEndpointArn(v string) *DescribeEndpointOutput {
12451	s.EndpointArn = &v
12452	return s
12453}
12454
12455// SetEndpointConfigName sets the EndpointConfigName field's value.
12456func (s *DescribeEndpointOutput) SetEndpointConfigName(v string) *DescribeEndpointOutput {
12457	s.EndpointConfigName = &v
12458	return s
12459}
12460
12461// SetEndpointName sets the EndpointName field's value.
12462func (s *DescribeEndpointOutput) SetEndpointName(v string) *DescribeEndpointOutput {
12463	s.EndpointName = &v
12464	return s
12465}
12466
12467// SetEndpointStatus sets the EndpointStatus field's value.
12468func (s *DescribeEndpointOutput) SetEndpointStatus(v string) *DescribeEndpointOutput {
12469	s.EndpointStatus = &v
12470	return s
12471}
12472
12473// SetFailureReason sets the FailureReason field's value.
12474func (s *DescribeEndpointOutput) SetFailureReason(v string) *DescribeEndpointOutput {
12475	s.FailureReason = &v
12476	return s
12477}
12478
12479// SetLastModifiedTime sets the LastModifiedTime field's value.
12480func (s *DescribeEndpointOutput) SetLastModifiedTime(v time.Time) *DescribeEndpointOutput {
12481	s.LastModifiedTime = &v
12482	return s
12483}
12484
12485// SetProductionVariants sets the ProductionVariants field's value.
12486func (s *DescribeEndpointOutput) SetProductionVariants(v []*ProductionVariantSummary) *DescribeEndpointOutput {
12487	s.ProductionVariants = v
12488	return s
12489}
12490
12491type DescribeHyperParameterTuningJobInput struct {
12492	_ struct{} `type:"structure"`
12493
12494	// The name of the tuning job to describe.
12495	//
12496	// HyperParameterTuningJobName is a required field
12497	HyperParameterTuningJobName *string `min:"1" type:"string" required:"true"`
12498}
12499
12500// String returns the string representation
12501func (s DescribeHyperParameterTuningJobInput) String() string {
12502	return awsutil.Prettify(s)
12503}
12504
12505// GoString returns the string representation
12506func (s DescribeHyperParameterTuningJobInput) GoString() string {
12507	return s.String()
12508}
12509
12510// Validate inspects the fields of the type to determine if they are valid.
12511func (s *DescribeHyperParameterTuningJobInput) Validate() error {
12512	invalidParams := request.ErrInvalidParams{Context: "DescribeHyperParameterTuningJobInput"}
12513	if s.HyperParameterTuningJobName == nil {
12514		invalidParams.Add(request.NewErrParamRequired("HyperParameterTuningJobName"))
12515	}
12516	if s.HyperParameterTuningJobName != nil && len(*s.HyperParameterTuningJobName) < 1 {
12517		invalidParams.Add(request.NewErrParamMinLen("HyperParameterTuningJobName", 1))
12518	}
12519
12520	if invalidParams.Len() > 0 {
12521		return invalidParams
12522	}
12523	return nil
12524}
12525
12526// SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value.
12527func (s *DescribeHyperParameterTuningJobInput) SetHyperParameterTuningJobName(v string) *DescribeHyperParameterTuningJobInput {
12528	s.HyperParameterTuningJobName = &v
12529	return s
12530}
12531
12532type DescribeHyperParameterTuningJobOutput struct {
12533	_ struct{} `type:"structure"`
12534
12535	// A TrainingJobSummary object that describes the training job that completed
12536	// with the best current HyperParameterTuningJobObjective.
12537	BestTrainingJob *HyperParameterTrainingJobSummary `type:"structure"`
12538
12539	// The date and time that the tuning job started.
12540	//
12541	// CreationTime is a required field
12542	CreationTime *time.Time `type:"timestamp" required:"true"`
12543
12544	// If the tuning job failed, the reason it failed.
12545	FailureReason *string `type:"string"`
12546
12547	// The date and time that the tuning job ended.
12548	HyperParameterTuningEndTime *time.Time `type:"timestamp"`
12549
12550	// The Amazon Resource Name (ARN) of the tuning job.
12551	//
12552	// HyperParameterTuningJobArn is a required field
12553	HyperParameterTuningJobArn *string `type:"string" required:"true"`
12554
12555	// The HyperParameterTuningJobConfig object that specifies the configuration
12556	// of the tuning job.
12557	//
12558	// HyperParameterTuningJobConfig is a required field
12559	HyperParameterTuningJobConfig *HyperParameterTuningJobConfig `type:"structure" required:"true"`
12560
12561	// The name of the tuning job.
12562	//
12563	// HyperParameterTuningJobName is a required field
12564	HyperParameterTuningJobName *string `min:"1" type:"string" required:"true"`
12565
12566	// The status of the tuning job: InProgress, Completed, Failed, Stopping, or
12567	// Stopped.
12568	//
12569	// HyperParameterTuningJobStatus is a required field
12570	HyperParameterTuningJobStatus *string `type:"string" required:"true" enum:"HyperParameterTuningJobStatus"`
12571
12572	// The date and time that the status of the tuning job was modified.
12573	LastModifiedTime *time.Time `type:"timestamp"`
12574
12575	// The ObjectiveStatusCounters object that specifies the number of training
12576	// jobs, categorized by the status of their final objective metric, that this
12577	// tuning job launched.
12578	//
12579	// ObjectiveStatusCounters is a required field
12580	ObjectiveStatusCounters *ObjectiveStatusCounters `type:"structure" required:"true"`
12581
12582	// If the hyperparameter tuning job is an warm start tuning job with a WarmStartType
12583	// of IDENTICAL_DATA_AND_ALGORITHM, this is the TrainingJobSummary for the training
12584	// job with the best objective metric value of all training jobs launched by
12585	// this tuning job and all parent jobs specified for the warm start tuning job.
12586	OverallBestTrainingJob *HyperParameterTrainingJobSummary `type:"structure"`
12587
12588	// The HyperParameterTrainingJobDefinition object that specifies the definition
12589	// of the training jobs that this tuning job launches.
12590	TrainingJobDefinition *HyperParameterTrainingJobDefinition `type:"structure"`
12591
12592	// The TrainingJobStatusCounters object that specifies the number of training
12593	// jobs, categorized by status, that this tuning job launched.
12594	//
12595	// TrainingJobStatusCounters is a required field
12596	TrainingJobStatusCounters *TrainingJobStatusCounters `type:"structure" required:"true"`
12597
12598	// The configuration for starting the hyperparameter parameter tuning job using
12599	// one or more previous tuning jobs as a starting point. The results of previous
12600	// tuning jobs are used to inform which combinations of hyperparameters to search
12601	// over in the new tuning job.
12602	WarmStartConfig *HyperParameterTuningJobWarmStartConfig `type:"structure"`
12603}
12604
12605// String returns the string representation
12606func (s DescribeHyperParameterTuningJobOutput) String() string {
12607	return awsutil.Prettify(s)
12608}
12609
12610// GoString returns the string representation
12611func (s DescribeHyperParameterTuningJobOutput) GoString() string {
12612	return s.String()
12613}
12614
12615// SetBestTrainingJob sets the BestTrainingJob field's value.
12616func (s *DescribeHyperParameterTuningJobOutput) SetBestTrainingJob(v *HyperParameterTrainingJobSummary) *DescribeHyperParameterTuningJobOutput {
12617	s.BestTrainingJob = v
12618	return s
12619}
12620
12621// SetCreationTime sets the CreationTime field's value.
12622func (s *DescribeHyperParameterTuningJobOutput) SetCreationTime(v time.Time) *DescribeHyperParameterTuningJobOutput {
12623	s.CreationTime = &v
12624	return s
12625}
12626
12627// SetFailureReason sets the FailureReason field's value.
12628func (s *DescribeHyperParameterTuningJobOutput) SetFailureReason(v string) *DescribeHyperParameterTuningJobOutput {
12629	s.FailureReason = &v
12630	return s
12631}
12632
12633// SetHyperParameterTuningEndTime sets the HyperParameterTuningEndTime field's value.
12634func (s *DescribeHyperParameterTuningJobOutput) SetHyperParameterTuningEndTime(v time.Time) *DescribeHyperParameterTuningJobOutput {
12635	s.HyperParameterTuningEndTime = &v
12636	return s
12637}
12638
12639// SetHyperParameterTuningJobArn sets the HyperParameterTuningJobArn field's value.
12640func (s *DescribeHyperParameterTuningJobOutput) SetHyperParameterTuningJobArn(v string) *DescribeHyperParameterTuningJobOutput {
12641	s.HyperParameterTuningJobArn = &v
12642	return s
12643}
12644
12645// SetHyperParameterTuningJobConfig sets the HyperParameterTuningJobConfig field's value.
12646func (s *DescribeHyperParameterTuningJobOutput) SetHyperParameterTuningJobConfig(v *HyperParameterTuningJobConfig) *DescribeHyperParameterTuningJobOutput {
12647	s.HyperParameterTuningJobConfig = v
12648	return s
12649}
12650
12651// SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value.
12652func (s *DescribeHyperParameterTuningJobOutput) SetHyperParameterTuningJobName(v string) *DescribeHyperParameterTuningJobOutput {
12653	s.HyperParameterTuningJobName = &v
12654	return s
12655}
12656
12657// SetHyperParameterTuningJobStatus sets the HyperParameterTuningJobStatus field's value.
12658func (s *DescribeHyperParameterTuningJobOutput) SetHyperParameterTuningJobStatus(v string) *DescribeHyperParameterTuningJobOutput {
12659	s.HyperParameterTuningJobStatus = &v
12660	return s
12661}
12662
12663// SetLastModifiedTime sets the LastModifiedTime field's value.
12664func (s *DescribeHyperParameterTuningJobOutput) SetLastModifiedTime(v time.Time) *DescribeHyperParameterTuningJobOutput {
12665	s.LastModifiedTime = &v
12666	return s
12667}
12668
12669// SetObjectiveStatusCounters sets the ObjectiveStatusCounters field's value.
12670func (s *DescribeHyperParameterTuningJobOutput) SetObjectiveStatusCounters(v *ObjectiveStatusCounters) *DescribeHyperParameterTuningJobOutput {
12671	s.ObjectiveStatusCounters = v
12672	return s
12673}
12674
12675// SetOverallBestTrainingJob sets the OverallBestTrainingJob field's value.
12676func (s *DescribeHyperParameterTuningJobOutput) SetOverallBestTrainingJob(v *HyperParameterTrainingJobSummary) *DescribeHyperParameterTuningJobOutput {
12677	s.OverallBestTrainingJob = v
12678	return s
12679}
12680
12681// SetTrainingJobDefinition sets the TrainingJobDefinition field's value.
12682func (s *DescribeHyperParameterTuningJobOutput) SetTrainingJobDefinition(v *HyperParameterTrainingJobDefinition) *DescribeHyperParameterTuningJobOutput {
12683	s.TrainingJobDefinition = v
12684	return s
12685}
12686
12687// SetTrainingJobStatusCounters sets the TrainingJobStatusCounters field's value.
12688func (s *DescribeHyperParameterTuningJobOutput) SetTrainingJobStatusCounters(v *TrainingJobStatusCounters) *DescribeHyperParameterTuningJobOutput {
12689	s.TrainingJobStatusCounters = v
12690	return s
12691}
12692
12693// SetWarmStartConfig sets the WarmStartConfig field's value.
12694func (s *DescribeHyperParameterTuningJobOutput) SetWarmStartConfig(v *HyperParameterTuningJobWarmStartConfig) *DescribeHyperParameterTuningJobOutput {
12695	s.WarmStartConfig = v
12696	return s
12697}
12698
12699type DescribeLabelingJobInput struct {
12700	_ struct{} `type:"structure"`
12701
12702	// The name of the labeling job to return information for.
12703	//
12704	// LabelingJobName is a required field
12705	LabelingJobName *string `min:"1" type:"string" required:"true"`
12706}
12707
12708// String returns the string representation
12709func (s DescribeLabelingJobInput) String() string {
12710	return awsutil.Prettify(s)
12711}
12712
12713// GoString returns the string representation
12714func (s DescribeLabelingJobInput) GoString() string {
12715	return s.String()
12716}
12717
12718// Validate inspects the fields of the type to determine if they are valid.
12719func (s *DescribeLabelingJobInput) Validate() error {
12720	invalidParams := request.ErrInvalidParams{Context: "DescribeLabelingJobInput"}
12721	if s.LabelingJobName == nil {
12722		invalidParams.Add(request.NewErrParamRequired("LabelingJobName"))
12723	}
12724	if s.LabelingJobName != nil && len(*s.LabelingJobName) < 1 {
12725		invalidParams.Add(request.NewErrParamMinLen("LabelingJobName", 1))
12726	}
12727
12728	if invalidParams.Len() > 0 {
12729		return invalidParams
12730	}
12731	return nil
12732}
12733
12734// SetLabelingJobName sets the LabelingJobName field's value.
12735func (s *DescribeLabelingJobInput) SetLabelingJobName(v string) *DescribeLabelingJobInput {
12736	s.LabelingJobName = &v
12737	return s
12738}
12739
12740type DescribeLabelingJobOutput struct {
12741	_ struct{} `type:"structure"`
12742
12743	// The date and time that the labeling job was created.
12744	//
12745	// CreationTime is a required field
12746	CreationTime *time.Time `type:"timestamp" required:"true"`
12747
12748	// If the job failed, the reason that it failed.
12749	FailureReason *string `type:"string"`
12750
12751	// Configuration information required for human workers to complete a labeling
12752	// task.
12753	//
12754	// HumanTaskConfig is a required field
12755	HumanTaskConfig *HumanTaskConfig `type:"structure" required:"true"`
12756
12757	// Input configuration information for the labeling job, such as the Amazon
12758	// S3 location of the data objects and the location of the manifest file that
12759	// describes the data objects.
12760	//
12761	// InputConfig is a required field
12762	InputConfig *LabelingJobInputConfig `type:"structure" required:"true"`
12763
12764	// A unique identifier for work done as part of a labeling job.
12765	//
12766	// JobReferenceCode is a required field
12767	JobReferenceCode *string `min:"1" type:"string" required:"true"`
12768
12769	// The attribute used as the label in the output manifest file.
12770	LabelAttributeName *string `min:"1" type:"string"`
12771
12772	// The S3 location of the JSON file that defines the categories used to label
12773	// data objects.
12774	//
12775	// The file is a JSON structure in the following format:
12776	//
12777	// {
12778	//
12779	// "document-version": "2018-11-28"
12780	//
12781	// "labels": [
12782	//
12783	// {
12784	//
12785	// "label": "label 1"
12786	//
12787	// },
12788	//
12789	// {
12790	//
12791	// "label": "label 2"
12792	//
12793	// },
12794	//
12795	// ...
12796	//
12797	// {
12798	//
12799	// "label": "label n"
12800	//
12801	// }
12802	//
12803	// ]
12804	//
12805	// }
12806	LabelCategoryConfigS3Uri *string `type:"string"`
12807
12808	// Provides a breakdown of the number of data objects labeled by humans, the
12809	// number of objects labeled by machine, the number of objects than couldn't
12810	// be labeled, and the total number of objects labeled.
12811	//
12812	// LabelCounters is a required field
12813	LabelCounters *LabelCounters `type:"structure" required:"true"`
12814
12815	// Configuration information for automated data labeling.
12816	LabelingJobAlgorithmsConfig *LabelingJobAlgorithmsConfig `type:"structure"`
12817
12818	// The Amazon Resource Name (ARN) of the labeling job.
12819	//
12820	// LabelingJobArn is a required field
12821	LabelingJobArn *string `type:"string" required:"true"`
12822
12823	// The name assigned to the labeling job when it was created.
12824	//
12825	// LabelingJobName is a required field
12826	LabelingJobName *string `min:"1" type:"string" required:"true"`
12827
12828	// The location of the output produced by the labeling job.
12829	LabelingJobOutput *LabelingJobOutput `type:"structure"`
12830
12831	// The processing status of the labeling job.
12832	//
12833	// LabelingJobStatus is a required field
12834	LabelingJobStatus *string `type:"string" required:"true" enum:"LabelingJobStatus"`
12835
12836	// The date and time that the labeling job was last updated.
12837	//
12838	// LastModifiedTime is a required field
12839	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
12840
12841	// The location of the job's output data and the AWS Key Management Service
12842	// key ID for the key used to encrypt the output data, if any.
12843	//
12844	// OutputConfig is a required field
12845	OutputConfig *LabelingJobOutputConfig `type:"structure" required:"true"`
12846
12847	// The Amazon Resource Name (ARN) that Amazon SageMaker assumes to perform tasks
12848	// on your behalf during data labeling.
12849	//
12850	// RoleArn is a required field
12851	RoleArn *string `min:"20" type:"string" required:"true"`
12852
12853	// A set of conditions for stopping a labeling job. If any of the conditions
12854	// are met, the job is automatically stopped.
12855	StoppingConditions *LabelingJobStoppingConditions `type:"structure"`
12856
12857	// An array of key/value pairs. For more information, see Using Cost Allocation
12858	// Tags (http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what)
12859	// in the AWS Billing and Cost Management User Guide.
12860	Tags []*Tag `type:"list"`
12861}
12862
12863// String returns the string representation
12864func (s DescribeLabelingJobOutput) String() string {
12865	return awsutil.Prettify(s)
12866}
12867
12868// GoString returns the string representation
12869func (s DescribeLabelingJobOutput) GoString() string {
12870	return s.String()
12871}
12872
12873// SetCreationTime sets the CreationTime field's value.
12874func (s *DescribeLabelingJobOutput) SetCreationTime(v time.Time) *DescribeLabelingJobOutput {
12875	s.CreationTime = &v
12876	return s
12877}
12878
12879// SetFailureReason sets the FailureReason field's value.
12880func (s *DescribeLabelingJobOutput) SetFailureReason(v string) *DescribeLabelingJobOutput {
12881	s.FailureReason = &v
12882	return s
12883}
12884
12885// SetHumanTaskConfig sets the HumanTaskConfig field's value.
12886func (s *DescribeLabelingJobOutput) SetHumanTaskConfig(v *HumanTaskConfig) *DescribeLabelingJobOutput {
12887	s.HumanTaskConfig = v
12888	return s
12889}
12890
12891// SetInputConfig sets the InputConfig field's value.
12892func (s *DescribeLabelingJobOutput) SetInputConfig(v *LabelingJobInputConfig) *DescribeLabelingJobOutput {
12893	s.InputConfig = v
12894	return s
12895}
12896
12897// SetJobReferenceCode sets the JobReferenceCode field's value.
12898func (s *DescribeLabelingJobOutput) SetJobReferenceCode(v string) *DescribeLabelingJobOutput {
12899	s.JobReferenceCode = &v
12900	return s
12901}
12902
12903// SetLabelAttributeName sets the LabelAttributeName field's value.
12904func (s *DescribeLabelingJobOutput) SetLabelAttributeName(v string) *DescribeLabelingJobOutput {
12905	s.LabelAttributeName = &v
12906	return s
12907}
12908
12909// SetLabelCategoryConfigS3Uri sets the LabelCategoryConfigS3Uri field's value.
12910func (s *DescribeLabelingJobOutput) SetLabelCategoryConfigS3Uri(v string) *DescribeLabelingJobOutput {
12911	s.LabelCategoryConfigS3Uri = &v
12912	return s
12913}
12914
12915// SetLabelCounters sets the LabelCounters field's value.
12916func (s *DescribeLabelingJobOutput) SetLabelCounters(v *LabelCounters) *DescribeLabelingJobOutput {
12917	s.LabelCounters = v
12918	return s
12919}
12920
12921// SetLabelingJobAlgorithmsConfig sets the LabelingJobAlgorithmsConfig field's value.
12922func (s *DescribeLabelingJobOutput) SetLabelingJobAlgorithmsConfig(v *LabelingJobAlgorithmsConfig) *DescribeLabelingJobOutput {
12923	s.LabelingJobAlgorithmsConfig = v
12924	return s
12925}
12926
12927// SetLabelingJobArn sets the LabelingJobArn field's value.
12928func (s *DescribeLabelingJobOutput) SetLabelingJobArn(v string) *DescribeLabelingJobOutput {
12929	s.LabelingJobArn = &v
12930	return s
12931}
12932
12933// SetLabelingJobName sets the LabelingJobName field's value.
12934func (s *DescribeLabelingJobOutput) SetLabelingJobName(v string) *DescribeLabelingJobOutput {
12935	s.LabelingJobName = &v
12936	return s
12937}
12938
12939// SetLabelingJobOutput sets the LabelingJobOutput field's value.
12940func (s *DescribeLabelingJobOutput) SetLabelingJobOutput(v *LabelingJobOutput) *DescribeLabelingJobOutput {
12941	s.LabelingJobOutput = v
12942	return s
12943}
12944
12945// SetLabelingJobStatus sets the LabelingJobStatus field's value.
12946func (s *DescribeLabelingJobOutput) SetLabelingJobStatus(v string) *DescribeLabelingJobOutput {
12947	s.LabelingJobStatus = &v
12948	return s
12949}
12950
12951// SetLastModifiedTime sets the LastModifiedTime field's value.
12952func (s *DescribeLabelingJobOutput) SetLastModifiedTime(v time.Time) *DescribeLabelingJobOutput {
12953	s.LastModifiedTime = &v
12954	return s
12955}
12956
12957// SetOutputConfig sets the OutputConfig field's value.
12958func (s *DescribeLabelingJobOutput) SetOutputConfig(v *LabelingJobOutputConfig) *DescribeLabelingJobOutput {
12959	s.OutputConfig = v
12960	return s
12961}
12962
12963// SetRoleArn sets the RoleArn field's value.
12964func (s *DescribeLabelingJobOutput) SetRoleArn(v string) *DescribeLabelingJobOutput {
12965	s.RoleArn = &v
12966	return s
12967}
12968
12969// SetStoppingConditions sets the StoppingConditions field's value.
12970func (s *DescribeLabelingJobOutput) SetStoppingConditions(v *LabelingJobStoppingConditions) *DescribeLabelingJobOutput {
12971	s.StoppingConditions = v
12972	return s
12973}
12974
12975// SetTags sets the Tags field's value.
12976func (s *DescribeLabelingJobOutput) SetTags(v []*Tag) *DescribeLabelingJobOutput {
12977	s.Tags = v
12978	return s
12979}
12980
12981type DescribeModelInput struct {
12982	_ struct{} `type:"structure"`
12983
12984	// The name of the model.
12985	//
12986	// ModelName is a required field
12987	ModelName *string `type:"string" required:"true"`
12988}
12989
12990// String returns the string representation
12991func (s DescribeModelInput) String() string {
12992	return awsutil.Prettify(s)
12993}
12994
12995// GoString returns the string representation
12996func (s DescribeModelInput) GoString() string {
12997	return s.String()
12998}
12999
13000// Validate inspects the fields of the type to determine if they are valid.
13001func (s *DescribeModelInput) Validate() error {
13002	invalidParams := request.ErrInvalidParams{Context: "DescribeModelInput"}
13003	if s.ModelName == nil {
13004		invalidParams.Add(request.NewErrParamRequired("ModelName"))
13005	}
13006
13007	if invalidParams.Len() > 0 {
13008		return invalidParams
13009	}
13010	return nil
13011}
13012
13013// SetModelName sets the ModelName field's value.
13014func (s *DescribeModelInput) SetModelName(v string) *DescribeModelInput {
13015	s.ModelName = &v
13016	return s
13017}
13018
13019type DescribeModelOutput struct {
13020	_ struct{} `type:"structure"`
13021
13022	// The containers in the inference pipeline.
13023	Containers []*ContainerDefinition `type:"list"`
13024
13025	// A timestamp that shows when the model was created.
13026	//
13027	// CreationTime is a required field
13028	CreationTime *time.Time `type:"timestamp" required:"true"`
13029
13030	// If True, no inbound or outbound network calls can be made to or from the
13031	// model container.
13032	//
13033	// The Semantic Segmentation built-in algorithm does not support network isolation.
13034	EnableNetworkIsolation *bool `type:"boolean"`
13035
13036	// The Amazon Resource Name (ARN) of the IAM role that you specified for the
13037	// model.
13038	//
13039	// ExecutionRoleArn is a required field
13040	ExecutionRoleArn *string `min:"20" type:"string" required:"true"`
13041
13042	// The Amazon Resource Name (ARN) of the model.
13043	//
13044	// ModelArn is a required field
13045	ModelArn *string `min:"20" type:"string" required:"true"`
13046
13047	// Name of the Amazon SageMaker model.
13048	//
13049	// ModelName is a required field
13050	ModelName *string `type:"string" required:"true"`
13051
13052	// The location of the primary inference code, associated artifacts, and custom
13053	// environment map that the inference code uses when it is deployed in production.
13054	PrimaryContainer *ContainerDefinition `type:"structure"`
13055
13056	// A VpcConfig object that specifies the VPC that this model has access to.
13057	// For more information, see Protect Endpoints by Using an Amazon Virtual Private
13058	// Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html)
13059	VpcConfig *VpcConfig `type:"structure"`
13060}
13061
13062// String returns the string representation
13063func (s DescribeModelOutput) String() string {
13064	return awsutil.Prettify(s)
13065}
13066
13067// GoString returns the string representation
13068func (s DescribeModelOutput) GoString() string {
13069	return s.String()
13070}
13071
13072// SetContainers sets the Containers field's value.
13073func (s *DescribeModelOutput) SetContainers(v []*ContainerDefinition) *DescribeModelOutput {
13074	s.Containers = v
13075	return s
13076}
13077
13078// SetCreationTime sets the CreationTime field's value.
13079func (s *DescribeModelOutput) SetCreationTime(v time.Time) *DescribeModelOutput {
13080	s.CreationTime = &v
13081	return s
13082}
13083
13084// SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value.
13085func (s *DescribeModelOutput) SetEnableNetworkIsolation(v bool) *DescribeModelOutput {
13086	s.EnableNetworkIsolation = &v
13087	return s
13088}
13089
13090// SetExecutionRoleArn sets the ExecutionRoleArn field's value.
13091func (s *DescribeModelOutput) SetExecutionRoleArn(v string) *DescribeModelOutput {
13092	s.ExecutionRoleArn = &v
13093	return s
13094}
13095
13096// SetModelArn sets the ModelArn field's value.
13097func (s *DescribeModelOutput) SetModelArn(v string) *DescribeModelOutput {
13098	s.ModelArn = &v
13099	return s
13100}
13101
13102// SetModelName sets the ModelName field's value.
13103func (s *DescribeModelOutput) SetModelName(v string) *DescribeModelOutput {
13104	s.ModelName = &v
13105	return s
13106}
13107
13108// SetPrimaryContainer sets the PrimaryContainer field's value.
13109func (s *DescribeModelOutput) SetPrimaryContainer(v *ContainerDefinition) *DescribeModelOutput {
13110	s.PrimaryContainer = v
13111	return s
13112}
13113
13114// SetVpcConfig sets the VpcConfig field's value.
13115func (s *DescribeModelOutput) SetVpcConfig(v *VpcConfig) *DescribeModelOutput {
13116	s.VpcConfig = v
13117	return s
13118}
13119
13120type DescribeModelPackageInput struct {
13121	_ struct{} `type:"structure"`
13122
13123	// The name of the model package to describe.
13124	//
13125	// ModelPackageName is a required field
13126	ModelPackageName *string `min:"1" type:"string" required:"true"`
13127}
13128
13129// String returns the string representation
13130func (s DescribeModelPackageInput) String() string {
13131	return awsutil.Prettify(s)
13132}
13133
13134// GoString returns the string representation
13135func (s DescribeModelPackageInput) GoString() string {
13136	return s.String()
13137}
13138
13139// Validate inspects the fields of the type to determine if they are valid.
13140func (s *DescribeModelPackageInput) Validate() error {
13141	invalidParams := request.ErrInvalidParams{Context: "DescribeModelPackageInput"}
13142	if s.ModelPackageName == nil {
13143		invalidParams.Add(request.NewErrParamRequired("ModelPackageName"))
13144	}
13145	if s.ModelPackageName != nil && len(*s.ModelPackageName) < 1 {
13146		invalidParams.Add(request.NewErrParamMinLen("ModelPackageName", 1))
13147	}
13148
13149	if invalidParams.Len() > 0 {
13150		return invalidParams
13151	}
13152	return nil
13153}
13154
13155// SetModelPackageName sets the ModelPackageName field's value.
13156func (s *DescribeModelPackageInput) SetModelPackageName(v string) *DescribeModelPackageInput {
13157	s.ModelPackageName = &v
13158	return s
13159}
13160
13161type DescribeModelPackageOutput struct {
13162	_ struct{} `type:"structure"`
13163
13164	// Whether the model package is certified for listing on AWS Marketplace.
13165	CertifyForMarketplace *bool `type:"boolean"`
13166
13167	// A timestamp specifying when the model package was created.
13168	//
13169	// CreationTime is a required field
13170	CreationTime *time.Time `type:"timestamp" required:"true"`
13171
13172	// Details about inference jobs that can be run with models based on this model
13173	// package.
13174	InferenceSpecification *InferenceSpecification `type:"structure"`
13175
13176	// The Amazon Resource Name (ARN) of the model package.
13177	//
13178	// ModelPackageArn is a required field
13179	ModelPackageArn *string `min:"1" type:"string" required:"true"`
13180
13181	// A brief summary of the model package.
13182	ModelPackageDescription *string `type:"string"`
13183
13184	// The name of the model package being described.
13185	//
13186	// ModelPackageName is a required field
13187	ModelPackageName *string `min:"1" type:"string" required:"true"`
13188
13189	// The current status of the model package.
13190	//
13191	// ModelPackageStatus is a required field
13192	ModelPackageStatus *string `type:"string" required:"true" enum:"ModelPackageStatus"`
13193
13194	// Details about the current status of the model package.
13195	//
13196	// ModelPackageStatusDetails is a required field
13197	ModelPackageStatusDetails *ModelPackageStatusDetails `type:"structure" required:"true"`
13198
13199	// Details about the algorithm that was used to create the model package.
13200	SourceAlgorithmSpecification *SourceAlgorithmSpecification `type:"structure"`
13201
13202	// Configurations for one or more transform jobs that Amazon SageMaker runs
13203	// to test the model package.
13204	ValidationSpecification *ModelPackageValidationSpecification `type:"structure"`
13205}
13206
13207// String returns the string representation
13208func (s DescribeModelPackageOutput) String() string {
13209	return awsutil.Prettify(s)
13210}
13211
13212// GoString returns the string representation
13213func (s DescribeModelPackageOutput) GoString() string {
13214	return s.String()
13215}
13216
13217// SetCertifyForMarketplace sets the CertifyForMarketplace field's value.
13218func (s *DescribeModelPackageOutput) SetCertifyForMarketplace(v bool) *DescribeModelPackageOutput {
13219	s.CertifyForMarketplace = &v
13220	return s
13221}
13222
13223// SetCreationTime sets the CreationTime field's value.
13224func (s *DescribeModelPackageOutput) SetCreationTime(v time.Time) *DescribeModelPackageOutput {
13225	s.CreationTime = &v
13226	return s
13227}
13228
13229// SetInferenceSpecification sets the InferenceSpecification field's value.
13230func (s *DescribeModelPackageOutput) SetInferenceSpecification(v *InferenceSpecification) *DescribeModelPackageOutput {
13231	s.InferenceSpecification = v
13232	return s
13233}
13234
13235// SetModelPackageArn sets the ModelPackageArn field's value.
13236func (s *DescribeModelPackageOutput) SetModelPackageArn(v string) *DescribeModelPackageOutput {
13237	s.ModelPackageArn = &v
13238	return s
13239}
13240
13241// SetModelPackageDescription sets the ModelPackageDescription field's value.
13242func (s *DescribeModelPackageOutput) SetModelPackageDescription(v string) *DescribeModelPackageOutput {
13243	s.ModelPackageDescription = &v
13244	return s
13245}
13246
13247// SetModelPackageName sets the ModelPackageName field's value.
13248func (s *DescribeModelPackageOutput) SetModelPackageName(v string) *DescribeModelPackageOutput {
13249	s.ModelPackageName = &v
13250	return s
13251}
13252
13253// SetModelPackageStatus sets the ModelPackageStatus field's value.
13254func (s *DescribeModelPackageOutput) SetModelPackageStatus(v string) *DescribeModelPackageOutput {
13255	s.ModelPackageStatus = &v
13256	return s
13257}
13258
13259// SetModelPackageStatusDetails sets the ModelPackageStatusDetails field's value.
13260func (s *DescribeModelPackageOutput) SetModelPackageStatusDetails(v *ModelPackageStatusDetails) *DescribeModelPackageOutput {
13261	s.ModelPackageStatusDetails = v
13262	return s
13263}
13264
13265// SetSourceAlgorithmSpecification sets the SourceAlgorithmSpecification field's value.
13266func (s *DescribeModelPackageOutput) SetSourceAlgorithmSpecification(v *SourceAlgorithmSpecification) *DescribeModelPackageOutput {
13267	s.SourceAlgorithmSpecification = v
13268	return s
13269}
13270
13271// SetValidationSpecification sets the ValidationSpecification field's value.
13272func (s *DescribeModelPackageOutput) SetValidationSpecification(v *ModelPackageValidationSpecification) *DescribeModelPackageOutput {
13273	s.ValidationSpecification = v
13274	return s
13275}
13276
13277type DescribeNotebookInstanceInput struct {
13278	_ struct{} `type:"structure"`
13279
13280	// The name of the notebook instance that you want information about.
13281	//
13282	// NotebookInstanceName is a required field
13283	NotebookInstanceName *string `type:"string" required:"true"`
13284}
13285
13286// String returns the string representation
13287func (s DescribeNotebookInstanceInput) String() string {
13288	return awsutil.Prettify(s)
13289}
13290
13291// GoString returns the string representation
13292func (s DescribeNotebookInstanceInput) GoString() string {
13293	return s.String()
13294}
13295
13296// Validate inspects the fields of the type to determine if they are valid.
13297func (s *DescribeNotebookInstanceInput) Validate() error {
13298	invalidParams := request.ErrInvalidParams{Context: "DescribeNotebookInstanceInput"}
13299	if s.NotebookInstanceName == nil {
13300		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName"))
13301	}
13302
13303	if invalidParams.Len() > 0 {
13304		return invalidParams
13305	}
13306	return nil
13307}
13308
13309// SetNotebookInstanceName sets the NotebookInstanceName field's value.
13310func (s *DescribeNotebookInstanceInput) SetNotebookInstanceName(v string) *DescribeNotebookInstanceInput {
13311	s.NotebookInstanceName = &v
13312	return s
13313}
13314
13315type DescribeNotebookInstanceLifecycleConfigInput struct {
13316	_ struct{} `type:"structure"`
13317
13318	// The name of the lifecycle configuration to describe.
13319	//
13320	// NotebookInstanceLifecycleConfigName is a required field
13321	NotebookInstanceLifecycleConfigName *string `type:"string" required:"true"`
13322}
13323
13324// String returns the string representation
13325func (s DescribeNotebookInstanceLifecycleConfigInput) String() string {
13326	return awsutil.Prettify(s)
13327}
13328
13329// GoString returns the string representation
13330func (s DescribeNotebookInstanceLifecycleConfigInput) GoString() string {
13331	return s.String()
13332}
13333
13334// Validate inspects the fields of the type to determine if they are valid.
13335func (s *DescribeNotebookInstanceLifecycleConfigInput) Validate() error {
13336	invalidParams := request.ErrInvalidParams{Context: "DescribeNotebookInstanceLifecycleConfigInput"}
13337	if s.NotebookInstanceLifecycleConfigName == nil {
13338		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceLifecycleConfigName"))
13339	}
13340
13341	if invalidParams.Len() > 0 {
13342		return invalidParams
13343	}
13344	return nil
13345}
13346
13347// SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value.
13348func (s *DescribeNotebookInstanceLifecycleConfigInput) SetNotebookInstanceLifecycleConfigName(v string) *DescribeNotebookInstanceLifecycleConfigInput {
13349	s.NotebookInstanceLifecycleConfigName = &v
13350	return s
13351}
13352
13353type DescribeNotebookInstanceLifecycleConfigOutput struct {
13354	_ struct{} `type:"structure"`
13355
13356	// A timestamp that tells when the lifecycle configuration was created.
13357	CreationTime *time.Time `type:"timestamp"`
13358
13359	// A timestamp that tells when the lifecycle configuration was last modified.
13360	LastModifiedTime *time.Time `type:"timestamp"`
13361
13362	// The Amazon Resource Name (ARN) of the lifecycle configuration.
13363	NotebookInstanceLifecycleConfigArn *string `type:"string"`
13364
13365	// The name of the lifecycle configuration.
13366	NotebookInstanceLifecycleConfigName *string `type:"string"`
13367
13368	// The shell script that runs only once, when you create a notebook instance.
13369	OnCreate []*NotebookInstanceLifecycleHook `type:"list"`
13370
13371	// The shell script that runs every time you start a notebook instance, including
13372	// when you create the notebook instance.
13373	OnStart []*NotebookInstanceLifecycleHook `type:"list"`
13374}
13375
13376// String returns the string representation
13377func (s DescribeNotebookInstanceLifecycleConfigOutput) String() string {
13378	return awsutil.Prettify(s)
13379}
13380
13381// GoString returns the string representation
13382func (s DescribeNotebookInstanceLifecycleConfigOutput) GoString() string {
13383	return s.String()
13384}
13385
13386// SetCreationTime sets the CreationTime field's value.
13387func (s *DescribeNotebookInstanceLifecycleConfigOutput) SetCreationTime(v time.Time) *DescribeNotebookInstanceLifecycleConfigOutput {
13388	s.CreationTime = &v
13389	return s
13390}
13391
13392// SetLastModifiedTime sets the LastModifiedTime field's value.
13393func (s *DescribeNotebookInstanceLifecycleConfigOutput) SetLastModifiedTime(v time.Time) *DescribeNotebookInstanceLifecycleConfigOutput {
13394	s.LastModifiedTime = &v
13395	return s
13396}
13397
13398// SetNotebookInstanceLifecycleConfigArn sets the NotebookInstanceLifecycleConfigArn field's value.
13399func (s *DescribeNotebookInstanceLifecycleConfigOutput) SetNotebookInstanceLifecycleConfigArn(v string) *DescribeNotebookInstanceLifecycleConfigOutput {
13400	s.NotebookInstanceLifecycleConfigArn = &v
13401	return s
13402}
13403
13404// SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value.
13405func (s *DescribeNotebookInstanceLifecycleConfigOutput) SetNotebookInstanceLifecycleConfigName(v string) *DescribeNotebookInstanceLifecycleConfigOutput {
13406	s.NotebookInstanceLifecycleConfigName = &v
13407	return s
13408}
13409
13410// SetOnCreate sets the OnCreate field's value.
13411func (s *DescribeNotebookInstanceLifecycleConfigOutput) SetOnCreate(v []*NotebookInstanceLifecycleHook) *DescribeNotebookInstanceLifecycleConfigOutput {
13412	s.OnCreate = v
13413	return s
13414}
13415
13416// SetOnStart sets the OnStart field's value.
13417func (s *DescribeNotebookInstanceLifecycleConfigOutput) SetOnStart(v []*NotebookInstanceLifecycleHook) *DescribeNotebookInstanceLifecycleConfigOutput {
13418	s.OnStart = v
13419	return s
13420}
13421
13422type DescribeNotebookInstanceOutput struct {
13423	_ struct{} `type:"structure"`
13424
13425	// A list of the Elastic Inference (EI) instance types associated with this
13426	// notebook instance. Currently only one EI instance type can be associated
13427	// with a notebook instance. For more information, see Using Elastic Inference
13428	// in Amazon SageMaker (http://docs.aws.amazon.com/sagemaker/latest/dg/ei.html).
13429	AcceleratorTypes []*string `type:"list"`
13430
13431	// An array of up to three Git repositories associated with the notebook instance.
13432	// These can be either the names of Git repositories stored as resources in
13433	// your account, or the URL of Git repositories in AWS CodeCommit (http://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html)
13434	// or in any other Git repository. These repositories are cloned at the same
13435	// level as the default repository of your notebook instance. For more information,
13436	// see Associating Git Repositories with Amazon SageMaker Notebook Instances
13437	// (http://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).
13438	AdditionalCodeRepositories []*string `type:"list"`
13439
13440	// A timestamp. Use this parameter to return the time when the notebook instance
13441	// was created
13442	CreationTime *time.Time `type:"timestamp"`
13443
13444	// The Git repository associated with the notebook instance as its default code
13445	// repository. This can be either the name of a Git repository stored as a resource
13446	// in your account, or the URL of a Git repository in AWS CodeCommit (http://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html)
13447	// or in any other Git repository. When you open a notebook instance, it opens
13448	// in the directory that contains this repository. For more information, see
13449	// Associating Git Repositories with Amazon SageMaker Notebook Instances (http://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).
13450	DefaultCodeRepository *string `min:"1" type:"string"`
13451
13452	// Describes whether Amazon SageMaker provides internet access to the notebook
13453	// instance. If this value is set to Disabled, the notebook instance does not
13454	// have internet access, and cannot connect to Amazon SageMaker training and
13455	// endpoint services.
13456	//
13457	// For more information, see Notebook Instances Are Internet-Enabled by Default
13458	// (https://docs.aws.amazon.com/sagemaker/latest/dg/appendix-additional-considerations.html#appendix-notebook-and-internet-access).
13459	DirectInternetAccess *string `type:"string" enum:"DirectInternetAccess"`
13460
13461	// If status is Failed, the reason it failed.
13462	FailureReason *string `type:"string"`
13463
13464	// The type of ML compute instance running on the notebook instance.
13465	InstanceType *string `type:"string" enum:"InstanceType"`
13466
13467	// The AWS KMS key ID Amazon SageMaker uses to encrypt data when storing it
13468	// on the ML storage volume attached to the instance.
13469	KmsKeyId *string `type:"string"`
13470
13471	// A timestamp. Use this parameter to retrieve the time when the notebook instance
13472	// was last modified.
13473	LastModifiedTime *time.Time `type:"timestamp"`
13474
13475	// The network interface IDs that Amazon SageMaker created at the time of creating
13476	// the instance.
13477	NetworkInterfaceId *string `type:"string"`
13478
13479	// The Amazon Resource Name (ARN) of the notebook instance.
13480	NotebookInstanceArn *string `type:"string"`
13481
13482	// Returns the name of a notebook instance lifecycle configuration.
13483	//
13484	// For information about notebook instance lifestyle configurations, see Step
13485	// 2.1: (Optional) Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html)
13486	NotebookInstanceLifecycleConfigName *string `type:"string"`
13487
13488	// The name of the Amazon SageMaker notebook instance.
13489	NotebookInstanceName *string `type:"string"`
13490
13491	// The status of the notebook instance.
13492	NotebookInstanceStatus *string `type:"string" enum:"NotebookInstanceStatus"`
13493
13494	// The Amazon Resource Name (ARN) of the IAM role associated with the instance.
13495	RoleArn *string `min:"20" type:"string"`
13496
13497	// Whether root access is enabled or disabled for users of the notebook instance.
13498	//
13499	// Lifecycle configurations need root access to be able to set up a notebook
13500	// instance. Because of this, lifecycle configurations associated with a notebook
13501	// instance always run with root access even if you disable root access for
13502	// users.
13503	RootAccess *string `type:"string" enum:"RootAccess"`
13504
13505	// The IDs of the VPC security groups.
13506	SecurityGroups []*string `type:"list"`
13507
13508	// The ID of the VPC subnet.
13509	SubnetId *string `type:"string"`
13510
13511	// The URL that you use to connect to the Jupyter notebook that is running in
13512	// your notebook instance.
13513	Url *string `type:"string"`
13514
13515	// The size, in GB, of the ML storage volume attached to the notebook instance.
13516	VolumeSizeInGB *int64 `min:"5" type:"integer"`
13517}
13518
13519// String returns the string representation
13520func (s DescribeNotebookInstanceOutput) String() string {
13521	return awsutil.Prettify(s)
13522}
13523
13524// GoString returns the string representation
13525func (s DescribeNotebookInstanceOutput) GoString() string {
13526	return s.String()
13527}
13528
13529// SetAcceleratorTypes sets the AcceleratorTypes field's value.
13530func (s *DescribeNotebookInstanceOutput) SetAcceleratorTypes(v []*string) *DescribeNotebookInstanceOutput {
13531	s.AcceleratorTypes = v
13532	return s
13533}
13534
13535// SetAdditionalCodeRepositories sets the AdditionalCodeRepositories field's value.
13536func (s *DescribeNotebookInstanceOutput) SetAdditionalCodeRepositories(v []*string) *DescribeNotebookInstanceOutput {
13537	s.AdditionalCodeRepositories = v
13538	return s
13539}
13540
13541// SetCreationTime sets the CreationTime field's value.
13542func (s *DescribeNotebookInstanceOutput) SetCreationTime(v time.Time) *DescribeNotebookInstanceOutput {
13543	s.CreationTime = &v
13544	return s
13545}
13546
13547// SetDefaultCodeRepository sets the DefaultCodeRepository field's value.
13548func (s *DescribeNotebookInstanceOutput) SetDefaultCodeRepository(v string) *DescribeNotebookInstanceOutput {
13549	s.DefaultCodeRepository = &v
13550	return s
13551}
13552
13553// SetDirectInternetAccess sets the DirectInternetAccess field's value.
13554func (s *DescribeNotebookInstanceOutput) SetDirectInternetAccess(v string) *DescribeNotebookInstanceOutput {
13555	s.DirectInternetAccess = &v
13556	return s
13557}
13558
13559// SetFailureReason sets the FailureReason field's value.
13560func (s *DescribeNotebookInstanceOutput) SetFailureReason(v string) *DescribeNotebookInstanceOutput {
13561	s.FailureReason = &v
13562	return s
13563}
13564
13565// SetInstanceType sets the InstanceType field's value.
13566func (s *DescribeNotebookInstanceOutput) SetInstanceType(v string) *DescribeNotebookInstanceOutput {
13567	s.InstanceType = &v
13568	return s
13569}
13570
13571// SetKmsKeyId sets the KmsKeyId field's value.
13572func (s *DescribeNotebookInstanceOutput) SetKmsKeyId(v string) *DescribeNotebookInstanceOutput {
13573	s.KmsKeyId = &v
13574	return s
13575}
13576
13577// SetLastModifiedTime sets the LastModifiedTime field's value.
13578func (s *DescribeNotebookInstanceOutput) SetLastModifiedTime(v time.Time) *DescribeNotebookInstanceOutput {
13579	s.LastModifiedTime = &v
13580	return s
13581}
13582
13583// SetNetworkInterfaceId sets the NetworkInterfaceId field's value.
13584func (s *DescribeNotebookInstanceOutput) SetNetworkInterfaceId(v string) *DescribeNotebookInstanceOutput {
13585	s.NetworkInterfaceId = &v
13586	return s
13587}
13588
13589// SetNotebookInstanceArn sets the NotebookInstanceArn field's value.
13590func (s *DescribeNotebookInstanceOutput) SetNotebookInstanceArn(v string) *DescribeNotebookInstanceOutput {
13591	s.NotebookInstanceArn = &v
13592	return s
13593}
13594
13595// SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value.
13596func (s *DescribeNotebookInstanceOutput) SetNotebookInstanceLifecycleConfigName(v string) *DescribeNotebookInstanceOutput {
13597	s.NotebookInstanceLifecycleConfigName = &v
13598	return s
13599}
13600
13601// SetNotebookInstanceName sets the NotebookInstanceName field's value.
13602func (s *DescribeNotebookInstanceOutput) SetNotebookInstanceName(v string) *DescribeNotebookInstanceOutput {
13603	s.NotebookInstanceName = &v
13604	return s
13605}
13606
13607// SetNotebookInstanceStatus sets the NotebookInstanceStatus field's value.
13608func (s *DescribeNotebookInstanceOutput) SetNotebookInstanceStatus(v string) *DescribeNotebookInstanceOutput {
13609	s.NotebookInstanceStatus = &v
13610	return s
13611}
13612
13613// SetRoleArn sets the RoleArn field's value.
13614func (s *DescribeNotebookInstanceOutput) SetRoleArn(v string) *DescribeNotebookInstanceOutput {
13615	s.RoleArn = &v
13616	return s
13617}
13618
13619// SetRootAccess sets the RootAccess field's value.
13620func (s *DescribeNotebookInstanceOutput) SetRootAccess(v string) *DescribeNotebookInstanceOutput {
13621	s.RootAccess = &v
13622	return s
13623}
13624
13625// SetSecurityGroups sets the SecurityGroups field's value.
13626func (s *DescribeNotebookInstanceOutput) SetSecurityGroups(v []*string) *DescribeNotebookInstanceOutput {
13627	s.SecurityGroups = v
13628	return s
13629}
13630
13631// SetSubnetId sets the SubnetId field's value.
13632func (s *DescribeNotebookInstanceOutput) SetSubnetId(v string) *DescribeNotebookInstanceOutput {
13633	s.SubnetId = &v
13634	return s
13635}
13636
13637// SetUrl sets the Url field's value.
13638func (s *DescribeNotebookInstanceOutput) SetUrl(v string) *DescribeNotebookInstanceOutput {
13639	s.Url = &v
13640	return s
13641}
13642
13643// SetVolumeSizeInGB sets the VolumeSizeInGB field's value.
13644func (s *DescribeNotebookInstanceOutput) SetVolumeSizeInGB(v int64) *DescribeNotebookInstanceOutput {
13645	s.VolumeSizeInGB = &v
13646	return s
13647}
13648
13649type DescribeSubscribedWorkteamInput struct {
13650	_ struct{} `type:"structure"`
13651
13652	// The Amazon Resource Name (ARN) of the subscribed work team to describe.
13653	//
13654	// WorkteamArn is a required field
13655	WorkteamArn *string `type:"string" required:"true"`
13656}
13657
13658// String returns the string representation
13659func (s DescribeSubscribedWorkteamInput) String() string {
13660	return awsutil.Prettify(s)
13661}
13662
13663// GoString returns the string representation
13664func (s DescribeSubscribedWorkteamInput) GoString() string {
13665	return s.String()
13666}
13667
13668// Validate inspects the fields of the type to determine if they are valid.
13669func (s *DescribeSubscribedWorkteamInput) Validate() error {
13670	invalidParams := request.ErrInvalidParams{Context: "DescribeSubscribedWorkteamInput"}
13671	if s.WorkteamArn == nil {
13672		invalidParams.Add(request.NewErrParamRequired("WorkteamArn"))
13673	}
13674
13675	if invalidParams.Len() > 0 {
13676		return invalidParams
13677	}
13678	return nil
13679}
13680
13681// SetWorkteamArn sets the WorkteamArn field's value.
13682func (s *DescribeSubscribedWorkteamInput) SetWorkteamArn(v string) *DescribeSubscribedWorkteamInput {
13683	s.WorkteamArn = &v
13684	return s
13685}
13686
13687type DescribeSubscribedWorkteamOutput struct {
13688	_ struct{} `type:"structure"`
13689
13690	// A Workteam instance that contains information about the work team.
13691	//
13692	// SubscribedWorkteam is a required field
13693	SubscribedWorkteam *SubscribedWorkteam `type:"structure" required:"true"`
13694}
13695
13696// String returns the string representation
13697func (s DescribeSubscribedWorkteamOutput) String() string {
13698	return awsutil.Prettify(s)
13699}
13700
13701// GoString returns the string representation
13702func (s DescribeSubscribedWorkteamOutput) GoString() string {
13703	return s.String()
13704}
13705
13706// SetSubscribedWorkteam sets the SubscribedWorkteam field's value.
13707func (s *DescribeSubscribedWorkteamOutput) SetSubscribedWorkteam(v *SubscribedWorkteam) *DescribeSubscribedWorkteamOutput {
13708	s.SubscribedWorkteam = v
13709	return s
13710}
13711
13712type DescribeTrainingJobInput struct {
13713	_ struct{} `type:"structure"`
13714
13715	// The name of the training job.
13716	//
13717	// TrainingJobName is a required field
13718	TrainingJobName *string `min:"1" type:"string" required:"true"`
13719}
13720
13721// String returns the string representation
13722func (s DescribeTrainingJobInput) String() string {
13723	return awsutil.Prettify(s)
13724}
13725
13726// GoString returns the string representation
13727func (s DescribeTrainingJobInput) GoString() string {
13728	return s.String()
13729}
13730
13731// Validate inspects the fields of the type to determine if they are valid.
13732func (s *DescribeTrainingJobInput) Validate() error {
13733	invalidParams := request.ErrInvalidParams{Context: "DescribeTrainingJobInput"}
13734	if s.TrainingJobName == nil {
13735		invalidParams.Add(request.NewErrParamRequired("TrainingJobName"))
13736	}
13737	if s.TrainingJobName != nil && len(*s.TrainingJobName) < 1 {
13738		invalidParams.Add(request.NewErrParamMinLen("TrainingJobName", 1))
13739	}
13740
13741	if invalidParams.Len() > 0 {
13742		return invalidParams
13743	}
13744	return nil
13745}
13746
13747// SetTrainingJobName sets the TrainingJobName field's value.
13748func (s *DescribeTrainingJobInput) SetTrainingJobName(v string) *DescribeTrainingJobInput {
13749	s.TrainingJobName = &v
13750	return s
13751}
13752
13753type DescribeTrainingJobOutput struct {
13754	_ struct{} `type:"structure"`
13755
13756	// Information about the algorithm used for training, and algorithm metadata.
13757	//
13758	// AlgorithmSpecification is a required field
13759	AlgorithmSpecification *AlgorithmSpecification `type:"structure" required:"true"`
13760
13761	// A timestamp that indicates when the training job was created.
13762	//
13763	// CreationTime is a required field
13764	CreationTime *time.Time `type:"timestamp" required:"true"`
13765
13766	// To encrypt all communications between ML compute instances in distributed
13767	// training, choose True. Encryption provides greater security for distributed
13768	// training, but training might take longer. How long it takes depends on the
13769	// amount of communication between compute instances, especially if you use
13770	// a deep learning algorithms in distributed training.
13771	EnableInterContainerTrafficEncryption *bool `type:"boolean"`
13772
13773	// If you want to allow inbound or outbound network calls, except for calls
13774	// between peers within a training cluster for distributed training, choose
13775	// True. If you enable network isolation for training jobs that are configured
13776	// to use a VPC, Amazon SageMaker downloads and uploads customer data and model
13777	// artifacts through the specified VPC, but the training container does not
13778	// have network access.
13779	//
13780	// The Semantic Segmentation built-in algorithm does not support network isolation.
13781	EnableNetworkIsolation *bool `type:"boolean"`
13782
13783	// If the training job failed, the reason it failed.
13784	FailureReason *string `type:"string"`
13785
13786	// A collection of MetricData objects that specify the names, values, and dates
13787	// and times that the training algorithm emitted to Amazon CloudWatch.
13788	FinalMetricDataList []*MetricData `type:"list"`
13789
13790	// Algorithm-specific parameters.
13791	HyperParameters map[string]*string `type:"map"`
13792
13793	// An array of Channel objects that describes each data input channel.
13794	InputDataConfig []*Channel `min:"1" type:"list"`
13795
13796	// The Amazon Resource Name (ARN) of the Amazon SageMaker Ground Truth labeling
13797	// job that created the transform or training job.
13798	LabelingJobArn *string `type:"string"`
13799
13800	// A timestamp that indicates when the status of the training job was last modified.
13801	LastModifiedTime *time.Time `type:"timestamp"`
13802
13803	// Information about the Amazon S3 location that is configured for storing model
13804	// artifacts.
13805	//
13806	// ModelArtifacts is a required field
13807	ModelArtifacts *ModelArtifacts `type:"structure" required:"true"`
13808
13809	// The S3 path where model artifacts that you configured when creating the job
13810	// are stored. Amazon SageMaker creates subfolders for model artifacts.
13811	OutputDataConfig *OutputDataConfig `type:"structure"`
13812
13813	// Resources, including ML compute instances and ML storage volumes, that are
13814	// configured for model training.
13815	//
13816	// ResourceConfig is a required field
13817	ResourceConfig *ResourceConfig `type:"structure" required:"true"`
13818
13819	// The AWS Identity and Access Management (IAM) role configured for the training
13820	// job.
13821	RoleArn *string `min:"20" type:"string"`
13822
13823	// Provides detailed information about the state of the training job. For detailed
13824	// information on the secondary status of the training job, see StatusMessage
13825	// under SecondaryStatusTransition.
13826	//
13827	// Amazon SageMaker provides primary statuses and secondary statuses that apply
13828	// to each of them:
13829	//
13830	// InProgress
13831	//
13832	//    * Starting - Starting the training job.
13833	//
13834	//    * Downloading - An optional stage for algorithms that support File training
13835	//    input mode. It indicates that data is being downloaded to the ML storage
13836	//    volumes.
13837	//
13838	//    * Training - Training is in progress.
13839	//
13840	//    * Uploading - Training is complete and the model artifacts are being uploaded
13841	//    to the S3 location.
13842	//
13843	// Completed
13844	//
13845	//    * Completed - The training job has completed.
13846	//
13847	// Failed
13848	//
13849	//    * Failed - The training job has failed. The reason for the failure is
13850	//    returned in the FailureReason field of DescribeTrainingJobResponse.
13851	//
13852	// Stopped
13853	//
13854	//    * MaxRuntimeExceeded - The job stopped because it exceeded the maximum
13855	//    allowed runtime.
13856	//
13857	//    * Stopped - The training job has stopped.
13858	//
13859	// Stopping
13860	//
13861	//    * Stopping - Stopping the training job.
13862	//
13863	// Valid values for SecondaryStatus are subject to change.
13864	//
13865	// We no longer support the following secondary statuses:
13866	//
13867	//    * LaunchingMLInstances
13868	//
13869	//    * PreparingTrainingStack
13870	//
13871	//    * DownloadingTrainingImage
13872	//
13873	// SecondaryStatus is a required field
13874	SecondaryStatus *string `type:"string" required:"true" enum:"SecondaryStatus"`
13875
13876	// A history of all of the secondary statuses that the training job has transitioned
13877	// through.
13878	SecondaryStatusTransitions []*SecondaryStatusTransition `type:"list"`
13879
13880	// Specifies a limit to how long a model training job can run. When the job
13881	// reaches the time limit, Amazon SageMaker ends the training job. Use this
13882	// API to cap model training costs.
13883	//
13884	// To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal, which
13885	// delays job termination for 120 seconds. Algorithms can use this 120-second
13886	// window to save the model artifacts, so the results of training are not lost.
13887	//
13888	// StoppingCondition is a required field
13889	StoppingCondition *StoppingCondition `type:"structure" required:"true"`
13890
13891	// Indicates the time when the training job ends on training instances. You
13892	// are billed for the time interval between the value of TrainingStartTime and
13893	// this time. For successful jobs and stopped jobs, this is the time after model
13894	// artifacts are uploaded. For failed jobs, this is the time when Amazon SageMaker
13895	// detects a job failure.
13896	TrainingEndTime *time.Time `type:"timestamp"`
13897
13898	// The Amazon Resource Name (ARN) of the training job.
13899	//
13900	// TrainingJobArn is a required field
13901	TrainingJobArn *string `type:"string" required:"true"`
13902
13903	// Name of the model training job.
13904	//
13905	// TrainingJobName is a required field
13906	TrainingJobName *string `min:"1" type:"string" required:"true"`
13907
13908	// The status of the training job.
13909	//
13910	// Amazon SageMaker provides the following training job statuses:
13911	//
13912	//    * InProgress - The training is in progress.
13913	//
13914	//    * Completed - The training job has completed.
13915	//
13916	//    * Failed - The training job has failed. To see the reason for the failure,
13917	//    see the FailureReason field in the response to a DescribeTrainingJobResponse
13918	//    call.
13919	//
13920	//    * Stopping - The training job is stopping.
13921	//
13922	//    * Stopped - The training job has stopped.
13923	//
13924	// For more detailed information, see SecondaryStatus.
13925	//
13926	// TrainingJobStatus is a required field
13927	TrainingJobStatus *string `type:"string" required:"true" enum:"TrainingJobStatus"`
13928
13929	// Indicates the time when the training job starts on training instances. You
13930	// are billed for the time interval between this time and the value of TrainingEndTime.
13931	// The start time in CloudWatch Logs might be later than this time. The difference
13932	// is due to the time it takes to download the training data and to the size
13933	// of the training container.
13934	TrainingStartTime *time.Time `type:"timestamp"`
13935
13936	// The Amazon Resource Name (ARN) of the associated hyperparameter tuning job
13937	// if the training job was launched by a hyperparameter tuning job.
13938	TuningJobArn *string `type:"string"`
13939
13940	// A VpcConfig object that specifies the VPC that this training job has access
13941	// to. For more information, see Protect Training Jobs by Using an Amazon Virtual
13942	// Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html).
13943	VpcConfig *VpcConfig `type:"structure"`
13944}
13945
13946// String returns the string representation
13947func (s DescribeTrainingJobOutput) String() string {
13948	return awsutil.Prettify(s)
13949}
13950
13951// GoString returns the string representation
13952func (s DescribeTrainingJobOutput) GoString() string {
13953	return s.String()
13954}
13955
13956// SetAlgorithmSpecification sets the AlgorithmSpecification field's value.
13957func (s *DescribeTrainingJobOutput) SetAlgorithmSpecification(v *AlgorithmSpecification) *DescribeTrainingJobOutput {
13958	s.AlgorithmSpecification = v
13959	return s
13960}
13961
13962// SetCreationTime sets the CreationTime field's value.
13963func (s *DescribeTrainingJobOutput) SetCreationTime(v time.Time) *DescribeTrainingJobOutput {
13964	s.CreationTime = &v
13965	return s
13966}
13967
13968// SetEnableInterContainerTrafficEncryption sets the EnableInterContainerTrafficEncryption field's value.
13969func (s *DescribeTrainingJobOutput) SetEnableInterContainerTrafficEncryption(v bool) *DescribeTrainingJobOutput {
13970	s.EnableInterContainerTrafficEncryption = &v
13971	return s
13972}
13973
13974// SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value.
13975func (s *DescribeTrainingJobOutput) SetEnableNetworkIsolation(v bool) *DescribeTrainingJobOutput {
13976	s.EnableNetworkIsolation = &v
13977	return s
13978}
13979
13980// SetFailureReason sets the FailureReason field's value.
13981func (s *DescribeTrainingJobOutput) SetFailureReason(v string) *DescribeTrainingJobOutput {
13982	s.FailureReason = &v
13983	return s
13984}
13985
13986// SetFinalMetricDataList sets the FinalMetricDataList field's value.
13987func (s *DescribeTrainingJobOutput) SetFinalMetricDataList(v []*MetricData) *DescribeTrainingJobOutput {
13988	s.FinalMetricDataList = v
13989	return s
13990}
13991
13992// SetHyperParameters sets the HyperParameters field's value.
13993func (s *DescribeTrainingJobOutput) SetHyperParameters(v map[string]*string) *DescribeTrainingJobOutput {
13994	s.HyperParameters = v
13995	return s
13996}
13997
13998// SetInputDataConfig sets the InputDataConfig field's value.
13999func (s *DescribeTrainingJobOutput) SetInputDataConfig(v []*Channel) *DescribeTrainingJobOutput {
14000	s.InputDataConfig = v
14001	return s
14002}
14003
14004// SetLabelingJobArn sets the LabelingJobArn field's value.
14005func (s *DescribeTrainingJobOutput) SetLabelingJobArn(v string) *DescribeTrainingJobOutput {
14006	s.LabelingJobArn = &v
14007	return s
14008}
14009
14010// SetLastModifiedTime sets the LastModifiedTime field's value.
14011func (s *DescribeTrainingJobOutput) SetLastModifiedTime(v time.Time) *DescribeTrainingJobOutput {
14012	s.LastModifiedTime = &v
14013	return s
14014}
14015
14016// SetModelArtifacts sets the ModelArtifacts field's value.
14017func (s *DescribeTrainingJobOutput) SetModelArtifacts(v *ModelArtifacts) *DescribeTrainingJobOutput {
14018	s.ModelArtifacts = v
14019	return s
14020}
14021
14022// SetOutputDataConfig sets the OutputDataConfig field's value.
14023func (s *DescribeTrainingJobOutput) SetOutputDataConfig(v *OutputDataConfig) *DescribeTrainingJobOutput {
14024	s.OutputDataConfig = v
14025	return s
14026}
14027
14028// SetResourceConfig sets the ResourceConfig field's value.
14029func (s *DescribeTrainingJobOutput) SetResourceConfig(v *ResourceConfig) *DescribeTrainingJobOutput {
14030	s.ResourceConfig = v
14031	return s
14032}
14033
14034// SetRoleArn sets the RoleArn field's value.
14035func (s *DescribeTrainingJobOutput) SetRoleArn(v string) *DescribeTrainingJobOutput {
14036	s.RoleArn = &v
14037	return s
14038}
14039
14040// SetSecondaryStatus sets the SecondaryStatus field's value.
14041func (s *DescribeTrainingJobOutput) SetSecondaryStatus(v string) *DescribeTrainingJobOutput {
14042	s.SecondaryStatus = &v
14043	return s
14044}
14045
14046// SetSecondaryStatusTransitions sets the SecondaryStatusTransitions field's value.
14047func (s *DescribeTrainingJobOutput) SetSecondaryStatusTransitions(v []*SecondaryStatusTransition) *DescribeTrainingJobOutput {
14048	s.SecondaryStatusTransitions = v
14049	return s
14050}
14051
14052// SetStoppingCondition sets the StoppingCondition field's value.
14053func (s *DescribeTrainingJobOutput) SetStoppingCondition(v *StoppingCondition) *DescribeTrainingJobOutput {
14054	s.StoppingCondition = v
14055	return s
14056}
14057
14058// SetTrainingEndTime sets the TrainingEndTime field's value.
14059func (s *DescribeTrainingJobOutput) SetTrainingEndTime(v time.Time) *DescribeTrainingJobOutput {
14060	s.TrainingEndTime = &v
14061	return s
14062}
14063
14064// SetTrainingJobArn sets the TrainingJobArn field's value.
14065func (s *DescribeTrainingJobOutput) SetTrainingJobArn(v string) *DescribeTrainingJobOutput {
14066	s.TrainingJobArn = &v
14067	return s
14068}
14069
14070// SetTrainingJobName sets the TrainingJobName field's value.
14071func (s *DescribeTrainingJobOutput) SetTrainingJobName(v string) *DescribeTrainingJobOutput {
14072	s.TrainingJobName = &v
14073	return s
14074}
14075
14076// SetTrainingJobStatus sets the TrainingJobStatus field's value.
14077func (s *DescribeTrainingJobOutput) SetTrainingJobStatus(v string) *DescribeTrainingJobOutput {
14078	s.TrainingJobStatus = &v
14079	return s
14080}
14081
14082// SetTrainingStartTime sets the TrainingStartTime field's value.
14083func (s *DescribeTrainingJobOutput) SetTrainingStartTime(v time.Time) *DescribeTrainingJobOutput {
14084	s.TrainingStartTime = &v
14085	return s
14086}
14087
14088// SetTuningJobArn sets the TuningJobArn field's value.
14089func (s *DescribeTrainingJobOutput) SetTuningJobArn(v string) *DescribeTrainingJobOutput {
14090	s.TuningJobArn = &v
14091	return s
14092}
14093
14094// SetVpcConfig sets the VpcConfig field's value.
14095func (s *DescribeTrainingJobOutput) SetVpcConfig(v *VpcConfig) *DescribeTrainingJobOutput {
14096	s.VpcConfig = v
14097	return s
14098}
14099
14100type DescribeTransformJobInput struct {
14101	_ struct{} `type:"structure"`
14102
14103	// The name of the transform job that you want to view details of.
14104	//
14105	// TransformJobName is a required field
14106	TransformJobName *string `min:"1" type:"string" required:"true"`
14107}
14108
14109// String returns the string representation
14110func (s DescribeTransformJobInput) String() string {
14111	return awsutil.Prettify(s)
14112}
14113
14114// GoString returns the string representation
14115func (s DescribeTransformJobInput) GoString() string {
14116	return s.String()
14117}
14118
14119// Validate inspects the fields of the type to determine if they are valid.
14120func (s *DescribeTransformJobInput) Validate() error {
14121	invalidParams := request.ErrInvalidParams{Context: "DescribeTransformJobInput"}
14122	if s.TransformJobName == nil {
14123		invalidParams.Add(request.NewErrParamRequired("TransformJobName"))
14124	}
14125	if s.TransformJobName != nil && len(*s.TransformJobName) < 1 {
14126		invalidParams.Add(request.NewErrParamMinLen("TransformJobName", 1))
14127	}
14128
14129	if invalidParams.Len() > 0 {
14130		return invalidParams
14131	}
14132	return nil
14133}
14134
14135// SetTransformJobName sets the TransformJobName field's value.
14136func (s *DescribeTransformJobInput) SetTransformJobName(v string) *DescribeTransformJobInput {
14137	s.TransformJobName = &v
14138	return s
14139}
14140
14141type DescribeTransformJobOutput struct {
14142	_ struct{} `type:"structure"`
14143
14144	// Specifies the number of records to include in a mini-batch for an HTTP inference
14145	// request. A record is a single unit of input data that inference can be made
14146	// on. For example, a single line in a CSV file is a record.
14147	//
14148	// To enable the batch strategy, you must set SplitType to Line, RecordIO, or
14149	// TFRecord.
14150	BatchStrategy *string `type:"string" enum:"BatchStrategy"`
14151
14152	// A timestamp that shows when the transform Job was created.
14153	//
14154	// CreationTime is a required field
14155	CreationTime *time.Time `type:"timestamp" required:"true"`
14156
14157	// The data structure used to combine the input data and transformed data from
14158	// the batch transform output into a joined dataset and to store it in an output
14159	// file. It also contains information on how to filter the input data and the
14160	// joined dataset. For more information, see Batch Transform I/O Join (http://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform-io-join.html).
14161	DataProcessing *DataProcessing `type:"structure"`
14162
14163	// The environment variables to set in the Docker container. We support up to
14164	// 16 key and values entries in the map.
14165	Environment map[string]*string `type:"map"`
14166
14167	// If the transform job failed, FailureReason describes why it failed. A transform
14168	// job creates a log file, which includes error messages, and stores it as an
14169	// Amazon S3 object. For more information, see Log Amazon SageMaker Events with
14170	// Amazon CloudWatch (http://docs.aws.amazon.com/sagemaker/latest/dg/logging-cloudwatch.html).
14171	FailureReason *string `type:"string"`
14172
14173	// The Amazon Resource Name (ARN) of the Amazon SageMaker Ground Truth labeling
14174	// job that created the transform or training job.
14175	LabelingJobArn *string `type:"string"`
14176
14177	// The maximum number of parallel requests on each instance node that can be
14178	// launched in a transform job. The default value is 1.
14179	MaxConcurrentTransforms *int64 `type:"integer"`
14180
14181	// The maximum payload size, in MB, used in the transform job.
14182	MaxPayloadInMB *int64 `type:"integer"`
14183
14184	// The name of the model used in the transform job.
14185	//
14186	// ModelName is a required field
14187	ModelName *string `type:"string" required:"true"`
14188
14189	// Indicates when the transform job has been completed, or has stopped or failed.
14190	// You are billed for the time interval between this time and the value of TransformStartTime.
14191	TransformEndTime *time.Time `type:"timestamp"`
14192
14193	// Describes the dataset to be transformed and the Amazon S3 location where
14194	// it is stored.
14195	//
14196	// TransformInput is a required field
14197	TransformInput *TransformInput `type:"structure" required:"true"`
14198
14199	// The Amazon Resource Name (ARN) of the transform job.
14200	//
14201	// TransformJobArn is a required field
14202	TransformJobArn *string `type:"string" required:"true"`
14203
14204	// The name of the transform job.
14205	//
14206	// TransformJobName is a required field
14207	TransformJobName *string `min:"1" type:"string" required:"true"`
14208
14209	// The status of the transform job. If the transform job failed, the reason
14210	// is returned in the FailureReason field.
14211	//
14212	// TransformJobStatus is a required field
14213	TransformJobStatus *string `type:"string" required:"true" enum:"TransformJobStatus"`
14214
14215	// Identifies the Amazon S3 location where you want Amazon SageMaker to save
14216	// the results from the transform job.
14217	TransformOutput *TransformOutput `type:"structure"`
14218
14219	// Describes the resources, including ML instance types and ML instance count,
14220	// to use for the transform job.
14221	//
14222	// TransformResources is a required field
14223	TransformResources *TransformResources `type:"structure" required:"true"`
14224
14225	// Indicates when the transform job starts on ML instances. You are billed for
14226	// the time interval between this time and the value of TransformEndTime.
14227	TransformStartTime *time.Time `type:"timestamp"`
14228}
14229
14230// String returns the string representation
14231func (s DescribeTransformJobOutput) String() string {
14232	return awsutil.Prettify(s)
14233}
14234
14235// GoString returns the string representation
14236func (s DescribeTransformJobOutput) GoString() string {
14237	return s.String()
14238}
14239
14240// SetBatchStrategy sets the BatchStrategy field's value.
14241func (s *DescribeTransformJobOutput) SetBatchStrategy(v string) *DescribeTransformJobOutput {
14242	s.BatchStrategy = &v
14243	return s
14244}
14245
14246// SetCreationTime sets the CreationTime field's value.
14247func (s *DescribeTransformJobOutput) SetCreationTime(v time.Time) *DescribeTransformJobOutput {
14248	s.CreationTime = &v
14249	return s
14250}
14251
14252// SetDataProcessing sets the DataProcessing field's value.
14253func (s *DescribeTransformJobOutput) SetDataProcessing(v *DataProcessing) *DescribeTransformJobOutput {
14254	s.DataProcessing = v
14255	return s
14256}
14257
14258// SetEnvironment sets the Environment field's value.
14259func (s *DescribeTransformJobOutput) SetEnvironment(v map[string]*string) *DescribeTransformJobOutput {
14260	s.Environment = v
14261	return s
14262}
14263
14264// SetFailureReason sets the FailureReason field's value.
14265func (s *DescribeTransformJobOutput) SetFailureReason(v string) *DescribeTransformJobOutput {
14266	s.FailureReason = &v
14267	return s
14268}
14269
14270// SetLabelingJobArn sets the LabelingJobArn field's value.
14271func (s *DescribeTransformJobOutput) SetLabelingJobArn(v string) *DescribeTransformJobOutput {
14272	s.LabelingJobArn = &v
14273	return s
14274}
14275
14276// SetMaxConcurrentTransforms sets the MaxConcurrentTransforms field's value.
14277func (s *DescribeTransformJobOutput) SetMaxConcurrentTransforms(v int64) *DescribeTransformJobOutput {
14278	s.MaxConcurrentTransforms = &v
14279	return s
14280}
14281
14282// SetMaxPayloadInMB sets the MaxPayloadInMB field's value.
14283func (s *DescribeTransformJobOutput) SetMaxPayloadInMB(v int64) *DescribeTransformJobOutput {
14284	s.MaxPayloadInMB = &v
14285	return s
14286}
14287
14288// SetModelName sets the ModelName field's value.
14289func (s *DescribeTransformJobOutput) SetModelName(v string) *DescribeTransformJobOutput {
14290	s.ModelName = &v
14291	return s
14292}
14293
14294// SetTransformEndTime sets the TransformEndTime field's value.
14295func (s *DescribeTransformJobOutput) SetTransformEndTime(v time.Time) *DescribeTransformJobOutput {
14296	s.TransformEndTime = &v
14297	return s
14298}
14299
14300// SetTransformInput sets the TransformInput field's value.
14301func (s *DescribeTransformJobOutput) SetTransformInput(v *TransformInput) *DescribeTransformJobOutput {
14302	s.TransformInput = v
14303	return s
14304}
14305
14306// SetTransformJobArn sets the TransformJobArn field's value.
14307func (s *DescribeTransformJobOutput) SetTransformJobArn(v string) *DescribeTransformJobOutput {
14308	s.TransformJobArn = &v
14309	return s
14310}
14311
14312// SetTransformJobName sets the TransformJobName field's value.
14313func (s *DescribeTransformJobOutput) SetTransformJobName(v string) *DescribeTransformJobOutput {
14314	s.TransformJobName = &v
14315	return s
14316}
14317
14318// SetTransformJobStatus sets the TransformJobStatus field's value.
14319func (s *DescribeTransformJobOutput) SetTransformJobStatus(v string) *DescribeTransformJobOutput {
14320	s.TransformJobStatus = &v
14321	return s
14322}
14323
14324// SetTransformOutput sets the TransformOutput field's value.
14325func (s *DescribeTransformJobOutput) SetTransformOutput(v *TransformOutput) *DescribeTransformJobOutput {
14326	s.TransformOutput = v
14327	return s
14328}
14329
14330// SetTransformResources sets the TransformResources field's value.
14331func (s *DescribeTransformJobOutput) SetTransformResources(v *TransformResources) *DescribeTransformJobOutput {
14332	s.TransformResources = v
14333	return s
14334}
14335
14336// SetTransformStartTime sets the TransformStartTime field's value.
14337func (s *DescribeTransformJobOutput) SetTransformStartTime(v time.Time) *DescribeTransformJobOutput {
14338	s.TransformStartTime = &v
14339	return s
14340}
14341
14342type DescribeWorkteamInput struct {
14343	_ struct{} `type:"structure"`
14344
14345	// The name of the work team to return a description of.
14346	//
14347	// WorkteamName is a required field
14348	WorkteamName *string `min:"1" type:"string" required:"true"`
14349}
14350
14351// String returns the string representation
14352func (s DescribeWorkteamInput) String() string {
14353	return awsutil.Prettify(s)
14354}
14355
14356// GoString returns the string representation
14357func (s DescribeWorkteamInput) GoString() string {
14358	return s.String()
14359}
14360
14361// Validate inspects the fields of the type to determine if they are valid.
14362func (s *DescribeWorkteamInput) Validate() error {
14363	invalidParams := request.ErrInvalidParams{Context: "DescribeWorkteamInput"}
14364	if s.WorkteamName == nil {
14365		invalidParams.Add(request.NewErrParamRequired("WorkteamName"))
14366	}
14367	if s.WorkteamName != nil && len(*s.WorkteamName) < 1 {
14368		invalidParams.Add(request.NewErrParamMinLen("WorkteamName", 1))
14369	}
14370
14371	if invalidParams.Len() > 0 {
14372		return invalidParams
14373	}
14374	return nil
14375}
14376
14377// SetWorkteamName sets the WorkteamName field's value.
14378func (s *DescribeWorkteamInput) SetWorkteamName(v string) *DescribeWorkteamInput {
14379	s.WorkteamName = &v
14380	return s
14381}
14382
14383type DescribeWorkteamOutput struct {
14384	_ struct{} `type:"structure"`
14385
14386	// A Workteam instance that contains information about the work team.
14387	//
14388	// Workteam is a required field
14389	Workteam *Workteam `type:"structure" required:"true"`
14390}
14391
14392// String returns the string representation
14393func (s DescribeWorkteamOutput) String() string {
14394	return awsutil.Prettify(s)
14395}
14396
14397// GoString returns the string representation
14398func (s DescribeWorkteamOutput) GoString() string {
14399	return s.String()
14400}
14401
14402// SetWorkteam sets the Workteam field's value.
14403func (s *DescribeWorkteamOutput) SetWorkteam(v *Workteam) *DescribeWorkteamOutput {
14404	s.Workteam = v
14405	return s
14406}
14407
14408// Specifies weight and capacity values for a production variant.
14409type DesiredWeightAndCapacity struct {
14410	_ struct{} `type:"structure"`
14411
14412	// The variant's capacity.
14413	DesiredInstanceCount *int64 `min:"1" type:"integer"`
14414
14415	// The variant's weight.
14416	DesiredWeight *float64 `type:"float"`
14417
14418	// The name of the variant to update.
14419	//
14420	// VariantName is a required field
14421	VariantName *string `type:"string" required:"true"`
14422}
14423
14424// String returns the string representation
14425func (s DesiredWeightAndCapacity) String() string {
14426	return awsutil.Prettify(s)
14427}
14428
14429// GoString returns the string representation
14430func (s DesiredWeightAndCapacity) GoString() string {
14431	return s.String()
14432}
14433
14434// Validate inspects the fields of the type to determine if they are valid.
14435func (s *DesiredWeightAndCapacity) Validate() error {
14436	invalidParams := request.ErrInvalidParams{Context: "DesiredWeightAndCapacity"}
14437	if s.DesiredInstanceCount != nil && *s.DesiredInstanceCount < 1 {
14438		invalidParams.Add(request.NewErrParamMinValue("DesiredInstanceCount", 1))
14439	}
14440	if s.VariantName == nil {
14441		invalidParams.Add(request.NewErrParamRequired("VariantName"))
14442	}
14443
14444	if invalidParams.Len() > 0 {
14445		return invalidParams
14446	}
14447	return nil
14448}
14449
14450// SetDesiredInstanceCount sets the DesiredInstanceCount field's value.
14451func (s *DesiredWeightAndCapacity) SetDesiredInstanceCount(v int64) *DesiredWeightAndCapacity {
14452	s.DesiredInstanceCount = &v
14453	return s
14454}
14455
14456// SetDesiredWeight sets the DesiredWeight field's value.
14457func (s *DesiredWeightAndCapacity) SetDesiredWeight(v float64) *DesiredWeightAndCapacity {
14458	s.DesiredWeight = &v
14459	return s
14460}
14461
14462// SetVariantName sets the VariantName field's value.
14463func (s *DesiredWeightAndCapacity) SetVariantName(v string) *DesiredWeightAndCapacity {
14464	s.VariantName = &v
14465	return s
14466}
14467
14468// Provides summary information for an endpoint configuration.
14469type EndpointConfigSummary struct {
14470	_ struct{} `type:"structure"`
14471
14472	// A timestamp that shows when the endpoint configuration was created.
14473	//
14474	// CreationTime is a required field
14475	CreationTime *time.Time `type:"timestamp" required:"true"`
14476
14477	// The Amazon Resource Name (ARN) of the endpoint configuration.
14478	//
14479	// EndpointConfigArn is a required field
14480	EndpointConfigArn *string `min:"20" type:"string" required:"true"`
14481
14482	// The name of the endpoint configuration.
14483	//
14484	// EndpointConfigName is a required field
14485	EndpointConfigName *string `type:"string" required:"true"`
14486}
14487
14488// String returns the string representation
14489func (s EndpointConfigSummary) String() string {
14490	return awsutil.Prettify(s)
14491}
14492
14493// GoString returns the string representation
14494func (s EndpointConfigSummary) GoString() string {
14495	return s.String()
14496}
14497
14498// SetCreationTime sets the CreationTime field's value.
14499func (s *EndpointConfigSummary) SetCreationTime(v time.Time) *EndpointConfigSummary {
14500	s.CreationTime = &v
14501	return s
14502}
14503
14504// SetEndpointConfigArn sets the EndpointConfigArn field's value.
14505func (s *EndpointConfigSummary) SetEndpointConfigArn(v string) *EndpointConfigSummary {
14506	s.EndpointConfigArn = &v
14507	return s
14508}
14509
14510// SetEndpointConfigName sets the EndpointConfigName field's value.
14511func (s *EndpointConfigSummary) SetEndpointConfigName(v string) *EndpointConfigSummary {
14512	s.EndpointConfigName = &v
14513	return s
14514}
14515
14516// Provides summary information for an endpoint.
14517type EndpointSummary struct {
14518	_ struct{} `type:"structure"`
14519
14520	// A timestamp that shows when the endpoint was created.
14521	//
14522	// CreationTime is a required field
14523	CreationTime *time.Time `type:"timestamp" required:"true"`
14524
14525	// The Amazon Resource Name (ARN) of the endpoint.
14526	//
14527	// EndpointArn is a required field
14528	EndpointArn *string `min:"20" type:"string" required:"true"`
14529
14530	// The name of the endpoint.
14531	//
14532	// EndpointName is a required field
14533	EndpointName *string `type:"string" required:"true"`
14534
14535	// The status of the endpoint.
14536	//
14537	//    * OutOfService: Endpoint is not available to take incoming requests.
14538	//
14539	//    * Creating: CreateEndpoint is executing.
14540	//
14541	//    * Updating: UpdateEndpoint or UpdateEndpointWeightsAndCapacities is executing.
14542	//
14543	//    * SystemUpdating: Endpoint is undergoing maintenance and cannot be updated
14544	//    or deleted or re-scaled until it has completed. This maintenance operation
14545	//    does not change any customer-specified values such as VPC config, KMS
14546	//    encryption, model, instance type, or instance count.
14547	//
14548	//    * RollingBack: Endpoint fails to scale up or down or change its variant
14549	//    weight and is in the process of rolling back to its previous configuration.
14550	//    Once the rollback completes, endpoint returns to an InService status.
14551	//    This transitional status only applies to an endpoint that has autoscaling
14552	//    enabled and is undergoing variant weight or capacity changes as part of
14553	//    an UpdateEndpointWeightsAndCapacities call or when the UpdateEndpointWeightsAndCapacities
14554	//    operation is called explicitly.
14555	//
14556	//    * InService: Endpoint is available to process incoming requests.
14557	//
14558	//    * Deleting: DeleteEndpoint is executing.
14559	//
14560	//    * Failed: Endpoint could not be created, updated, or re-scaled. Use DescribeEndpointOutput$FailureReason
14561	//    for information about the failure. DeleteEndpoint is the only operation
14562	//    that can be performed on a failed endpoint.
14563	//
14564	// To get a list of endpoints with a specified status, use the ListEndpointsInput$StatusEquals
14565	// filter.
14566	//
14567	// EndpointStatus is a required field
14568	EndpointStatus *string `type:"string" required:"true" enum:"EndpointStatus"`
14569
14570	// A timestamp that shows when the endpoint was last modified.
14571	//
14572	// LastModifiedTime is a required field
14573	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
14574}
14575
14576// String returns the string representation
14577func (s EndpointSummary) String() string {
14578	return awsutil.Prettify(s)
14579}
14580
14581// GoString returns the string representation
14582func (s EndpointSummary) GoString() string {
14583	return s.String()
14584}
14585
14586// SetCreationTime sets the CreationTime field's value.
14587func (s *EndpointSummary) SetCreationTime(v time.Time) *EndpointSummary {
14588	s.CreationTime = &v
14589	return s
14590}
14591
14592// SetEndpointArn sets the EndpointArn field's value.
14593func (s *EndpointSummary) SetEndpointArn(v string) *EndpointSummary {
14594	s.EndpointArn = &v
14595	return s
14596}
14597
14598// SetEndpointName sets the EndpointName field's value.
14599func (s *EndpointSummary) SetEndpointName(v string) *EndpointSummary {
14600	s.EndpointName = &v
14601	return s
14602}
14603
14604// SetEndpointStatus sets the EndpointStatus field's value.
14605func (s *EndpointSummary) SetEndpointStatus(v string) *EndpointSummary {
14606	s.EndpointStatus = &v
14607	return s
14608}
14609
14610// SetLastModifiedTime sets the LastModifiedTime field's value.
14611func (s *EndpointSummary) SetLastModifiedTime(v time.Time) *EndpointSummary {
14612	s.LastModifiedTime = &v
14613	return s
14614}
14615
14616// A conditional statement for a search expression that includes a Boolean operator,
14617// a resource property, and a value.
14618//
14619// If you don't specify an Operator and a Value, the filter searches for only
14620// the specified property. For example, defining a Filter for the FailureReason
14621// for the TrainingJob Resource searches for training job objects that have
14622// a value in the FailureReason field.
14623//
14624// If you specify a Value, but not an Operator, Amazon SageMaker uses the equals
14625// operator as the default.
14626//
14627// In search, there are several property types:
14628//
14629// Metrics
14630//
14631// To define a metric filter, enter a value using the form "Metrics.<name>",
14632// where <name> is a metric name. For example, the following filter searches
14633// for training jobs with an "accuracy" metric greater than "0.9":
14634//
14635// {
14636//
14637// "Name": "Metrics.accuracy",
14638//
14639// "Operator": "GREATER_THAN",
14640//
14641// "Value": "0.9"
14642//
14643// }
14644//
14645// HyperParameters
14646//
14647// To define a hyperparameter filter, enter a value with the form "HyperParameters.<name>".
14648// Decimal hyperparameter values are treated as a decimal in a comparison if
14649// the specified Value is also a decimal value. If the specified Value is an
14650// integer, the decimal hyperparameter values are treated as integers. For example,
14651// the following filter is satisfied by training jobs with a "learning_rate"
14652// hyperparameter that is less than "0.5":
14653//
14654// {
14655//
14656// "Name": "HyperParameters.learning_rate",
14657//
14658// "Operator": "LESS_THAN",
14659//
14660// "Value": "0.5"
14661//
14662// }
14663//
14664// Tags
14665//
14666// To define a tag filter, enter a value with the form "Tags.<key>".
14667type Filter struct {
14668	_ struct{} `type:"structure"`
14669
14670	// A property name. For example, TrainingJobName. For the list of valid property
14671	// names returned in a search result for each supported resource, see TrainingJob
14672	// properties. You must specify a valid property name for the resource.
14673	//
14674	// Name is a required field
14675	Name *string `min:"1" type:"string" required:"true"`
14676
14677	// A Boolean binary operator that is used to evaluate the filter. The operator
14678	// field contains one of the following values:
14679	//
14680	// Equals
14681	//
14682	// The specified resource in Name equals the specified Value.
14683	//
14684	// NotEquals
14685	//
14686	// The specified resource in Name does not equal the specified Value.
14687	//
14688	// GreaterThan
14689	//
14690	// The specified resource in Name is greater than the specified Value. Not supported
14691	// for text-based properties.
14692	//
14693	// GreaterThanOrEqualTo
14694	//
14695	// The specified resource in Name is greater than or equal to the specified
14696	// Value. Not supported for text-based properties.
14697	//
14698	// LessThan
14699	//
14700	// The specified resource in Name is less than the specified Value. Not supported
14701	// for text-based properties.
14702	//
14703	// LessThanOrEqualTo
14704	//
14705	// The specified resource in Name is less than or equal to the specified Value.
14706	// Not supported for text-based properties.
14707	//
14708	// Contains
14709	//
14710	// Only supported for text-based properties. The word-list of the property contains
14711	// the specified Value.
14712	//
14713	// If you have specified a filter Value, the default is Equals.
14714	Operator *string `type:"string" enum:"Operator"`
14715
14716	// A value used with Resource and Operator to determine if objects satisfy the
14717	// filter's condition. For numerical properties, Value must be an integer or
14718	// floating-point decimal. For timestamp properties, Value must be an ISO 8601
14719	// date-time string of the following format: YYYY-mm-dd'T'HH:MM:SS.
14720	Value *string `min:"1" type:"string"`
14721}
14722
14723// String returns the string representation
14724func (s Filter) String() string {
14725	return awsutil.Prettify(s)
14726}
14727
14728// GoString returns the string representation
14729func (s Filter) GoString() string {
14730	return s.String()
14731}
14732
14733// Validate inspects the fields of the type to determine if they are valid.
14734func (s *Filter) Validate() error {
14735	invalidParams := request.ErrInvalidParams{Context: "Filter"}
14736	if s.Name == nil {
14737		invalidParams.Add(request.NewErrParamRequired("Name"))
14738	}
14739	if s.Name != nil && len(*s.Name) < 1 {
14740		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
14741	}
14742	if s.Value != nil && len(*s.Value) < 1 {
14743		invalidParams.Add(request.NewErrParamMinLen("Value", 1))
14744	}
14745
14746	if invalidParams.Len() > 0 {
14747		return invalidParams
14748	}
14749	return nil
14750}
14751
14752// SetName sets the Name field's value.
14753func (s *Filter) SetName(v string) *Filter {
14754	s.Name = &v
14755	return s
14756}
14757
14758// SetOperator sets the Operator field's value.
14759func (s *Filter) SetOperator(v string) *Filter {
14760	s.Operator = &v
14761	return s
14762}
14763
14764// SetValue sets the Value field's value.
14765func (s *Filter) SetValue(v string) *Filter {
14766	s.Value = &v
14767	return s
14768}
14769
14770// Shows the final value for the objective metric for a training job that was
14771// launched by a hyperparameter tuning job. You define the objective metric
14772// in the HyperParameterTuningJobObjective parameter of HyperParameterTuningJobConfig.
14773type FinalHyperParameterTuningJobObjectiveMetric struct {
14774	_ struct{} `type:"structure"`
14775
14776	// The name of the objective metric.
14777	//
14778	// MetricName is a required field
14779	MetricName *string `min:"1" type:"string" required:"true"`
14780
14781	// Whether to minimize or maximize the objective metric. Valid values are Minimize
14782	// and Maximize.
14783	Type *string `type:"string" enum:"HyperParameterTuningJobObjectiveType"`
14784
14785	// The value of the objective metric.
14786	//
14787	// Value is a required field
14788	Value *float64 `type:"float" required:"true"`
14789}
14790
14791// String returns the string representation
14792func (s FinalHyperParameterTuningJobObjectiveMetric) String() string {
14793	return awsutil.Prettify(s)
14794}
14795
14796// GoString returns the string representation
14797func (s FinalHyperParameterTuningJobObjectiveMetric) GoString() string {
14798	return s.String()
14799}
14800
14801// SetMetricName sets the MetricName field's value.
14802func (s *FinalHyperParameterTuningJobObjectiveMetric) SetMetricName(v string) *FinalHyperParameterTuningJobObjectiveMetric {
14803	s.MetricName = &v
14804	return s
14805}
14806
14807// SetType sets the Type field's value.
14808func (s *FinalHyperParameterTuningJobObjectiveMetric) SetType(v string) *FinalHyperParameterTuningJobObjectiveMetric {
14809	s.Type = &v
14810	return s
14811}
14812
14813// SetValue sets the Value field's value.
14814func (s *FinalHyperParameterTuningJobObjectiveMetric) SetValue(v float64) *FinalHyperParameterTuningJobObjectiveMetric {
14815	s.Value = &v
14816	return s
14817}
14818
14819type GetSearchSuggestionsInput struct {
14820	_ struct{} `type:"structure"`
14821
14822	// The name of the Amazon SageMaker resource to Search for. The only valid Resource
14823	// value is TrainingJob.
14824	//
14825	// Resource is a required field
14826	Resource *string `type:"string" required:"true" enum:"ResourceType"`
14827
14828	// Limits the property names that are included in the response.
14829	SuggestionQuery *SuggestionQuery `type:"structure"`
14830}
14831
14832// String returns the string representation
14833func (s GetSearchSuggestionsInput) String() string {
14834	return awsutil.Prettify(s)
14835}
14836
14837// GoString returns the string representation
14838func (s GetSearchSuggestionsInput) GoString() string {
14839	return s.String()
14840}
14841
14842// Validate inspects the fields of the type to determine if they are valid.
14843func (s *GetSearchSuggestionsInput) Validate() error {
14844	invalidParams := request.ErrInvalidParams{Context: "GetSearchSuggestionsInput"}
14845	if s.Resource == nil {
14846		invalidParams.Add(request.NewErrParamRequired("Resource"))
14847	}
14848	if s.SuggestionQuery != nil {
14849		if err := s.SuggestionQuery.Validate(); err != nil {
14850			invalidParams.AddNested("SuggestionQuery", err.(request.ErrInvalidParams))
14851		}
14852	}
14853
14854	if invalidParams.Len() > 0 {
14855		return invalidParams
14856	}
14857	return nil
14858}
14859
14860// SetResource sets the Resource field's value.
14861func (s *GetSearchSuggestionsInput) SetResource(v string) *GetSearchSuggestionsInput {
14862	s.Resource = &v
14863	return s
14864}
14865
14866// SetSuggestionQuery sets the SuggestionQuery field's value.
14867func (s *GetSearchSuggestionsInput) SetSuggestionQuery(v *SuggestionQuery) *GetSearchSuggestionsInput {
14868	s.SuggestionQuery = v
14869	return s
14870}
14871
14872type GetSearchSuggestionsOutput struct {
14873	_ struct{} `type:"structure"`
14874
14875	// A list of property names for a Resource that match a SuggestionQuery.
14876	PropertyNameSuggestions []*PropertyNameSuggestion `type:"list"`
14877}
14878
14879// String returns the string representation
14880func (s GetSearchSuggestionsOutput) String() string {
14881	return awsutil.Prettify(s)
14882}
14883
14884// GoString returns the string representation
14885func (s GetSearchSuggestionsOutput) GoString() string {
14886	return s.String()
14887}
14888
14889// SetPropertyNameSuggestions sets the PropertyNameSuggestions field's value.
14890func (s *GetSearchSuggestionsOutput) SetPropertyNameSuggestions(v []*PropertyNameSuggestion) *GetSearchSuggestionsOutput {
14891	s.PropertyNameSuggestions = v
14892	return s
14893}
14894
14895// Specifies configuration details for a Git repository in your AWS account.
14896type GitConfig struct {
14897	_ struct{} `type:"structure"`
14898
14899	// The default branch for the Git repository.
14900	Branch *string `min:"1" type:"string"`
14901
14902	// The URL where the Git repository is located.
14903	//
14904	// RepositoryUrl is a required field
14905	RepositoryUrl *string `type:"string" required:"true"`
14906
14907	// The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains
14908	// the credentials used to access the git repository. The secret must have a
14909	// staging label of AWSCURRENT and must be in the following format:
14910	//
14911	// {"username": UserName, "password": Password}
14912	SecretArn *string `min:"1" type:"string"`
14913}
14914
14915// String returns the string representation
14916func (s GitConfig) String() string {
14917	return awsutil.Prettify(s)
14918}
14919
14920// GoString returns the string representation
14921func (s GitConfig) GoString() string {
14922	return s.String()
14923}
14924
14925// Validate inspects the fields of the type to determine if they are valid.
14926func (s *GitConfig) Validate() error {
14927	invalidParams := request.ErrInvalidParams{Context: "GitConfig"}
14928	if s.Branch != nil && len(*s.Branch) < 1 {
14929		invalidParams.Add(request.NewErrParamMinLen("Branch", 1))
14930	}
14931	if s.RepositoryUrl == nil {
14932		invalidParams.Add(request.NewErrParamRequired("RepositoryUrl"))
14933	}
14934	if s.SecretArn != nil && len(*s.SecretArn) < 1 {
14935		invalidParams.Add(request.NewErrParamMinLen("SecretArn", 1))
14936	}
14937
14938	if invalidParams.Len() > 0 {
14939		return invalidParams
14940	}
14941	return nil
14942}
14943
14944// SetBranch sets the Branch field's value.
14945func (s *GitConfig) SetBranch(v string) *GitConfig {
14946	s.Branch = &v
14947	return s
14948}
14949
14950// SetRepositoryUrl sets the RepositoryUrl field's value.
14951func (s *GitConfig) SetRepositoryUrl(v string) *GitConfig {
14952	s.RepositoryUrl = &v
14953	return s
14954}
14955
14956// SetSecretArn sets the SecretArn field's value.
14957func (s *GitConfig) SetSecretArn(v string) *GitConfig {
14958	s.SecretArn = &v
14959	return s
14960}
14961
14962// Specifies configuration details for a Git repository when the repository
14963// is updated.
14964type GitConfigForUpdate struct {
14965	_ struct{} `type:"structure"`
14966
14967	// The Amazon Resource Name (ARN) of the AWS Secrets Manager secret that contains
14968	// the credentials used to access the git repository. The secret must have a
14969	// staging label of AWSCURRENT and must be in the following format:
14970	//
14971	// {"username": UserName, "password": Password}
14972	SecretArn *string `min:"1" type:"string"`
14973}
14974
14975// String returns the string representation
14976func (s GitConfigForUpdate) String() string {
14977	return awsutil.Prettify(s)
14978}
14979
14980// GoString returns the string representation
14981func (s GitConfigForUpdate) GoString() string {
14982	return s.String()
14983}
14984
14985// Validate inspects the fields of the type to determine if they are valid.
14986func (s *GitConfigForUpdate) Validate() error {
14987	invalidParams := request.ErrInvalidParams{Context: "GitConfigForUpdate"}
14988	if s.SecretArn != nil && len(*s.SecretArn) < 1 {
14989		invalidParams.Add(request.NewErrParamMinLen("SecretArn", 1))
14990	}
14991
14992	if invalidParams.Len() > 0 {
14993		return invalidParams
14994	}
14995	return nil
14996}
14997
14998// SetSecretArn sets the SecretArn field's value.
14999func (s *GitConfigForUpdate) SetSecretArn(v string) *GitConfigForUpdate {
15000	s.SecretArn = &v
15001	return s
15002}
15003
15004// Information required for human workers to complete a labeling task.
15005type HumanTaskConfig struct {
15006	_ struct{} `type:"structure"`
15007
15008	// Configures how labels are consolidated across human workers.
15009	//
15010	// AnnotationConsolidationConfig is a required field
15011	AnnotationConsolidationConfig *AnnotationConsolidationConfig `type:"structure" required:"true"`
15012
15013	// Defines the maximum number of data objects that can be labeled by human workers
15014	// at the same time. Each object may have more than one worker at one time.
15015	MaxConcurrentTaskCount *int64 `min:"1" type:"integer"`
15016
15017	// The number of human workers that will label an object.
15018	//
15019	// NumberOfHumanWorkersPerDataObject is a required field
15020	NumberOfHumanWorkersPerDataObject *int64 `min:"1" type:"integer" required:"true"`
15021
15022	// The Amazon Resource Name (ARN) of a Lambda function that is run before a
15023	// data object is sent to a human worker. Use this function to provide input
15024	// to a custom labeling job.
15025	//
15026	// For the built-in bounding box, image classification, semantic segmentation,
15027	// and text classification task types, Amazon SageMaker Ground Truth provides
15028	// the following Lambda functions:
15029	//
15030	// US East (Northern Virginia) (us-east-1):
15031	//
15032	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-BoundingBox
15033	//
15034	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-ImageMultiClass
15035	//
15036	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-SemanticSegmentation
15037	//
15038	//    * arn:aws:lambda:us-east-1:432418664414:function:PRE-TextMultiClass
15039	//
15040	// US East (Ohio) (us-east-2):
15041	//
15042	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-BoundingBox
15043	//
15044	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-ImageMultiClass
15045	//
15046	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-SemanticSegmentation
15047	//
15048	//    * arn:aws:lambda:us-east-2:266458841044:function:PRE-TextMultiClass
15049	//
15050	// US West (Oregon) (us-west-2):
15051	//
15052	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-BoundingBox
15053	//
15054	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-ImageMultiClass
15055	//
15056	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-SemanticSegmentation
15057	//
15058	//    * arn:aws:lambda:us-west-2:081040173940:function:PRE-TextMultiClass
15059	//
15060	// EU (Ireland) (eu-west-1):
15061	//
15062	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-BoundingBox
15063	//
15064	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-ImageMultiClass
15065	//
15066	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-SemanticSegmentation
15067	//
15068	//    * arn:aws:lambda:eu-west-1:568282634449:function:PRE-TextMultiClass
15069	//
15070	// Asia Pacific (Tokyo) (ap-northeast-1):
15071	//
15072	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-BoundingBox
15073	//
15074	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-ImageMultiClass
15075	//
15076	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-SemanticSegmentation
15077	//
15078	//    * arn:aws:lambda:ap-northeast-1:477331159723:function:PRE-TextMultiClass
15079	//
15080	// Asia Pacific (Sydney) (ap-southeast-1):
15081	//
15082	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-BoundingBox
15083	//
15084	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-ImageMultiClass
15085	//
15086	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-SemanticSegmentation
15087	//
15088	//    * arn:aws:lambda:ap-southeast-2:454466003867:function:PRE-TextMultiClass
15089	//
15090	// PreHumanTaskLambdaArn is a required field
15091	PreHumanTaskLambdaArn *string `type:"string" required:"true"`
15092
15093	// The price that you pay for each task performed by a public worker.
15094	PublicWorkforceTaskPrice *PublicWorkforceTaskPrice `type:"structure"`
15095
15096	// The length of time that a task remains available for labelling by human workers.
15097	TaskAvailabilityLifetimeInSeconds *int64 `min:"1" type:"integer"`
15098
15099	// A description of the task for your human workers.
15100	//
15101	// TaskDescription is a required field
15102	TaskDescription *string `min:"1" type:"string" required:"true"`
15103
15104	// Keywords used to describe the task so that workers on Amazon Mechanical Turk
15105	// can discover the task.
15106	TaskKeywords []*string `min:"1" type:"list"`
15107
15108	// The amount of time that a worker has to complete a task.
15109	//
15110	// TaskTimeLimitInSeconds is a required field
15111	TaskTimeLimitInSeconds *int64 `min:"1" type:"integer" required:"true"`
15112
15113	// A title for the task for your human workers.
15114	//
15115	// TaskTitle is a required field
15116	TaskTitle *string `min:"1" type:"string" required:"true"`
15117
15118	// Information about the user interface that workers use to complete the labeling
15119	// task.
15120	//
15121	// UiConfig is a required field
15122	UiConfig *UiConfig `type:"structure" required:"true"`
15123
15124	// The Amazon Resource Name (ARN) of the work team assigned to complete the
15125	// tasks.
15126	//
15127	// WorkteamArn is a required field
15128	WorkteamArn *string `type:"string" required:"true"`
15129}
15130
15131// String returns the string representation
15132func (s HumanTaskConfig) String() string {
15133	return awsutil.Prettify(s)
15134}
15135
15136// GoString returns the string representation
15137func (s HumanTaskConfig) GoString() string {
15138	return s.String()
15139}
15140
15141// Validate inspects the fields of the type to determine if they are valid.
15142func (s *HumanTaskConfig) Validate() error {
15143	invalidParams := request.ErrInvalidParams{Context: "HumanTaskConfig"}
15144	if s.AnnotationConsolidationConfig == nil {
15145		invalidParams.Add(request.NewErrParamRequired("AnnotationConsolidationConfig"))
15146	}
15147	if s.MaxConcurrentTaskCount != nil && *s.MaxConcurrentTaskCount < 1 {
15148		invalidParams.Add(request.NewErrParamMinValue("MaxConcurrentTaskCount", 1))
15149	}
15150	if s.NumberOfHumanWorkersPerDataObject == nil {
15151		invalidParams.Add(request.NewErrParamRequired("NumberOfHumanWorkersPerDataObject"))
15152	}
15153	if s.NumberOfHumanWorkersPerDataObject != nil && *s.NumberOfHumanWorkersPerDataObject < 1 {
15154		invalidParams.Add(request.NewErrParamMinValue("NumberOfHumanWorkersPerDataObject", 1))
15155	}
15156	if s.PreHumanTaskLambdaArn == nil {
15157		invalidParams.Add(request.NewErrParamRequired("PreHumanTaskLambdaArn"))
15158	}
15159	if s.TaskAvailabilityLifetimeInSeconds != nil && *s.TaskAvailabilityLifetimeInSeconds < 1 {
15160		invalidParams.Add(request.NewErrParamMinValue("TaskAvailabilityLifetimeInSeconds", 1))
15161	}
15162	if s.TaskDescription == nil {
15163		invalidParams.Add(request.NewErrParamRequired("TaskDescription"))
15164	}
15165	if s.TaskDescription != nil && len(*s.TaskDescription) < 1 {
15166		invalidParams.Add(request.NewErrParamMinLen("TaskDescription", 1))
15167	}
15168	if s.TaskKeywords != nil && len(s.TaskKeywords) < 1 {
15169		invalidParams.Add(request.NewErrParamMinLen("TaskKeywords", 1))
15170	}
15171	if s.TaskTimeLimitInSeconds == nil {
15172		invalidParams.Add(request.NewErrParamRequired("TaskTimeLimitInSeconds"))
15173	}
15174	if s.TaskTimeLimitInSeconds != nil && *s.TaskTimeLimitInSeconds < 1 {
15175		invalidParams.Add(request.NewErrParamMinValue("TaskTimeLimitInSeconds", 1))
15176	}
15177	if s.TaskTitle == nil {
15178		invalidParams.Add(request.NewErrParamRequired("TaskTitle"))
15179	}
15180	if s.TaskTitle != nil && len(*s.TaskTitle) < 1 {
15181		invalidParams.Add(request.NewErrParamMinLen("TaskTitle", 1))
15182	}
15183	if s.UiConfig == nil {
15184		invalidParams.Add(request.NewErrParamRequired("UiConfig"))
15185	}
15186	if s.WorkteamArn == nil {
15187		invalidParams.Add(request.NewErrParamRequired("WorkteamArn"))
15188	}
15189	if s.AnnotationConsolidationConfig != nil {
15190		if err := s.AnnotationConsolidationConfig.Validate(); err != nil {
15191			invalidParams.AddNested("AnnotationConsolidationConfig", err.(request.ErrInvalidParams))
15192		}
15193	}
15194	if s.UiConfig != nil {
15195		if err := s.UiConfig.Validate(); err != nil {
15196			invalidParams.AddNested("UiConfig", err.(request.ErrInvalidParams))
15197		}
15198	}
15199
15200	if invalidParams.Len() > 0 {
15201		return invalidParams
15202	}
15203	return nil
15204}
15205
15206// SetAnnotationConsolidationConfig sets the AnnotationConsolidationConfig field's value.
15207func (s *HumanTaskConfig) SetAnnotationConsolidationConfig(v *AnnotationConsolidationConfig) *HumanTaskConfig {
15208	s.AnnotationConsolidationConfig = v
15209	return s
15210}
15211
15212// SetMaxConcurrentTaskCount sets the MaxConcurrentTaskCount field's value.
15213func (s *HumanTaskConfig) SetMaxConcurrentTaskCount(v int64) *HumanTaskConfig {
15214	s.MaxConcurrentTaskCount = &v
15215	return s
15216}
15217
15218// SetNumberOfHumanWorkersPerDataObject sets the NumberOfHumanWorkersPerDataObject field's value.
15219func (s *HumanTaskConfig) SetNumberOfHumanWorkersPerDataObject(v int64) *HumanTaskConfig {
15220	s.NumberOfHumanWorkersPerDataObject = &v
15221	return s
15222}
15223
15224// SetPreHumanTaskLambdaArn sets the PreHumanTaskLambdaArn field's value.
15225func (s *HumanTaskConfig) SetPreHumanTaskLambdaArn(v string) *HumanTaskConfig {
15226	s.PreHumanTaskLambdaArn = &v
15227	return s
15228}
15229
15230// SetPublicWorkforceTaskPrice sets the PublicWorkforceTaskPrice field's value.
15231func (s *HumanTaskConfig) SetPublicWorkforceTaskPrice(v *PublicWorkforceTaskPrice) *HumanTaskConfig {
15232	s.PublicWorkforceTaskPrice = v
15233	return s
15234}
15235
15236// SetTaskAvailabilityLifetimeInSeconds sets the TaskAvailabilityLifetimeInSeconds field's value.
15237func (s *HumanTaskConfig) SetTaskAvailabilityLifetimeInSeconds(v int64) *HumanTaskConfig {
15238	s.TaskAvailabilityLifetimeInSeconds = &v
15239	return s
15240}
15241
15242// SetTaskDescription sets the TaskDescription field's value.
15243func (s *HumanTaskConfig) SetTaskDescription(v string) *HumanTaskConfig {
15244	s.TaskDescription = &v
15245	return s
15246}
15247
15248// SetTaskKeywords sets the TaskKeywords field's value.
15249func (s *HumanTaskConfig) SetTaskKeywords(v []*string) *HumanTaskConfig {
15250	s.TaskKeywords = v
15251	return s
15252}
15253
15254// SetTaskTimeLimitInSeconds sets the TaskTimeLimitInSeconds field's value.
15255func (s *HumanTaskConfig) SetTaskTimeLimitInSeconds(v int64) *HumanTaskConfig {
15256	s.TaskTimeLimitInSeconds = &v
15257	return s
15258}
15259
15260// SetTaskTitle sets the TaskTitle field's value.
15261func (s *HumanTaskConfig) SetTaskTitle(v string) *HumanTaskConfig {
15262	s.TaskTitle = &v
15263	return s
15264}
15265
15266// SetUiConfig sets the UiConfig field's value.
15267func (s *HumanTaskConfig) SetUiConfig(v *UiConfig) *HumanTaskConfig {
15268	s.UiConfig = v
15269	return s
15270}
15271
15272// SetWorkteamArn sets the WorkteamArn field's value.
15273func (s *HumanTaskConfig) SetWorkteamArn(v string) *HumanTaskConfig {
15274	s.WorkteamArn = &v
15275	return s
15276}
15277
15278// Specifies which training algorithm to use for training jobs that a hyperparameter
15279// tuning job launches and the metrics to monitor.
15280type HyperParameterAlgorithmSpecification struct {
15281	_ struct{} `type:"structure"`
15282
15283	// The name of the resource algorithm to use for the hyperparameter tuning job.
15284	// If you specify a value for this parameter, do not specify a value for TrainingImage.
15285	AlgorithmName *string `min:"1" type:"string"`
15286
15287	// An array of MetricDefinition objects that specify the metrics that the algorithm
15288	// emits.
15289	MetricDefinitions []*MetricDefinition `type:"list"`
15290
15291	// The registry path of the Docker image that contains the training algorithm.
15292	// For information about Docker registry paths for built-in algorithms, see
15293	// Algorithms Provided by Amazon SageMaker: Common Parameters (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-algo-docker-registry-paths.html).
15294	// Amazon SageMaker supports both registry/repository[:tag] and registry/repository[@digest]
15295	// image path formats. For more information, see Using Your Own Algorithms with
15296	// Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html).
15297	TrainingImage *string `type:"string"`
15298
15299	// The input mode that the algorithm supports: File or Pipe. In File input mode,
15300	// Amazon SageMaker downloads the training data from Amazon S3 to the storage
15301	// volume that is attached to the training instance and mounts the directory
15302	// to the Docker volume for the training container. In Pipe input mode, Amazon
15303	// SageMaker streams data directly from Amazon S3 to the container.
15304	//
15305	// If you specify File mode, make sure that you provision the storage volume
15306	// that is attached to the training instance with enough capacity to accommodate
15307	// the training data downloaded from Amazon S3, the model artifacts, and intermediate
15308	// information.
15309	//
15310	// For more information about input modes, see Algorithms (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html).
15311	//
15312	// TrainingInputMode is a required field
15313	TrainingInputMode *string `type:"string" required:"true" enum:"TrainingInputMode"`
15314}
15315
15316// String returns the string representation
15317func (s HyperParameterAlgorithmSpecification) String() string {
15318	return awsutil.Prettify(s)
15319}
15320
15321// GoString returns the string representation
15322func (s HyperParameterAlgorithmSpecification) GoString() string {
15323	return s.String()
15324}
15325
15326// Validate inspects the fields of the type to determine if they are valid.
15327func (s *HyperParameterAlgorithmSpecification) Validate() error {
15328	invalidParams := request.ErrInvalidParams{Context: "HyperParameterAlgorithmSpecification"}
15329	if s.AlgorithmName != nil && len(*s.AlgorithmName) < 1 {
15330		invalidParams.Add(request.NewErrParamMinLen("AlgorithmName", 1))
15331	}
15332	if s.TrainingInputMode == nil {
15333		invalidParams.Add(request.NewErrParamRequired("TrainingInputMode"))
15334	}
15335	if s.MetricDefinitions != nil {
15336		for i, v := range s.MetricDefinitions {
15337			if v == nil {
15338				continue
15339			}
15340			if err := v.Validate(); err != nil {
15341				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MetricDefinitions", i), err.(request.ErrInvalidParams))
15342			}
15343		}
15344	}
15345
15346	if invalidParams.Len() > 0 {
15347		return invalidParams
15348	}
15349	return nil
15350}
15351
15352// SetAlgorithmName sets the AlgorithmName field's value.
15353func (s *HyperParameterAlgorithmSpecification) SetAlgorithmName(v string) *HyperParameterAlgorithmSpecification {
15354	s.AlgorithmName = &v
15355	return s
15356}
15357
15358// SetMetricDefinitions sets the MetricDefinitions field's value.
15359func (s *HyperParameterAlgorithmSpecification) SetMetricDefinitions(v []*MetricDefinition) *HyperParameterAlgorithmSpecification {
15360	s.MetricDefinitions = v
15361	return s
15362}
15363
15364// SetTrainingImage sets the TrainingImage field's value.
15365func (s *HyperParameterAlgorithmSpecification) SetTrainingImage(v string) *HyperParameterAlgorithmSpecification {
15366	s.TrainingImage = &v
15367	return s
15368}
15369
15370// SetTrainingInputMode sets the TrainingInputMode field's value.
15371func (s *HyperParameterAlgorithmSpecification) SetTrainingInputMode(v string) *HyperParameterAlgorithmSpecification {
15372	s.TrainingInputMode = &v
15373	return s
15374}
15375
15376// Defines a hyperparameter to be used by an algorithm.
15377type HyperParameterSpecification struct {
15378	_ struct{} `type:"structure"`
15379
15380	// The default value for this hyperparameter. If a default value is specified,
15381	// a hyperparameter cannot be required.
15382	DefaultValue *string `type:"string"`
15383
15384	// A brief description of the hyperparameter.
15385	Description *string `type:"string"`
15386
15387	// Indicates whether this hyperparameter is required.
15388	IsRequired *bool `type:"boolean"`
15389
15390	// Indicates whether this hyperparameter is tunable in a hyperparameter tuning
15391	// job.
15392	IsTunable *bool `type:"boolean"`
15393
15394	// The name of this hyperparameter. The name must be unique.
15395	//
15396	// Name is a required field
15397	Name *string `type:"string" required:"true"`
15398
15399	// The allowed range for this hyperparameter.
15400	Range *ParameterRange `type:"structure"`
15401
15402	// The type of this hyperparameter. The valid types are Integer, Continuous,
15403	// Categorical, and FreeText.
15404	//
15405	// Type is a required field
15406	Type *string `type:"string" required:"true" enum:"ParameterType"`
15407}
15408
15409// String returns the string representation
15410func (s HyperParameterSpecification) String() string {
15411	return awsutil.Prettify(s)
15412}
15413
15414// GoString returns the string representation
15415func (s HyperParameterSpecification) GoString() string {
15416	return s.String()
15417}
15418
15419// Validate inspects the fields of the type to determine if they are valid.
15420func (s *HyperParameterSpecification) Validate() error {
15421	invalidParams := request.ErrInvalidParams{Context: "HyperParameterSpecification"}
15422	if s.Name == nil {
15423		invalidParams.Add(request.NewErrParamRequired("Name"))
15424	}
15425	if s.Type == nil {
15426		invalidParams.Add(request.NewErrParamRequired("Type"))
15427	}
15428	if s.Range != nil {
15429		if err := s.Range.Validate(); err != nil {
15430			invalidParams.AddNested("Range", err.(request.ErrInvalidParams))
15431		}
15432	}
15433
15434	if invalidParams.Len() > 0 {
15435		return invalidParams
15436	}
15437	return nil
15438}
15439
15440// SetDefaultValue sets the DefaultValue field's value.
15441func (s *HyperParameterSpecification) SetDefaultValue(v string) *HyperParameterSpecification {
15442	s.DefaultValue = &v
15443	return s
15444}
15445
15446// SetDescription sets the Description field's value.
15447func (s *HyperParameterSpecification) SetDescription(v string) *HyperParameterSpecification {
15448	s.Description = &v
15449	return s
15450}
15451
15452// SetIsRequired sets the IsRequired field's value.
15453func (s *HyperParameterSpecification) SetIsRequired(v bool) *HyperParameterSpecification {
15454	s.IsRequired = &v
15455	return s
15456}
15457
15458// SetIsTunable sets the IsTunable field's value.
15459func (s *HyperParameterSpecification) SetIsTunable(v bool) *HyperParameterSpecification {
15460	s.IsTunable = &v
15461	return s
15462}
15463
15464// SetName sets the Name field's value.
15465func (s *HyperParameterSpecification) SetName(v string) *HyperParameterSpecification {
15466	s.Name = &v
15467	return s
15468}
15469
15470// SetRange sets the Range field's value.
15471func (s *HyperParameterSpecification) SetRange(v *ParameterRange) *HyperParameterSpecification {
15472	s.Range = v
15473	return s
15474}
15475
15476// SetType sets the Type field's value.
15477func (s *HyperParameterSpecification) SetType(v string) *HyperParameterSpecification {
15478	s.Type = &v
15479	return s
15480}
15481
15482// Defines the training jobs launched by a hyperparameter tuning job.
15483type HyperParameterTrainingJobDefinition struct {
15484	_ struct{} `type:"structure"`
15485
15486	// The HyperParameterAlgorithmSpecification object that specifies the resource
15487	// algorithm to use for the training jobs that the tuning job launches.
15488	//
15489	// AlgorithmSpecification is a required field
15490	AlgorithmSpecification *HyperParameterAlgorithmSpecification `type:"structure" required:"true"`
15491
15492	// To encrypt all communications between ML compute instances in distributed
15493	// training, choose True. Encryption provides greater security for distributed
15494	// training, but training might take longer. How long it takes depends on the
15495	// amount of communication between compute instances, especially if you use
15496	// a deep learning algorithm in distributed training.
15497	EnableInterContainerTrafficEncryption *bool `type:"boolean"`
15498
15499	// Isolates the training container. No inbound or outbound network calls can
15500	// be made, except for calls between peers within a training cluster for distributed
15501	// training. If network isolation is used for training jobs that are configured
15502	// to use a VPC, Amazon SageMaker downloads and uploads customer data and model
15503	// artifacts through the specified VPC, but the training container does not
15504	// have network access.
15505	//
15506	// The Semantic Segmentation built-in algorithm does not support network isolation.
15507	EnableNetworkIsolation *bool `type:"boolean"`
15508
15509	// An array of Channel objects that specify the input for the training jobs
15510	// that the tuning job launches.
15511	InputDataConfig []*Channel `min:"1" type:"list"`
15512
15513	// Specifies the path to the Amazon S3 bucket where you store model artifacts
15514	// from the training jobs that the tuning job launches.
15515	//
15516	// OutputDataConfig is a required field
15517	OutputDataConfig *OutputDataConfig `type:"structure" required:"true"`
15518
15519	// The resources, including the compute instances and storage volumes, to use
15520	// for the training jobs that the tuning job launches.
15521	//
15522	// Storage volumes store model artifacts and incremental states. Training algorithms
15523	// might also use storage volumes for scratch space. If you want Amazon SageMaker
15524	// to use the storage volume to store the training data, choose File as the
15525	// TrainingInputMode in the algorithm specification. For distributed training
15526	// algorithms, specify an instance count greater than 1.
15527	//
15528	// ResourceConfig is a required field
15529	ResourceConfig *ResourceConfig `type:"structure" required:"true"`
15530
15531	// The Amazon Resource Name (ARN) of the IAM role associated with the training
15532	// jobs that the tuning job launches.
15533	//
15534	// RoleArn is a required field
15535	RoleArn *string `min:"20" type:"string" required:"true"`
15536
15537	// Specifies the values of hyperparameters that do not change for the tuning
15538	// job.
15539	StaticHyperParameters map[string]*string `type:"map"`
15540
15541	// Specifies a limit to how long a model hyperparameter training job can run.
15542	// When the job reaches the time limit, Amazon SageMaker ends the training job.
15543	// Use this API to cap model training costs.
15544	//
15545	// StoppingCondition is a required field
15546	StoppingCondition *StoppingCondition `type:"structure" required:"true"`
15547
15548	// The VpcConfig object that specifies the VPC that you want the training jobs
15549	// that this hyperparameter tuning job launches to connect to. Control access
15550	// to and from your training container by configuring the VPC. For more information,
15551	// see Protect Training Jobs by Using an Amazon Virtual Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html).
15552	VpcConfig *VpcConfig `type:"structure"`
15553}
15554
15555// String returns the string representation
15556func (s HyperParameterTrainingJobDefinition) String() string {
15557	return awsutil.Prettify(s)
15558}
15559
15560// GoString returns the string representation
15561func (s HyperParameterTrainingJobDefinition) GoString() string {
15562	return s.String()
15563}
15564
15565// Validate inspects the fields of the type to determine if they are valid.
15566func (s *HyperParameterTrainingJobDefinition) Validate() error {
15567	invalidParams := request.ErrInvalidParams{Context: "HyperParameterTrainingJobDefinition"}
15568	if s.AlgorithmSpecification == nil {
15569		invalidParams.Add(request.NewErrParamRequired("AlgorithmSpecification"))
15570	}
15571	if s.InputDataConfig != nil && len(s.InputDataConfig) < 1 {
15572		invalidParams.Add(request.NewErrParamMinLen("InputDataConfig", 1))
15573	}
15574	if s.OutputDataConfig == nil {
15575		invalidParams.Add(request.NewErrParamRequired("OutputDataConfig"))
15576	}
15577	if s.ResourceConfig == nil {
15578		invalidParams.Add(request.NewErrParamRequired("ResourceConfig"))
15579	}
15580	if s.RoleArn == nil {
15581		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
15582	}
15583	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
15584		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
15585	}
15586	if s.StoppingCondition == nil {
15587		invalidParams.Add(request.NewErrParamRequired("StoppingCondition"))
15588	}
15589	if s.AlgorithmSpecification != nil {
15590		if err := s.AlgorithmSpecification.Validate(); err != nil {
15591			invalidParams.AddNested("AlgorithmSpecification", err.(request.ErrInvalidParams))
15592		}
15593	}
15594	if s.InputDataConfig != nil {
15595		for i, v := range s.InputDataConfig {
15596			if v == nil {
15597				continue
15598			}
15599			if err := v.Validate(); err != nil {
15600				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputDataConfig", i), err.(request.ErrInvalidParams))
15601			}
15602		}
15603	}
15604	if s.OutputDataConfig != nil {
15605		if err := s.OutputDataConfig.Validate(); err != nil {
15606			invalidParams.AddNested("OutputDataConfig", err.(request.ErrInvalidParams))
15607		}
15608	}
15609	if s.ResourceConfig != nil {
15610		if err := s.ResourceConfig.Validate(); err != nil {
15611			invalidParams.AddNested("ResourceConfig", err.(request.ErrInvalidParams))
15612		}
15613	}
15614	if s.StoppingCondition != nil {
15615		if err := s.StoppingCondition.Validate(); err != nil {
15616			invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams))
15617		}
15618	}
15619	if s.VpcConfig != nil {
15620		if err := s.VpcConfig.Validate(); err != nil {
15621			invalidParams.AddNested("VpcConfig", err.(request.ErrInvalidParams))
15622		}
15623	}
15624
15625	if invalidParams.Len() > 0 {
15626		return invalidParams
15627	}
15628	return nil
15629}
15630
15631// SetAlgorithmSpecification sets the AlgorithmSpecification field's value.
15632func (s *HyperParameterTrainingJobDefinition) SetAlgorithmSpecification(v *HyperParameterAlgorithmSpecification) *HyperParameterTrainingJobDefinition {
15633	s.AlgorithmSpecification = v
15634	return s
15635}
15636
15637// SetEnableInterContainerTrafficEncryption sets the EnableInterContainerTrafficEncryption field's value.
15638func (s *HyperParameterTrainingJobDefinition) SetEnableInterContainerTrafficEncryption(v bool) *HyperParameterTrainingJobDefinition {
15639	s.EnableInterContainerTrafficEncryption = &v
15640	return s
15641}
15642
15643// SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value.
15644func (s *HyperParameterTrainingJobDefinition) SetEnableNetworkIsolation(v bool) *HyperParameterTrainingJobDefinition {
15645	s.EnableNetworkIsolation = &v
15646	return s
15647}
15648
15649// SetInputDataConfig sets the InputDataConfig field's value.
15650func (s *HyperParameterTrainingJobDefinition) SetInputDataConfig(v []*Channel) *HyperParameterTrainingJobDefinition {
15651	s.InputDataConfig = v
15652	return s
15653}
15654
15655// SetOutputDataConfig sets the OutputDataConfig field's value.
15656func (s *HyperParameterTrainingJobDefinition) SetOutputDataConfig(v *OutputDataConfig) *HyperParameterTrainingJobDefinition {
15657	s.OutputDataConfig = v
15658	return s
15659}
15660
15661// SetResourceConfig sets the ResourceConfig field's value.
15662func (s *HyperParameterTrainingJobDefinition) SetResourceConfig(v *ResourceConfig) *HyperParameterTrainingJobDefinition {
15663	s.ResourceConfig = v
15664	return s
15665}
15666
15667// SetRoleArn sets the RoleArn field's value.
15668func (s *HyperParameterTrainingJobDefinition) SetRoleArn(v string) *HyperParameterTrainingJobDefinition {
15669	s.RoleArn = &v
15670	return s
15671}
15672
15673// SetStaticHyperParameters sets the StaticHyperParameters field's value.
15674func (s *HyperParameterTrainingJobDefinition) SetStaticHyperParameters(v map[string]*string) *HyperParameterTrainingJobDefinition {
15675	s.StaticHyperParameters = v
15676	return s
15677}
15678
15679// SetStoppingCondition sets the StoppingCondition field's value.
15680func (s *HyperParameterTrainingJobDefinition) SetStoppingCondition(v *StoppingCondition) *HyperParameterTrainingJobDefinition {
15681	s.StoppingCondition = v
15682	return s
15683}
15684
15685// SetVpcConfig sets the VpcConfig field's value.
15686func (s *HyperParameterTrainingJobDefinition) SetVpcConfig(v *VpcConfig) *HyperParameterTrainingJobDefinition {
15687	s.VpcConfig = v
15688	return s
15689}
15690
15691// Specifies summary information about a training job.
15692type HyperParameterTrainingJobSummary struct {
15693	_ struct{} `type:"structure"`
15694
15695	// The date and time that the training job was created.
15696	//
15697	// CreationTime is a required field
15698	CreationTime *time.Time `type:"timestamp" required:"true"`
15699
15700	// The reason that the training job failed.
15701	FailureReason *string `type:"string"`
15702
15703	// The FinalHyperParameterTuningJobObjectiveMetric object that specifies the
15704	// value of the objective metric of the tuning job that launched this training
15705	// job.
15706	FinalHyperParameterTuningJobObjectiveMetric *FinalHyperParameterTuningJobObjectiveMetric `type:"structure"`
15707
15708	// The status of the objective metric for the training job:
15709	//
15710	//    * Succeeded: The final objective metric for the training job was evaluated
15711	//    by the hyperparameter tuning job and used in the hyperparameter tuning
15712	//    process.
15713	//
15714	//    * Pending: The training job is in progress and evaluation of its final
15715	//    objective metric is pending.
15716	//
15717	//    * Failed: The final objective metric for the training job was not evaluated,
15718	//    and was not used in the hyperparameter tuning process. This typically
15719	//    occurs when the training job failed or did not emit an objective metric.
15720	ObjectiveStatus *string `type:"string" enum:"ObjectiveStatus"`
15721
15722	// Specifies the time when the training job ends on training instances. You
15723	// are billed for the time interval between the value of TrainingStartTime and
15724	// this time. For successful jobs and stopped jobs, this is the time after model
15725	// artifacts are uploaded. For failed jobs, this is the time when Amazon SageMaker
15726	// detects a job failure.
15727	TrainingEndTime *time.Time `type:"timestamp"`
15728
15729	// The Amazon Resource Name (ARN) of the training job.
15730	//
15731	// TrainingJobArn is a required field
15732	TrainingJobArn *string `type:"string" required:"true"`
15733
15734	// The name of the training job.
15735	//
15736	// TrainingJobName is a required field
15737	TrainingJobName *string `min:"1" type:"string" required:"true"`
15738
15739	// The status of the training job.
15740	//
15741	// TrainingJobStatus is a required field
15742	TrainingJobStatus *string `type:"string" required:"true" enum:"TrainingJobStatus"`
15743
15744	// The date and time that the training job started.
15745	TrainingStartTime *time.Time `type:"timestamp"`
15746
15747	// A list of the hyperparameters for which you specified ranges to search.
15748	//
15749	// TunedHyperParameters is a required field
15750	TunedHyperParameters map[string]*string `type:"map" required:"true"`
15751
15752	// The HyperParameter tuning job that launched the training job.
15753	TuningJobName *string `min:"1" type:"string"`
15754}
15755
15756// String returns the string representation
15757func (s HyperParameterTrainingJobSummary) String() string {
15758	return awsutil.Prettify(s)
15759}
15760
15761// GoString returns the string representation
15762func (s HyperParameterTrainingJobSummary) GoString() string {
15763	return s.String()
15764}
15765
15766// SetCreationTime sets the CreationTime field's value.
15767func (s *HyperParameterTrainingJobSummary) SetCreationTime(v time.Time) *HyperParameterTrainingJobSummary {
15768	s.CreationTime = &v
15769	return s
15770}
15771
15772// SetFailureReason sets the FailureReason field's value.
15773func (s *HyperParameterTrainingJobSummary) SetFailureReason(v string) *HyperParameterTrainingJobSummary {
15774	s.FailureReason = &v
15775	return s
15776}
15777
15778// SetFinalHyperParameterTuningJobObjectiveMetric sets the FinalHyperParameterTuningJobObjectiveMetric field's value.
15779func (s *HyperParameterTrainingJobSummary) SetFinalHyperParameterTuningJobObjectiveMetric(v *FinalHyperParameterTuningJobObjectiveMetric) *HyperParameterTrainingJobSummary {
15780	s.FinalHyperParameterTuningJobObjectiveMetric = v
15781	return s
15782}
15783
15784// SetObjectiveStatus sets the ObjectiveStatus field's value.
15785func (s *HyperParameterTrainingJobSummary) SetObjectiveStatus(v string) *HyperParameterTrainingJobSummary {
15786	s.ObjectiveStatus = &v
15787	return s
15788}
15789
15790// SetTrainingEndTime sets the TrainingEndTime field's value.
15791func (s *HyperParameterTrainingJobSummary) SetTrainingEndTime(v time.Time) *HyperParameterTrainingJobSummary {
15792	s.TrainingEndTime = &v
15793	return s
15794}
15795
15796// SetTrainingJobArn sets the TrainingJobArn field's value.
15797func (s *HyperParameterTrainingJobSummary) SetTrainingJobArn(v string) *HyperParameterTrainingJobSummary {
15798	s.TrainingJobArn = &v
15799	return s
15800}
15801
15802// SetTrainingJobName sets the TrainingJobName field's value.
15803func (s *HyperParameterTrainingJobSummary) SetTrainingJobName(v string) *HyperParameterTrainingJobSummary {
15804	s.TrainingJobName = &v
15805	return s
15806}
15807
15808// SetTrainingJobStatus sets the TrainingJobStatus field's value.
15809func (s *HyperParameterTrainingJobSummary) SetTrainingJobStatus(v string) *HyperParameterTrainingJobSummary {
15810	s.TrainingJobStatus = &v
15811	return s
15812}
15813
15814// SetTrainingStartTime sets the TrainingStartTime field's value.
15815func (s *HyperParameterTrainingJobSummary) SetTrainingStartTime(v time.Time) *HyperParameterTrainingJobSummary {
15816	s.TrainingStartTime = &v
15817	return s
15818}
15819
15820// SetTunedHyperParameters sets the TunedHyperParameters field's value.
15821func (s *HyperParameterTrainingJobSummary) SetTunedHyperParameters(v map[string]*string) *HyperParameterTrainingJobSummary {
15822	s.TunedHyperParameters = v
15823	return s
15824}
15825
15826// SetTuningJobName sets the TuningJobName field's value.
15827func (s *HyperParameterTrainingJobSummary) SetTuningJobName(v string) *HyperParameterTrainingJobSummary {
15828	s.TuningJobName = &v
15829	return s
15830}
15831
15832// Configures a hyperparameter tuning job.
15833type HyperParameterTuningJobConfig struct {
15834	_ struct{} `type:"structure"`
15835
15836	// The HyperParameterTuningJobObjective object that specifies the objective
15837	// metric for this tuning job.
15838	HyperParameterTuningJobObjective *HyperParameterTuningJobObjective `type:"structure"`
15839
15840	// The ParameterRanges object that specifies the ranges of hyperparameters that
15841	// this tuning job searches.
15842	ParameterRanges *ParameterRanges `type:"structure"`
15843
15844	// The ResourceLimits object that specifies the maximum number of training jobs
15845	// and parallel training jobs for this tuning job.
15846	//
15847	// ResourceLimits is a required field
15848	ResourceLimits *ResourceLimits `type:"structure" required:"true"`
15849
15850	// Specifies how hyperparameter tuning chooses the combinations of hyperparameter
15851	// values to use for the training job it launches. To use the Bayesian search
15852	// stategy, set this to Bayesian. To randomly search, set it to Random. For
15853	// information about search strategies, see How Hyperparameter Tuning Works
15854	// (http://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-how-it-works.html).
15855	//
15856	// Strategy is a required field
15857	Strategy *string `type:"string" required:"true" enum:"HyperParameterTuningJobStrategyType"`
15858
15859	// Specifies whether to use early stopping for training jobs launched by the
15860	// hyperparameter tuning job. This can be one of the following values (the default
15861	// value is OFF):
15862	//
15863	// OFF
15864	//
15865	// Training jobs launched by the hyperparameter tuning job do not use early
15866	// stopping.
15867	//
15868	// AUTO
15869	//
15870	// Amazon SageMaker stops training jobs launched by the hyperparameter tuning
15871	// job when they are unlikely to perform better than previously completed training
15872	// jobs. For more information, see Stop Training Jobs Early (http://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-early-stopping.html).
15873	TrainingJobEarlyStoppingType *string `type:"string" enum:"TrainingJobEarlyStoppingType"`
15874}
15875
15876// String returns the string representation
15877func (s HyperParameterTuningJobConfig) String() string {
15878	return awsutil.Prettify(s)
15879}
15880
15881// GoString returns the string representation
15882func (s HyperParameterTuningJobConfig) GoString() string {
15883	return s.String()
15884}
15885
15886// Validate inspects the fields of the type to determine if they are valid.
15887func (s *HyperParameterTuningJobConfig) Validate() error {
15888	invalidParams := request.ErrInvalidParams{Context: "HyperParameterTuningJobConfig"}
15889	if s.ResourceLimits == nil {
15890		invalidParams.Add(request.NewErrParamRequired("ResourceLimits"))
15891	}
15892	if s.Strategy == nil {
15893		invalidParams.Add(request.NewErrParamRequired("Strategy"))
15894	}
15895	if s.HyperParameterTuningJobObjective != nil {
15896		if err := s.HyperParameterTuningJobObjective.Validate(); err != nil {
15897			invalidParams.AddNested("HyperParameterTuningJobObjective", err.(request.ErrInvalidParams))
15898		}
15899	}
15900	if s.ParameterRanges != nil {
15901		if err := s.ParameterRanges.Validate(); err != nil {
15902			invalidParams.AddNested("ParameterRanges", err.(request.ErrInvalidParams))
15903		}
15904	}
15905	if s.ResourceLimits != nil {
15906		if err := s.ResourceLimits.Validate(); err != nil {
15907			invalidParams.AddNested("ResourceLimits", err.(request.ErrInvalidParams))
15908		}
15909	}
15910
15911	if invalidParams.Len() > 0 {
15912		return invalidParams
15913	}
15914	return nil
15915}
15916
15917// SetHyperParameterTuningJobObjective sets the HyperParameterTuningJobObjective field's value.
15918func (s *HyperParameterTuningJobConfig) SetHyperParameterTuningJobObjective(v *HyperParameterTuningJobObjective) *HyperParameterTuningJobConfig {
15919	s.HyperParameterTuningJobObjective = v
15920	return s
15921}
15922
15923// SetParameterRanges sets the ParameterRanges field's value.
15924func (s *HyperParameterTuningJobConfig) SetParameterRanges(v *ParameterRanges) *HyperParameterTuningJobConfig {
15925	s.ParameterRanges = v
15926	return s
15927}
15928
15929// SetResourceLimits sets the ResourceLimits field's value.
15930func (s *HyperParameterTuningJobConfig) SetResourceLimits(v *ResourceLimits) *HyperParameterTuningJobConfig {
15931	s.ResourceLimits = v
15932	return s
15933}
15934
15935// SetStrategy sets the Strategy field's value.
15936func (s *HyperParameterTuningJobConfig) SetStrategy(v string) *HyperParameterTuningJobConfig {
15937	s.Strategy = &v
15938	return s
15939}
15940
15941// SetTrainingJobEarlyStoppingType sets the TrainingJobEarlyStoppingType field's value.
15942func (s *HyperParameterTuningJobConfig) SetTrainingJobEarlyStoppingType(v string) *HyperParameterTuningJobConfig {
15943	s.TrainingJobEarlyStoppingType = &v
15944	return s
15945}
15946
15947// Defines the objective metric for a hyperparameter tuning job. Hyperparameter
15948// tuning uses the value of this metric to evaluate the training jobs it launches,
15949// and returns the training job that results in either the highest or lowest
15950// value for this metric, depending on the value you specify for the Type parameter.
15951type HyperParameterTuningJobObjective struct {
15952	_ struct{} `type:"structure"`
15953
15954	// The name of the metric to use for the objective metric.
15955	//
15956	// MetricName is a required field
15957	MetricName *string `min:"1" type:"string" required:"true"`
15958
15959	// Whether to minimize or maximize the objective metric.
15960	//
15961	// Type is a required field
15962	Type *string `type:"string" required:"true" enum:"HyperParameterTuningJobObjectiveType"`
15963}
15964
15965// String returns the string representation
15966func (s HyperParameterTuningJobObjective) String() string {
15967	return awsutil.Prettify(s)
15968}
15969
15970// GoString returns the string representation
15971func (s HyperParameterTuningJobObjective) GoString() string {
15972	return s.String()
15973}
15974
15975// Validate inspects the fields of the type to determine if they are valid.
15976func (s *HyperParameterTuningJobObjective) Validate() error {
15977	invalidParams := request.ErrInvalidParams{Context: "HyperParameterTuningJobObjective"}
15978	if s.MetricName == nil {
15979		invalidParams.Add(request.NewErrParamRequired("MetricName"))
15980	}
15981	if s.MetricName != nil && len(*s.MetricName) < 1 {
15982		invalidParams.Add(request.NewErrParamMinLen("MetricName", 1))
15983	}
15984	if s.Type == nil {
15985		invalidParams.Add(request.NewErrParamRequired("Type"))
15986	}
15987
15988	if invalidParams.Len() > 0 {
15989		return invalidParams
15990	}
15991	return nil
15992}
15993
15994// SetMetricName sets the MetricName field's value.
15995func (s *HyperParameterTuningJobObjective) SetMetricName(v string) *HyperParameterTuningJobObjective {
15996	s.MetricName = &v
15997	return s
15998}
15999
16000// SetType sets the Type field's value.
16001func (s *HyperParameterTuningJobObjective) SetType(v string) *HyperParameterTuningJobObjective {
16002	s.Type = &v
16003	return s
16004}
16005
16006// Provides summary information about a hyperparameter tuning job.
16007type HyperParameterTuningJobSummary struct {
16008	_ struct{} `type:"structure"`
16009
16010	// The date and time that the tuning job was created.
16011	//
16012	// CreationTime is a required field
16013	CreationTime *time.Time `type:"timestamp" required:"true"`
16014
16015	// The date and time that the tuning job ended.
16016	HyperParameterTuningEndTime *time.Time `type:"timestamp"`
16017
16018	// The Amazon Resource Name (ARN) of the tuning job.
16019	//
16020	// HyperParameterTuningJobArn is a required field
16021	HyperParameterTuningJobArn *string `type:"string" required:"true"`
16022
16023	// The name of the tuning job.
16024	//
16025	// HyperParameterTuningJobName is a required field
16026	HyperParameterTuningJobName *string `min:"1" type:"string" required:"true"`
16027
16028	// The status of the tuning job.
16029	//
16030	// HyperParameterTuningJobStatus is a required field
16031	HyperParameterTuningJobStatus *string `type:"string" required:"true" enum:"HyperParameterTuningJobStatus"`
16032
16033	// The date and time that the tuning job was modified.
16034	LastModifiedTime *time.Time `type:"timestamp"`
16035
16036	// The ObjectiveStatusCounters object that specifies the numbers of training
16037	// jobs, categorized by objective metric status, that this tuning job launched.
16038	//
16039	// ObjectiveStatusCounters is a required field
16040	ObjectiveStatusCounters *ObjectiveStatusCounters `type:"structure" required:"true"`
16041
16042	// The ResourceLimits object that specifies the maximum number of training jobs
16043	// and parallel training jobs allowed for this tuning job.
16044	ResourceLimits *ResourceLimits `type:"structure"`
16045
16046	// Specifies the search strategy hyperparameter tuning uses to choose which
16047	// hyperparameters to use for each iteration. Currently, the only valid value
16048	// is Bayesian.
16049	//
16050	// Strategy is a required field
16051	Strategy *string `type:"string" required:"true" enum:"HyperParameterTuningJobStrategyType"`
16052
16053	// The TrainingJobStatusCounters object that specifies the numbers of training
16054	// jobs, categorized by status, that this tuning job launched.
16055	//
16056	// TrainingJobStatusCounters is a required field
16057	TrainingJobStatusCounters *TrainingJobStatusCounters `type:"structure" required:"true"`
16058}
16059
16060// String returns the string representation
16061func (s HyperParameterTuningJobSummary) String() string {
16062	return awsutil.Prettify(s)
16063}
16064
16065// GoString returns the string representation
16066func (s HyperParameterTuningJobSummary) GoString() string {
16067	return s.String()
16068}
16069
16070// SetCreationTime sets the CreationTime field's value.
16071func (s *HyperParameterTuningJobSummary) SetCreationTime(v time.Time) *HyperParameterTuningJobSummary {
16072	s.CreationTime = &v
16073	return s
16074}
16075
16076// SetHyperParameterTuningEndTime sets the HyperParameterTuningEndTime field's value.
16077func (s *HyperParameterTuningJobSummary) SetHyperParameterTuningEndTime(v time.Time) *HyperParameterTuningJobSummary {
16078	s.HyperParameterTuningEndTime = &v
16079	return s
16080}
16081
16082// SetHyperParameterTuningJobArn sets the HyperParameterTuningJobArn field's value.
16083func (s *HyperParameterTuningJobSummary) SetHyperParameterTuningJobArn(v string) *HyperParameterTuningJobSummary {
16084	s.HyperParameterTuningJobArn = &v
16085	return s
16086}
16087
16088// SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value.
16089func (s *HyperParameterTuningJobSummary) SetHyperParameterTuningJobName(v string) *HyperParameterTuningJobSummary {
16090	s.HyperParameterTuningJobName = &v
16091	return s
16092}
16093
16094// SetHyperParameterTuningJobStatus sets the HyperParameterTuningJobStatus field's value.
16095func (s *HyperParameterTuningJobSummary) SetHyperParameterTuningJobStatus(v string) *HyperParameterTuningJobSummary {
16096	s.HyperParameterTuningJobStatus = &v
16097	return s
16098}
16099
16100// SetLastModifiedTime sets the LastModifiedTime field's value.
16101func (s *HyperParameterTuningJobSummary) SetLastModifiedTime(v time.Time) *HyperParameterTuningJobSummary {
16102	s.LastModifiedTime = &v
16103	return s
16104}
16105
16106// SetObjectiveStatusCounters sets the ObjectiveStatusCounters field's value.
16107func (s *HyperParameterTuningJobSummary) SetObjectiveStatusCounters(v *ObjectiveStatusCounters) *HyperParameterTuningJobSummary {
16108	s.ObjectiveStatusCounters = v
16109	return s
16110}
16111
16112// SetResourceLimits sets the ResourceLimits field's value.
16113func (s *HyperParameterTuningJobSummary) SetResourceLimits(v *ResourceLimits) *HyperParameterTuningJobSummary {
16114	s.ResourceLimits = v
16115	return s
16116}
16117
16118// SetStrategy sets the Strategy field's value.
16119func (s *HyperParameterTuningJobSummary) SetStrategy(v string) *HyperParameterTuningJobSummary {
16120	s.Strategy = &v
16121	return s
16122}
16123
16124// SetTrainingJobStatusCounters sets the TrainingJobStatusCounters field's value.
16125func (s *HyperParameterTuningJobSummary) SetTrainingJobStatusCounters(v *TrainingJobStatusCounters) *HyperParameterTuningJobSummary {
16126	s.TrainingJobStatusCounters = v
16127	return s
16128}
16129
16130// Specifies the configuration for a hyperparameter tuning job that uses one
16131// or more previous hyperparameter tuning jobs as a starting point. The results
16132// of previous tuning jobs are used to inform which combinations of hyperparameters
16133// to search over in the new tuning job.
16134//
16135// All training jobs launched by the new hyperparameter tuning job are evaluated
16136// by using the objective metric, and the training job that performs the best
16137// is compared to the best training jobs from the parent tuning jobs. From these,
16138// the training job that performs the best as measured by the objective metric
16139// is returned as the overall best training job.
16140//
16141// All training jobs launched by parent hyperparameter tuning jobs and the new
16142// hyperparameter tuning jobs count against the limit of training jobs for the
16143// tuning job.
16144type HyperParameterTuningJobWarmStartConfig struct {
16145	_ struct{} `type:"structure"`
16146
16147	// An array of hyperparameter tuning jobs that are used as the starting point
16148	// for the new hyperparameter tuning job. For more information about warm starting
16149	// a hyperparameter tuning job, see Using a Previous Hyperparameter Tuning Job
16150	// as a Starting Point (http://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-warm-start.html).
16151	//
16152	// Hyperparameter tuning jobs created before October 1, 2018 cannot be used
16153	// as parent jobs for warm start tuning jobs.
16154	//
16155	// ParentHyperParameterTuningJobs is a required field
16156	ParentHyperParameterTuningJobs []*ParentHyperParameterTuningJob `min:"1" type:"list" required:"true"`
16157
16158	// Specifies one of the following:
16159	//
16160	// IDENTICAL_DATA_AND_ALGORITHM
16161	//
16162	// The new hyperparameter tuning job uses the same input data and training image
16163	// as the parent tuning jobs. You can change the hyperparameter ranges to search
16164	// and the maximum number of training jobs that the hyperparameter tuning job
16165	// launches. You cannot use a new version of the training algorithm, unless
16166	// the changes in the new version do not affect the algorithm itself. For example,
16167	// changes that improve logging or adding support for a different data format
16168	// are allowed. You can also change hyperparameters from tunable to static,
16169	// and from static to tunable, but the total number of static plus tunable hyperparameters
16170	// must remain the same as it is in all parent jobs. The objective metric for
16171	// the new tuning job must be the same as for all parent jobs.
16172	//
16173	// TRANSFER_LEARNING
16174	//
16175	// The new hyperparameter tuning job can include input data, hyperparameter
16176	// ranges, maximum number of concurrent training jobs, and maximum number of
16177	// training jobs that are different than those of its parent hyperparameter
16178	// tuning jobs. The training image can also be a different version from the
16179	// version used in the parent hyperparameter tuning job. You can also change
16180	// hyperparameters from tunable to static, and from static to tunable, but the
16181	// total number of static plus tunable hyperparameters must remain the same
16182	// as it is in all parent jobs. The objective metric for the new tuning job
16183	// must be the same as for all parent jobs.
16184	//
16185	// WarmStartType is a required field
16186	WarmStartType *string `type:"string" required:"true" enum:"HyperParameterTuningJobWarmStartType"`
16187}
16188
16189// String returns the string representation
16190func (s HyperParameterTuningJobWarmStartConfig) String() string {
16191	return awsutil.Prettify(s)
16192}
16193
16194// GoString returns the string representation
16195func (s HyperParameterTuningJobWarmStartConfig) GoString() string {
16196	return s.String()
16197}
16198
16199// Validate inspects the fields of the type to determine if they are valid.
16200func (s *HyperParameterTuningJobWarmStartConfig) Validate() error {
16201	invalidParams := request.ErrInvalidParams{Context: "HyperParameterTuningJobWarmStartConfig"}
16202	if s.ParentHyperParameterTuningJobs == nil {
16203		invalidParams.Add(request.NewErrParamRequired("ParentHyperParameterTuningJobs"))
16204	}
16205	if s.ParentHyperParameterTuningJobs != nil && len(s.ParentHyperParameterTuningJobs) < 1 {
16206		invalidParams.Add(request.NewErrParamMinLen("ParentHyperParameterTuningJobs", 1))
16207	}
16208	if s.WarmStartType == nil {
16209		invalidParams.Add(request.NewErrParamRequired("WarmStartType"))
16210	}
16211	if s.ParentHyperParameterTuningJobs != nil {
16212		for i, v := range s.ParentHyperParameterTuningJobs {
16213			if v == nil {
16214				continue
16215			}
16216			if err := v.Validate(); err != nil {
16217				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ParentHyperParameterTuningJobs", i), err.(request.ErrInvalidParams))
16218			}
16219		}
16220	}
16221
16222	if invalidParams.Len() > 0 {
16223		return invalidParams
16224	}
16225	return nil
16226}
16227
16228// SetParentHyperParameterTuningJobs sets the ParentHyperParameterTuningJobs field's value.
16229func (s *HyperParameterTuningJobWarmStartConfig) SetParentHyperParameterTuningJobs(v []*ParentHyperParameterTuningJob) *HyperParameterTuningJobWarmStartConfig {
16230	s.ParentHyperParameterTuningJobs = v
16231	return s
16232}
16233
16234// SetWarmStartType sets the WarmStartType field's value.
16235func (s *HyperParameterTuningJobWarmStartConfig) SetWarmStartType(v string) *HyperParameterTuningJobWarmStartConfig {
16236	s.WarmStartType = &v
16237	return s
16238}
16239
16240// Defines how to perform inference generation after a training job is run.
16241type InferenceSpecification struct {
16242	_ struct{} `type:"structure"`
16243
16244	// The Amazon ECR registry path of the Docker image that contains the inference
16245	// code.
16246	//
16247	// Containers is a required field
16248	Containers []*ModelPackageContainerDefinition `min:"1" type:"list" required:"true"`
16249
16250	// The supported MIME types for the input data.
16251	//
16252	// SupportedContentTypes is a required field
16253	SupportedContentTypes []*string `type:"list" required:"true"`
16254
16255	// A list of the instance types that are used to generate inferences in real-time.
16256	//
16257	// SupportedRealtimeInferenceInstanceTypes is a required field
16258	SupportedRealtimeInferenceInstanceTypes []*string `type:"list" required:"true"`
16259
16260	// The supported MIME types for the output data.
16261	//
16262	// SupportedResponseMIMETypes is a required field
16263	SupportedResponseMIMETypes []*string `type:"list" required:"true"`
16264
16265	// A list of the instance types on which a transformation job can be run or
16266	// on which an endpoint can be deployed.
16267	//
16268	// SupportedTransformInstanceTypes is a required field
16269	SupportedTransformInstanceTypes []*string `min:"1" type:"list" required:"true"`
16270}
16271
16272// String returns the string representation
16273func (s InferenceSpecification) String() string {
16274	return awsutil.Prettify(s)
16275}
16276
16277// GoString returns the string representation
16278func (s InferenceSpecification) GoString() string {
16279	return s.String()
16280}
16281
16282// Validate inspects the fields of the type to determine if they are valid.
16283func (s *InferenceSpecification) Validate() error {
16284	invalidParams := request.ErrInvalidParams{Context: "InferenceSpecification"}
16285	if s.Containers == nil {
16286		invalidParams.Add(request.NewErrParamRequired("Containers"))
16287	}
16288	if s.Containers != nil && len(s.Containers) < 1 {
16289		invalidParams.Add(request.NewErrParamMinLen("Containers", 1))
16290	}
16291	if s.SupportedContentTypes == nil {
16292		invalidParams.Add(request.NewErrParamRequired("SupportedContentTypes"))
16293	}
16294	if s.SupportedRealtimeInferenceInstanceTypes == nil {
16295		invalidParams.Add(request.NewErrParamRequired("SupportedRealtimeInferenceInstanceTypes"))
16296	}
16297	if s.SupportedResponseMIMETypes == nil {
16298		invalidParams.Add(request.NewErrParamRequired("SupportedResponseMIMETypes"))
16299	}
16300	if s.SupportedTransformInstanceTypes == nil {
16301		invalidParams.Add(request.NewErrParamRequired("SupportedTransformInstanceTypes"))
16302	}
16303	if s.SupportedTransformInstanceTypes != nil && len(s.SupportedTransformInstanceTypes) < 1 {
16304		invalidParams.Add(request.NewErrParamMinLen("SupportedTransformInstanceTypes", 1))
16305	}
16306	if s.Containers != nil {
16307		for i, v := range s.Containers {
16308			if v == nil {
16309				continue
16310			}
16311			if err := v.Validate(); err != nil {
16312				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Containers", i), err.(request.ErrInvalidParams))
16313			}
16314		}
16315	}
16316
16317	if invalidParams.Len() > 0 {
16318		return invalidParams
16319	}
16320	return nil
16321}
16322
16323// SetContainers sets the Containers field's value.
16324func (s *InferenceSpecification) SetContainers(v []*ModelPackageContainerDefinition) *InferenceSpecification {
16325	s.Containers = v
16326	return s
16327}
16328
16329// SetSupportedContentTypes sets the SupportedContentTypes field's value.
16330func (s *InferenceSpecification) SetSupportedContentTypes(v []*string) *InferenceSpecification {
16331	s.SupportedContentTypes = v
16332	return s
16333}
16334
16335// SetSupportedRealtimeInferenceInstanceTypes sets the SupportedRealtimeInferenceInstanceTypes field's value.
16336func (s *InferenceSpecification) SetSupportedRealtimeInferenceInstanceTypes(v []*string) *InferenceSpecification {
16337	s.SupportedRealtimeInferenceInstanceTypes = v
16338	return s
16339}
16340
16341// SetSupportedResponseMIMETypes sets the SupportedResponseMIMETypes field's value.
16342func (s *InferenceSpecification) SetSupportedResponseMIMETypes(v []*string) *InferenceSpecification {
16343	s.SupportedResponseMIMETypes = v
16344	return s
16345}
16346
16347// SetSupportedTransformInstanceTypes sets the SupportedTransformInstanceTypes field's value.
16348func (s *InferenceSpecification) SetSupportedTransformInstanceTypes(v []*string) *InferenceSpecification {
16349	s.SupportedTransformInstanceTypes = v
16350	return s
16351}
16352
16353// Contains information about the location of input model artifacts, the name
16354// and shape of the expected data inputs, and the framework in which the model
16355// was trained.
16356type InputConfig struct {
16357	_ struct{} `type:"structure"`
16358
16359	// Specifies the name and shape of the expected data inputs for your trained
16360	// model with a JSON dictionary form. The data inputs are InputConfig$Framework
16361	// specific.
16362	//
16363	//    * TensorFlow: You must specify the name and shape (NHWC format) of the
16364	//    expected data inputs using a dictionary format for your trained model.
16365	//    The dictionary formats required for the console and CLI are different.
16366	//    Examples for one input: If using the console, {"input":[1,1024,1024,3]}
16367	//    If using the CLI, {\"input\":[1,1024,1024,3]} Examples for two inputs:
16368	//    If using the console, {"data1": [1,28,28,1], "data2":[1,28,28,1]} If using
16369	//    the CLI, {\"data1\": [1,28,28,1], \"data2\":[1,28,28,1]}
16370	//
16371	//    * MXNET/ONNX: You must specify the name and shape (NCHW format) of the
16372	//    expected data inputs in order using a dictionary format for your trained
16373	//    model. The dictionary formats required for the console and CLI are different.
16374	//    Examples for one input: If using the console, {"data":[1,3,1024,1024]}
16375	//    If using the CLI, {\"data\":[1,3,1024,1024]} Examples for two inputs:
16376	//    If using the console, {"var1": [1,1,28,28], "var2":[1,1,28,28]} If using
16377	//    the CLI, {\"var1\": [1,1,28,28], \"var2\":[1,1,28,28]}
16378	//
16379	//    * PyTorch: You can either specify the name and shape (NCHW format) of
16380	//    expected data inputs in order using a dictionary format for your trained
16381	//    model or you can specify the shape only using a list format. The dictionary
16382	//    formats required for the console and CLI are different. The list formats
16383	//    for the console and CLI are the same. Examples for one input in dictionary
16384	//    format: If using the console, {"input0":[1,3,224,224]} If using the CLI,
16385	//    {\"input0\":[1,3,224,224]} Example for one input in list format: [[1,3,224,224]]
16386	//    Examples for two inputs in dictionary format: If using the console, {"input0":[1,3,224,224],
16387	//    "input1":[1,3,224,224]} If using the CLI, {\"input0\":[1,3,224,224], \"input1\":[1,3,224,224]}
16388	//    Example for two inputs in list format: [[1,3,224,224], [1,3,224,224]]
16389	//
16390	//    * XGBOOST: input data name and shape are not needed.
16391	//
16392	// DataInputConfig is a required field
16393	DataInputConfig *string `min:"1" type:"string" required:"true"`
16394
16395	// Identifies the framework in which the model was trained. For example: TENSORFLOW.
16396	//
16397	// Framework is a required field
16398	Framework *string `type:"string" required:"true" enum:"Framework"`
16399
16400	// The S3 path where the model artifacts, which result from model training,
16401	// are stored. This path must point to a single gzip compressed tar archive
16402	// (.tar.gz suffix).
16403	//
16404	// S3Uri is a required field
16405	S3Uri *string `type:"string" required:"true"`
16406}
16407
16408// String returns the string representation
16409func (s InputConfig) String() string {
16410	return awsutil.Prettify(s)
16411}
16412
16413// GoString returns the string representation
16414func (s InputConfig) GoString() string {
16415	return s.String()
16416}
16417
16418// Validate inspects the fields of the type to determine if they are valid.
16419func (s *InputConfig) Validate() error {
16420	invalidParams := request.ErrInvalidParams{Context: "InputConfig"}
16421	if s.DataInputConfig == nil {
16422		invalidParams.Add(request.NewErrParamRequired("DataInputConfig"))
16423	}
16424	if s.DataInputConfig != nil && len(*s.DataInputConfig) < 1 {
16425		invalidParams.Add(request.NewErrParamMinLen("DataInputConfig", 1))
16426	}
16427	if s.Framework == nil {
16428		invalidParams.Add(request.NewErrParamRequired("Framework"))
16429	}
16430	if s.S3Uri == nil {
16431		invalidParams.Add(request.NewErrParamRequired("S3Uri"))
16432	}
16433
16434	if invalidParams.Len() > 0 {
16435		return invalidParams
16436	}
16437	return nil
16438}
16439
16440// SetDataInputConfig sets the DataInputConfig field's value.
16441func (s *InputConfig) SetDataInputConfig(v string) *InputConfig {
16442	s.DataInputConfig = &v
16443	return s
16444}
16445
16446// SetFramework sets the Framework field's value.
16447func (s *InputConfig) SetFramework(v string) *InputConfig {
16448	s.Framework = &v
16449	return s
16450}
16451
16452// SetS3Uri sets the S3Uri field's value.
16453func (s *InputConfig) SetS3Uri(v string) *InputConfig {
16454	s.S3Uri = &v
16455	return s
16456}
16457
16458// For a hyperparameter of the integer type, specifies the range that a hyperparameter
16459// tuning job searches.
16460type IntegerParameterRange struct {
16461	_ struct{} `type:"structure"`
16462
16463	// The maximum value of the hyperparameter to search.
16464	//
16465	// MaxValue is a required field
16466	MaxValue *string `type:"string" required:"true"`
16467
16468	// The minimum value of the hyperparameter to search.
16469	//
16470	// MinValue is a required field
16471	MinValue *string `type:"string" required:"true"`
16472
16473	// The name of the hyperparameter to search.
16474	//
16475	// Name is a required field
16476	Name *string `type:"string" required:"true"`
16477
16478	// The scale that hyperparameter tuning uses to search the hyperparameter range.
16479	// For information about choosing a hyperparameter scale, see Hyperparameter
16480	// Scaling (http://docs.aws.amazon.com//sagemaker/latest/dg/automatic-model-tuning-define-ranges.html#scaling-type).
16481	// One of the following values:
16482	//
16483	// Auto
16484	//
16485	// Amazon SageMaker hyperparameter tuning chooses the best scale for the hyperparameter.
16486	//
16487	// Linear
16488	//
16489	// Hyperparameter tuning searches the values in the hyperparameter range by
16490	// using a linear scale.
16491	//
16492	// Logarithmic
16493	//
16494	// Hyperparemeter tuning searches the values in the hyperparameter range by
16495	// using a logarithmic scale.
16496	//
16497	// Logarithmic scaling works only for ranges that have only values greater than
16498	// 0.
16499	ScalingType *string `type:"string" enum:"HyperParameterScalingType"`
16500}
16501
16502// String returns the string representation
16503func (s IntegerParameterRange) String() string {
16504	return awsutil.Prettify(s)
16505}
16506
16507// GoString returns the string representation
16508func (s IntegerParameterRange) GoString() string {
16509	return s.String()
16510}
16511
16512// Validate inspects the fields of the type to determine if they are valid.
16513func (s *IntegerParameterRange) Validate() error {
16514	invalidParams := request.ErrInvalidParams{Context: "IntegerParameterRange"}
16515	if s.MaxValue == nil {
16516		invalidParams.Add(request.NewErrParamRequired("MaxValue"))
16517	}
16518	if s.MinValue == nil {
16519		invalidParams.Add(request.NewErrParamRequired("MinValue"))
16520	}
16521	if s.Name == nil {
16522		invalidParams.Add(request.NewErrParamRequired("Name"))
16523	}
16524
16525	if invalidParams.Len() > 0 {
16526		return invalidParams
16527	}
16528	return nil
16529}
16530
16531// SetMaxValue sets the MaxValue field's value.
16532func (s *IntegerParameterRange) SetMaxValue(v string) *IntegerParameterRange {
16533	s.MaxValue = &v
16534	return s
16535}
16536
16537// SetMinValue sets the MinValue field's value.
16538func (s *IntegerParameterRange) SetMinValue(v string) *IntegerParameterRange {
16539	s.MinValue = &v
16540	return s
16541}
16542
16543// SetName sets the Name field's value.
16544func (s *IntegerParameterRange) SetName(v string) *IntegerParameterRange {
16545	s.Name = &v
16546	return s
16547}
16548
16549// SetScalingType sets the ScalingType field's value.
16550func (s *IntegerParameterRange) SetScalingType(v string) *IntegerParameterRange {
16551	s.ScalingType = &v
16552	return s
16553}
16554
16555// Defines the possible values for an integer hyperparameter.
16556type IntegerParameterRangeSpecification struct {
16557	_ struct{} `type:"structure"`
16558
16559	// The maximum integer value allowed.
16560	//
16561	// MaxValue is a required field
16562	MaxValue *string `type:"string" required:"true"`
16563
16564	// The minimum integer value allowed.
16565	//
16566	// MinValue is a required field
16567	MinValue *string `type:"string" required:"true"`
16568}
16569
16570// String returns the string representation
16571func (s IntegerParameterRangeSpecification) String() string {
16572	return awsutil.Prettify(s)
16573}
16574
16575// GoString returns the string representation
16576func (s IntegerParameterRangeSpecification) GoString() string {
16577	return s.String()
16578}
16579
16580// Validate inspects the fields of the type to determine if they are valid.
16581func (s *IntegerParameterRangeSpecification) Validate() error {
16582	invalidParams := request.ErrInvalidParams{Context: "IntegerParameterRangeSpecification"}
16583	if s.MaxValue == nil {
16584		invalidParams.Add(request.NewErrParamRequired("MaxValue"))
16585	}
16586	if s.MinValue == nil {
16587		invalidParams.Add(request.NewErrParamRequired("MinValue"))
16588	}
16589
16590	if invalidParams.Len() > 0 {
16591		return invalidParams
16592	}
16593	return nil
16594}
16595
16596// SetMaxValue sets the MaxValue field's value.
16597func (s *IntegerParameterRangeSpecification) SetMaxValue(v string) *IntegerParameterRangeSpecification {
16598	s.MaxValue = &v
16599	return s
16600}
16601
16602// SetMinValue sets the MinValue field's value.
16603func (s *IntegerParameterRangeSpecification) SetMinValue(v string) *IntegerParameterRangeSpecification {
16604	s.MinValue = &v
16605	return s
16606}
16607
16608// Provides a breakdown of the number of objects labeled.
16609type LabelCounters struct {
16610	_ struct{} `type:"structure"`
16611
16612	// The total number of objects that could not be labeled due to an error.
16613	FailedNonRetryableError *int64 `type:"integer"`
16614
16615	// The total number of objects labeled by a human worker.
16616	HumanLabeled *int64 `type:"integer"`
16617
16618	// The total number of objects labeled by automated data labeling.
16619	MachineLabeled *int64 `type:"integer"`
16620
16621	// The total number of objects labeled.
16622	TotalLabeled *int64 `type:"integer"`
16623
16624	// The total number of objects not yet labeled.
16625	Unlabeled *int64 `type:"integer"`
16626}
16627
16628// String returns the string representation
16629func (s LabelCounters) String() string {
16630	return awsutil.Prettify(s)
16631}
16632
16633// GoString returns the string representation
16634func (s LabelCounters) GoString() string {
16635	return s.String()
16636}
16637
16638// SetFailedNonRetryableError sets the FailedNonRetryableError field's value.
16639func (s *LabelCounters) SetFailedNonRetryableError(v int64) *LabelCounters {
16640	s.FailedNonRetryableError = &v
16641	return s
16642}
16643
16644// SetHumanLabeled sets the HumanLabeled field's value.
16645func (s *LabelCounters) SetHumanLabeled(v int64) *LabelCounters {
16646	s.HumanLabeled = &v
16647	return s
16648}
16649
16650// SetMachineLabeled sets the MachineLabeled field's value.
16651func (s *LabelCounters) SetMachineLabeled(v int64) *LabelCounters {
16652	s.MachineLabeled = &v
16653	return s
16654}
16655
16656// SetTotalLabeled sets the TotalLabeled field's value.
16657func (s *LabelCounters) SetTotalLabeled(v int64) *LabelCounters {
16658	s.TotalLabeled = &v
16659	return s
16660}
16661
16662// SetUnlabeled sets the Unlabeled field's value.
16663func (s *LabelCounters) SetUnlabeled(v int64) *LabelCounters {
16664	s.Unlabeled = &v
16665	return s
16666}
16667
16668// Provides counts for human-labeled tasks in the labeling job.
16669type LabelCountersForWorkteam struct {
16670	_ struct{} `type:"structure"`
16671
16672	// The total number of data objects labeled by a human worker.
16673	HumanLabeled *int64 `type:"integer"`
16674
16675	// The total number of data objects that need to be labeled by a human worker.
16676	PendingHuman *int64 `type:"integer"`
16677
16678	// The total number of tasks in the labeling job.
16679	Total *int64 `type:"integer"`
16680}
16681
16682// String returns the string representation
16683func (s LabelCountersForWorkteam) String() string {
16684	return awsutil.Prettify(s)
16685}
16686
16687// GoString returns the string representation
16688func (s LabelCountersForWorkteam) GoString() string {
16689	return s.String()
16690}
16691
16692// SetHumanLabeled sets the HumanLabeled field's value.
16693func (s *LabelCountersForWorkteam) SetHumanLabeled(v int64) *LabelCountersForWorkteam {
16694	s.HumanLabeled = &v
16695	return s
16696}
16697
16698// SetPendingHuman sets the PendingHuman field's value.
16699func (s *LabelCountersForWorkteam) SetPendingHuman(v int64) *LabelCountersForWorkteam {
16700	s.PendingHuman = &v
16701	return s
16702}
16703
16704// SetTotal sets the Total field's value.
16705func (s *LabelCountersForWorkteam) SetTotal(v int64) *LabelCountersForWorkteam {
16706	s.Total = &v
16707	return s
16708}
16709
16710// Provides configuration information for auto-labeling of your data objects.
16711// A LabelingJobAlgorithmsConfig object must be supplied in order to use auto-labeling.
16712type LabelingJobAlgorithmsConfig struct {
16713	_ struct{} `type:"structure"`
16714
16715	// At the end of an auto-label job Amazon SageMaker Ground Truth sends the Amazon
16716	// Resource Nam (ARN) of the final model used for auto-labeling. You can use
16717	// this model as the starting point for subsequent similar jobs by providing
16718	// the ARN of the model here.
16719	InitialActiveLearningModelArn *string `min:"20" type:"string"`
16720
16721	// Specifies the Amazon Resource Name (ARN) of the algorithm used for auto-labeling.
16722	// You must select one of the following ARNs:
16723	//
16724	//    * Image classification arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/image-classification
16725	//
16726	//    * Text classification arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/text-classification
16727	//
16728	//    * Object detection arn:aws:sagemaker:region:027400017018:labeling-job-algorithm-specification/object-detection
16729	//
16730	// LabelingJobAlgorithmSpecificationArn is a required field
16731	LabelingJobAlgorithmSpecificationArn *string `type:"string" required:"true"`
16732
16733	// Provides configuration information for a labeling job.
16734	LabelingJobResourceConfig *LabelingJobResourceConfig `type:"structure"`
16735}
16736
16737// String returns the string representation
16738func (s LabelingJobAlgorithmsConfig) String() string {
16739	return awsutil.Prettify(s)
16740}
16741
16742// GoString returns the string representation
16743func (s LabelingJobAlgorithmsConfig) GoString() string {
16744	return s.String()
16745}
16746
16747// Validate inspects the fields of the type to determine if they are valid.
16748func (s *LabelingJobAlgorithmsConfig) Validate() error {
16749	invalidParams := request.ErrInvalidParams{Context: "LabelingJobAlgorithmsConfig"}
16750	if s.InitialActiveLearningModelArn != nil && len(*s.InitialActiveLearningModelArn) < 20 {
16751		invalidParams.Add(request.NewErrParamMinLen("InitialActiveLearningModelArn", 20))
16752	}
16753	if s.LabelingJobAlgorithmSpecificationArn == nil {
16754		invalidParams.Add(request.NewErrParamRequired("LabelingJobAlgorithmSpecificationArn"))
16755	}
16756
16757	if invalidParams.Len() > 0 {
16758		return invalidParams
16759	}
16760	return nil
16761}
16762
16763// SetInitialActiveLearningModelArn sets the InitialActiveLearningModelArn field's value.
16764func (s *LabelingJobAlgorithmsConfig) SetInitialActiveLearningModelArn(v string) *LabelingJobAlgorithmsConfig {
16765	s.InitialActiveLearningModelArn = &v
16766	return s
16767}
16768
16769// SetLabelingJobAlgorithmSpecificationArn sets the LabelingJobAlgorithmSpecificationArn field's value.
16770func (s *LabelingJobAlgorithmsConfig) SetLabelingJobAlgorithmSpecificationArn(v string) *LabelingJobAlgorithmsConfig {
16771	s.LabelingJobAlgorithmSpecificationArn = &v
16772	return s
16773}
16774
16775// SetLabelingJobResourceConfig sets the LabelingJobResourceConfig field's value.
16776func (s *LabelingJobAlgorithmsConfig) SetLabelingJobResourceConfig(v *LabelingJobResourceConfig) *LabelingJobAlgorithmsConfig {
16777	s.LabelingJobResourceConfig = v
16778	return s
16779}
16780
16781// Attributes of the data specified by the customer. Use these to describe the
16782// data to be labeled.
16783type LabelingJobDataAttributes struct {
16784	_ struct{} `type:"structure"`
16785
16786	// Declares that your content is free of personally identifiable information
16787	// or adult content. Amazon SageMaker may restrict the Amazon Mechanical Turk
16788	// workers that can view your task based on this information.
16789	ContentClassifiers []*string `type:"list"`
16790}
16791
16792// String returns the string representation
16793func (s LabelingJobDataAttributes) String() string {
16794	return awsutil.Prettify(s)
16795}
16796
16797// GoString returns the string representation
16798func (s LabelingJobDataAttributes) GoString() string {
16799	return s.String()
16800}
16801
16802// SetContentClassifiers sets the ContentClassifiers field's value.
16803func (s *LabelingJobDataAttributes) SetContentClassifiers(v []*string) *LabelingJobDataAttributes {
16804	s.ContentClassifiers = v
16805	return s
16806}
16807
16808// Provides information about the location of input data.
16809type LabelingJobDataSource struct {
16810	_ struct{} `type:"structure"`
16811
16812	// The Amazon S3 location of the input data objects.
16813	//
16814	// S3DataSource is a required field
16815	S3DataSource *LabelingJobS3DataSource `type:"structure" required:"true"`
16816}
16817
16818// String returns the string representation
16819func (s LabelingJobDataSource) String() string {
16820	return awsutil.Prettify(s)
16821}
16822
16823// GoString returns the string representation
16824func (s LabelingJobDataSource) GoString() string {
16825	return s.String()
16826}
16827
16828// Validate inspects the fields of the type to determine if they are valid.
16829func (s *LabelingJobDataSource) Validate() error {
16830	invalidParams := request.ErrInvalidParams{Context: "LabelingJobDataSource"}
16831	if s.S3DataSource == nil {
16832		invalidParams.Add(request.NewErrParamRequired("S3DataSource"))
16833	}
16834	if s.S3DataSource != nil {
16835		if err := s.S3DataSource.Validate(); err != nil {
16836			invalidParams.AddNested("S3DataSource", err.(request.ErrInvalidParams))
16837		}
16838	}
16839
16840	if invalidParams.Len() > 0 {
16841		return invalidParams
16842	}
16843	return nil
16844}
16845
16846// SetS3DataSource sets the S3DataSource field's value.
16847func (s *LabelingJobDataSource) SetS3DataSource(v *LabelingJobS3DataSource) *LabelingJobDataSource {
16848	s.S3DataSource = v
16849	return s
16850}
16851
16852// Provides summary information for a work team.
16853type LabelingJobForWorkteamSummary struct {
16854	_ struct{} `type:"structure"`
16855
16856	// The date and time that the labeling job was created.
16857	//
16858	// CreationTime is a required field
16859	CreationTime *time.Time `type:"timestamp" required:"true"`
16860
16861	// A unique identifier for a labeling job. You can use this to refer to a specific
16862	// labeling job.
16863	//
16864	// JobReferenceCode is a required field
16865	JobReferenceCode *string `min:"1" type:"string" required:"true"`
16866
16867	// Provides information about the progress of a labeling job.
16868	LabelCounters *LabelCountersForWorkteam `type:"structure"`
16869
16870	// The name of the labeling job that the work team is assigned to.
16871	LabelingJobName *string `min:"1" type:"string"`
16872
16873	// The configured number of workers per data object.
16874	NumberOfHumanWorkersPerDataObject *int64 `min:"1" type:"integer"`
16875
16876	// WorkRequesterAccountId is a required field
16877	WorkRequesterAccountId *string `type:"string" required:"true"`
16878}
16879
16880// String returns the string representation
16881func (s LabelingJobForWorkteamSummary) String() string {
16882	return awsutil.Prettify(s)
16883}
16884
16885// GoString returns the string representation
16886func (s LabelingJobForWorkteamSummary) GoString() string {
16887	return s.String()
16888}
16889
16890// SetCreationTime sets the CreationTime field's value.
16891func (s *LabelingJobForWorkteamSummary) SetCreationTime(v time.Time) *LabelingJobForWorkteamSummary {
16892	s.CreationTime = &v
16893	return s
16894}
16895
16896// SetJobReferenceCode sets the JobReferenceCode field's value.
16897func (s *LabelingJobForWorkteamSummary) SetJobReferenceCode(v string) *LabelingJobForWorkteamSummary {
16898	s.JobReferenceCode = &v
16899	return s
16900}
16901
16902// SetLabelCounters sets the LabelCounters field's value.
16903func (s *LabelingJobForWorkteamSummary) SetLabelCounters(v *LabelCountersForWorkteam) *LabelingJobForWorkteamSummary {
16904	s.LabelCounters = v
16905	return s
16906}
16907
16908// SetLabelingJobName sets the LabelingJobName field's value.
16909func (s *LabelingJobForWorkteamSummary) SetLabelingJobName(v string) *LabelingJobForWorkteamSummary {
16910	s.LabelingJobName = &v
16911	return s
16912}
16913
16914// SetNumberOfHumanWorkersPerDataObject sets the NumberOfHumanWorkersPerDataObject field's value.
16915func (s *LabelingJobForWorkteamSummary) SetNumberOfHumanWorkersPerDataObject(v int64) *LabelingJobForWorkteamSummary {
16916	s.NumberOfHumanWorkersPerDataObject = &v
16917	return s
16918}
16919
16920// SetWorkRequesterAccountId sets the WorkRequesterAccountId field's value.
16921func (s *LabelingJobForWorkteamSummary) SetWorkRequesterAccountId(v string) *LabelingJobForWorkteamSummary {
16922	s.WorkRequesterAccountId = &v
16923	return s
16924}
16925
16926// Input configuration information for a labeling job.
16927type LabelingJobInputConfig struct {
16928	_ struct{} `type:"structure"`
16929
16930	// Attributes of the data specified by the customer.
16931	DataAttributes *LabelingJobDataAttributes `type:"structure"`
16932
16933	// The location of the input data.
16934	//
16935	// DataSource is a required field
16936	DataSource *LabelingJobDataSource `type:"structure" required:"true"`
16937}
16938
16939// String returns the string representation
16940func (s LabelingJobInputConfig) String() string {
16941	return awsutil.Prettify(s)
16942}
16943
16944// GoString returns the string representation
16945func (s LabelingJobInputConfig) GoString() string {
16946	return s.String()
16947}
16948
16949// Validate inspects the fields of the type to determine if they are valid.
16950func (s *LabelingJobInputConfig) Validate() error {
16951	invalidParams := request.ErrInvalidParams{Context: "LabelingJobInputConfig"}
16952	if s.DataSource == nil {
16953		invalidParams.Add(request.NewErrParamRequired("DataSource"))
16954	}
16955	if s.DataSource != nil {
16956		if err := s.DataSource.Validate(); err != nil {
16957			invalidParams.AddNested("DataSource", err.(request.ErrInvalidParams))
16958		}
16959	}
16960
16961	if invalidParams.Len() > 0 {
16962		return invalidParams
16963	}
16964	return nil
16965}
16966
16967// SetDataAttributes sets the DataAttributes field's value.
16968func (s *LabelingJobInputConfig) SetDataAttributes(v *LabelingJobDataAttributes) *LabelingJobInputConfig {
16969	s.DataAttributes = v
16970	return s
16971}
16972
16973// SetDataSource sets the DataSource field's value.
16974func (s *LabelingJobInputConfig) SetDataSource(v *LabelingJobDataSource) *LabelingJobInputConfig {
16975	s.DataSource = v
16976	return s
16977}
16978
16979// Specifies the location of the output produced by the labeling job.
16980type LabelingJobOutput struct {
16981	_ struct{} `type:"structure"`
16982
16983	// The Amazon Resource Name (ARN) for the most recent Amazon SageMaker model
16984	// trained as part of automated data labeling.
16985	FinalActiveLearningModelArn *string `min:"20" type:"string"`
16986
16987	// The Amazon S3 bucket location of the manifest file for labeled data.
16988	//
16989	// OutputDatasetS3Uri is a required field
16990	OutputDatasetS3Uri *string `type:"string" required:"true"`
16991}
16992
16993// String returns the string representation
16994func (s LabelingJobOutput) String() string {
16995	return awsutil.Prettify(s)
16996}
16997
16998// GoString returns the string representation
16999func (s LabelingJobOutput) GoString() string {
17000	return s.String()
17001}
17002
17003// SetFinalActiveLearningModelArn sets the FinalActiveLearningModelArn field's value.
17004func (s *LabelingJobOutput) SetFinalActiveLearningModelArn(v string) *LabelingJobOutput {
17005	s.FinalActiveLearningModelArn = &v
17006	return s
17007}
17008
17009// SetOutputDatasetS3Uri sets the OutputDatasetS3Uri field's value.
17010func (s *LabelingJobOutput) SetOutputDatasetS3Uri(v string) *LabelingJobOutput {
17011	s.OutputDatasetS3Uri = &v
17012	return s
17013}
17014
17015// Output configuration information for a labeling job.
17016type LabelingJobOutputConfig struct {
17017	_ struct{} `type:"structure"`
17018
17019	// The AWS Key Management Service ID of the key used to encrypt the output data,
17020	// if any.
17021	//
17022	// If you use a KMS key ID or an alias of your master key, the Amazon SageMaker
17023	// execution role must include permissions to call kms:Encrypt. If you don't
17024	// provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon
17025	// S3 for your role's account. Amazon SageMaker uses server-side encryption
17026	// with KMS-managed keys for LabelingJobOutputConfig. If you use a bucket policy
17027	// with an s3:PutObject permission that only allows objects with server-side
17028	// encryption, set the condition key of s3:x-amz-server-side-encryption to "aws:kms".
17029	// For more information, see KMS-Managed Encryption Keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html)
17030	// in the Amazon Simple Storage Service Developer Guide.
17031	//
17032	// The KMS key policy must grant permission to the IAM role that you specify
17033	// in your CreateLabelingJob request. For more information, see Using Key Policies
17034	// in AWS KMS (http://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html)
17035	// in the AWS Key Management Service Developer Guide.
17036	KmsKeyId *string `type:"string"`
17037
17038	// The Amazon S3 location to write output data.
17039	//
17040	// S3OutputPath is a required field
17041	S3OutputPath *string `type:"string" required:"true"`
17042}
17043
17044// String returns the string representation
17045func (s LabelingJobOutputConfig) String() string {
17046	return awsutil.Prettify(s)
17047}
17048
17049// GoString returns the string representation
17050func (s LabelingJobOutputConfig) GoString() string {
17051	return s.String()
17052}
17053
17054// Validate inspects the fields of the type to determine if they are valid.
17055func (s *LabelingJobOutputConfig) Validate() error {
17056	invalidParams := request.ErrInvalidParams{Context: "LabelingJobOutputConfig"}
17057	if s.S3OutputPath == nil {
17058		invalidParams.Add(request.NewErrParamRequired("S3OutputPath"))
17059	}
17060
17061	if invalidParams.Len() > 0 {
17062		return invalidParams
17063	}
17064	return nil
17065}
17066
17067// SetKmsKeyId sets the KmsKeyId field's value.
17068func (s *LabelingJobOutputConfig) SetKmsKeyId(v string) *LabelingJobOutputConfig {
17069	s.KmsKeyId = &v
17070	return s
17071}
17072
17073// SetS3OutputPath sets the S3OutputPath field's value.
17074func (s *LabelingJobOutputConfig) SetS3OutputPath(v string) *LabelingJobOutputConfig {
17075	s.S3OutputPath = &v
17076	return s
17077}
17078
17079// Provides configuration information for labeling jobs.
17080type LabelingJobResourceConfig struct {
17081	_ struct{} `type:"structure"`
17082
17083	// The AWS Key Management Service key ID for the key used to encrypt the output
17084	// data, if any.
17085	VolumeKmsKeyId *string `type:"string"`
17086}
17087
17088// String returns the string representation
17089func (s LabelingJobResourceConfig) String() string {
17090	return awsutil.Prettify(s)
17091}
17092
17093// GoString returns the string representation
17094func (s LabelingJobResourceConfig) GoString() string {
17095	return s.String()
17096}
17097
17098// SetVolumeKmsKeyId sets the VolumeKmsKeyId field's value.
17099func (s *LabelingJobResourceConfig) SetVolumeKmsKeyId(v string) *LabelingJobResourceConfig {
17100	s.VolumeKmsKeyId = &v
17101	return s
17102}
17103
17104// The Amazon S3 location of the input data objects.
17105type LabelingJobS3DataSource struct {
17106	_ struct{} `type:"structure"`
17107
17108	// The Amazon S3 location of the manifest file that describes the input data
17109	// objects.
17110	//
17111	// ManifestS3Uri is a required field
17112	ManifestS3Uri *string `type:"string" required:"true"`
17113}
17114
17115// String returns the string representation
17116func (s LabelingJobS3DataSource) String() string {
17117	return awsutil.Prettify(s)
17118}
17119
17120// GoString returns the string representation
17121func (s LabelingJobS3DataSource) GoString() string {
17122	return s.String()
17123}
17124
17125// Validate inspects the fields of the type to determine if they are valid.
17126func (s *LabelingJobS3DataSource) Validate() error {
17127	invalidParams := request.ErrInvalidParams{Context: "LabelingJobS3DataSource"}
17128	if s.ManifestS3Uri == nil {
17129		invalidParams.Add(request.NewErrParamRequired("ManifestS3Uri"))
17130	}
17131
17132	if invalidParams.Len() > 0 {
17133		return invalidParams
17134	}
17135	return nil
17136}
17137
17138// SetManifestS3Uri sets the ManifestS3Uri field's value.
17139func (s *LabelingJobS3DataSource) SetManifestS3Uri(v string) *LabelingJobS3DataSource {
17140	s.ManifestS3Uri = &v
17141	return s
17142}
17143
17144// A set of conditions for stopping a labeling job. If any of the conditions
17145// are met, the job is automatically stopped. You can use these conditions to
17146// control the cost of data labeling.
17147type LabelingJobStoppingConditions struct {
17148	_ struct{} `type:"structure"`
17149
17150	// The maximum number of objects that can be labeled by human workers.
17151	MaxHumanLabeledObjectCount *int64 `min:"1" type:"integer"`
17152
17153	// The maximum number of input data objects that should be labeled.
17154	MaxPercentageOfInputDatasetLabeled *int64 `min:"1" type:"integer"`
17155}
17156
17157// String returns the string representation
17158func (s LabelingJobStoppingConditions) String() string {
17159	return awsutil.Prettify(s)
17160}
17161
17162// GoString returns the string representation
17163func (s LabelingJobStoppingConditions) GoString() string {
17164	return s.String()
17165}
17166
17167// Validate inspects the fields of the type to determine if they are valid.
17168func (s *LabelingJobStoppingConditions) Validate() error {
17169	invalidParams := request.ErrInvalidParams{Context: "LabelingJobStoppingConditions"}
17170	if s.MaxHumanLabeledObjectCount != nil && *s.MaxHumanLabeledObjectCount < 1 {
17171		invalidParams.Add(request.NewErrParamMinValue("MaxHumanLabeledObjectCount", 1))
17172	}
17173	if s.MaxPercentageOfInputDatasetLabeled != nil && *s.MaxPercentageOfInputDatasetLabeled < 1 {
17174		invalidParams.Add(request.NewErrParamMinValue("MaxPercentageOfInputDatasetLabeled", 1))
17175	}
17176
17177	if invalidParams.Len() > 0 {
17178		return invalidParams
17179	}
17180	return nil
17181}
17182
17183// SetMaxHumanLabeledObjectCount sets the MaxHumanLabeledObjectCount field's value.
17184func (s *LabelingJobStoppingConditions) SetMaxHumanLabeledObjectCount(v int64) *LabelingJobStoppingConditions {
17185	s.MaxHumanLabeledObjectCount = &v
17186	return s
17187}
17188
17189// SetMaxPercentageOfInputDatasetLabeled sets the MaxPercentageOfInputDatasetLabeled field's value.
17190func (s *LabelingJobStoppingConditions) SetMaxPercentageOfInputDatasetLabeled(v int64) *LabelingJobStoppingConditions {
17191	s.MaxPercentageOfInputDatasetLabeled = &v
17192	return s
17193}
17194
17195// Provides summary information about a labeling job.
17196type LabelingJobSummary struct {
17197	_ struct{} `type:"structure"`
17198
17199	// The Amazon Resource Name (ARN) of the Lambda function used to consolidate
17200	// the annotations from individual workers into a label for a data object. For
17201	// more information, see Annotation Consolidation (http://docs.aws.amazon.com/sagemaker/latest/dg/sms-annotation-consolidation.html).
17202	AnnotationConsolidationLambdaArn *string `type:"string"`
17203
17204	// The date and time that the job was created (timestamp).
17205	//
17206	// CreationTime is a required field
17207	CreationTime *time.Time `type:"timestamp" required:"true"`
17208
17209	// If the LabelingJobStatus field is Failed, this field contains a description
17210	// of the error.
17211	FailureReason *string `type:"string"`
17212
17213	// Input configuration for the labeling job.
17214	InputConfig *LabelingJobInputConfig `type:"structure"`
17215
17216	// Counts showing the progress of the labeling job.
17217	//
17218	// LabelCounters is a required field
17219	LabelCounters *LabelCounters `type:"structure" required:"true"`
17220
17221	// The Amazon Resource Name (ARN) assigned to the labeling job when it was created.
17222	//
17223	// LabelingJobArn is a required field
17224	LabelingJobArn *string `type:"string" required:"true"`
17225
17226	// The name of the labeling job.
17227	//
17228	// LabelingJobName is a required field
17229	LabelingJobName *string `min:"1" type:"string" required:"true"`
17230
17231	// The location of the output produced by the labeling job.
17232	LabelingJobOutput *LabelingJobOutput `type:"structure"`
17233
17234	// The current status of the labeling job.
17235	//
17236	// LabelingJobStatus is a required field
17237	LabelingJobStatus *string `type:"string" required:"true" enum:"LabelingJobStatus"`
17238
17239	// The date and time that the job was last modified (timestamp).
17240	//
17241	// LastModifiedTime is a required field
17242	LastModifiedTime *time.Time `type:"timestamp" required:"true"`
17243
17244	// The Amazon Resource Name (ARN) of a Lambda function. The function is run
17245	// before each data object is sent to a worker.
17246	//
17247	// PreHumanTaskLambdaArn is a required field
17248	PreHumanTaskLambdaArn *string `type:"string" required:"true"`
17249
17250	// The Amazon Resource Name (ARN) of the work team assigned to the job.
17251	//
17252	// WorkteamArn is a required field
17253	WorkteamArn *string `type:"string" required:"true"`
17254}
17255
17256// String returns the string representation
17257func (s LabelingJobSummary) String() string {
17258	return awsutil.Prettify(s)
17259}
17260
17261// GoString returns the string representation
17262func (s LabelingJobSummary) GoString() string {
17263	return s.String()
17264}
17265
17266// SetAnnotationConsolidationLambdaArn sets the AnnotationConsolidationLambdaArn field's value.
17267func (s *LabelingJobSummary) SetAnnotationConsolidationLambdaArn(v string) *LabelingJobSummary {
17268	s.AnnotationConsolidationLambdaArn = &v
17269	return s
17270}
17271
17272// SetCreationTime sets the CreationTime field's value.
17273func (s *LabelingJobSummary) SetCreationTime(v time.Time) *LabelingJobSummary {
17274	s.CreationTime = &v
17275	return s
17276}
17277
17278// SetFailureReason sets the FailureReason field's value.
17279func (s *LabelingJobSummary) SetFailureReason(v string) *LabelingJobSummary {
17280	s.FailureReason = &v
17281	return s
17282}
17283
17284// SetInputConfig sets the InputConfig field's value.
17285func (s *LabelingJobSummary) SetInputConfig(v *LabelingJobInputConfig) *LabelingJobSummary {
17286	s.InputConfig = v
17287	return s
17288}
17289
17290// SetLabelCounters sets the LabelCounters field's value.
17291func (s *LabelingJobSummary) SetLabelCounters(v *LabelCounters) *LabelingJobSummary {
17292	s.LabelCounters = v
17293	return s
17294}
17295
17296// SetLabelingJobArn sets the LabelingJobArn field's value.
17297func (s *LabelingJobSummary) SetLabelingJobArn(v string) *LabelingJobSummary {
17298	s.LabelingJobArn = &v
17299	return s
17300}
17301
17302// SetLabelingJobName sets the LabelingJobName field's value.
17303func (s *LabelingJobSummary) SetLabelingJobName(v string) *LabelingJobSummary {
17304	s.LabelingJobName = &v
17305	return s
17306}
17307
17308// SetLabelingJobOutput sets the LabelingJobOutput field's value.
17309func (s *LabelingJobSummary) SetLabelingJobOutput(v *LabelingJobOutput) *LabelingJobSummary {
17310	s.LabelingJobOutput = v
17311	return s
17312}
17313
17314// SetLabelingJobStatus sets the LabelingJobStatus field's value.
17315func (s *LabelingJobSummary) SetLabelingJobStatus(v string) *LabelingJobSummary {
17316	s.LabelingJobStatus = &v
17317	return s
17318}
17319
17320// SetLastModifiedTime sets the LastModifiedTime field's value.
17321func (s *LabelingJobSummary) SetLastModifiedTime(v time.Time) *LabelingJobSummary {
17322	s.LastModifiedTime = &v
17323	return s
17324}
17325
17326// SetPreHumanTaskLambdaArn sets the PreHumanTaskLambdaArn field's value.
17327func (s *LabelingJobSummary) SetPreHumanTaskLambdaArn(v string) *LabelingJobSummary {
17328	s.PreHumanTaskLambdaArn = &v
17329	return s
17330}
17331
17332// SetWorkteamArn sets the WorkteamArn field's value.
17333func (s *LabelingJobSummary) SetWorkteamArn(v string) *LabelingJobSummary {
17334	s.WorkteamArn = &v
17335	return s
17336}
17337
17338type ListAlgorithmsInput struct {
17339	_ struct{} `type:"structure"`
17340
17341	// A filter that returns only algorithms created after the specified time (timestamp).
17342	CreationTimeAfter *time.Time `type:"timestamp"`
17343
17344	// A filter that returns only algorithms created before the specified time (timestamp).
17345	CreationTimeBefore *time.Time `type:"timestamp"`
17346
17347	// The maximum number of algorithms to return in the response.
17348	MaxResults *int64 `min:"1" type:"integer"`
17349
17350	// A string in the algorithm name. This filter returns only algorithms whose
17351	// name contains the specified string.
17352	NameContains *string `type:"string"`
17353
17354	// If the response to a previous ListAlgorithms request was truncated, the response
17355	// includes a NextToken. To retrieve the next set of algorithms, use the token
17356	// in the next request.
17357	NextToken *string `type:"string"`
17358
17359	// The parameter by which to sort the results. The default is CreationTime.
17360	SortBy *string `type:"string" enum:"AlgorithmSortBy"`
17361
17362	// The sort order for the results. The default is Ascending.
17363	SortOrder *string `type:"string" enum:"SortOrder"`
17364}
17365
17366// String returns the string representation
17367func (s ListAlgorithmsInput) String() string {
17368	return awsutil.Prettify(s)
17369}
17370
17371// GoString returns the string representation
17372func (s ListAlgorithmsInput) GoString() string {
17373	return s.String()
17374}
17375
17376// Validate inspects the fields of the type to determine if they are valid.
17377func (s *ListAlgorithmsInput) Validate() error {
17378	invalidParams := request.ErrInvalidParams{Context: "ListAlgorithmsInput"}
17379	if s.MaxResults != nil && *s.MaxResults < 1 {
17380		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
17381	}
17382
17383	if invalidParams.Len() > 0 {
17384		return invalidParams
17385	}
17386	return nil
17387}
17388
17389// SetCreationTimeAfter sets the CreationTimeAfter field's value.
17390func (s *ListAlgorithmsInput) SetCreationTimeAfter(v time.Time) *ListAlgorithmsInput {
17391	s.CreationTimeAfter = &v
17392	return s
17393}
17394
17395// SetCreationTimeBefore sets the CreationTimeBefore field's value.
17396func (s *ListAlgorithmsInput) SetCreationTimeBefore(v time.Time) *ListAlgorithmsInput {
17397	s.CreationTimeBefore = &v
17398	return s
17399}
17400
17401// SetMaxResults sets the MaxResults field's value.
17402func (s *ListAlgorithmsInput) SetMaxResults(v int64) *ListAlgorithmsInput {
17403	s.MaxResults = &v
17404	return s
17405}
17406
17407// SetNameContains sets the NameContains field's value.
17408func (s *ListAlgorithmsInput) SetNameContains(v string) *ListAlgorithmsInput {
17409	s.NameContains = &v
17410	return s
17411}
17412
17413// SetNextToken sets the NextToken field's value.
17414func (s *ListAlgorithmsInput) SetNextToken(v string) *ListAlgorithmsInput {
17415	s.NextToken = &v
17416	return s
17417}
17418
17419// SetSortBy sets the SortBy field's value.
17420func (s *ListAlgorithmsInput) SetSortBy(v string) *ListAlgorithmsInput {
17421	s.SortBy = &v
17422	return s
17423}
17424
17425// SetSortOrder sets the SortOrder field's value.
17426func (s *ListAlgorithmsInput) SetSortOrder(v string) *ListAlgorithmsInput {
17427	s.SortOrder = &v
17428	return s
17429}
17430
17431type ListAlgorithmsOutput struct {
17432	_ struct{} `type:"structure"`
17433
17434	// >An array of AlgorithmSummary objects, each of which lists an algorithm.
17435	//
17436	// AlgorithmSummaryList is a required field
17437	AlgorithmSummaryList []*AlgorithmSummary `type:"list" required:"true"`
17438
17439	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
17440	// the next set of algorithms, use it in the subsequent request.
17441	NextToken *string `type:"string"`
17442}
17443
17444// String returns the string representation
17445func (s ListAlgorithmsOutput) String() string {
17446	return awsutil.Prettify(s)
17447}
17448
17449// GoString returns the string representation
17450func (s ListAlgorithmsOutput) GoString() string {
17451	return s.String()
17452}
17453
17454// SetAlgorithmSummaryList sets the AlgorithmSummaryList field's value.
17455func (s *ListAlgorithmsOutput) SetAlgorithmSummaryList(v []*AlgorithmSummary) *ListAlgorithmsOutput {
17456	s.AlgorithmSummaryList = v
17457	return s
17458}
17459
17460// SetNextToken sets the NextToken field's value.
17461func (s *ListAlgorithmsOutput) SetNextToken(v string) *ListAlgorithmsOutput {
17462	s.NextToken = &v
17463	return s
17464}
17465
17466type ListCodeRepositoriesInput struct {
17467	_ struct{} `type:"structure"`
17468
17469	// A filter that returns only Git repositories that were created after the specified
17470	// time.
17471	CreationTimeAfter *time.Time `type:"timestamp"`
17472
17473	// A filter that returns only Git repositories that were created before the
17474	// specified time.
17475	CreationTimeBefore *time.Time `type:"timestamp"`
17476
17477	// A filter that returns only Git repositories that were last modified after
17478	// the specified time.
17479	LastModifiedTimeAfter *time.Time `type:"timestamp"`
17480
17481	// A filter that returns only Git repositories that were last modified before
17482	// the specified time.
17483	LastModifiedTimeBefore *time.Time `type:"timestamp"`
17484
17485	// The maximum number of Git repositories to return in the response.
17486	MaxResults *int64 `min:"1" type:"integer"`
17487
17488	// A string in the Git repositories name. This filter returns only repositories
17489	// whose name contains the specified string.
17490	NameContains *string `type:"string"`
17491
17492	// If the result of a ListCodeRepositoriesOutput request was truncated, the
17493	// response includes a NextToken. To get the next set of Git repositories, use
17494	// the token in the next request.
17495	NextToken *string `type:"string"`
17496
17497	// The field to sort results by. The default is Name.
17498	SortBy *string `type:"string" enum:"CodeRepositorySortBy"`
17499
17500	// The sort order for results. The default is Ascending.
17501	SortOrder *string `type:"string" enum:"CodeRepositorySortOrder"`
17502}
17503
17504// String returns the string representation
17505func (s ListCodeRepositoriesInput) String() string {
17506	return awsutil.Prettify(s)
17507}
17508
17509// GoString returns the string representation
17510func (s ListCodeRepositoriesInput) GoString() string {
17511	return s.String()
17512}
17513
17514// Validate inspects the fields of the type to determine if they are valid.
17515func (s *ListCodeRepositoriesInput) Validate() error {
17516	invalidParams := request.ErrInvalidParams{Context: "ListCodeRepositoriesInput"}
17517	if s.MaxResults != nil && *s.MaxResults < 1 {
17518		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
17519	}
17520
17521	if invalidParams.Len() > 0 {
17522		return invalidParams
17523	}
17524	return nil
17525}
17526
17527// SetCreationTimeAfter sets the CreationTimeAfter field's value.
17528func (s *ListCodeRepositoriesInput) SetCreationTimeAfter(v time.Time) *ListCodeRepositoriesInput {
17529	s.CreationTimeAfter = &v
17530	return s
17531}
17532
17533// SetCreationTimeBefore sets the CreationTimeBefore field's value.
17534func (s *ListCodeRepositoriesInput) SetCreationTimeBefore(v time.Time) *ListCodeRepositoriesInput {
17535	s.CreationTimeBefore = &v
17536	return s
17537}
17538
17539// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
17540func (s *ListCodeRepositoriesInput) SetLastModifiedTimeAfter(v time.Time) *ListCodeRepositoriesInput {
17541	s.LastModifiedTimeAfter = &v
17542	return s
17543}
17544
17545// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
17546func (s *ListCodeRepositoriesInput) SetLastModifiedTimeBefore(v time.Time) *ListCodeRepositoriesInput {
17547	s.LastModifiedTimeBefore = &v
17548	return s
17549}
17550
17551// SetMaxResults sets the MaxResults field's value.
17552func (s *ListCodeRepositoriesInput) SetMaxResults(v int64) *ListCodeRepositoriesInput {
17553	s.MaxResults = &v
17554	return s
17555}
17556
17557// SetNameContains sets the NameContains field's value.
17558func (s *ListCodeRepositoriesInput) SetNameContains(v string) *ListCodeRepositoriesInput {
17559	s.NameContains = &v
17560	return s
17561}
17562
17563// SetNextToken sets the NextToken field's value.
17564func (s *ListCodeRepositoriesInput) SetNextToken(v string) *ListCodeRepositoriesInput {
17565	s.NextToken = &v
17566	return s
17567}
17568
17569// SetSortBy sets the SortBy field's value.
17570func (s *ListCodeRepositoriesInput) SetSortBy(v string) *ListCodeRepositoriesInput {
17571	s.SortBy = &v
17572	return s
17573}
17574
17575// SetSortOrder sets the SortOrder field's value.
17576func (s *ListCodeRepositoriesInput) SetSortOrder(v string) *ListCodeRepositoriesInput {
17577	s.SortOrder = &v
17578	return s
17579}
17580
17581type ListCodeRepositoriesOutput struct {
17582	_ struct{} `type:"structure"`
17583
17584	// Gets a list of summaries of the Git repositories. Each summary specifies
17585	// the following values for the repository:
17586	//
17587	//    * Name
17588	//
17589	//    * Amazon Resource Name (ARN)
17590	//
17591	//    * Creation time
17592	//
17593	//    * Last modified time
17594	//
17595	//    * Configuration information, including the URL location of the repository
17596	//    and the ARN of the AWS Secrets Manager secret that contains the credentials
17597	//    used to access the repository.
17598	//
17599	// CodeRepositorySummaryList is a required field
17600	CodeRepositorySummaryList []*CodeRepositorySummary `type:"list" required:"true"`
17601
17602	// If the result of a ListCodeRepositoriesOutput request was truncated, the
17603	// response includes a NextToken. To get the next set of Git repositories, use
17604	// the token in the next request.
17605	NextToken *string `type:"string"`
17606}
17607
17608// String returns the string representation
17609func (s ListCodeRepositoriesOutput) String() string {
17610	return awsutil.Prettify(s)
17611}
17612
17613// GoString returns the string representation
17614func (s ListCodeRepositoriesOutput) GoString() string {
17615	return s.String()
17616}
17617
17618// SetCodeRepositorySummaryList sets the CodeRepositorySummaryList field's value.
17619func (s *ListCodeRepositoriesOutput) SetCodeRepositorySummaryList(v []*CodeRepositorySummary) *ListCodeRepositoriesOutput {
17620	s.CodeRepositorySummaryList = v
17621	return s
17622}
17623
17624// SetNextToken sets the NextToken field's value.
17625func (s *ListCodeRepositoriesOutput) SetNextToken(v string) *ListCodeRepositoriesOutput {
17626	s.NextToken = &v
17627	return s
17628}
17629
17630type ListCompilationJobsInput struct {
17631	_ struct{} `type:"structure"`
17632
17633	// A filter that returns the model compilation jobs that were created after
17634	// a specified time.
17635	CreationTimeAfter *time.Time `type:"timestamp"`
17636
17637	// A filter that returns the model compilation jobs that were created before
17638	// a specified time.
17639	CreationTimeBefore *time.Time `type:"timestamp"`
17640
17641	// A filter that returns the model compilation jobs that were modified after
17642	// a specified time.
17643	LastModifiedTimeAfter *time.Time `type:"timestamp"`
17644
17645	// A filter that returns the model compilation jobs that were modified before
17646	// a specified time.
17647	LastModifiedTimeBefore *time.Time `type:"timestamp"`
17648
17649	// The maximum number of model compilation jobs to return in the response.
17650	MaxResults *int64 `min:"1" type:"integer"`
17651
17652	// A filter that returns the model compilation jobs whose name contains a specified
17653	// string.
17654	NameContains *string `type:"string"`
17655
17656	// If the result of the previous ListCompilationJobs request was truncated,
17657	// the response includes a NextToken. To retrieve the next set of model compilation
17658	// jobs, use the token in the next request.
17659	NextToken *string `type:"string"`
17660
17661	// The field by which to sort results. The default is CreationTime.
17662	SortBy *string `type:"string" enum:"ListCompilationJobsSortBy"`
17663
17664	// The sort order for results. The default is Ascending.
17665	SortOrder *string `type:"string" enum:"SortOrder"`
17666
17667	// A filter that retrieves model compilation jobs with a specific DescribeCompilationJobResponse$CompilationJobStatus
17668	// status.
17669	StatusEquals *string `type:"string" enum:"CompilationJobStatus"`
17670}
17671
17672// String returns the string representation
17673func (s ListCompilationJobsInput) String() string {
17674	return awsutil.Prettify(s)
17675}
17676
17677// GoString returns the string representation
17678func (s ListCompilationJobsInput) GoString() string {
17679	return s.String()
17680}
17681
17682// Validate inspects the fields of the type to determine if they are valid.
17683func (s *ListCompilationJobsInput) Validate() error {
17684	invalidParams := request.ErrInvalidParams{Context: "ListCompilationJobsInput"}
17685	if s.MaxResults != nil && *s.MaxResults < 1 {
17686		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
17687	}
17688
17689	if invalidParams.Len() > 0 {
17690		return invalidParams
17691	}
17692	return nil
17693}
17694
17695// SetCreationTimeAfter sets the CreationTimeAfter field's value.
17696func (s *ListCompilationJobsInput) SetCreationTimeAfter(v time.Time) *ListCompilationJobsInput {
17697	s.CreationTimeAfter = &v
17698	return s
17699}
17700
17701// SetCreationTimeBefore sets the CreationTimeBefore field's value.
17702func (s *ListCompilationJobsInput) SetCreationTimeBefore(v time.Time) *ListCompilationJobsInput {
17703	s.CreationTimeBefore = &v
17704	return s
17705}
17706
17707// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
17708func (s *ListCompilationJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListCompilationJobsInput {
17709	s.LastModifiedTimeAfter = &v
17710	return s
17711}
17712
17713// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
17714func (s *ListCompilationJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListCompilationJobsInput {
17715	s.LastModifiedTimeBefore = &v
17716	return s
17717}
17718
17719// SetMaxResults sets the MaxResults field's value.
17720func (s *ListCompilationJobsInput) SetMaxResults(v int64) *ListCompilationJobsInput {
17721	s.MaxResults = &v
17722	return s
17723}
17724
17725// SetNameContains sets the NameContains field's value.
17726func (s *ListCompilationJobsInput) SetNameContains(v string) *ListCompilationJobsInput {
17727	s.NameContains = &v
17728	return s
17729}
17730
17731// SetNextToken sets the NextToken field's value.
17732func (s *ListCompilationJobsInput) SetNextToken(v string) *ListCompilationJobsInput {
17733	s.NextToken = &v
17734	return s
17735}
17736
17737// SetSortBy sets the SortBy field's value.
17738func (s *ListCompilationJobsInput) SetSortBy(v string) *ListCompilationJobsInput {
17739	s.SortBy = &v
17740	return s
17741}
17742
17743// SetSortOrder sets the SortOrder field's value.
17744func (s *ListCompilationJobsInput) SetSortOrder(v string) *ListCompilationJobsInput {
17745	s.SortOrder = &v
17746	return s
17747}
17748
17749// SetStatusEquals sets the StatusEquals field's value.
17750func (s *ListCompilationJobsInput) SetStatusEquals(v string) *ListCompilationJobsInput {
17751	s.StatusEquals = &v
17752	return s
17753}
17754
17755type ListCompilationJobsOutput struct {
17756	_ struct{} `type:"structure"`
17757
17758	// An array of CompilationJobSummary objects, each describing a model compilation
17759	// job.
17760	//
17761	// CompilationJobSummaries is a required field
17762	CompilationJobSummaries []*CompilationJobSummary `type:"list" required:"true"`
17763
17764	// If the response is truncated, Amazon SageMaker returns this NextToken. To
17765	// retrieve the next set of model compilation jobs, use this token in the next
17766	// request.
17767	NextToken *string `type:"string"`
17768}
17769
17770// String returns the string representation
17771func (s ListCompilationJobsOutput) String() string {
17772	return awsutil.Prettify(s)
17773}
17774
17775// GoString returns the string representation
17776func (s ListCompilationJobsOutput) GoString() string {
17777	return s.String()
17778}
17779
17780// SetCompilationJobSummaries sets the CompilationJobSummaries field's value.
17781func (s *ListCompilationJobsOutput) SetCompilationJobSummaries(v []*CompilationJobSummary) *ListCompilationJobsOutput {
17782	s.CompilationJobSummaries = v
17783	return s
17784}
17785
17786// SetNextToken sets the NextToken field's value.
17787func (s *ListCompilationJobsOutput) SetNextToken(v string) *ListCompilationJobsOutput {
17788	s.NextToken = &v
17789	return s
17790}
17791
17792type ListEndpointConfigsInput struct {
17793	_ struct{} `type:"structure"`
17794
17795	// A filter that returns only endpoint configurations with a creation time greater
17796	// than or equal to the specified time (timestamp).
17797	CreationTimeAfter *time.Time `type:"timestamp"`
17798
17799	// A filter that returns only endpoint configurations created before the specified
17800	// time (timestamp).
17801	CreationTimeBefore *time.Time `type:"timestamp"`
17802
17803	// The maximum number of training jobs to return in the response.
17804	MaxResults *int64 `min:"1" type:"integer"`
17805
17806	// A string in the endpoint configuration name. This filter returns only endpoint
17807	// configurations whose name contains the specified string.
17808	NameContains *string `type:"string"`
17809
17810	// If the result of the previous ListEndpointConfig request was truncated, the
17811	// response includes a NextToken. To retrieve the next set of endpoint configurations,
17812	// use the token in the next request.
17813	NextToken *string `type:"string"`
17814
17815	// The field to sort results by. The default is CreationTime.
17816	SortBy *string `type:"string" enum:"EndpointConfigSortKey"`
17817
17818	// The sort order for results. The default is Descending.
17819	SortOrder *string `type:"string" enum:"OrderKey"`
17820}
17821
17822// String returns the string representation
17823func (s ListEndpointConfigsInput) String() string {
17824	return awsutil.Prettify(s)
17825}
17826
17827// GoString returns the string representation
17828func (s ListEndpointConfigsInput) GoString() string {
17829	return s.String()
17830}
17831
17832// Validate inspects the fields of the type to determine if they are valid.
17833func (s *ListEndpointConfigsInput) Validate() error {
17834	invalidParams := request.ErrInvalidParams{Context: "ListEndpointConfigsInput"}
17835	if s.MaxResults != nil && *s.MaxResults < 1 {
17836		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
17837	}
17838
17839	if invalidParams.Len() > 0 {
17840		return invalidParams
17841	}
17842	return nil
17843}
17844
17845// SetCreationTimeAfter sets the CreationTimeAfter field's value.
17846func (s *ListEndpointConfigsInput) SetCreationTimeAfter(v time.Time) *ListEndpointConfigsInput {
17847	s.CreationTimeAfter = &v
17848	return s
17849}
17850
17851// SetCreationTimeBefore sets the CreationTimeBefore field's value.
17852func (s *ListEndpointConfigsInput) SetCreationTimeBefore(v time.Time) *ListEndpointConfigsInput {
17853	s.CreationTimeBefore = &v
17854	return s
17855}
17856
17857// SetMaxResults sets the MaxResults field's value.
17858func (s *ListEndpointConfigsInput) SetMaxResults(v int64) *ListEndpointConfigsInput {
17859	s.MaxResults = &v
17860	return s
17861}
17862
17863// SetNameContains sets the NameContains field's value.
17864func (s *ListEndpointConfigsInput) SetNameContains(v string) *ListEndpointConfigsInput {
17865	s.NameContains = &v
17866	return s
17867}
17868
17869// SetNextToken sets the NextToken field's value.
17870func (s *ListEndpointConfigsInput) SetNextToken(v string) *ListEndpointConfigsInput {
17871	s.NextToken = &v
17872	return s
17873}
17874
17875// SetSortBy sets the SortBy field's value.
17876func (s *ListEndpointConfigsInput) SetSortBy(v string) *ListEndpointConfigsInput {
17877	s.SortBy = &v
17878	return s
17879}
17880
17881// SetSortOrder sets the SortOrder field's value.
17882func (s *ListEndpointConfigsInput) SetSortOrder(v string) *ListEndpointConfigsInput {
17883	s.SortOrder = &v
17884	return s
17885}
17886
17887type ListEndpointConfigsOutput struct {
17888	_ struct{} `type:"structure"`
17889
17890	// An array of endpoint configurations.
17891	//
17892	// EndpointConfigs is a required field
17893	EndpointConfigs []*EndpointConfigSummary `type:"list" required:"true"`
17894
17895	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
17896	// the next set of endpoint configurations, use it in the subsequent request
17897	NextToken *string `type:"string"`
17898}
17899
17900// String returns the string representation
17901func (s ListEndpointConfigsOutput) String() string {
17902	return awsutil.Prettify(s)
17903}
17904
17905// GoString returns the string representation
17906func (s ListEndpointConfigsOutput) GoString() string {
17907	return s.String()
17908}
17909
17910// SetEndpointConfigs sets the EndpointConfigs field's value.
17911func (s *ListEndpointConfigsOutput) SetEndpointConfigs(v []*EndpointConfigSummary) *ListEndpointConfigsOutput {
17912	s.EndpointConfigs = v
17913	return s
17914}
17915
17916// SetNextToken sets the NextToken field's value.
17917func (s *ListEndpointConfigsOutput) SetNextToken(v string) *ListEndpointConfigsOutput {
17918	s.NextToken = &v
17919	return s
17920}
17921
17922type ListEndpointsInput struct {
17923	_ struct{} `type:"structure"`
17924
17925	// A filter that returns only endpoints with a creation time greater than or
17926	// equal to the specified time (timestamp).
17927	CreationTimeAfter *time.Time `type:"timestamp"`
17928
17929	// A filter that returns only endpoints that were created before the specified
17930	// time (timestamp).
17931	CreationTimeBefore *time.Time `type:"timestamp"`
17932
17933	// A filter that returns only endpoints that were modified after the specified
17934	// timestamp.
17935	LastModifiedTimeAfter *time.Time `type:"timestamp"`
17936
17937	// A filter that returns only endpoints that were modified before the specified
17938	// timestamp.
17939	LastModifiedTimeBefore *time.Time `type:"timestamp"`
17940
17941	// The maximum number of endpoints to return in the response.
17942	MaxResults *int64 `min:"1" type:"integer"`
17943
17944	// A string in endpoint names. This filter returns only endpoints whose name
17945	// contains the specified string.
17946	NameContains *string `type:"string"`
17947
17948	// If the result of a ListEndpoints request was truncated, the response includes
17949	// a NextToken. To retrieve the next set of endpoints, use the token in the
17950	// next request.
17951	NextToken *string `type:"string"`
17952
17953	// Sorts the list of results. The default is CreationTime.
17954	SortBy *string `type:"string" enum:"EndpointSortKey"`
17955
17956	// The sort order for results. The default is Descending.
17957	SortOrder *string `type:"string" enum:"OrderKey"`
17958
17959	// A filter that returns only endpoints with the specified status.
17960	StatusEquals *string `type:"string" enum:"EndpointStatus"`
17961}
17962
17963// String returns the string representation
17964func (s ListEndpointsInput) String() string {
17965	return awsutil.Prettify(s)
17966}
17967
17968// GoString returns the string representation
17969func (s ListEndpointsInput) GoString() string {
17970	return s.String()
17971}
17972
17973// Validate inspects the fields of the type to determine if they are valid.
17974func (s *ListEndpointsInput) Validate() error {
17975	invalidParams := request.ErrInvalidParams{Context: "ListEndpointsInput"}
17976	if s.MaxResults != nil && *s.MaxResults < 1 {
17977		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
17978	}
17979
17980	if invalidParams.Len() > 0 {
17981		return invalidParams
17982	}
17983	return nil
17984}
17985
17986// SetCreationTimeAfter sets the CreationTimeAfter field's value.
17987func (s *ListEndpointsInput) SetCreationTimeAfter(v time.Time) *ListEndpointsInput {
17988	s.CreationTimeAfter = &v
17989	return s
17990}
17991
17992// SetCreationTimeBefore sets the CreationTimeBefore field's value.
17993func (s *ListEndpointsInput) SetCreationTimeBefore(v time.Time) *ListEndpointsInput {
17994	s.CreationTimeBefore = &v
17995	return s
17996}
17997
17998// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
17999func (s *ListEndpointsInput) SetLastModifiedTimeAfter(v time.Time) *ListEndpointsInput {
18000	s.LastModifiedTimeAfter = &v
18001	return s
18002}
18003
18004// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
18005func (s *ListEndpointsInput) SetLastModifiedTimeBefore(v time.Time) *ListEndpointsInput {
18006	s.LastModifiedTimeBefore = &v
18007	return s
18008}
18009
18010// SetMaxResults sets the MaxResults field's value.
18011func (s *ListEndpointsInput) SetMaxResults(v int64) *ListEndpointsInput {
18012	s.MaxResults = &v
18013	return s
18014}
18015
18016// SetNameContains sets the NameContains field's value.
18017func (s *ListEndpointsInput) SetNameContains(v string) *ListEndpointsInput {
18018	s.NameContains = &v
18019	return s
18020}
18021
18022// SetNextToken sets the NextToken field's value.
18023func (s *ListEndpointsInput) SetNextToken(v string) *ListEndpointsInput {
18024	s.NextToken = &v
18025	return s
18026}
18027
18028// SetSortBy sets the SortBy field's value.
18029func (s *ListEndpointsInput) SetSortBy(v string) *ListEndpointsInput {
18030	s.SortBy = &v
18031	return s
18032}
18033
18034// SetSortOrder sets the SortOrder field's value.
18035func (s *ListEndpointsInput) SetSortOrder(v string) *ListEndpointsInput {
18036	s.SortOrder = &v
18037	return s
18038}
18039
18040// SetStatusEquals sets the StatusEquals field's value.
18041func (s *ListEndpointsInput) SetStatusEquals(v string) *ListEndpointsInput {
18042	s.StatusEquals = &v
18043	return s
18044}
18045
18046type ListEndpointsOutput struct {
18047	_ struct{} `type:"structure"`
18048
18049	// An array or endpoint objects.
18050	//
18051	// Endpoints is a required field
18052	Endpoints []*EndpointSummary `type:"list" required:"true"`
18053
18054	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
18055	// the next set of training jobs, use it in the subsequent request.
18056	NextToken *string `type:"string"`
18057}
18058
18059// String returns the string representation
18060func (s ListEndpointsOutput) String() string {
18061	return awsutil.Prettify(s)
18062}
18063
18064// GoString returns the string representation
18065func (s ListEndpointsOutput) GoString() string {
18066	return s.String()
18067}
18068
18069// SetEndpoints sets the Endpoints field's value.
18070func (s *ListEndpointsOutput) SetEndpoints(v []*EndpointSummary) *ListEndpointsOutput {
18071	s.Endpoints = v
18072	return s
18073}
18074
18075// SetNextToken sets the NextToken field's value.
18076func (s *ListEndpointsOutput) SetNextToken(v string) *ListEndpointsOutput {
18077	s.NextToken = &v
18078	return s
18079}
18080
18081type ListHyperParameterTuningJobsInput struct {
18082	_ struct{} `type:"structure"`
18083
18084	// A filter that returns only tuning jobs that were created after the specified
18085	// time.
18086	CreationTimeAfter *time.Time `type:"timestamp"`
18087
18088	// A filter that returns only tuning jobs that were created before the specified
18089	// time.
18090	CreationTimeBefore *time.Time `type:"timestamp"`
18091
18092	// A filter that returns only tuning jobs that were modified after the specified
18093	// time.
18094	LastModifiedTimeAfter *time.Time `type:"timestamp"`
18095
18096	// A filter that returns only tuning jobs that were modified before the specified
18097	// time.
18098	LastModifiedTimeBefore *time.Time `type:"timestamp"`
18099
18100	// The maximum number of tuning jobs to return. The default value is 10.
18101	MaxResults *int64 `min:"1" type:"integer"`
18102
18103	// A string in the tuning job name. This filter returns only tuning jobs whose
18104	// name contains the specified string.
18105	NameContains *string `type:"string"`
18106
18107	// If the result of the previous ListHyperParameterTuningJobs request was truncated,
18108	// the response includes a NextToken. To retrieve the next set of tuning jobs,
18109	// use the token in the next request.
18110	NextToken *string `type:"string"`
18111
18112	// The field to sort results by. The default is Name.
18113	SortBy *string `type:"string" enum:"HyperParameterTuningJobSortByOptions"`
18114
18115	// The sort order for results. The default is Ascending.
18116	SortOrder *string `type:"string" enum:"SortOrder"`
18117
18118	// A filter that returns only tuning jobs with the specified status.
18119	StatusEquals *string `type:"string" enum:"HyperParameterTuningJobStatus"`
18120}
18121
18122// String returns the string representation
18123func (s ListHyperParameterTuningJobsInput) String() string {
18124	return awsutil.Prettify(s)
18125}
18126
18127// GoString returns the string representation
18128func (s ListHyperParameterTuningJobsInput) GoString() string {
18129	return s.String()
18130}
18131
18132// Validate inspects the fields of the type to determine if they are valid.
18133func (s *ListHyperParameterTuningJobsInput) Validate() error {
18134	invalidParams := request.ErrInvalidParams{Context: "ListHyperParameterTuningJobsInput"}
18135	if s.MaxResults != nil && *s.MaxResults < 1 {
18136		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
18137	}
18138
18139	if invalidParams.Len() > 0 {
18140		return invalidParams
18141	}
18142	return nil
18143}
18144
18145// SetCreationTimeAfter sets the CreationTimeAfter field's value.
18146func (s *ListHyperParameterTuningJobsInput) SetCreationTimeAfter(v time.Time) *ListHyperParameterTuningJobsInput {
18147	s.CreationTimeAfter = &v
18148	return s
18149}
18150
18151// SetCreationTimeBefore sets the CreationTimeBefore field's value.
18152func (s *ListHyperParameterTuningJobsInput) SetCreationTimeBefore(v time.Time) *ListHyperParameterTuningJobsInput {
18153	s.CreationTimeBefore = &v
18154	return s
18155}
18156
18157// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
18158func (s *ListHyperParameterTuningJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListHyperParameterTuningJobsInput {
18159	s.LastModifiedTimeAfter = &v
18160	return s
18161}
18162
18163// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
18164func (s *ListHyperParameterTuningJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListHyperParameterTuningJobsInput {
18165	s.LastModifiedTimeBefore = &v
18166	return s
18167}
18168
18169// SetMaxResults sets the MaxResults field's value.
18170func (s *ListHyperParameterTuningJobsInput) SetMaxResults(v int64) *ListHyperParameterTuningJobsInput {
18171	s.MaxResults = &v
18172	return s
18173}
18174
18175// SetNameContains sets the NameContains field's value.
18176func (s *ListHyperParameterTuningJobsInput) SetNameContains(v string) *ListHyperParameterTuningJobsInput {
18177	s.NameContains = &v
18178	return s
18179}
18180
18181// SetNextToken sets the NextToken field's value.
18182func (s *ListHyperParameterTuningJobsInput) SetNextToken(v string) *ListHyperParameterTuningJobsInput {
18183	s.NextToken = &v
18184	return s
18185}
18186
18187// SetSortBy sets the SortBy field's value.
18188func (s *ListHyperParameterTuningJobsInput) SetSortBy(v string) *ListHyperParameterTuningJobsInput {
18189	s.SortBy = &v
18190	return s
18191}
18192
18193// SetSortOrder sets the SortOrder field's value.
18194func (s *ListHyperParameterTuningJobsInput) SetSortOrder(v string) *ListHyperParameterTuningJobsInput {
18195	s.SortOrder = &v
18196	return s
18197}
18198
18199// SetStatusEquals sets the StatusEquals field's value.
18200func (s *ListHyperParameterTuningJobsInput) SetStatusEquals(v string) *ListHyperParameterTuningJobsInput {
18201	s.StatusEquals = &v
18202	return s
18203}
18204
18205type ListHyperParameterTuningJobsOutput struct {
18206	_ struct{} `type:"structure"`
18207
18208	// A list of HyperParameterTuningJobSummary objects that describe the tuning
18209	// jobs that the ListHyperParameterTuningJobs request returned.
18210	//
18211	// HyperParameterTuningJobSummaries is a required field
18212	HyperParameterTuningJobSummaries []*HyperParameterTuningJobSummary `type:"list" required:"true"`
18213
18214	// If the result of this ListHyperParameterTuningJobs request was truncated,
18215	// the response includes a NextToken. To retrieve the next set of tuning jobs,
18216	// use the token in the next request.
18217	NextToken *string `type:"string"`
18218}
18219
18220// String returns the string representation
18221func (s ListHyperParameterTuningJobsOutput) String() string {
18222	return awsutil.Prettify(s)
18223}
18224
18225// GoString returns the string representation
18226func (s ListHyperParameterTuningJobsOutput) GoString() string {
18227	return s.String()
18228}
18229
18230// SetHyperParameterTuningJobSummaries sets the HyperParameterTuningJobSummaries field's value.
18231func (s *ListHyperParameterTuningJobsOutput) SetHyperParameterTuningJobSummaries(v []*HyperParameterTuningJobSummary) *ListHyperParameterTuningJobsOutput {
18232	s.HyperParameterTuningJobSummaries = v
18233	return s
18234}
18235
18236// SetNextToken sets the NextToken field's value.
18237func (s *ListHyperParameterTuningJobsOutput) SetNextToken(v string) *ListHyperParameterTuningJobsOutput {
18238	s.NextToken = &v
18239	return s
18240}
18241
18242type ListLabelingJobsForWorkteamInput struct {
18243	_ struct{} `type:"structure"`
18244
18245	// A filter that returns only labeling jobs created after the specified time
18246	// (timestamp).
18247	CreationTimeAfter *time.Time `type:"timestamp"`
18248
18249	// A filter that returns only labeling jobs created before the specified time
18250	// (timestamp).
18251	CreationTimeBefore *time.Time `type:"timestamp"`
18252
18253	// A filter the limits jobs to only the ones whose job reference code contains
18254	// the specified string.
18255	JobReferenceCodeContains *string `min:"1" type:"string"`
18256
18257	// The maximum number of labeling jobs to return in each page of the response.
18258	MaxResults *int64 `min:"1" type:"integer"`
18259
18260	// If the result of the previous ListLabelingJobsForWorkteam request was truncated,
18261	// the response includes a NextToken. To retrieve the next set of labeling jobs,
18262	// use the token in the next request.
18263	NextToken *string `type:"string"`
18264
18265	// The field to sort results by. The default is CreationTime.
18266	SortBy *string `type:"string" enum:"ListLabelingJobsForWorkteamSortByOptions"`
18267
18268	// The sort order for results. The default is Ascending.
18269	SortOrder *string `type:"string" enum:"SortOrder"`
18270
18271	// The Amazon Resource Name (ARN) of the work team for which you want to see
18272	// labeling jobs for.
18273	//
18274	// WorkteamArn is a required field
18275	WorkteamArn *string `type:"string" required:"true"`
18276}
18277
18278// String returns the string representation
18279func (s ListLabelingJobsForWorkteamInput) String() string {
18280	return awsutil.Prettify(s)
18281}
18282
18283// GoString returns the string representation
18284func (s ListLabelingJobsForWorkteamInput) GoString() string {
18285	return s.String()
18286}
18287
18288// Validate inspects the fields of the type to determine if they are valid.
18289func (s *ListLabelingJobsForWorkteamInput) Validate() error {
18290	invalidParams := request.ErrInvalidParams{Context: "ListLabelingJobsForWorkteamInput"}
18291	if s.JobReferenceCodeContains != nil && len(*s.JobReferenceCodeContains) < 1 {
18292		invalidParams.Add(request.NewErrParamMinLen("JobReferenceCodeContains", 1))
18293	}
18294	if s.MaxResults != nil && *s.MaxResults < 1 {
18295		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
18296	}
18297	if s.WorkteamArn == nil {
18298		invalidParams.Add(request.NewErrParamRequired("WorkteamArn"))
18299	}
18300
18301	if invalidParams.Len() > 0 {
18302		return invalidParams
18303	}
18304	return nil
18305}
18306
18307// SetCreationTimeAfter sets the CreationTimeAfter field's value.
18308func (s *ListLabelingJobsForWorkteamInput) SetCreationTimeAfter(v time.Time) *ListLabelingJobsForWorkteamInput {
18309	s.CreationTimeAfter = &v
18310	return s
18311}
18312
18313// SetCreationTimeBefore sets the CreationTimeBefore field's value.
18314func (s *ListLabelingJobsForWorkteamInput) SetCreationTimeBefore(v time.Time) *ListLabelingJobsForWorkteamInput {
18315	s.CreationTimeBefore = &v
18316	return s
18317}
18318
18319// SetJobReferenceCodeContains sets the JobReferenceCodeContains field's value.
18320func (s *ListLabelingJobsForWorkteamInput) SetJobReferenceCodeContains(v string) *ListLabelingJobsForWorkteamInput {
18321	s.JobReferenceCodeContains = &v
18322	return s
18323}
18324
18325// SetMaxResults sets the MaxResults field's value.
18326func (s *ListLabelingJobsForWorkteamInput) SetMaxResults(v int64) *ListLabelingJobsForWorkteamInput {
18327	s.MaxResults = &v
18328	return s
18329}
18330
18331// SetNextToken sets the NextToken field's value.
18332func (s *ListLabelingJobsForWorkteamInput) SetNextToken(v string) *ListLabelingJobsForWorkteamInput {
18333	s.NextToken = &v
18334	return s
18335}
18336
18337// SetSortBy sets the SortBy field's value.
18338func (s *ListLabelingJobsForWorkteamInput) SetSortBy(v string) *ListLabelingJobsForWorkteamInput {
18339	s.SortBy = &v
18340	return s
18341}
18342
18343// SetSortOrder sets the SortOrder field's value.
18344func (s *ListLabelingJobsForWorkteamInput) SetSortOrder(v string) *ListLabelingJobsForWorkteamInput {
18345	s.SortOrder = &v
18346	return s
18347}
18348
18349// SetWorkteamArn sets the WorkteamArn field's value.
18350func (s *ListLabelingJobsForWorkteamInput) SetWorkteamArn(v string) *ListLabelingJobsForWorkteamInput {
18351	s.WorkteamArn = &v
18352	return s
18353}
18354
18355type ListLabelingJobsForWorkteamOutput struct {
18356	_ struct{} `type:"structure"`
18357
18358	// An array of LabelingJobSummary objects, each describing a labeling job.
18359	//
18360	// LabelingJobSummaryList is a required field
18361	LabelingJobSummaryList []*LabelingJobForWorkteamSummary `type:"list" required:"true"`
18362
18363	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
18364	// the next set of labeling jobs, use it in the subsequent request.
18365	NextToken *string `type:"string"`
18366}
18367
18368// String returns the string representation
18369func (s ListLabelingJobsForWorkteamOutput) String() string {
18370	return awsutil.Prettify(s)
18371}
18372
18373// GoString returns the string representation
18374func (s ListLabelingJobsForWorkteamOutput) GoString() string {
18375	return s.String()
18376}
18377
18378// SetLabelingJobSummaryList sets the LabelingJobSummaryList field's value.
18379func (s *ListLabelingJobsForWorkteamOutput) SetLabelingJobSummaryList(v []*LabelingJobForWorkteamSummary) *ListLabelingJobsForWorkteamOutput {
18380	s.LabelingJobSummaryList = v
18381	return s
18382}
18383
18384// SetNextToken sets the NextToken field's value.
18385func (s *ListLabelingJobsForWorkteamOutput) SetNextToken(v string) *ListLabelingJobsForWorkteamOutput {
18386	s.NextToken = &v
18387	return s
18388}
18389
18390type ListLabelingJobsInput struct {
18391	_ struct{} `type:"structure"`
18392
18393	// A filter that returns only labeling jobs created after the specified time
18394	// (timestamp).
18395	CreationTimeAfter *time.Time `type:"timestamp"`
18396
18397	// A filter that returns only labeling jobs created before the specified time
18398	// (timestamp).
18399	CreationTimeBefore *time.Time `type:"timestamp"`
18400
18401	// A filter that returns only labeling jobs modified after the specified time
18402	// (timestamp).
18403	LastModifiedTimeAfter *time.Time `type:"timestamp"`
18404
18405	// A filter that returns only labeling jobs modified before the specified time
18406	// (timestamp).
18407	LastModifiedTimeBefore *time.Time `type:"timestamp"`
18408
18409	// The maximum number of labeling jobs to return in each page of the response.
18410	MaxResults *int64 `min:"1" type:"integer"`
18411
18412	// A string in the labeling job name. This filter returns only labeling jobs
18413	// whose name contains the specified string.
18414	NameContains *string `type:"string"`
18415
18416	// If the result of the previous ListLabelingJobs request was truncated, the
18417	// response includes a NextToken. To retrieve the next set of labeling jobs,
18418	// use the token in the next request.
18419	NextToken *string `type:"string"`
18420
18421	// The field to sort results by. The default is CreationTime.
18422	SortBy *string `type:"string" enum:"SortBy"`
18423
18424	// The sort order for results. The default is Ascending.
18425	SortOrder *string `type:"string" enum:"SortOrder"`
18426
18427	// A filter that retrieves only labeling jobs with a specific status.
18428	StatusEquals *string `type:"string" enum:"LabelingJobStatus"`
18429}
18430
18431// String returns the string representation
18432func (s ListLabelingJobsInput) String() string {
18433	return awsutil.Prettify(s)
18434}
18435
18436// GoString returns the string representation
18437func (s ListLabelingJobsInput) GoString() string {
18438	return s.String()
18439}
18440
18441// Validate inspects the fields of the type to determine if they are valid.
18442func (s *ListLabelingJobsInput) Validate() error {
18443	invalidParams := request.ErrInvalidParams{Context: "ListLabelingJobsInput"}
18444	if s.MaxResults != nil && *s.MaxResults < 1 {
18445		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
18446	}
18447
18448	if invalidParams.Len() > 0 {
18449		return invalidParams
18450	}
18451	return nil
18452}
18453
18454// SetCreationTimeAfter sets the CreationTimeAfter field's value.
18455func (s *ListLabelingJobsInput) SetCreationTimeAfter(v time.Time) *ListLabelingJobsInput {
18456	s.CreationTimeAfter = &v
18457	return s
18458}
18459
18460// SetCreationTimeBefore sets the CreationTimeBefore field's value.
18461func (s *ListLabelingJobsInput) SetCreationTimeBefore(v time.Time) *ListLabelingJobsInput {
18462	s.CreationTimeBefore = &v
18463	return s
18464}
18465
18466// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
18467func (s *ListLabelingJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListLabelingJobsInput {
18468	s.LastModifiedTimeAfter = &v
18469	return s
18470}
18471
18472// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
18473func (s *ListLabelingJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListLabelingJobsInput {
18474	s.LastModifiedTimeBefore = &v
18475	return s
18476}
18477
18478// SetMaxResults sets the MaxResults field's value.
18479func (s *ListLabelingJobsInput) SetMaxResults(v int64) *ListLabelingJobsInput {
18480	s.MaxResults = &v
18481	return s
18482}
18483
18484// SetNameContains sets the NameContains field's value.
18485func (s *ListLabelingJobsInput) SetNameContains(v string) *ListLabelingJobsInput {
18486	s.NameContains = &v
18487	return s
18488}
18489
18490// SetNextToken sets the NextToken field's value.
18491func (s *ListLabelingJobsInput) SetNextToken(v string) *ListLabelingJobsInput {
18492	s.NextToken = &v
18493	return s
18494}
18495
18496// SetSortBy sets the SortBy field's value.
18497func (s *ListLabelingJobsInput) SetSortBy(v string) *ListLabelingJobsInput {
18498	s.SortBy = &v
18499	return s
18500}
18501
18502// SetSortOrder sets the SortOrder field's value.
18503func (s *ListLabelingJobsInput) SetSortOrder(v string) *ListLabelingJobsInput {
18504	s.SortOrder = &v
18505	return s
18506}
18507
18508// SetStatusEquals sets the StatusEquals field's value.
18509func (s *ListLabelingJobsInput) SetStatusEquals(v string) *ListLabelingJobsInput {
18510	s.StatusEquals = &v
18511	return s
18512}
18513
18514type ListLabelingJobsOutput struct {
18515	_ struct{} `type:"structure"`
18516
18517	// An array of LabelingJobSummary objects, each describing a labeling job.
18518	LabelingJobSummaryList []*LabelingJobSummary `type:"list"`
18519
18520	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
18521	// the next set of labeling jobs, use it in the subsequent request.
18522	NextToken *string `type:"string"`
18523}
18524
18525// String returns the string representation
18526func (s ListLabelingJobsOutput) String() string {
18527	return awsutil.Prettify(s)
18528}
18529
18530// GoString returns the string representation
18531func (s ListLabelingJobsOutput) GoString() string {
18532	return s.String()
18533}
18534
18535// SetLabelingJobSummaryList sets the LabelingJobSummaryList field's value.
18536func (s *ListLabelingJobsOutput) SetLabelingJobSummaryList(v []*LabelingJobSummary) *ListLabelingJobsOutput {
18537	s.LabelingJobSummaryList = v
18538	return s
18539}
18540
18541// SetNextToken sets the NextToken field's value.
18542func (s *ListLabelingJobsOutput) SetNextToken(v string) *ListLabelingJobsOutput {
18543	s.NextToken = &v
18544	return s
18545}
18546
18547type ListModelPackagesInput struct {
18548	_ struct{} `type:"structure"`
18549
18550	// A filter that returns only model packages created after the specified time
18551	// (timestamp).
18552	CreationTimeAfter *time.Time `type:"timestamp"`
18553
18554	// A filter that returns only model packages created before the specified time
18555	// (timestamp).
18556	CreationTimeBefore *time.Time `type:"timestamp"`
18557
18558	// The maximum number of model packages to return in the response.
18559	MaxResults *int64 `min:"1" type:"integer"`
18560
18561	// A string in the model package name. This filter returns only model packages
18562	// whose name contains the specified string.
18563	NameContains *string `type:"string"`
18564
18565	// If the response to a previous ListModelPackages request was truncated, the
18566	// response includes a NextToken. To retrieve the next set of model packages,
18567	// use the token in the next request.
18568	NextToken *string `type:"string"`
18569
18570	// The parameter by which to sort the results. The default is CreationTime.
18571	SortBy *string `type:"string" enum:"ModelPackageSortBy"`
18572
18573	// The sort order for the results. The default is Ascending.
18574	SortOrder *string `type:"string" enum:"SortOrder"`
18575}
18576
18577// String returns the string representation
18578func (s ListModelPackagesInput) String() string {
18579	return awsutil.Prettify(s)
18580}
18581
18582// GoString returns the string representation
18583func (s ListModelPackagesInput) GoString() string {
18584	return s.String()
18585}
18586
18587// Validate inspects the fields of the type to determine if they are valid.
18588func (s *ListModelPackagesInput) Validate() error {
18589	invalidParams := request.ErrInvalidParams{Context: "ListModelPackagesInput"}
18590	if s.MaxResults != nil && *s.MaxResults < 1 {
18591		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
18592	}
18593
18594	if invalidParams.Len() > 0 {
18595		return invalidParams
18596	}
18597	return nil
18598}
18599
18600// SetCreationTimeAfter sets the CreationTimeAfter field's value.
18601func (s *ListModelPackagesInput) SetCreationTimeAfter(v time.Time) *ListModelPackagesInput {
18602	s.CreationTimeAfter = &v
18603	return s
18604}
18605
18606// SetCreationTimeBefore sets the CreationTimeBefore field's value.
18607func (s *ListModelPackagesInput) SetCreationTimeBefore(v time.Time) *ListModelPackagesInput {
18608	s.CreationTimeBefore = &v
18609	return s
18610}
18611
18612// SetMaxResults sets the MaxResults field's value.
18613func (s *ListModelPackagesInput) SetMaxResults(v int64) *ListModelPackagesInput {
18614	s.MaxResults = &v
18615	return s
18616}
18617
18618// SetNameContains sets the NameContains field's value.
18619func (s *ListModelPackagesInput) SetNameContains(v string) *ListModelPackagesInput {
18620	s.NameContains = &v
18621	return s
18622}
18623
18624// SetNextToken sets the NextToken field's value.
18625func (s *ListModelPackagesInput) SetNextToken(v string) *ListModelPackagesInput {
18626	s.NextToken = &v
18627	return s
18628}
18629
18630// SetSortBy sets the SortBy field's value.
18631func (s *ListModelPackagesInput) SetSortBy(v string) *ListModelPackagesInput {
18632	s.SortBy = &v
18633	return s
18634}
18635
18636// SetSortOrder sets the SortOrder field's value.
18637func (s *ListModelPackagesInput) SetSortOrder(v string) *ListModelPackagesInput {
18638	s.SortOrder = &v
18639	return s
18640}
18641
18642type ListModelPackagesOutput struct {
18643	_ struct{} `type:"structure"`
18644
18645	// An array of ModelPackageSummary objects, each of which lists a model package.
18646	//
18647	// ModelPackageSummaryList is a required field
18648	ModelPackageSummaryList []*ModelPackageSummary `type:"list" required:"true"`
18649
18650	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
18651	// the next set of model packages, use it in the subsequent request.
18652	NextToken *string `type:"string"`
18653}
18654
18655// String returns the string representation
18656func (s ListModelPackagesOutput) String() string {
18657	return awsutil.Prettify(s)
18658}
18659
18660// GoString returns the string representation
18661func (s ListModelPackagesOutput) GoString() string {
18662	return s.String()
18663}
18664
18665// SetModelPackageSummaryList sets the ModelPackageSummaryList field's value.
18666func (s *ListModelPackagesOutput) SetModelPackageSummaryList(v []*ModelPackageSummary) *ListModelPackagesOutput {
18667	s.ModelPackageSummaryList = v
18668	return s
18669}
18670
18671// SetNextToken sets the NextToken field's value.
18672func (s *ListModelPackagesOutput) SetNextToken(v string) *ListModelPackagesOutput {
18673	s.NextToken = &v
18674	return s
18675}
18676
18677type ListModelsInput struct {
18678	_ struct{} `type:"structure"`
18679
18680	// A filter that returns only models with a creation time greater than or equal
18681	// to the specified time (timestamp).
18682	CreationTimeAfter *time.Time `type:"timestamp"`
18683
18684	// A filter that returns only models created before the specified time (timestamp).
18685	CreationTimeBefore *time.Time `type:"timestamp"`
18686
18687	// The maximum number of models to return in the response.
18688	MaxResults *int64 `min:"1" type:"integer"`
18689
18690	// A string in the training job name. This filter returns only models in the
18691	// training job whose name contains the specified string.
18692	NameContains *string `type:"string"`
18693
18694	// If the response to a previous ListModels request was truncated, the response
18695	// includes a NextToken. To retrieve the next set of models, use the token in
18696	// the next request.
18697	NextToken *string `type:"string"`
18698
18699	// Sorts the list of results. The default is CreationTime.
18700	SortBy *string `type:"string" enum:"ModelSortKey"`
18701
18702	// The sort order for results. The default is Descending.
18703	SortOrder *string `type:"string" enum:"OrderKey"`
18704}
18705
18706// String returns the string representation
18707func (s ListModelsInput) String() string {
18708	return awsutil.Prettify(s)
18709}
18710
18711// GoString returns the string representation
18712func (s ListModelsInput) GoString() string {
18713	return s.String()
18714}
18715
18716// Validate inspects the fields of the type to determine if they are valid.
18717func (s *ListModelsInput) Validate() error {
18718	invalidParams := request.ErrInvalidParams{Context: "ListModelsInput"}
18719	if s.MaxResults != nil && *s.MaxResults < 1 {
18720		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
18721	}
18722
18723	if invalidParams.Len() > 0 {
18724		return invalidParams
18725	}
18726	return nil
18727}
18728
18729// SetCreationTimeAfter sets the CreationTimeAfter field's value.
18730func (s *ListModelsInput) SetCreationTimeAfter(v time.Time) *ListModelsInput {
18731	s.CreationTimeAfter = &v
18732	return s
18733}
18734
18735// SetCreationTimeBefore sets the CreationTimeBefore field's value.
18736func (s *ListModelsInput) SetCreationTimeBefore(v time.Time) *ListModelsInput {
18737	s.CreationTimeBefore = &v
18738	return s
18739}
18740
18741// SetMaxResults sets the MaxResults field's value.
18742func (s *ListModelsInput) SetMaxResults(v int64) *ListModelsInput {
18743	s.MaxResults = &v
18744	return s
18745}
18746
18747// SetNameContains sets the NameContains field's value.
18748func (s *ListModelsInput) SetNameContains(v string) *ListModelsInput {
18749	s.NameContains = &v
18750	return s
18751}
18752
18753// SetNextToken sets the NextToken field's value.
18754func (s *ListModelsInput) SetNextToken(v string) *ListModelsInput {
18755	s.NextToken = &v
18756	return s
18757}
18758
18759// SetSortBy sets the SortBy field's value.
18760func (s *ListModelsInput) SetSortBy(v string) *ListModelsInput {
18761	s.SortBy = &v
18762	return s
18763}
18764
18765// SetSortOrder sets the SortOrder field's value.
18766func (s *ListModelsInput) SetSortOrder(v string) *ListModelsInput {
18767	s.SortOrder = &v
18768	return s
18769}
18770
18771type ListModelsOutput struct {
18772	_ struct{} `type:"structure"`
18773
18774	// An array of ModelSummary objects, each of which lists a model.
18775	//
18776	// Models is a required field
18777	Models []*ModelSummary `type:"list" required:"true"`
18778
18779	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
18780	// the next set of models, use it in the subsequent request.
18781	NextToken *string `type:"string"`
18782}
18783
18784// String returns the string representation
18785func (s ListModelsOutput) String() string {
18786	return awsutil.Prettify(s)
18787}
18788
18789// GoString returns the string representation
18790func (s ListModelsOutput) GoString() string {
18791	return s.String()
18792}
18793
18794// SetModels sets the Models field's value.
18795func (s *ListModelsOutput) SetModels(v []*ModelSummary) *ListModelsOutput {
18796	s.Models = v
18797	return s
18798}
18799
18800// SetNextToken sets the NextToken field's value.
18801func (s *ListModelsOutput) SetNextToken(v string) *ListModelsOutput {
18802	s.NextToken = &v
18803	return s
18804}
18805
18806type ListNotebookInstanceLifecycleConfigsInput struct {
18807	_ struct{} `type:"structure"`
18808
18809	// A filter that returns only lifecycle configurations that were created after
18810	// the specified time (timestamp).
18811	CreationTimeAfter *time.Time `type:"timestamp"`
18812
18813	// A filter that returns only lifecycle configurations that were created before
18814	// the specified time (timestamp).
18815	CreationTimeBefore *time.Time `type:"timestamp"`
18816
18817	// A filter that returns only lifecycle configurations that were modified after
18818	// the specified time (timestamp).
18819	LastModifiedTimeAfter *time.Time `type:"timestamp"`
18820
18821	// A filter that returns only lifecycle configurations that were modified before
18822	// the specified time (timestamp).
18823	LastModifiedTimeBefore *time.Time `type:"timestamp"`
18824
18825	// The maximum number of lifecycle configurations to return in the response.
18826	MaxResults *int64 `min:"1" type:"integer"`
18827
18828	// A string in the lifecycle configuration name. This filter returns only lifecycle
18829	// configurations whose name contains the specified string.
18830	NameContains *string `type:"string"`
18831
18832	// If the result of a ListNotebookInstanceLifecycleConfigs request was truncated,
18833	// the response includes a NextToken. To get the next set of lifecycle configurations,
18834	// use the token in the next request.
18835	NextToken *string `type:"string"`
18836
18837	// Sorts the list of results. The default is CreationTime.
18838	SortBy *string `type:"string" enum:"NotebookInstanceLifecycleConfigSortKey"`
18839
18840	// The sort order for results.
18841	SortOrder *string `type:"string" enum:"NotebookInstanceLifecycleConfigSortOrder"`
18842}
18843
18844// String returns the string representation
18845func (s ListNotebookInstanceLifecycleConfigsInput) String() string {
18846	return awsutil.Prettify(s)
18847}
18848
18849// GoString returns the string representation
18850func (s ListNotebookInstanceLifecycleConfigsInput) GoString() string {
18851	return s.String()
18852}
18853
18854// Validate inspects the fields of the type to determine if they are valid.
18855func (s *ListNotebookInstanceLifecycleConfigsInput) Validate() error {
18856	invalidParams := request.ErrInvalidParams{Context: "ListNotebookInstanceLifecycleConfigsInput"}
18857	if s.MaxResults != nil && *s.MaxResults < 1 {
18858		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
18859	}
18860
18861	if invalidParams.Len() > 0 {
18862		return invalidParams
18863	}
18864	return nil
18865}
18866
18867// SetCreationTimeAfter sets the CreationTimeAfter field's value.
18868func (s *ListNotebookInstanceLifecycleConfigsInput) SetCreationTimeAfter(v time.Time) *ListNotebookInstanceLifecycleConfigsInput {
18869	s.CreationTimeAfter = &v
18870	return s
18871}
18872
18873// SetCreationTimeBefore sets the CreationTimeBefore field's value.
18874func (s *ListNotebookInstanceLifecycleConfigsInput) SetCreationTimeBefore(v time.Time) *ListNotebookInstanceLifecycleConfigsInput {
18875	s.CreationTimeBefore = &v
18876	return s
18877}
18878
18879// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
18880func (s *ListNotebookInstanceLifecycleConfigsInput) SetLastModifiedTimeAfter(v time.Time) *ListNotebookInstanceLifecycleConfigsInput {
18881	s.LastModifiedTimeAfter = &v
18882	return s
18883}
18884
18885// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
18886func (s *ListNotebookInstanceLifecycleConfigsInput) SetLastModifiedTimeBefore(v time.Time) *ListNotebookInstanceLifecycleConfigsInput {
18887	s.LastModifiedTimeBefore = &v
18888	return s
18889}
18890
18891// SetMaxResults sets the MaxResults field's value.
18892func (s *ListNotebookInstanceLifecycleConfigsInput) SetMaxResults(v int64) *ListNotebookInstanceLifecycleConfigsInput {
18893	s.MaxResults = &v
18894	return s
18895}
18896
18897// SetNameContains sets the NameContains field's value.
18898func (s *ListNotebookInstanceLifecycleConfigsInput) SetNameContains(v string) *ListNotebookInstanceLifecycleConfigsInput {
18899	s.NameContains = &v
18900	return s
18901}
18902
18903// SetNextToken sets the NextToken field's value.
18904func (s *ListNotebookInstanceLifecycleConfigsInput) SetNextToken(v string) *ListNotebookInstanceLifecycleConfigsInput {
18905	s.NextToken = &v
18906	return s
18907}
18908
18909// SetSortBy sets the SortBy field's value.
18910func (s *ListNotebookInstanceLifecycleConfigsInput) SetSortBy(v string) *ListNotebookInstanceLifecycleConfigsInput {
18911	s.SortBy = &v
18912	return s
18913}
18914
18915// SetSortOrder sets the SortOrder field's value.
18916func (s *ListNotebookInstanceLifecycleConfigsInput) SetSortOrder(v string) *ListNotebookInstanceLifecycleConfigsInput {
18917	s.SortOrder = &v
18918	return s
18919}
18920
18921type ListNotebookInstanceLifecycleConfigsOutput struct {
18922	_ struct{} `type:"structure"`
18923
18924	// If the response is truncated, Amazon SageMaker returns this token. To get
18925	// the next set of lifecycle configurations, use it in the next request.
18926	NextToken *string `type:"string"`
18927
18928	// An array of NotebookInstanceLifecycleConfiguration objects, each listing
18929	// a lifecycle configuration.
18930	NotebookInstanceLifecycleConfigs []*NotebookInstanceLifecycleConfigSummary `type:"list"`
18931}
18932
18933// String returns the string representation
18934func (s ListNotebookInstanceLifecycleConfigsOutput) String() string {
18935	return awsutil.Prettify(s)
18936}
18937
18938// GoString returns the string representation
18939func (s ListNotebookInstanceLifecycleConfigsOutput) GoString() string {
18940	return s.String()
18941}
18942
18943// SetNextToken sets the NextToken field's value.
18944func (s *ListNotebookInstanceLifecycleConfigsOutput) SetNextToken(v string) *ListNotebookInstanceLifecycleConfigsOutput {
18945	s.NextToken = &v
18946	return s
18947}
18948
18949// SetNotebookInstanceLifecycleConfigs sets the NotebookInstanceLifecycleConfigs field's value.
18950func (s *ListNotebookInstanceLifecycleConfigsOutput) SetNotebookInstanceLifecycleConfigs(v []*NotebookInstanceLifecycleConfigSummary) *ListNotebookInstanceLifecycleConfigsOutput {
18951	s.NotebookInstanceLifecycleConfigs = v
18952	return s
18953}
18954
18955type ListNotebookInstancesInput struct {
18956	_ struct{} `type:"structure"`
18957
18958	// A filter that returns only notebook instances with associated with the specified
18959	// git repository.
18960	AdditionalCodeRepositoryEquals *string `min:"1" type:"string"`
18961
18962	// A filter that returns only notebook instances that were created after the
18963	// specified time (timestamp).
18964	CreationTimeAfter *time.Time `type:"timestamp"`
18965
18966	// A filter that returns only notebook instances that were created before the
18967	// specified time (timestamp).
18968	CreationTimeBefore *time.Time `type:"timestamp"`
18969
18970	// A string in the name or URL of a Git repository associated with this notebook
18971	// instance. This filter returns only notebook instances associated with a git
18972	// repository with a name that contains the specified string.
18973	DefaultCodeRepositoryContains *string `type:"string"`
18974
18975	// A filter that returns only notebook instances that were modified after the
18976	// specified time (timestamp).
18977	LastModifiedTimeAfter *time.Time `type:"timestamp"`
18978
18979	// A filter that returns only notebook instances that were modified before the
18980	// specified time (timestamp).
18981	LastModifiedTimeBefore *time.Time `type:"timestamp"`
18982
18983	// The maximum number of notebook instances to return.
18984	MaxResults *int64 `min:"1" type:"integer"`
18985
18986	// A string in the notebook instances' name. This filter returns only notebook
18987	// instances whose name contains the specified string.
18988	NameContains *string `type:"string"`
18989
18990	// If the previous call to the ListNotebookInstances is truncated, the response
18991	// includes a NextToken. You can use this token in your subsequent ListNotebookInstances
18992	// request to fetch the next set of notebook instances.
18993	//
18994	// You might specify a filter or a sort order in your request. When response
18995	// is truncated, you must use the same values for the filer and sort order in
18996	// the next request.
18997	NextToken *string `type:"string"`
18998
18999	// A string in the name of a notebook instances lifecycle configuration associated
19000	// with this notebook instance. This filter returns only notebook instances
19001	// associated with a lifecycle configuration with a name that contains the specified
19002	// string.
19003	NotebookInstanceLifecycleConfigNameContains *string `type:"string"`
19004
19005	// The field to sort results by. The default is Name.
19006	SortBy *string `type:"string" enum:"NotebookInstanceSortKey"`
19007
19008	// The sort order for results.
19009	SortOrder *string `type:"string" enum:"NotebookInstanceSortOrder"`
19010
19011	// A filter that returns only notebook instances with the specified status.
19012	StatusEquals *string `type:"string" enum:"NotebookInstanceStatus"`
19013}
19014
19015// String returns the string representation
19016func (s ListNotebookInstancesInput) String() string {
19017	return awsutil.Prettify(s)
19018}
19019
19020// GoString returns the string representation
19021func (s ListNotebookInstancesInput) GoString() string {
19022	return s.String()
19023}
19024
19025// Validate inspects the fields of the type to determine if they are valid.
19026func (s *ListNotebookInstancesInput) Validate() error {
19027	invalidParams := request.ErrInvalidParams{Context: "ListNotebookInstancesInput"}
19028	if s.AdditionalCodeRepositoryEquals != nil && len(*s.AdditionalCodeRepositoryEquals) < 1 {
19029		invalidParams.Add(request.NewErrParamMinLen("AdditionalCodeRepositoryEquals", 1))
19030	}
19031	if s.MaxResults != nil && *s.MaxResults < 1 {
19032		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
19033	}
19034
19035	if invalidParams.Len() > 0 {
19036		return invalidParams
19037	}
19038	return nil
19039}
19040
19041// SetAdditionalCodeRepositoryEquals sets the AdditionalCodeRepositoryEquals field's value.
19042func (s *ListNotebookInstancesInput) SetAdditionalCodeRepositoryEquals(v string) *ListNotebookInstancesInput {
19043	s.AdditionalCodeRepositoryEquals = &v
19044	return s
19045}
19046
19047// SetCreationTimeAfter sets the CreationTimeAfter field's value.
19048func (s *ListNotebookInstancesInput) SetCreationTimeAfter(v time.Time) *ListNotebookInstancesInput {
19049	s.CreationTimeAfter = &v
19050	return s
19051}
19052
19053// SetCreationTimeBefore sets the CreationTimeBefore field's value.
19054func (s *ListNotebookInstancesInput) SetCreationTimeBefore(v time.Time) *ListNotebookInstancesInput {
19055	s.CreationTimeBefore = &v
19056	return s
19057}
19058
19059// SetDefaultCodeRepositoryContains sets the DefaultCodeRepositoryContains field's value.
19060func (s *ListNotebookInstancesInput) SetDefaultCodeRepositoryContains(v string) *ListNotebookInstancesInput {
19061	s.DefaultCodeRepositoryContains = &v
19062	return s
19063}
19064
19065// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
19066func (s *ListNotebookInstancesInput) SetLastModifiedTimeAfter(v time.Time) *ListNotebookInstancesInput {
19067	s.LastModifiedTimeAfter = &v
19068	return s
19069}
19070
19071// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
19072func (s *ListNotebookInstancesInput) SetLastModifiedTimeBefore(v time.Time) *ListNotebookInstancesInput {
19073	s.LastModifiedTimeBefore = &v
19074	return s
19075}
19076
19077// SetMaxResults sets the MaxResults field's value.
19078func (s *ListNotebookInstancesInput) SetMaxResults(v int64) *ListNotebookInstancesInput {
19079	s.MaxResults = &v
19080	return s
19081}
19082
19083// SetNameContains sets the NameContains field's value.
19084func (s *ListNotebookInstancesInput) SetNameContains(v string) *ListNotebookInstancesInput {
19085	s.NameContains = &v
19086	return s
19087}
19088
19089// SetNextToken sets the NextToken field's value.
19090func (s *ListNotebookInstancesInput) SetNextToken(v string) *ListNotebookInstancesInput {
19091	s.NextToken = &v
19092	return s
19093}
19094
19095// SetNotebookInstanceLifecycleConfigNameContains sets the NotebookInstanceLifecycleConfigNameContains field's value.
19096func (s *ListNotebookInstancesInput) SetNotebookInstanceLifecycleConfigNameContains(v string) *ListNotebookInstancesInput {
19097	s.NotebookInstanceLifecycleConfigNameContains = &v
19098	return s
19099}
19100
19101// SetSortBy sets the SortBy field's value.
19102func (s *ListNotebookInstancesInput) SetSortBy(v string) *ListNotebookInstancesInput {
19103	s.SortBy = &v
19104	return s
19105}
19106
19107// SetSortOrder sets the SortOrder field's value.
19108func (s *ListNotebookInstancesInput) SetSortOrder(v string) *ListNotebookInstancesInput {
19109	s.SortOrder = &v
19110	return s
19111}
19112
19113// SetStatusEquals sets the StatusEquals field's value.
19114func (s *ListNotebookInstancesInput) SetStatusEquals(v string) *ListNotebookInstancesInput {
19115	s.StatusEquals = &v
19116	return s
19117}
19118
19119type ListNotebookInstancesOutput struct {
19120	_ struct{} `type:"structure"`
19121
19122	// If the response to the previous ListNotebookInstances request was truncated,
19123	// Amazon SageMaker returns this token. To retrieve the next set of notebook
19124	// instances, use the token in the next request.
19125	NextToken *string `type:"string"`
19126
19127	// An array of NotebookInstanceSummary objects, one for each notebook instance.
19128	NotebookInstances []*NotebookInstanceSummary `type:"list"`
19129}
19130
19131// String returns the string representation
19132func (s ListNotebookInstancesOutput) String() string {
19133	return awsutil.Prettify(s)
19134}
19135
19136// GoString returns the string representation
19137func (s ListNotebookInstancesOutput) GoString() string {
19138	return s.String()
19139}
19140
19141// SetNextToken sets the NextToken field's value.
19142func (s *ListNotebookInstancesOutput) SetNextToken(v string) *ListNotebookInstancesOutput {
19143	s.NextToken = &v
19144	return s
19145}
19146
19147// SetNotebookInstances sets the NotebookInstances field's value.
19148func (s *ListNotebookInstancesOutput) SetNotebookInstances(v []*NotebookInstanceSummary) *ListNotebookInstancesOutput {
19149	s.NotebookInstances = v
19150	return s
19151}
19152
19153type ListSubscribedWorkteamsInput struct {
19154	_ struct{} `type:"structure"`
19155
19156	// The maximum number of work teams to return in each page of the response.
19157	MaxResults *int64 `min:"1" type:"integer"`
19158
19159	// A string in the work team name. This filter returns only work teams whose
19160	// name contains the specified string.
19161	NameContains *string `min:"1" type:"string"`
19162
19163	// If the result of the previous ListSubscribedWorkteams request was truncated,
19164	// the response includes a NextToken. To retrieve the next set of labeling jobs,
19165	// use the token in the next request.
19166	NextToken *string `type:"string"`
19167}
19168
19169// String returns the string representation
19170func (s ListSubscribedWorkteamsInput) String() string {
19171	return awsutil.Prettify(s)
19172}
19173
19174// GoString returns the string representation
19175func (s ListSubscribedWorkteamsInput) GoString() string {
19176	return s.String()
19177}
19178
19179// Validate inspects the fields of the type to determine if they are valid.
19180func (s *ListSubscribedWorkteamsInput) Validate() error {
19181	invalidParams := request.ErrInvalidParams{Context: "ListSubscribedWorkteamsInput"}
19182	if s.MaxResults != nil && *s.MaxResults < 1 {
19183		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
19184	}
19185	if s.NameContains != nil && len(*s.NameContains) < 1 {
19186		invalidParams.Add(request.NewErrParamMinLen("NameContains", 1))
19187	}
19188
19189	if invalidParams.Len() > 0 {
19190		return invalidParams
19191	}
19192	return nil
19193}
19194
19195// SetMaxResults sets the MaxResults field's value.
19196func (s *ListSubscribedWorkteamsInput) SetMaxResults(v int64) *ListSubscribedWorkteamsInput {
19197	s.MaxResults = &v
19198	return s
19199}
19200
19201// SetNameContains sets the NameContains field's value.
19202func (s *ListSubscribedWorkteamsInput) SetNameContains(v string) *ListSubscribedWorkteamsInput {
19203	s.NameContains = &v
19204	return s
19205}
19206
19207// SetNextToken sets the NextToken field's value.
19208func (s *ListSubscribedWorkteamsInput) SetNextToken(v string) *ListSubscribedWorkteamsInput {
19209	s.NextToken = &v
19210	return s
19211}
19212
19213type ListSubscribedWorkteamsOutput struct {
19214	_ struct{} `type:"structure"`
19215
19216	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
19217	// the next set of work teams, use it in the subsequent request.
19218	NextToken *string `type:"string"`
19219
19220	// An array of Workteam objects, each describing a work team.
19221	//
19222	// SubscribedWorkteams is a required field
19223	SubscribedWorkteams []*SubscribedWorkteam `type:"list" required:"true"`
19224}
19225
19226// String returns the string representation
19227func (s ListSubscribedWorkteamsOutput) String() string {
19228	return awsutil.Prettify(s)
19229}
19230
19231// GoString returns the string representation
19232func (s ListSubscribedWorkteamsOutput) GoString() string {
19233	return s.String()
19234}
19235
19236// SetNextToken sets the NextToken field's value.
19237func (s *ListSubscribedWorkteamsOutput) SetNextToken(v string) *ListSubscribedWorkteamsOutput {
19238	s.NextToken = &v
19239	return s
19240}
19241
19242// SetSubscribedWorkteams sets the SubscribedWorkteams field's value.
19243func (s *ListSubscribedWorkteamsOutput) SetSubscribedWorkteams(v []*SubscribedWorkteam) *ListSubscribedWorkteamsOutput {
19244	s.SubscribedWorkteams = v
19245	return s
19246}
19247
19248type ListTagsInput struct {
19249	_ struct{} `type:"structure"`
19250
19251	// Maximum number of tags to return.
19252	MaxResults *int64 `min:"50" type:"integer"`
19253
19254	// If the response to the previous ListTags request is truncated, Amazon SageMaker
19255	// returns this token. To retrieve the next set of tags, use it in the subsequent
19256	// request.
19257	NextToken *string `type:"string"`
19258
19259	// The Amazon Resource Name (ARN) of the resource whose tags you want to retrieve.
19260	//
19261	// ResourceArn is a required field
19262	ResourceArn *string `type:"string" required:"true"`
19263}
19264
19265// String returns the string representation
19266func (s ListTagsInput) String() string {
19267	return awsutil.Prettify(s)
19268}
19269
19270// GoString returns the string representation
19271func (s ListTagsInput) GoString() string {
19272	return s.String()
19273}
19274
19275// Validate inspects the fields of the type to determine if they are valid.
19276func (s *ListTagsInput) Validate() error {
19277	invalidParams := request.ErrInvalidParams{Context: "ListTagsInput"}
19278	if s.MaxResults != nil && *s.MaxResults < 50 {
19279		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 50))
19280	}
19281	if s.ResourceArn == nil {
19282		invalidParams.Add(request.NewErrParamRequired("ResourceArn"))
19283	}
19284
19285	if invalidParams.Len() > 0 {
19286		return invalidParams
19287	}
19288	return nil
19289}
19290
19291// SetMaxResults sets the MaxResults field's value.
19292func (s *ListTagsInput) SetMaxResults(v int64) *ListTagsInput {
19293	s.MaxResults = &v
19294	return s
19295}
19296
19297// SetNextToken sets the NextToken field's value.
19298func (s *ListTagsInput) SetNextToken(v string) *ListTagsInput {
19299	s.NextToken = &v
19300	return s
19301}
19302
19303// SetResourceArn sets the ResourceArn field's value.
19304func (s *ListTagsInput) SetResourceArn(v string) *ListTagsInput {
19305	s.ResourceArn = &v
19306	return s
19307}
19308
19309type ListTagsOutput struct {
19310	_ struct{} `type:"structure"`
19311
19312	// If response is truncated, Amazon SageMaker includes a token in the response.
19313	// You can use this token in your subsequent request to fetch next set of tokens.
19314	NextToken *string `type:"string"`
19315
19316	// An array of Tag objects, each with a tag key and a value.
19317	Tags []*Tag `type:"list"`
19318}
19319
19320// String returns the string representation
19321func (s ListTagsOutput) String() string {
19322	return awsutil.Prettify(s)
19323}
19324
19325// GoString returns the string representation
19326func (s ListTagsOutput) GoString() string {
19327	return s.String()
19328}
19329
19330// SetNextToken sets the NextToken field's value.
19331func (s *ListTagsOutput) SetNextToken(v string) *ListTagsOutput {
19332	s.NextToken = &v
19333	return s
19334}
19335
19336// SetTags sets the Tags field's value.
19337func (s *ListTagsOutput) SetTags(v []*Tag) *ListTagsOutput {
19338	s.Tags = v
19339	return s
19340}
19341
19342type ListTrainingJobsForHyperParameterTuningJobInput struct {
19343	_ struct{} `type:"structure"`
19344
19345	// The name of the tuning job whose training jobs you want to list.
19346	//
19347	// HyperParameterTuningJobName is a required field
19348	HyperParameterTuningJobName *string `min:"1" type:"string" required:"true"`
19349
19350	// The maximum number of training jobs to return. The default value is 10.
19351	MaxResults *int64 `min:"1" type:"integer"`
19352
19353	// If the result of the previous ListTrainingJobsForHyperParameterTuningJob
19354	// request was truncated, the response includes a NextToken. To retrieve the
19355	// next set of training jobs, use the token in the next request.
19356	NextToken *string `type:"string"`
19357
19358	// The field to sort results by. The default is Name.
19359	//
19360	// If the value of this field is FinalObjectiveMetricValue, any training jobs
19361	// that did not return an objective metric are not listed.
19362	SortBy *string `type:"string" enum:"TrainingJobSortByOptions"`
19363
19364	// The sort order for results. The default is Ascending.
19365	SortOrder *string `type:"string" enum:"SortOrder"`
19366
19367	// A filter that returns only training jobs with the specified status.
19368	StatusEquals *string `type:"string" enum:"TrainingJobStatus"`
19369}
19370
19371// String returns the string representation
19372func (s ListTrainingJobsForHyperParameterTuningJobInput) String() string {
19373	return awsutil.Prettify(s)
19374}
19375
19376// GoString returns the string representation
19377func (s ListTrainingJobsForHyperParameterTuningJobInput) GoString() string {
19378	return s.String()
19379}
19380
19381// Validate inspects the fields of the type to determine if they are valid.
19382func (s *ListTrainingJobsForHyperParameterTuningJobInput) Validate() error {
19383	invalidParams := request.ErrInvalidParams{Context: "ListTrainingJobsForHyperParameterTuningJobInput"}
19384	if s.HyperParameterTuningJobName == nil {
19385		invalidParams.Add(request.NewErrParamRequired("HyperParameterTuningJobName"))
19386	}
19387	if s.HyperParameterTuningJobName != nil && len(*s.HyperParameterTuningJobName) < 1 {
19388		invalidParams.Add(request.NewErrParamMinLen("HyperParameterTuningJobName", 1))
19389	}
19390	if s.MaxResults != nil && *s.MaxResults < 1 {
19391		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
19392	}
19393
19394	if invalidParams.Len() > 0 {
19395		return invalidParams
19396	}
19397	return nil
19398}
19399
19400// SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value.
19401func (s *ListTrainingJobsForHyperParameterTuningJobInput) SetHyperParameterTuningJobName(v string) *ListTrainingJobsForHyperParameterTuningJobInput {
19402	s.HyperParameterTuningJobName = &v
19403	return s
19404}
19405
19406// SetMaxResults sets the MaxResults field's value.
19407func (s *ListTrainingJobsForHyperParameterTuningJobInput) SetMaxResults(v int64) *ListTrainingJobsForHyperParameterTuningJobInput {
19408	s.MaxResults = &v
19409	return s
19410}
19411
19412// SetNextToken sets the NextToken field's value.
19413func (s *ListTrainingJobsForHyperParameterTuningJobInput) SetNextToken(v string) *ListTrainingJobsForHyperParameterTuningJobInput {
19414	s.NextToken = &v
19415	return s
19416}
19417
19418// SetSortBy sets the SortBy field's value.
19419func (s *ListTrainingJobsForHyperParameterTuningJobInput) SetSortBy(v string) *ListTrainingJobsForHyperParameterTuningJobInput {
19420	s.SortBy = &v
19421	return s
19422}
19423
19424// SetSortOrder sets the SortOrder field's value.
19425func (s *ListTrainingJobsForHyperParameterTuningJobInput) SetSortOrder(v string) *ListTrainingJobsForHyperParameterTuningJobInput {
19426	s.SortOrder = &v
19427	return s
19428}
19429
19430// SetStatusEquals sets the StatusEquals field's value.
19431func (s *ListTrainingJobsForHyperParameterTuningJobInput) SetStatusEquals(v string) *ListTrainingJobsForHyperParameterTuningJobInput {
19432	s.StatusEquals = &v
19433	return s
19434}
19435
19436type ListTrainingJobsForHyperParameterTuningJobOutput struct {
19437	_ struct{} `type:"structure"`
19438
19439	// If the result of this ListTrainingJobsForHyperParameterTuningJob request
19440	// was truncated, the response includes a NextToken. To retrieve the next set
19441	// of training jobs, use the token in the next request.
19442	NextToken *string `type:"string"`
19443
19444	// A list of TrainingJobSummary objects that describe the training jobs that
19445	// the ListTrainingJobsForHyperParameterTuningJob request returned.
19446	//
19447	// TrainingJobSummaries is a required field
19448	TrainingJobSummaries []*HyperParameterTrainingJobSummary `type:"list" required:"true"`
19449}
19450
19451// String returns the string representation
19452func (s ListTrainingJobsForHyperParameterTuningJobOutput) String() string {
19453	return awsutil.Prettify(s)
19454}
19455
19456// GoString returns the string representation
19457func (s ListTrainingJobsForHyperParameterTuningJobOutput) GoString() string {
19458	return s.String()
19459}
19460
19461// SetNextToken sets the NextToken field's value.
19462func (s *ListTrainingJobsForHyperParameterTuningJobOutput) SetNextToken(v string) *ListTrainingJobsForHyperParameterTuningJobOutput {
19463	s.NextToken = &v
19464	return s
19465}
19466
19467// SetTrainingJobSummaries sets the TrainingJobSummaries field's value.
19468func (s *ListTrainingJobsForHyperParameterTuningJobOutput) SetTrainingJobSummaries(v []*HyperParameterTrainingJobSummary) *ListTrainingJobsForHyperParameterTuningJobOutput {
19469	s.TrainingJobSummaries = v
19470	return s
19471}
19472
19473type ListTrainingJobsInput struct {
19474	_ struct{} `type:"structure"`
19475
19476	// A filter that returns only training jobs created after the specified time
19477	// (timestamp).
19478	CreationTimeAfter *time.Time `type:"timestamp"`
19479
19480	// A filter that returns only training jobs created before the specified time
19481	// (timestamp).
19482	CreationTimeBefore *time.Time `type:"timestamp"`
19483
19484	// A filter that returns only training jobs modified after the specified time
19485	// (timestamp).
19486	LastModifiedTimeAfter *time.Time `type:"timestamp"`
19487
19488	// A filter that returns only training jobs modified before the specified time
19489	// (timestamp).
19490	LastModifiedTimeBefore *time.Time `type:"timestamp"`
19491
19492	// The maximum number of training jobs to return in the response.
19493	MaxResults *int64 `min:"1" type:"integer"`
19494
19495	// A string in the training job name. This filter returns only training jobs
19496	// whose name contains the specified string.
19497	NameContains *string `type:"string"`
19498
19499	// If the result of the previous ListTrainingJobs request was truncated, the
19500	// response includes a NextToken. To retrieve the next set of training jobs,
19501	// use the token in the next request.
19502	NextToken *string `type:"string"`
19503
19504	// The field to sort results by. The default is CreationTime.
19505	SortBy *string `type:"string" enum:"SortBy"`
19506
19507	// The sort order for results. The default is Ascending.
19508	SortOrder *string `type:"string" enum:"SortOrder"`
19509
19510	// A filter that retrieves only training jobs with a specific status.
19511	StatusEquals *string `type:"string" enum:"TrainingJobStatus"`
19512}
19513
19514// String returns the string representation
19515func (s ListTrainingJobsInput) String() string {
19516	return awsutil.Prettify(s)
19517}
19518
19519// GoString returns the string representation
19520func (s ListTrainingJobsInput) GoString() string {
19521	return s.String()
19522}
19523
19524// Validate inspects the fields of the type to determine if they are valid.
19525func (s *ListTrainingJobsInput) Validate() error {
19526	invalidParams := request.ErrInvalidParams{Context: "ListTrainingJobsInput"}
19527	if s.MaxResults != nil && *s.MaxResults < 1 {
19528		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
19529	}
19530
19531	if invalidParams.Len() > 0 {
19532		return invalidParams
19533	}
19534	return nil
19535}
19536
19537// SetCreationTimeAfter sets the CreationTimeAfter field's value.
19538func (s *ListTrainingJobsInput) SetCreationTimeAfter(v time.Time) *ListTrainingJobsInput {
19539	s.CreationTimeAfter = &v
19540	return s
19541}
19542
19543// SetCreationTimeBefore sets the CreationTimeBefore field's value.
19544func (s *ListTrainingJobsInput) SetCreationTimeBefore(v time.Time) *ListTrainingJobsInput {
19545	s.CreationTimeBefore = &v
19546	return s
19547}
19548
19549// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
19550func (s *ListTrainingJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListTrainingJobsInput {
19551	s.LastModifiedTimeAfter = &v
19552	return s
19553}
19554
19555// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
19556func (s *ListTrainingJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListTrainingJobsInput {
19557	s.LastModifiedTimeBefore = &v
19558	return s
19559}
19560
19561// SetMaxResults sets the MaxResults field's value.
19562func (s *ListTrainingJobsInput) SetMaxResults(v int64) *ListTrainingJobsInput {
19563	s.MaxResults = &v
19564	return s
19565}
19566
19567// SetNameContains sets the NameContains field's value.
19568func (s *ListTrainingJobsInput) SetNameContains(v string) *ListTrainingJobsInput {
19569	s.NameContains = &v
19570	return s
19571}
19572
19573// SetNextToken sets the NextToken field's value.
19574func (s *ListTrainingJobsInput) SetNextToken(v string) *ListTrainingJobsInput {
19575	s.NextToken = &v
19576	return s
19577}
19578
19579// SetSortBy sets the SortBy field's value.
19580func (s *ListTrainingJobsInput) SetSortBy(v string) *ListTrainingJobsInput {
19581	s.SortBy = &v
19582	return s
19583}
19584
19585// SetSortOrder sets the SortOrder field's value.
19586func (s *ListTrainingJobsInput) SetSortOrder(v string) *ListTrainingJobsInput {
19587	s.SortOrder = &v
19588	return s
19589}
19590
19591// SetStatusEquals sets the StatusEquals field's value.
19592func (s *ListTrainingJobsInput) SetStatusEquals(v string) *ListTrainingJobsInput {
19593	s.StatusEquals = &v
19594	return s
19595}
19596
19597type ListTrainingJobsOutput struct {
19598	_ struct{} `type:"structure"`
19599
19600	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
19601	// the next set of training jobs, use it in the subsequent request.
19602	NextToken *string `type:"string"`
19603
19604	// An array of TrainingJobSummary objects, each listing a training job.
19605	//
19606	// TrainingJobSummaries is a required field
19607	TrainingJobSummaries []*TrainingJobSummary `type:"list" required:"true"`
19608}
19609
19610// String returns the string representation
19611func (s ListTrainingJobsOutput) String() string {
19612	return awsutil.Prettify(s)
19613}
19614
19615// GoString returns the string representation
19616func (s ListTrainingJobsOutput) GoString() string {
19617	return s.String()
19618}
19619
19620// SetNextToken sets the NextToken field's value.
19621func (s *ListTrainingJobsOutput) SetNextToken(v string) *ListTrainingJobsOutput {
19622	s.NextToken = &v
19623	return s
19624}
19625
19626// SetTrainingJobSummaries sets the TrainingJobSummaries field's value.
19627func (s *ListTrainingJobsOutput) SetTrainingJobSummaries(v []*TrainingJobSummary) *ListTrainingJobsOutput {
19628	s.TrainingJobSummaries = v
19629	return s
19630}
19631
19632type ListTransformJobsInput struct {
19633	_ struct{} `type:"structure"`
19634
19635	// A filter that returns only transform jobs created after the specified time.
19636	CreationTimeAfter *time.Time `type:"timestamp"`
19637
19638	// A filter that returns only transform jobs created before the specified time.
19639	CreationTimeBefore *time.Time `type:"timestamp"`
19640
19641	// A filter that returns only transform jobs modified after the specified time.
19642	LastModifiedTimeAfter *time.Time `type:"timestamp"`
19643
19644	// A filter that returns only transform jobs modified before the specified time.
19645	LastModifiedTimeBefore *time.Time `type:"timestamp"`
19646
19647	// The maximum number of transform jobs to return in the response. The default
19648	// value is 10.
19649	MaxResults *int64 `min:"1" type:"integer"`
19650
19651	// A string in the transform job name. This filter returns only transform jobs
19652	// whose name contains the specified string.
19653	NameContains *string `type:"string"`
19654
19655	// If the result of the previous ListTransformJobs request was truncated, the
19656	// response includes a NextToken. To retrieve the next set of transform jobs,
19657	// use the token in the next request.
19658	NextToken *string `type:"string"`
19659
19660	// The field to sort results by. The default is CreationTime.
19661	SortBy *string `type:"string" enum:"SortBy"`
19662
19663	// The sort order for results. The default is Descending.
19664	SortOrder *string `type:"string" enum:"SortOrder"`
19665
19666	// A filter that retrieves only transform jobs with a specific status.
19667	StatusEquals *string `type:"string" enum:"TransformJobStatus"`
19668}
19669
19670// String returns the string representation
19671func (s ListTransformJobsInput) String() string {
19672	return awsutil.Prettify(s)
19673}
19674
19675// GoString returns the string representation
19676func (s ListTransformJobsInput) GoString() string {
19677	return s.String()
19678}
19679
19680// Validate inspects the fields of the type to determine if they are valid.
19681func (s *ListTransformJobsInput) Validate() error {
19682	invalidParams := request.ErrInvalidParams{Context: "ListTransformJobsInput"}
19683	if s.MaxResults != nil && *s.MaxResults < 1 {
19684		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
19685	}
19686
19687	if invalidParams.Len() > 0 {
19688		return invalidParams
19689	}
19690	return nil
19691}
19692
19693// SetCreationTimeAfter sets the CreationTimeAfter field's value.
19694func (s *ListTransformJobsInput) SetCreationTimeAfter(v time.Time) *ListTransformJobsInput {
19695	s.CreationTimeAfter = &v
19696	return s
19697}
19698
19699// SetCreationTimeBefore sets the CreationTimeBefore field's value.
19700func (s *ListTransformJobsInput) SetCreationTimeBefore(v time.Time) *ListTransformJobsInput {
19701	s.CreationTimeBefore = &v
19702	return s
19703}
19704
19705// SetLastModifiedTimeAfter sets the LastModifiedTimeAfter field's value.
19706func (s *ListTransformJobsInput) SetLastModifiedTimeAfter(v time.Time) *ListTransformJobsInput {
19707	s.LastModifiedTimeAfter = &v
19708	return s
19709}
19710
19711// SetLastModifiedTimeBefore sets the LastModifiedTimeBefore field's value.
19712func (s *ListTransformJobsInput) SetLastModifiedTimeBefore(v time.Time) *ListTransformJobsInput {
19713	s.LastModifiedTimeBefore = &v
19714	return s
19715}
19716
19717// SetMaxResults sets the MaxResults field's value.
19718func (s *ListTransformJobsInput) SetMaxResults(v int64) *ListTransformJobsInput {
19719	s.MaxResults = &v
19720	return s
19721}
19722
19723// SetNameContains sets the NameContains field's value.
19724func (s *ListTransformJobsInput) SetNameContains(v string) *ListTransformJobsInput {
19725	s.NameContains = &v
19726	return s
19727}
19728
19729// SetNextToken sets the NextToken field's value.
19730func (s *ListTransformJobsInput) SetNextToken(v string) *ListTransformJobsInput {
19731	s.NextToken = &v
19732	return s
19733}
19734
19735// SetSortBy sets the SortBy field's value.
19736func (s *ListTransformJobsInput) SetSortBy(v string) *ListTransformJobsInput {
19737	s.SortBy = &v
19738	return s
19739}
19740
19741// SetSortOrder sets the SortOrder field's value.
19742func (s *ListTransformJobsInput) SetSortOrder(v string) *ListTransformJobsInput {
19743	s.SortOrder = &v
19744	return s
19745}
19746
19747// SetStatusEquals sets the StatusEquals field's value.
19748func (s *ListTransformJobsInput) SetStatusEquals(v string) *ListTransformJobsInput {
19749	s.StatusEquals = &v
19750	return s
19751}
19752
19753type ListTransformJobsOutput struct {
19754	_ struct{} `type:"structure"`
19755
19756	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
19757	// the next set of transform jobs, use it in the next request.
19758	NextToken *string `type:"string"`
19759
19760	// An array of TransformJobSummary objects.
19761	//
19762	// TransformJobSummaries is a required field
19763	TransformJobSummaries []*TransformJobSummary `type:"list" required:"true"`
19764}
19765
19766// String returns the string representation
19767func (s ListTransformJobsOutput) String() string {
19768	return awsutil.Prettify(s)
19769}
19770
19771// GoString returns the string representation
19772func (s ListTransformJobsOutput) GoString() string {
19773	return s.String()
19774}
19775
19776// SetNextToken sets the NextToken field's value.
19777func (s *ListTransformJobsOutput) SetNextToken(v string) *ListTransformJobsOutput {
19778	s.NextToken = &v
19779	return s
19780}
19781
19782// SetTransformJobSummaries sets the TransformJobSummaries field's value.
19783func (s *ListTransformJobsOutput) SetTransformJobSummaries(v []*TransformJobSummary) *ListTransformJobsOutput {
19784	s.TransformJobSummaries = v
19785	return s
19786}
19787
19788type ListWorkteamsInput struct {
19789	_ struct{} `type:"structure"`
19790
19791	// The maximum number of work teams to return in each page of the response.
19792	MaxResults *int64 `min:"1" type:"integer"`
19793
19794	// A string in the work team's name. This filter returns only work teams whose
19795	// name contains the specified string.
19796	NameContains *string `min:"1" type:"string"`
19797
19798	// If the result of the previous ListWorkteams request was truncated, the response
19799	// includes a NextToken. To retrieve the next set of labeling jobs, use the
19800	// token in the next request.
19801	NextToken *string `type:"string"`
19802
19803	// The field to sort results by. The default is CreationTime.
19804	SortBy *string `type:"string" enum:"ListWorkteamsSortByOptions"`
19805
19806	// The sort order for results. The default is Ascending.
19807	SortOrder *string `type:"string" enum:"SortOrder"`
19808}
19809
19810// String returns the string representation
19811func (s ListWorkteamsInput) String() string {
19812	return awsutil.Prettify(s)
19813}
19814
19815// GoString returns the string representation
19816func (s ListWorkteamsInput) GoString() string {
19817	return s.String()
19818}
19819
19820// Validate inspects the fields of the type to determine if they are valid.
19821func (s *ListWorkteamsInput) Validate() error {
19822	invalidParams := request.ErrInvalidParams{Context: "ListWorkteamsInput"}
19823	if s.MaxResults != nil && *s.MaxResults < 1 {
19824		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
19825	}
19826	if s.NameContains != nil && len(*s.NameContains) < 1 {
19827		invalidParams.Add(request.NewErrParamMinLen("NameContains", 1))
19828	}
19829
19830	if invalidParams.Len() > 0 {
19831		return invalidParams
19832	}
19833	return nil
19834}
19835
19836// SetMaxResults sets the MaxResults field's value.
19837func (s *ListWorkteamsInput) SetMaxResults(v int64) *ListWorkteamsInput {
19838	s.MaxResults = &v
19839	return s
19840}
19841
19842// SetNameContains sets the NameContains field's value.
19843func (s *ListWorkteamsInput) SetNameContains(v string) *ListWorkteamsInput {
19844	s.NameContains = &v
19845	return s
19846}
19847
19848// SetNextToken sets the NextToken field's value.
19849func (s *ListWorkteamsInput) SetNextToken(v string) *ListWorkteamsInput {
19850	s.NextToken = &v
19851	return s
19852}
19853
19854// SetSortBy sets the SortBy field's value.
19855func (s *ListWorkteamsInput) SetSortBy(v string) *ListWorkteamsInput {
19856	s.SortBy = &v
19857	return s
19858}
19859
19860// SetSortOrder sets the SortOrder field's value.
19861func (s *ListWorkteamsInput) SetSortOrder(v string) *ListWorkteamsInput {
19862	s.SortOrder = &v
19863	return s
19864}
19865
19866type ListWorkteamsOutput struct {
19867	_ struct{} `type:"structure"`
19868
19869	// If the response is truncated, Amazon SageMaker returns this token. To retrieve
19870	// the next set of work teams, use it in the subsequent request.
19871	NextToken *string `type:"string"`
19872
19873	// An array of Workteam objects, each describing a work team.
19874	//
19875	// Workteams is a required field
19876	Workteams []*Workteam `type:"list" required:"true"`
19877}
19878
19879// String returns the string representation
19880func (s ListWorkteamsOutput) String() string {
19881	return awsutil.Prettify(s)
19882}
19883
19884// GoString returns the string representation
19885func (s ListWorkteamsOutput) GoString() string {
19886	return s.String()
19887}
19888
19889// SetNextToken sets the NextToken field's value.
19890func (s *ListWorkteamsOutput) SetNextToken(v string) *ListWorkteamsOutput {
19891	s.NextToken = &v
19892	return s
19893}
19894
19895// SetWorkteams sets the Workteams field's value.
19896func (s *ListWorkteamsOutput) SetWorkteams(v []*Workteam) *ListWorkteamsOutput {
19897	s.Workteams = v
19898	return s
19899}
19900
19901// Defines the Amazon Cognito user group that is part of a work team.
19902type MemberDefinition struct {
19903	_ struct{} `type:"structure"`
19904
19905	// The Amazon Cognito user group that is part of the work team.
19906	CognitoMemberDefinition *CognitoMemberDefinition `type:"structure"`
19907}
19908
19909// String returns the string representation
19910func (s MemberDefinition) String() string {
19911	return awsutil.Prettify(s)
19912}
19913
19914// GoString returns the string representation
19915func (s MemberDefinition) GoString() string {
19916	return s.String()
19917}
19918
19919// Validate inspects the fields of the type to determine if they are valid.
19920func (s *MemberDefinition) Validate() error {
19921	invalidParams := request.ErrInvalidParams{Context: "MemberDefinition"}
19922	if s.CognitoMemberDefinition != nil {
19923		if err := s.CognitoMemberDefinition.Validate(); err != nil {
19924			invalidParams.AddNested("CognitoMemberDefinition", err.(request.ErrInvalidParams))
19925		}
19926	}
19927
19928	if invalidParams.Len() > 0 {
19929		return invalidParams
19930	}
19931	return nil
19932}
19933
19934// SetCognitoMemberDefinition sets the CognitoMemberDefinition field's value.
19935func (s *MemberDefinition) SetCognitoMemberDefinition(v *CognitoMemberDefinition) *MemberDefinition {
19936	s.CognitoMemberDefinition = v
19937	return s
19938}
19939
19940// The name, value, and date and time of a metric that was emitted to Amazon
19941// CloudWatch.
19942type MetricData struct {
19943	_ struct{} `type:"structure"`
19944
19945	// The name of the metric.
19946	MetricName *string `min:"1" type:"string"`
19947
19948	// The date and time that the algorithm emitted the metric.
19949	Timestamp *time.Time `type:"timestamp"`
19950
19951	// The value of the metric.
19952	Value *float64 `type:"float"`
19953}
19954
19955// String returns the string representation
19956func (s MetricData) String() string {
19957	return awsutil.Prettify(s)
19958}
19959
19960// GoString returns the string representation
19961func (s MetricData) GoString() string {
19962	return s.String()
19963}
19964
19965// SetMetricName sets the MetricName field's value.
19966func (s *MetricData) SetMetricName(v string) *MetricData {
19967	s.MetricName = &v
19968	return s
19969}
19970
19971// SetTimestamp sets the Timestamp field's value.
19972func (s *MetricData) SetTimestamp(v time.Time) *MetricData {
19973	s.Timestamp = &v
19974	return s
19975}
19976
19977// SetValue sets the Value field's value.
19978func (s *MetricData) SetValue(v float64) *MetricData {
19979	s.Value = &v
19980	return s
19981}
19982
19983// Specifies a metric that the training algorithm writes to stderr or stdout.
19984// Amazon SageMakerhyperparameter tuning captures all defined metrics. You specify
19985// one metric that a hyperparameter tuning job uses as its objective metric
19986// to choose the best training job.
19987type MetricDefinition struct {
19988	_ struct{} `type:"structure"`
19989
19990	// The name of the metric.
19991	//
19992	// Name is a required field
19993	Name *string `min:"1" type:"string" required:"true"`
19994
19995	// A regular expression that searches the output of a training job and gets
19996	// the value of the metric. For more information about using regular expressions
19997	// to define metrics, see Defining Objective Metrics (https://docs.aws.amazon.com/sagemaker/latest/dg/automatic-model-tuning-define-metrics.html).
19998	//
19999	// Regex is a required field
20000	Regex *string `min:"1" type:"string" required:"true"`
20001}
20002
20003// String returns the string representation
20004func (s MetricDefinition) String() string {
20005	return awsutil.Prettify(s)
20006}
20007
20008// GoString returns the string representation
20009func (s MetricDefinition) GoString() string {
20010	return s.String()
20011}
20012
20013// Validate inspects the fields of the type to determine if they are valid.
20014func (s *MetricDefinition) Validate() error {
20015	invalidParams := request.ErrInvalidParams{Context: "MetricDefinition"}
20016	if s.Name == nil {
20017		invalidParams.Add(request.NewErrParamRequired("Name"))
20018	}
20019	if s.Name != nil && len(*s.Name) < 1 {
20020		invalidParams.Add(request.NewErrParamMinLen("Name", 1))
20021	}
20022	if s.Regex == nil {
20023		invalidParams.Add(request.NewErrParamRequired("Regex"))
20024	}
20025	if s.Regex != nil && len(*s.Regex) < 1 {
20026		invalidParams.Add(request.NewErrParamMinLen("Regex", 1))
20027	}
20028
20029	if invalidParams.Len() > 0 {
20030		return invalidParams
20031	}
20032	return nil
20033}
20034
20035// SetName sets the Name field's value.
20036func (s *MetricDefinition) SetName(v string) *MetricDefinition {
20037	s.Name = &v
20038	return s
20039}
20040
20041// SetRegex sets the Regex field's value.
20042func (s *MetricDefinition) SetRegex(v string) *MetricDefinition {
20043	s.Regex = &v
20044	return s
20045}
20046
20047// Provides information about the location that is configured for storing model
20048// artifacts.
20049type ModelArtifacts struct {
20050	_ struct{} `type:"structure"`
20051
20052	// The path of the S3 object that contains the model artifacts. For example,
20053	// s3://bucket-name/keynameprefix/model.tar.gz.
20054	//
20055	// S3ModelArtifacts is a required field
20056	S3ModelArtifacts *string `type:"string" required:"true"`
20057}
20058
20059// String returns the string representation
20060func (s ModelArtifacts) String() string {
20061	return awsutil.Prettify(s)
20062}
20063
20064// GoString returns the string representation
20065func (s ModelArtifacts) GoString() string {
20066	return s.String()
20067}
20068
20069// SetS3ModelArtifacts sets the S3ModelArtifacts field's value.
20070func (s *ModelArtifacts) SetS3ModelArtifacts(v string) *ModelArtifacts {
20071	s.S3ModelArtifacts = &v
20072	return s
20073}
20074
20075// Describes the Docker container for the model package.
20076type ModelPackageContainerDefinition struct {
20077	_ struct{} `type:"structure"`
20078
20079	// The DNS host name for the Docker container.
20080	ContainerHostname *string `type:"string"`
20081
20082	// The Amazon EC2 Container Registry (Amazon ECR) path where inference code
20083	// is stored.
20084	//
20085	// If you are using your own custom algorithm instead of an algorithm provided
20086	// by Amazon SageMaker, the inference code must meet Amazon SageMaker requirements.
20087	// Amazon SageMaker supports both registry/repository[:tag] and registry/repository[@digest]
20088	// image path formats. For more information, see Using Your Own Algorithms with
20089	// Amazon SageMaker (https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html).
20090	//
20091	// Image is a required field
20092	Image *string `type:"string" required:"true"`
20093
20094	// An MD5 hash of the training algorithm that identifies the Docker image used
20095	// for training.
20096	ImageDigest *string `type:"string"`
20097
20098	// The Amazon S3 path where the model artifacts, which result from model training,
20099	// are stored. This path must point to a single gzip compressed tar archive
20100	// (.tar.gz suffix).
20101	ModelDataUrl *string `type:"string"`
20102
20103	// The AWS Marketplace product ID of the model package.
20104	ProductId *string `type:"string"`
20105}
20106
20107// String returns the string representation
20108func (s ModelPackageContainerDefinition) String() string {
20109	return awsutil.Prettify(s)
20110}
20111
20112// GoString returns the string representation
20113func (s ModelPackageContainerDefinition) GoString() string {
20114	return s.String()
20115}
20116
20117// Validate inspects the fields of the type to determine if they are valid.
20118func (s *ModelPackageContainerDefinition) Validate() error {
20119	invalidParams := request.ErrInvalidParams{Context: "ModelPackageContainerDefinition"}
20120	if s.Image == nil {
20121		invalidParams.Add(request.NewErrParamRequired("Image"))
20122	}
20123
20124	if invalidParams.Len() > 0 {
20125		return invalidParams
20126	}
20127	return nil
20128}
20129
20130// SetContainerHostname sets the ContainerHostname field's value.
20131func (s *ModelPackageContainerDefinition) SetContainerHostname(v string) *ModelPackageContainerDefinition {
20132	s.ContainerHostname = &v
20133	return s
20134}
20135
20136// SetImage sets the Image field's value.
20137func (s *ModelPackageContainerDefinition) SetImage(v string) *ModelPackageContainerDefinition {
20138	s.Image = &v
20139	return s
20140}
20141
20142// SetImageDigest sets the ImageDigest field's value.
20143func (s *ModelPackageContainerDefinition) SetImageDigest(v string) *ModelPackageContainerDefinition {
20144	s.ImageDigest = &v
20145	return s
20146}
20147
20148// SetModelDataUrl sets the ModelDataUrl field's value.
20149func (s *ModelPackageContainerDefinition) SetModelDataUrl(v string) *ModelPackageContainerDefinition {
20150	s.ModelDataUrl = &v
20151	return s
20152}
20153
20154// SetProductId sets the ProductId field's value.
20155func (s *ModelPackageContainerDefinition) SetProductId(v string) *ModelPackageContainerDefinition {
20156	s.ProductId = &v
20157	return s
20158}
20159
20160// Specifies the validation and image scan statuses of the model package.
20161type ModelPackageStatusDetails struct {
20162	_ struct{} `type:"structure"`
20163
20164	// The status of the scan of the Docker image container for the model package.
20165	ImageScanStatuses []*ModelPackageStatusItem `type:"list"`
20166
20167	// The validation status of the model package.
20168	//
20169	// ValidationStatuses is a required field
20170	ValidationStatuses []*ModelPackageStatusItem `type:"list" required:"true"`
20171}
20172
20173// String returns the string representation
20174func (s ModelPackageStatusDetails) String() string {
20175	return awsutil.Prettify(s)
20176}
20177
20178// GoString returns the string representation
20179func (s ModelPackageStatusDetails) GoString() string {
20180	return s.String()
20181}
20182
20183// SetImageScanStatuses sets the ImageScanStatuses field's value.
20184func (s *ModelPackageStatusDetails) SetImageScanStatuses(v []*ModelPackageStatusItem) *ModelPackageStatusDetails {
20185	s.ImageScanStatuses = v
20186	return s
20187}
20188
20189// SetValidationStatuses sets the ValidationStatuses field's value.
20190func (s *ModelPackageStatusDetails) SetValidationStatuses(v []*ModelPackageStatusItem) *ModelPackageStatusDetails {
20191	s.ValidationStatuses = v
20192	return s
20193}
20194
20195// Represents the overall status of a model package.
20196type ModelPackageStatusItem struct {
20197	_ struct{} `type:"structure"`
20198
20199	// if the overall status is Failed, the reason for the failure.
20200	FailureReason *string `type:"string"`
20201
20202	// The name of the model package for which the overall status is being reported.
20203	//
20204	// Name is a required field
20205	Name *string `min:"1" type:"string" required:"true"`
20206
20207	// The current status.
20208	//
20209	// Status is a required field
20210	Status *string `type:"string" required:"true" enum:"DetailedModelPackageStatus"`
20211}
20212
20213// String returns the string representation
20214func (s ModelPackageStatusItem) String() string {
20215	return awsutil.Prettify(s)
20216}
20217
20218// GoString returns the string representation
20219func (s ModelPackageStatusItem) GoString() string {
20220	return s.String()
20221}
20222
20223// SetFailureReason sets the FailureReason field's value.
20224func (s *ModelPackageStatusItem) SetFailureReason(v string) *ModelPackageStatusItem {
20225	s.FailureReason = &v
20226	return s
20227}
20228
20229// SetName sets the Name field's value.
20230func (s *ModelPackageStatusItem) SetName(v string) *ModelPackageStatusItem {
20231	s.Name = &v
20232	return s
20233}
20234
20235// SetStatus sets the Status field's value.
20236func (s *ModelPackageStatusItem) SetStatus(v string) *ModelPackageStatusItem {
20237	s.Status = &v
20238	return s
20239}
20240
20241// Provides summary information about a model package.
20242type ModelPackageSummary struct {
20243	_ struct{} `type:"structure"`
20244
20245	// A timestamp that shows when the model package was created.
20246	//
20247	// CreationTime is a required field
20248	CreationTime *time.Time `type:"timestamp" required:"true"`
20249
20250	// The Amazon Resource Name (ARN) of the model package.
20251	//
20252	// ModelPackageArn is a required field
20253	ModelPackageArn *string `min:"1" type:"string" required:"true"`
20254
20255	// A brief description of the model package.
20256	ModelPackageDescription *string `type:"string"`
20257
20258	// The name of the model package.
20259	//
20260	// ModelPackageName is a required field
20261	ModelPackageName *string `min:"1" type:"string" required:"true"`
20262
20263	// The overall status of the model package.
20264	//
20265	// ModelPackageStatus is a required field
20266	ModelPackageStatus *string `type:"string" required:"true" enum:"ModelPackageStatus"`
20267}
20268
20269// String returns the string representation
20270func (s ModelPackageSummary) String() string {
20271	return awsutil.Prettify(s)
20272}
20273
20274// GoString returns the string representation
20275func (s ModelPackageSummary) GoString() string {
20276	return s.String()
20277}
20278
20279// SetCreationTime sets the CreationTime field's value.
20280func (s *ModelPackageSummary) SetCreationTime(v time.Time) *ModelPackageSummary {
20281	s.CreationTime = &v
20282	return s
20283}
20284
20285// SetModelPackageArn sets the ModelPackageArn field's value.
20286func (s *ModelPackageSummary) SetModelPackageArn(v string) *ModelPackageSummary {
20287	s.ModelPackageArn = &v
20288	return s
20289}
20290
20291// SetModelPackageDescription sets the ModelPackageDescription field's value.
20292func (s *ModelPackageSummary) SetModelPackageDescription(v string) *ModelPackageSummary {
20293	s.ModelPackageDescription = &v
20294	return s
20295}
20296
20297// SetModelPackageName sets the ModelPackageName field's value.
20298func (s *ModelPackageSummary) SetModelPackageName(v string) *ModelPackageSummary {
20299	s.ModelPackageName = &v
20300	return s
20301}
20302
20303// SetModelPackageStatus sets the ModelPackageStatus field's value.
20304func (s *ModelPackageSummary) SetModelPackageStatus(v string) *ModelPackageSummary {
20305	s.ModelPackageStatus = &v
20306	return s
20307}
20308
20309// Contains data, such as the inputs and targeted instance types that are used
20310// in the process of validating the model package.
20311//
20312// The data provided in the validation profile is made available to your buyers
20313// on AWS Marketplace.
20314type ModelPackageValidationProfile struct {
20315	_ struct{} `type:"structure"`
20316
20317	// The name of the profile for the model package.
20318	//
20319	// ProfileName is a required field
20320	ProfileName *string `min:"1" type:"string" required:"true"`
20321
20322	// The TransformJobDefinition object that describes the transform job used for
20323	// the validation of the model package.
20324	//
20325	// TransformJobDefinition is a required field
20326	TransformJobDefinition *TransformJobDefinition `type:"structure" required:"true"`
20327}
20328
20329// String returns the string representation
20330func (s ModelPackageValidationProfile) String() string {
20331	return awsutil.Prettify(s)
20332}
20333
20334// GoString returns the string representation
20335func (s ModelPackageValidationProfile) GoString() string {
20336	return s.String()
20337}
20338
20339// Validate inspects the fields of the type to determine if they are valid.
20340func (s *ModelPackageValidationProfile) Validate() error {
20341	invalidParams := request.ErrInvalidParams{Context: "ModelPackageValidationProfile"}
20342	if s.ProfileName == nil {
20343		invalidParams.Add(request.NewErrParamRequired("ProfileName"))
20344	}
20345	if s.ProfileName != nil && len(*s.ProfileName) < 1 {
20346		invalidParams.Add(request.NewErrParamMinLen("ProfileName", 1))
20347	}
20348	if s.TransformJobDefinition == nil {
20349		invalidParams.Add(request.NewErrParamRequired("TransformJobDefinition"))
20350	}
20351	if s.TransformJobDefinition != nil {
20352		if err := s.TransformJobDefinition.Validate(); err != nil {
20353			invalidParams.AddNested("TransformJobDefinition", err.(request.ErrInvalidParams))
20354		}
20355	}
20356
20357	if invalidParams.Len() > 0 {
20358		return invalidParams
20359	}
20360	return nil
20361}
20362
20363// SetProfileName sets the ProfileName field's value.
20364func (s *ModelPackageValidationProfile) SetProfileName(v string) *ModelPackageValidationProfile {
20365	s.ProfileName = &v
20366	return s
20367}
20368
20369// SetTransformJobDefinition sets the TransformJobDefinition field's value.
20370func (s *ModelPackageValidationProfile) SetTransformJobDefinition(v *TransformJobDefinition) *ModelPackageValidationProfile {
20371	s.TransformJobDefinition = v
20372	return s
20373}
20374
20375// Specifies batch transform jobs that Amazon SageMaker runs to validate your
20376// model package.
20377type ModelPackageValidationSpecification struct {
20378	_ struct{} `type:"structure"`
20379
20380	// An array of ModelPackageValidationProfile objects, each of which specifies
20381	// a batch transform job that Amazon SageMaker runs to validate your model package.
20382	//
20383	// ValidationProfiles is a required field
20384	ValidationProfiles []*ModelPackageValidationProfile `min:"1" type:"list" required:"true"`
20385
20386	// The IAM roles to be used for the validation of the model package.
20387	//
20388	// ValidationRole is a required field
20389	ValidationRole *string `min:"20" type:"string" required:"true"`
20390}
20391
20392// String returns the string representation
20393func (s ModelPackageValidationSpecification) String() string {
20394	return awsutil.Prettify(s)
20395}
20396
20397// GoString returns the string representation
20398func (s ModelPackageValidationSpecification) GoString() string {
20399	return s.String()
20400}
20401
20402// Validate inspects the fields of the type to determine if they are valid.
20403func (s *ModelPackageValidationSpecification) Validate() error {
20404	invalidParams := request.ErrInvalidParams{Context: "ModelPackageValidationSpecification"}
20405	if s.ValidationProfiles == nil {
20406		invalidParams.Add(request.NewErrParamRequired("ValidationProfiles"))
20407	}
20408	if s.ValidationProfiles != nil && len(s.ValidationProfiles) < 1 {
20409		invalidParams.Add(request.NewErrParamMinLen("ValidationProfiles", 1))
20410	}
20411	if s.ValidationRole == nil {
20412		invalidParams.Add(request.NewErrParamRequired("ValidationRole"))
20413	}
20414	if s.ValidationRole != nil && len(*s.ValidationRole) < 20 {
20415		invalidParams.Add(request.NewErrParamMinLen("ValidationRole", 20))
20416	}
20417	if s.ValidationProfiles != nil {
20418		for i, v := range s.ValidationProfiles {
20419			if v == nil {
20420				continue
20421			}
20422			if err := v.Validate(); err != nil {
20423				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ValidationProfiles", i), err.(request.ErrInvalidParams))
20424			}
20425		}
20426	}
20427
20428	if invalidParams.Len() > 0 {
20429		return invalidParams
20430	}
20431	return nil
20432}
20433
20434// SetValidationProfiles sets the ValidationProfiles field's value.
20435func (s *ModelPackageValidationSpecification) SetValidationProfiles(v []*ModelPackageValidationProfile) *ModelPackageValidationSpecification {
20436	s.ValidationProfiles = v
20437	return s
20438}
20439
20440// SetValidationRole sets the ValidationRole field's value.
20441func (s *ModelPackageValidationSpecification) SetValidationRole(v string) *ModelPackageValidationSpecification {
20442	s.ValidationRole = &v
20443	return s
20444}
20445
20446// Provides summary information about a model.
20447type ModelSummary struct {
20448	_ struct{} `type:"structure"`
20449
20450	// A timestamp that indicates when the model was created.
20451	//
20452	// CreationTime is a required field
20453	CreationTime *time.Time `type:"timestamp" required:"true"`
20454
20455	// The Amazon Resource Name (ARN) of the model.
20456	//
20457	// ModelArn is a required field
20458	ModelArn *string `min:"20" type:"string" required:"true"`
20459
20460	// The name of the model that you want a summary for.
20461	//
20462	// ModelName is a required field
20463	ModelName *string `type:"string" required:"true"`
20464}
20465
20466// String returns the string representation
20467func (s ModelSummary) String() string {
20468	return awsutil.Prettify(s)
20469}
20470
20471// GoString returns the string representation
20472func (s ModelSummary) GoString() string {
20473	return s.String()
20474}
20475
20476// SetCreationTime sets the CreationTime field's value.
20477func (s *ModelSummary) SetCreationTime(v time.Time) *ModelSummary {
20478	s.CreationTime = &v
20479	return s
20480}
20481
20482// SetModelArn sets the ModelArn field's value.
20483func (s *ModelSummary) SetModelArn(v string) *ModelSummary {
20484	s.ModelArn = &v
20485	return s
20486}
20487
20488// SetModelName sets the ModelName field's value.
20489func (s *ModelSummary) SetModelName(v string) *ModelSummary {
20490	s.ModelName = &v
20491	return s
20492}
20493
20494// Defines a list of NestedFilters objects. To satisfy the conditions specified
20495// in the NestedFilters call, a resource must satisfy the conditions of all
20496// of the filters.
20497//
20498// For example, you could define a NestedFilters using the training job's InputDataConfig
20499// property to filter on Channel objects.
20500//
20501// A NestedFilters object contains multiple filters. For example, to find all
20502// training jobs whose name contains train and that have cat/data in their S3Uri
20503// (specified in InputDataConfig), you need to create a NestedFilters object
20504// that specifies the InputDataConfig property with the following Filter objects:
20505//
20506//    * '{Name:"InputDataConfig.ChannelName", "Operator":"EQUALS", "Value":"train"}',
20507//
20508//    * '{Name:"InputDataConfig.DataSource.S3DataSource.S3Uri", "Operator":"CONTAINS",
20509//    "Value":"cat/data"}'
20510type NestedFilters struct {
20511	_ struct{} `type:"structure"`
20512
20513	// A list of filters. Each filter acts on a property. Filters must contain at
20514	// least one Filters value. For example, a NestedFilters call might include
20515	// a filter on the PropertyName parameter of the InputDataConfig property: InputDataConfig.DataSource.S3DataSource.S3Uri.
20516	//
20517	// Filters is a required field
20518	Filters []*Filter `min:"1" type:"list" required:"true"`
20519
20520	// The name of the property to use in the nested filters. The value must match
20521	// a listed property name, such as InputDataConfig.
20522	//
20523	// NestedPropertyName is a required field
20524	NestedPropertyName *string `min:"1" type:"string" required:"true"`
20525}
20526
20527// String returns the string representation
20528func (s NestedFilters) String() string {
20529	return awsutil.Prettify(s)
20530}
20531
20532// GoString returns the string representation
20533func (s NestedFilters) GoString() string {
20534	return s.String()
20535}
20536
20537// Validate inspects the fields of the type to determine if they are valid.
20538func (s *NestedFilters) Validate() error {
20539	invalidParams := request.ErrInvalidParams{Context: "NestedFilters"}
20540	if s.Filters == nil {
20541		invalidParams.Add(request.NewErrParamRequired("Filters"))
20542	}
20543	if s.Filters != nil && len(s.Filters) < 1 {
20544		invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
20545	}
20546	if s.NestedPropertyName == nil {
20547		invalidParams.Add(request.NewErrParamRequired("NestedPropertyName"))
20548	}
20549	if s.NestedPropertyName != nil && len(*s.NestedPropertyName) < 1 {
20550		invalidParams.Add(request.NewErrParamMinLen("NestedPropertyName", 1))
20551	}
20552	if s.Filters != nil {
20553		for i, v := range s.Filters {
20554			if v == nil {
20555				continue
20556			}
20557			if err := v.Validate(); err != nil {
20558				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
20559			}
20560		}
20561	}
20562
20563	if invalidParams.Len() > 0 {
20564		return invalidParams
20565	}
20566	return nil
20567}
20568
20569// SetFilters sets the Filters field's value.
20570func (s *NestedFilters) SetFilters(v []*Filter) *NestedFilters {
20571	s.Filters = v
20572	return s
20573}
20574
20575// SetNestedPropertyName sets the NestedPropertyName field's value.
20576func (s *NestedFilters) SetNestedPropertyName(v string) *NestedFilters {
20577	s.NestedPropertyName = &v
20578	return s
20579}
20580
20581// Provides a summary of a notebook instance lifecycle configuration.
20582type NotebookInstanceLifecycleConfigSummary struct {
20583	_ struct{} `type:"structure"`
20584
20585	// A timestamp that tells when the lifecycle configuration was created.
20586	CreationTime *time.Time `type:"timestamp"`
20587
20588	// A timestamp that tells when the lifecycle configuration was last modified.
20589	LastModifiedTime *time.Time `type:"timestamp"`
20590
20591	// The Amazon Resource Name (ARN) of the lifecycle configuration.
20592	//
20593	// NotebookInstanceLifecycleConfigArn is a required field
20594	NotebookInstanceLifecycleConfigArn *string `type:"string" required:"true"`
20595
20596	// The name of the lifecycle configuration.
20597	//
20598	// NotebookInstanceLifecycleConfigName is a required field
20599	NotebookInstanceLifecycleConfigName *string `type:"string" required:"true"`
20600}
20601
20602// String returns the string representation
20603func (s NotebookInstanceLifecycleConfigSummary) String() string {
20604	return awsutil.Prettify(s)
20605}
20606
20607// GoString returns the string representation
20608func (s NotebookInstanceLifecycleConfigSummary) GoString() string {
20609	return s.String()
20610}
20611
20612// SetCreationTime sets the CreationTime field's value.
20613func (s *NotebookInstanceLifecycleConfigSummary) SetCreationTime(v time.Time) *NotebookInstanceLifecycleConfigSummary {
20614	s.CreationTime = &v
20615	return s
20616}
20617
20618// SetLastModifiedTime sets the LastModifiedTime field's value.
20619func (s *NotebookInstanceLifecycleConfigSummary) SetLastModifiedTime(v time.Time) *NotebookInstanceLifecycleConfigSummary {
20620	s.LastModifiedTime = &v
20621	return s
20622}
20623
20624// SetNotebookInstanceLifecycleConfigArn sets the NotebookInstanceLifecycleConfigArn field's value.
20625func (s *NotebookInstanceLifecycleConfigSummary) SetNotebookInstanceLifecycleConfigArn(v string) *NotebookInstanceLifecycleConfigSummary {
20626	s.NotebookInstanceLifecycleConfigArn = &v
20627	return s
20628}
20629
20630// SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value.
20631func (s *NotebookInstanceLifecycleConfigSummary) SetNotebookInstanceLifecycleConfigName(v string) *NotebookInstanceLifecycleConfigSummary {
20632	s.NotebookInstanceLifecycleConfigName = &v
20633	return s
20634}
20635
20636// Contains the notebook instance lifecycle configuration script.
20637//
20638// Each lifecycle configuration script has a limit of 16384 characters.
20639//
20640// The value of the $PATH environment variable that is available to both scripts
20641// is /sbin:bin:/usr/sbin:/usr/bin.
20642//
20643// View CloudWatch Logs for notebook instance lifecycle configurations in log
20644// group /aws/sagemaker/NotebookInstances in log stream [notebook-instance-name]/[LifecycleConfigHook].
20645//
20646// Lifecycle configuration scripts cannot run for longer than 5 minutes. If
20647// a script runs for longer than 5 minutes, it fails and the notebook instance
20648// is not created or started.
20649//
20650// For information about notebook instance lifestyle configurations, see Step
20651// 2.1: (Optional) Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html).
20652type NotebookInstanceLifecycleHook struct {
20653	_ struct{} `type:"structure"`
20654
20655	// A base64-encoded string that contains a shell script for a notebook instance
20656	// lifecycle configuration.
20657	Content *string `min:"1" type:"string"`
20658}
20659
20660// String returns the string representation
20661func (s NotebookInstanceLifecycleHook) String() string {
20662	return awsutil.Prettify(s)
20663}
20664
20665// GoString returns the string representation
20666func (s NotebookInstanceLifecycleHook) GoString() string {
20667	return s.String()
20668}
20669
20670// Validate inspects the fields of the type to determine if they are valid.
20671func (s *NotebookInstanceLifecycleHook) Validate() error {
20672	invalidParams := request.ErrInvalidParams{Context: "NotebookInstanceLifecycleHook"}
20673	if s.Content != nil && len(*s.Content) < 1 {
20674		invalidParams.Add(request.NewErrParamMinLen("Content", 1))
20675	}
20676
20677	if invalidParams.Len() > 0 {
20678		return invalidParams
20679	}
20680	return nil
20681}
20682
20683// SetContent sets the Content field's value.
20684func (s *NotebookInstanceLifecycleHook) SetContent(v string) *NotebookInstanceLifecycleHook {
20685	s.Content = &v
20686	return s
20687}
20688
20689// Provides summary information for an Amazon SageMaker notebook instance.
20690type NotebookInstanceSummary struct {
20691	_ struct{} `type:"structure"`
20692
20693	// An array of up to three Git repositories associated with the notebook instance.
20694	// These can be either the names of Git repositories stored as resources in
20695	// your account, or the URL of Git repositories in AWS CodeCommit (http://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html)
20696	// or in any other Git repository. These repositories are cloned at the same
20697	// level as the default repository of your notebook instance. For more information,
20698	// see Associating Git Repositories with Amazon SageMaker Notebook Instances
20699	// (http://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).
20700	AdditionalCodeRepositories []*string `type:"list"`
20701
20702	// A timestamp that shows when the notebook instance was created.
20703	CreationTime *time.Time `type:"timestamp"`
20704
20705	// The Git repository associated with the notebook instance as its default code
20706	// repository. This can be either the name of a Git repository stored as a resource
20707	// in your account, or the URL of a Git repository in AWS CodeCommit (http://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html)
20708	// or in any other Git repository. When you open a notebook instance, it opens
20709	// in the directory that contains this repository. For more information, see
20710	// Associating Git Repositories with Amazon SageMaker Notebook Instances (http://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).
20711	DefaultCodeRepository *string `min:"1" type:"string"`
20712
20713	// The type of ML compute instance that the notebook instance is running on.
20714	InstanceType *string `type:"string" enum:"InstanceType"`
20715
20716	// A timestamp that shows when the notebook instance was last modified.
20717	LastModifiedTime *time.Time `type:"timestamp"`
20718
20719	// The Amazon Resource Name (ARN) of the notebook instance.
20720	//
20721	// NotebookInstanceArn is a required field
20722	NotebookInstanceArn *string `type:"string" required:"true"`
20723
20724	// The name of a notebook instance lifecycle configuration associated with this
20725	// notebook instance.
20726	//
20727	// For information about notebook instance lifestyle configurations, see Step
20728	// 2.1: (Optional) Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html).
20729	NotebookInstanceLifecycleConfigName *string `type:"string"`
20730
20731	// The name of the notebook instance that you want a summary for.
20732	//
20733	// NotebookInstanceName is a required field
20734	NotebookInstanceName *string `type:"string" required:"true"`
20735
20736	// The status of the notebook instance.
20737	NotebookInstanceStatus *string `type:"string" enum:"NotebookInstanceStatus"`
20738
20739	// The URL that you use to connect to the Jupyter instance running in your notebook
20740	// instance.
20741	Url *string `type:"string"`
20742}
20743
20744// String returns the string representation
20745func (s NotebookInstanceSummary) String() string {
20746	return awsutil.Prettify(s)
20747}
20748
20749// GoString returns the string representation
20750func (s NotebookInstanceSummary) GoString() string {
20751	return s.String()
20752}
20753
20754// SetAdditionalCodeRepositories sets the AdditionalCodeRepositories field's value.
20755func (s *NotebookInstanceSummary) SetAdditionalCodeRepositories(v []*string) *NotebookInstanceSummary {
20756	s.AdditionalCodeRepositories = v
20757	return s
20758}
20759
20760// SetCreationTime sets the CreationTime field's value.
20761func (s *NotebookInstanceSummary) SetCreationTime(v time.Time) *NotebookInstanceSummary {
20762	s.CreationTime = &v
20763	return s
20764}
20765
20766// SetDefaultCodeRepository sets the DefaultCodeRepository field's value.
20767func (s *NotebookInstanceSummary) SetDefaultCodeRepository(v string) *NotebookInstanceSummary {
20768	s.DefaultCodeRepository = &v
20769	return s
20770}
20771
20772// SetInstanceType sets the InstanceType field's value.
20773func (s *NotebookInstanceSummary) SetInstanceType(v string) *NotebookInstanceSummary {
20774	s.InstanceType = &v
20775	return s
20776}
20777
20778// SetLastModifiedTime sets the LastModifiedTime field's value.
20779func (s *NotebookInstanceSummary) SetLastModifiedTime(v time.Time) *NotebookInstanceSummary {
20780	s.LastModifiedTime = &v
20781	return s
20782}
20783
20784// SetNotebookInstanceArn sets the NotebookInstanceArn field's value.
20785func (s *NotebookInstanceSummary) SetNotebookInstanceArn(v string) *NotebookInstanceSummary {
20786	s.NotebookInstanceArn = &v
20787	return s
20788}
20789
20790// SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value.
20791func (s *NotebookInstanceSummary) SetNotebookInstanceLifecycleConfigName(v string) *NotebookInstanceSummary {
20792	s.NotebookInstanceLifecycleConfigName = &v
20793	return s
20794}
20795
20796// SetNotebookInstanceName sets the NotebookInstanceName field's value.
20797func (s *NotebookInstanceSummary) SetNotebookInstanceName(v string) *NotebookInstanceSummary {
20798	s.NotebookInstanceName = &v
20799	return s
20800}
20801
20802// SetNotebookInstanceStatus sets the NotebookInstanceStatus field's value.
20803func (s *NotebookInstanceSummary) SetNotebookInstanceStatus(v string) *NotebookInstanceSummary {
20804	s.NotebookInstanceStatus = &v
20805	return s
20806}
20807
20808// SetUrl sets the Url field's value.
20809func (s *NotebookInstanceSummary) SetUrl(v string) *NotebookInstanceSummary {
20810	s.Url = &v
20811	return s
20812}
20813
20814// Configures SNS notifications of available or expiring work items for work
20815// teams.
20816type NotificationConfiguration struct {
20817	_ struct{} `type:"structure"`
20818
20819	// The ARN for the SNS topic to which notifications should be published.
20820	NotificationTopicArn *string `type:"string"`
20821}
20822
20823// String returns the string representation
20824func (s NotificationConfiguration) String() string {
20825	return awsutil.Prettify(s)
20826}
20827
20828// GoString returns the string representation
20829func (s NotificationConfiguration) GoString() string {
20830	return s.String()
20831}
20832
20833// SetNotificationTopicArn sets the NotificationTopicArn field's value.
20834func (s *NotificationConfiguration) SetNotificationTopicArn(v string) *NotificationConfiguration {
20835	s.NotificationTopicArn = &v
20836	return s
20837}
20838
20839// Specifies the number of training jobs that this hyperparameter tuning job
20840// launched, categorized by the status of their objective metric. The objective
20841// metric status shows whether the final objective metric for the training job
20842// has been evaluated by the tuning job and used in the hyperparameter tuning
20843// process.
20844type ObjectiveStatusCounters struct {
20845	_ struct{} `type:"structure"`
20846
20847	// The number of training jobs whose final objective metric was not evaluated
20848	// and used in the hyperparameter tuning process. This typically occurs when
20849	// the training job failed or did not emit an objective metric.
20850	Failed *int64 `type:"integer"`
20851
20852	// The number of training jobs that are in progress and pending evaluation of
20853	// their final objective metric.
20854	Pending *int64 `type:"integer"`
20855
20856	// The number of training jobs whose final objective metric was evaluated by
20857	// the hyperparameter tuning job and used in the hyperparameter tuning process.
20858	Succeeded *int64 `type:"integer"`
20859}
20860
20861// String returns the string representation
20862func (s ObjectiveStatusCounters) String() string {
20863	return awsutil.Prettify(s)
20864}
20865
20866// GoString returns the string representation
20867func (s ObjectiveStatusCounters) GoString() string {
20868	return s.String()
20869}
20870
20871// SetFailed sets the Failed field's value.
20872func (s *ObjectiveStatusCounters) SetFailed(v int64) *ObjectiveStatusCounters {
20873	s.Failed = &v
20874	return s
20875}
20876
20877// SetPending sets the Pending field's value.
20878func (s *ObjectiveStatusCounters) SetPending(v int64) *ObjectiveStatusCounters {
20879	s.Pending = &v
20880	return s
20881}
20882
20883// SetSucceeded sets the Succeeded field's value.
20884func (s *ObjectiveStatusCounters) SetSucceeded(v int64) *ObjectiveStatusCounters {
20885	s.Succeeded = &v
20886	return s
20887}
20888
20889// Contains information about the output location for the compiled model and
20890// the device (target) that the model runs on.
20891type OutputConfig struct {
20892	_ struct{} `type:"structure"`
20893
20894	// Identifies the S3 path where you want Amazon SageMaker to store the model
20895	// artifacts. For example, s3://bucket-name/key-name-prefix.
20896	//
20897	// S3OutputLocation is a required field
20898	S3OutputLocation *string `type:"string" required:"true"`
20899
20900	// Identifies the device that you want to run your model on after it has been
20901	// compiled. For example: ml_c5.
20902	//
20903	// TargetDevice is a required field
20904	TargetDevice *string `type:"string" required:"true" enum:"TargetDevice"`
20905}
20906
20907// String returns the string representation
20908func (s OutputConfig) String() string {
20909	return awsutil.Prettify(s)
20910}
20911
20912// GoString returns the string representation
20913func (s OutputConfig) GoString() string {
20914	return s.String()
20915}
20916
20917// Validate inspects the fields of the type to determine if they are valid.
20918func (s *OutputConfig) Validate() error {
20919	invalidParams := request.ErrInvalidParams{Context: "OutputConfig"}
20920	if s.S3OutputLocation == nil {
20921		invalidParams.Add(request.NewErrParamRequired("S3OutputLocation"))
20922	}
20923	if s.TargetDevice == nil {
20924		invalidParams.Add(request.NewErrParamRequired("TargetDevice"))
20925	}
20926
20927	if invalidParams.Len() > 0 {
20928		return invalidParams
20929	}
20930	return nil
20931}
20932
20933// SetS3OutputLocation sets the S3OutputLocation field's value.
20934func (s *OutputConfig) SetS3OutputLocation(v string) *OutputConfig {
20935	s.S3OutputLocation = &v
20936	return s
20937}
20938
20939// SetTargetDevice sets the TargetDevice field's value.
20940func (s *OutputConfig) SetTargetDevice(v string) *OutputConfig {
20941	s.TargetDevice = &v
20942	return s
20943}
20944
20945// Provides information about how to store model training results (model artifacts).
20946type OutputDataConfig struct {
20947	_ struct{} `type:"structure"`
20948
20949	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
20950	// encrypt the model artifacts at rest using Amazon S3 server-side encryption.
20951	// The KmsKeyId can be any of the following formats:
20952	//
20953	//    * // KMS Key ID "1234abcd-12ab-34cd-56ef-1234567890ab"
20954	//
20955	//    * // Amazon Resource Name (ARN) of a KMS Key "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
20956	//
20957	//    * // KMS Key Alias "alias/ExampleAlias"
20958	//
20959	//    * // Amazon Resource Name (ARN) of a KMS Key Alias "arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias"
20960	//
20961	// If you use a KMS key ID or an alias of your master key, the Amazon SageMaker
20962	// execution role must include permissions to call kms:Encrypt. If you don't
20963	// provide a KMS key ID, Amazon SageMaker uses the default KMS key for Amazon
20964	// S3 for your role's account. Amazon SageMaker uses server-side encryption
20965	// with KMS-managed keys for OutputDataConfig. If you use a bucket policy with
20966	// an s3:PutObject permission that only allows objects with server-side encryption,
20967	// set the condition key of s3:x-amz-server-side-encryption to "aws:kms". For
20968	// more information, see KMS-Managed Encryption Keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html)
20969	// in the Amazon Simple Storage Service Developer Guide.
20970	//
20971	// The KMS key policy must grant permission to the IAM role that you specify
20972	// in your CreateTrainingJob, CreateTransformJob, or CreateHyperParameterTuningJob
20973	// requests. For more information, see Using Key Policies in AWS KMS (http://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html)
20974	// in the AWS Key Management Service Developer Guide.
20975	KmsKeyId *string `type:"string"`
20976
20977	// Identifies the S3 path where you want Amazon SageMaker to store the model
20978	// artifacts. For example, s3://bucket-name/key-name-prefix.
20979	//
20980	// S3OutputPath is a required field
20981	S3OutputPath *string `type:"string" required:"true"`
20982}
20983
20984// String returns the string representation
20985func (s OutputDataConfig) String() string {
20986	return awsutil.Prettify(s)
20987}
20988
20989// GoString returns the string representation
20990func (s OutputDataConfig) GoString() string {
20991	return s.String()
20992}
20993
20994// Validate inspects the fields of the type to determine if they are valid.
20995func (s *OutputDataConfig) Validate() error {
20996	invalidParams := request.ErrInvalidParams{Context: "OutputDataConfig"}
20997	if s.S3OutputPath == nil {
20998		invalidParams.Add(request.NewErrParamRequired("S3OutputPath"))
20999	}
21000
21001	if invalidParams.Len() > 0 {
21002		return invalidParams
21003	}
21004	return nil
21005}
21006
21007// SetKmsKeyId sets the KmsKeyId field's value.
21008func (s *OutputDataConfig) SetKmsKeyId(v string) *OutputDataConfig {
21009	s.KmsKeyId = &v
21010	return s
21011}
21012
21013// SetS3OutputPath sets the S3OutputPath field's value.
21014func (s *OutputDataConfig) SetS3OutputPath(v string) *OutputDataConfig {
21015	s.S3OutputPath = &v
21016	return s
21017}
21018
21019// Defines the possible values for categorical, continuous, and integer hyperparameters
21020// to be used by an algorithm.
21021type ParameterRange struct {
21022	_ struct{} `type:"structure"`
21023
21024	// A CategoricalParameterRangeSpecification object that defines the possible
21025	// values for a categorical hyperparameter.
21026	CategoricalParameterRangeSpecification *CategoricalParameterRangeSpecification `type:"structure"`
21027
21028	// A ContinuousParameterRangeSpecification object that defines the possible
21029	// values for a continuous hyperparameter.
21030	ContinuousParameterRangeSpecification *ContinuousParameterRangeSpecification `type:"structure"`
21031
21032	// A IntegerParameterRangeSpecification object that defines the possible values
21033	// for an integer hyperparameter.
21034	IntegerParameterRangeSpecification *IntegerParameterRangeSpecification `type:"structure"`
21035}
21036
21037// String returns the string representation
21038func (s ParameterRange) String() string {
21039	return awsutil.Prettify(s)
21040}
21041
21042// GoString returns the string representation
21043func (s ParameterRange) GoString() string {
21044	return s.String()
21045}
21046
21047// Validate inspects the fields of the type to determine if they are valid.
21048func (s *ParameterRange) Validate() error {
21049	invalidParams := request.ErrInvalidParams{Context: "ParameterRange"}
21050	if s.CategoricalParameterRangeSpecification != nil {
21051		if err := s.CategoricalParameterRangeSpecification.Validate(); err != nil {
21052			invalidParams.AddNested("CategoricalParameterRangeSpecification", err.(request.ErrInvalidParams))
21053		}
21054	}
21055	if s.ContinuousParameterRangeSpecification != nil {
21056		if err := s.ContinuousParameterRangeSpecification.Validate(); err != nil {
21057			invalidParams.AddNested("ContinuousParameterRangeSpecification", err.(request.ErrInvalidParams))
21058		}
21059	}
21060	if s.IntegerParameterRangeSpecification != nil {
21061		if err := s.IntegerParameterRangeSpecification.Validate(); err != nil {
21062			invalidParams.AddNested("IntegerParameterRangeSpecification", err.(request.ErrInvalidParams))
21063		}
21064	}
21065
21066	if invalidParams.Len() > 0 {
21067		return invalidParams
21068	}
21069	return nil
21070}
21071
21072// SetCategoricalParameterRangeSpecification sets the CategoricalParameterRangeSpecification field's value.
21073func (s *ParameterRange) SetCategoricalParameterRangeSpecification(v *CategoricalParameterRangeSpecification) *ParameterRange {
21074	s.CategoricalParameterRangeSpecification = v
21075	return s
21076}
21077
21078// SetContinuousParameterRangeSpecification sets the ContinuousParameterRangeSpecification field's value.
21079func (s *ParameterRange) SetContinuousParameterRangeSpecification(v *ContinuousParameterRangeSpecification) *ParameterRange {
21080	s.ContinuousParameterRangeSpecification = v
21081	return s
21082}
21083
21084// SetIntegerParameterRangeSpecification sets the IntegerParameterRangeSpecification field's value.
21085func (s *ParameterRange) SetIntegerParameterRangeSpecification(v *IntegerParameterRangeSpecification) *ParameterRange {
21086	s.IntegerParameterRangeSpecification = v
21087	return s
21088}
21089
21090// Specifies ranges of integer, continuous, and categorical hyperparameters
21091// that a hyperparameter tuning job searches. The hyperparameter tuning job
21092// launches training jobs with hyperparameter values within these ranges to
21093// find the combination of values that result in the training job with the best
21094// performance as measured by the objective metric of the hyperparameter tuning
21095// job.
21096//
21097// You can specify a maximum of 20 hyperparameters that a hyperparameter tuning
21098// job can search over. Every possible value of a categorical parameter range
21099// counts against this limit.
21100type ParameterRanges struct {
21101	_ struct{} `type:"structure"`
21102
21103	// The array of CategoricalParameterRange objects that specify ranges of categorical
21104	// hyperparameters that a hyperparameter tuning job searches.
21105	CategoricalParameterRanges []*CategoricalParameterRange `type:"list"`
21106
21107	// The array of ContinuousParameterRange objects that specify ranges of continuous
21108	// hyperparameters that a hyperparameter tuning job searches.
21109	ContinuousParameterRanges []*ContinuousParameterRange `type:"list"`
21110
21111	// The array of IntegerParameterRange objects that specify ranges of integer
21112	// hyperparameters that a hyperparameter tuning job searches.
21113	IntegerParameterRanges []*IntegerParameterRange `type:"list"`
21114}
21115
21116// String returns the string representation
21117func (s ParameterRanges) String() string {
21118	return awsutil.Prettify(s)
21119}
21120
21121// GoString returns the string representation
21122func (s ParameterRanges) GoString() string {
21123	return s.String()
21124}
21125
21126// Validate inspects the fields of the type to determine if they are valid.
21127func (s *ParameterRanges) Validate() error {
21128	invalidParams := request.ErrInvalidParams{Context: "ParameterRanges"}
21129	if s.CategoricalParameterRanges != nil {
21130		for i, v := range s.CategoricalParameterRanges {
21131			if v == nil {
21132				continue
21133			}
21134			if err := v.Validate(); err != nil {
21135				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "CategoricalParameterRanges", i), err.(request.ErrInvalidParams))
21136			}
21137		}
21138	}
21139	if s.ContinuousParameterRanges != nil {
21140		for i, v := range s.ContinuousParameterRanges {
21141			if v == nil {
21142				continue
21143			}
21144			if err := v.Validate(); err != nil {
21145				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "ContinuousParameterRanges", i), err.(request.ErrInvalidParams))
21146			}
21147		}
21148	}
21149	if s.IntegerParameterRanges != nil {
21150		for i, v := range s.IntegerParameterRanges {
21151			if v == nil {
21152				continue
21153			}
21154			if err := v.Validate(); err != nil {
21155				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "IntegerParameterRanges", i), err.(request.ErrInvalidParams))
21156			}
21157		}
21158	}
21159
21160	if invalidParams.Len() > 0 {
21161		return invalidParams
21162	}
21163	return nil
21164}
21165
21166// SetCategoricalParameterRanges sets the CategoricalParameterRanges field's value.
21167func (s *ParameterRanges) SetCategoricalParameterRanges(v []*CategoricalParameterRange) *ParameterRanges {
21168	s.CategoricalParameterRanges = v
21169	return s
21170}
21171
21172// SetContinuousParameterRanges sets the ContinuousParameterRanges field's value.
21173func (s *ParameterRanges) SetContinuousParameterRanges(v []*ContinuousParameterRange) *ParameterRanges {
21174	s.ContinuousParameterRanges = v
21175	return s
21176}
21177
21178// SetIntegerParameterRanges sets the IntegerParameterRanges field's value.
21179func (s *ParameterRanges) SetIntegerParameterRanges(v []*IntegerParameterRange) *ParameterRanges {
21180	s.IntegerParameterRanges = v
21181	return s
21182}
21183
21184// A previously completed or stopped hyperparameter tuning job to be used as
21185// a starting point for a new hyperparameter tuning job.
21186type ParentHyperParameterTuningJob struct {
21187	_ struct{} `type:"structure"`
21188
21189	// The name of the hyperparameter tuning job to be used as a starting point
21190	// for a new hyperparameter tuning job.
21191	HyperParameterTuningJobName *string `min:"1" type:"string"`
21192}
21193
21194// String returns the string representation
21195func (s ParentHyperParameterTuningJob) String() string {
21196	return awsutil.Prettify(s)
21197}
21198
21199// GoString returns the string representation
21200func (s ParentHyperParameterTuningJob) GoString() string {
21201	return s.String()
21202}
21203
21204// Validate inspects the fields of the type to determine if they are valid.
21205func (s *ParentHyperParameterTuningJob) Validate() error {
21206	invalidParams := request.ErrInvalidParams{Context: "ParentHyperParameterTuningJob"}
21207	if s.HyperParameterTuningJobName != nil && len(*s.HyperParameterTuningJobName) < 1 {
21208		invalidParams.Add(request.NewErrParamMinLen("HyperParameterTuningJobName", 1))
21209	}
21210
21211	if invalidParams.Len() > 0 {
21212		return invalidParams
21213	}
21214	return nil
21215}
21216
21217// SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value.
21218func (s *ParentHyperParameterTuningJob) SetHyperParameterTuningJobName(v string) *ParentHyperParameterTuningJob {
21219	s.HyperParameterTuningJobName = &v
21220	return s
21221}
21222
21223// Identifies a model that you want to host and the resources to deploy for
21224// hosting it. If you are deploying multiple models, tell Amazon SageMaker how
21225// to distribute traffic among the models by specifying variant weights.
21226type ProductionVariant struct {
21227	_ struct{} `type:"structure"`
21228
21229	// The size of the Elastic Inference (EI) instance to use for the production
21230	// variant. EI instances provide on-demand GPU computing for inference. For
21231	// more information, see Using Elastic Inference in Amazon SageMaker (http://docs.aws.amazon.com/sagemaker/latest/dg/ei.html).
21232	// For more information, see Using Elastic Inference in Amazon SageMaker (http://docs.aws.amazon.com/sagemaker/latest/dg/ei.html).
21233	AcceleratorType *string `type:"string" enum:"ProductionVariantAcceleratorType"`
21234
21235	// Number of instances to launch initially.
21236	//
21237	// InitialInstanceCount is a required field
21238	InitialInstanceCount *int64 `min:"1" type:"integer" required:"true"`
21239
21240	// Determines initial traffic distribution among all of the models that you
21241	// specify in the endpoint configuration. The traffic to a production variant
21242	// is determined by the ratio of the VariantWeight to the sum of all VariantWeight
21243	// values across all ProductionVariants. If unspecified, it defaults to 1.0.
21244	InitialVariantWeight *float64 `type:"float"`
21245
21246	// The ML compute instance type.
21247	//
21248	// InstanceType is a required field
21249	InstanceType *string `type:"string" required:"true" enum:"ProductionVariantInstanceType"`
21250
21251	// The name of the model that you want to host. This is the name that you specified
21252	// when creating the model.
21253	//
21254	// ModelName is a required field
21255	ModelName *string `type:"string" required:"true"`
21256
21257	// The name of the production variant.
21258	//
21259	// VariantName is a required field
21260	VariantName *string `type:"string" required:"true"`
21261}
21262
21263// String returns the string representation
21264func (s ProductionVariant) String() string {
21265	return awsutil.Prettify(s)
21266}
21267
21268// GoString returns the string representation
21269func (s ProductionVariant) GoString() string {
21270	return s.String()
21271}
21272
21273// Validate inspects the fields of the type to determine if they are valid.
21274func (s *ProductionVariant) Validate() error {
21275	invalidParams := request.ErrInvalidParams{Context: "ProductionVariant"}
21276	if s.InitialInstanceCount == nil {
21277		invalidParams.Add(request.NewErrParamRequired("InitialInstanceCount"))
21278	}
21279	if s.InitialInstanceCount != nil && *s.InitialInstanceCount < 1 {
21280		invalidParams.Add(request.NewErrParamMinValue("InitialInstanceCount", 1))
21281	}
21282	if s.InstanceType == nil {
21283		invalidParams.Add(request.NewErrParamRequired("InstanceType"))
21284	}
21285	if s.ModelName == nil {
21286		invalidParams.Add(request.NewErrParamRequired("ModelName"))
21287	}
21288	if s.VariantName == nil {
21289		invalidParams.Add(request.NewErrParamRequired("VariantName"))
21290	}
21291
21292	if invalidParams.Len() > 0 {
21293		return invalidParams
21294	}
21295	return nil
21296}
21297
21298// SetAcceleratorType sets the AcceleratorType field's value.
21299func (s *ProductionVariant) SetAcceleratorType(v string) *ProductionVariant {
21300	s.AcceleratorType = &v
21301	return s
21302}
21303
21304// SetInitialInstanceCount sets the InitialInstanceCount field's value.
21305func (s *ProductionVariant) SetInitialInstanceCount(v int64) *ProductionVariant {
21306	s.InitialInstanceCount = &v
21307	return s
21308}
21309
21310// SetInitialVariantWeight sets the InitialVariantWeight field's value.
21311func (s *ProductionVariant) SetInitialVariantWeight(v float64) *ProductionVariant {
21312	s.InitialVariantWeight = &v
21313	return s
21314}
21315
21316// SetInstanceType sets the InstanceType field's value.
21317func (s *ProductionVariant) SetInstanceType(v string) *ProductionVariant {
21318	s.InstanceType = &v
21319	return s
21320}
21321
21322// SetModelName sets the ModelName field's value.
21323func (s *ProductionVariant) SetModelName(v string) *ProductionVariant {
21324	s.ModelName = &v
21325	return s
21326}
21327
21328// SetVariantName sets the VariantName field's value.
21329func (s *ProductionVariant) SetVariantName(v string) *ProductionVariant {
21330	s.VariantName = &v
21331	return s
21332}
21333
21334// Describes weight and capacities for a production variant associated with
21335// an endpoint. If you sent a request to the UpdateEndpointWeightsAndCapacities
21336// API and the endpoint status is Updating, you get different desired and current
21337// values.
21338type ProductionVariantSummary struct {
21339	_ struct{} `type:"structure"`
21340
21341	// The number of instances associated with the variant.
21342	CurrentInstanceCount *int64 `min:"1" type:"integer"`
21343
21344	// The weight associated with the variant.
21345	CurrentWeight *float64 `type:"float"`
21346
21347	// An array of DeployedImage objects that specify the Amazon EC2 Container Registry
21348	// paths of the inference images deployed on instances of this ProductionVariant.
21349	DeployedImages []*DeployedImage `type:"list"`
21350
21351	// The number of instances requested in the UpdateEndpointWeightsAndCapacities
21352	// request.
21353	DesiredInstanceCount *int64 `min:"1" type:"integer"`
21354
21355	// The requested weight, as specified in the UpdateEndpointWeightsAndCapacities
21356	// request.
21357	DesiredWeight *float64 `type:"float"`
21358
21359	// The name of the variant.
21360	//
21361	// VariantName is a required field
21362	VariantName *string `type:"string" required:"true"`
21363}
21364
21365// String returns the string representation
21366func (s ProductionVariantSummary) String() string {
21367	return awsutil.Prettify(s)
21368}
21369
21370// GoString returns the string representation
21371func (s ProductionVariantSummary) GoString() string {
21372	return s.String()
21373}
21374
21375// SetCurrentInstanceCount sets the CurrentInstanceCount field's value.
21376func (s *ProductionVariantSummary) SetCurrentInstanceCount(v int64) *ProductionVariantSummary {
21377	s.CurrentInstanceCount = &v
21378	return s
21379}
21380
21381// SetCurrentWeight sets the CurrentWeight field's value.
21382func (s *ProductionVariantSummary) SetCurrentWeight(v float64) *ProductionVariantSummary {
21383	s.CurrentWeight = &v
21384	return s
21385}
21386
21387// SetDeployedImages sets the DeployedImages field's value.
21388func (s *ProductionVariantSummary) SetDeployedImages(v []*DeployedImage) *ProductionVariantSummary {
21389	s.DeployedImages = v
21390	return s
21391}
21392
21393// SetDesiredInstanceCount sets the DesiredInstanceCount field's value.
21394func (s *ProductionVariantSummary) SetDesiredInstanceCount(v int64) *ProductionVariantSummary {
21395	s.DesiredInstanceCount = &v
21396	return s
21397}
21398
21399// SetDesiredWeight sets the DesiredWeight field's value.
21400func (s *ProductionVariantSummary) SetDesiredWeight(v float64) *ProductionVariantSummary {
21401	s.DesiredWeight = &v
21402	return s
21403}
21404
21405// SetVariantName sets the VariantName field's value.
21406func (s *ProductionVariantSummary) SetVariantName(v string) *ProductionVariantSummary {
21407	s.VariantName = &v
21408	return s
21409}
21410
21411// A type of SuggestionQuery. A suggestion query for retrieving property names
21412// that match the specified hint.
21413type PropertyNameQuery struct {
21414	_ struct{} `type:"structure"`
21415
21416	// Text that is part of a property's name. The property names of hyperparameter,
21417	// metric, and tag key names that begin with the specified text in the PropertyNameHint.
21418	//
21419	// PropertyNameHint is a required field
21420	PropertyNameHint *string `type:"string" required:"true"`
21421}
21422
21423// String returns the string representation
21424func (s PropertyNameQuery) String() string {
21425	return awsutil.Prettify(s)
21426}
21427
21428// GoString returns the string representation
21429func (s PropertyNameQuery) GoString() string {
21430	return s.String()
21431}
21432
21433// Validate inspects the fields of the type to determine if they are valid.
21434func (s *PropertyNameQuery) Validate() error {
21435	invalidParams := request.ErrInvalidParams{Context: "PropertyNameQuery"}
21436	if s.PropertyNameHint == nil {
21437		invalidParams.Add(request.NewErrParamRequired("PropertyNameHint"))
21438	}
21439
21440	if invalidParams.Len() > 0 {
21441		return invalidParams
21442	}
21443	return nil
21444}
21445
21446// SetPropertyNameHint sets the PropertyNameHint field's value.
21447func (s *PropertyNameQuery) SetPropertyNameHint(v string) *PropertyNameQuery {
21448	s.PropertyNameHint = &v
21449	return s
21450}
21451
21452// A property name returned from a GetSearchSuggestions call that specifies
21453// a value in the PropertyNameQuery field.
21454type PropertyNameSuggestion struct {
21455	_ struct{} `type:"structure"`
21456
21457	// A suggested property name based on what you entered in the search textbox
21458	// in the Amazon SageMaker console.
21459	PropertyName *string `min:"1" type:"string"`
21460}
21461
21462// String returns the string representation
21463func (s PropertyNameSuggestion) String() string {
21464	return awsutil.Prettify(s)
21465}
21466
21467// GoString returns the string representation
21468func (s PropertyNameSuggestion) GoString() string {
21469	return s.String()
21470}
21471
21472// SetPropertyName sets the PropertyName field's value.
21473func (s *PropertyNameSuggestion) SetPropertyName(v string) *PropertyNameSuggestion {
21474	s.PropertyName = &v
21475	return s
21476}
21477
21478// Defines the amount of money paid to an Amazon Mechanical Turk worker for
21479// each task performed.
21480//
21481// Use one of the following prices for bounding box tasks. Prices are in US
21482// dollars.
21483//
21484//    * 0.036
21485//
21486//    * 0.048
21487//
21488//    * 0.060
21489//
21490//    * 0.072
21491//
21492//    * 0.120
21493//
21494//    * 0.240
21495//
21496//    * 0.360
21497//
21498//    * 0.480
21499//
21500//    * 0.600
21501//
21502//    * 0.720
21503//
21504//    * 0.840
21505//
21506//    * 0.960
21507//
21508//    * 1.080
21509//
21510//    * 1.200
21511//
21512// Use one of the following prices for image classification, text classification,
21513// and custom tasks. Prices are in US dollars.
21514//
21515//    * 0.012
21516//
21517//    * 0.024
21518//
21519//    * 0.036
21520//
21521//    * 0.048
21522//
21523//    * 0.060
21524//
21525//    * 0.072
21526//
21527//    * 0.120
21528//
21529//    * 0.240
21530//
21531//    * 0.360
21532//
21533//    * 0.480
21534//
21535//    * 0.600
21536//
21537//    * 0.720
21538//
21539//    * 0.840
21540//
21541//    * 0.960
21542//
21543//    * 1.080
21544//
21545//    * 1.200
21546//
21547// Use one of the following prices for semantic segmentation tasks. Prices are
21548// in US dollars.
21549//
21550//    * 0.840
21551//
21552//    * 0.960
21553//
21554//    * 1.080
21555//
21556//    * 1.200
21557type PublicWorkforceTaskPrice struct {
21558	_ struct{} `type:"structure"`
21559
21560	// Defines the amount of money paid to a worker in United States dollars.
21561	AmountInUsd *USD `type:"structure"`
21562}
21563
21564// String returns the string representation
21565func (s PublicWorkforceTaskPrice) String() string {
21566	return awsutil.Prettify(s)
21567}
21568
21569// GoString returns the string representation
21570func (s PublicWorkforceTaskPrice) GoString() string {
21571	return s.String()
21572}
21573
21574// SetAmountInUsd sets the AmountInUsd field's value.
21575func (s *PublicWorkforceTaskPrice) SetAmountInUsd(v *USD) *PublicWorkforceTaskPrice {
21576	s.AmountInUsd = v
21577	return s
21578}
21579
21580type RenderUiTemplateInput struct {
21581	_ struct{} `type:"structure"`
21582
21583	// The Amazon Resource Name (ARN) that has access to the S3 objects that are
21584	// used by the template.
21585	//
21586	// RoleArn is a required field
21587	RoleArn *string `min:"20" type:"string" required:"true"`
21588
21589	// A RenderableTask object containing a representative task to render.
21590	//
21591	// Task is a required field
21592	Task *RenderableTask `type:"structure" required:"true"`
21593
21594	// A Template object containing the worker UI template to render.
21595	//
21596	// UiTemplate is a required field
21597	UiTemplate *UiTemplate `type:"structure" required:"true"`
21598}
21599
21600// String returns the string representation
21601func (s RenderUiTemplateInput) String() string {
21602	return awsutil.Prettify(s)
21603}
21604
21605// GoString returns the string representation
21606func (s RenderUiTemplateInput) GoString() string {
21607	return s.String()
21608}
21609
21610// Validate inspects the fields of the type to determine if they are valid.
21611func (s *RenderUiTemplateInput) Validate() error {
21612	invalidParams := request.ErrInvalidParams{Context: "RenderUiTemplateInput"}
21613	if s.RoleArn == nil {
21614		invalidParams.Add(request.NewErrParamRequired("RoleArn"))
21615	}
21616	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
21617		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
21618	}
21619	if s.Task == nil {
21620		invalidParams.Add(request.NewErrParamRequired("Task"))
21621	}
21622	if s.UiTemplate == nil {
21623		invalidParams.Add(request.NewErrParamRequired("UiTemplate"))
21624	}
21625	if s.Task != nil {
21626		if err := s.Task.Validate(); err != nil {
21627			invalidParams.AddNested("Task", err.(request.ErrInvalidParams))
21628		}
21629	}
21630	if s.UiTemplate != nil {
21631		if err := s.UiTemplate.Validate(); err != nil {
21632			invalidParams.AddNested("UiTemplate", err.(request.ErrInvalidParams))
21633		}
21634	}
21635
21636	if invalidParams.Len() > 0 {
21637		return invalidParams
21638	}
21639	return nil
21640}
21641
21642// SetRoleArn sets the RoleArn field's value.
21643func (s *RenderUiTemplateInput) SetRoleArn(v string) *RenderUiTemplateInput {
21644	s.RoleArn = &v
21645	return s
21646}
21647
21648// SetTask sets the Task field's value.
21649func (s *RenderUiTemplateInput) SetTask(v *RenderableTask) *RenderUiTemplateInput {
21650	s.Task = v
21651	return s
21652}
21653
21654// SetUiTemplate sets the UiTemplate field's value.
21655func (s *RenderUiTemplateInput) SetUiTemplate(v *UiTemplate) *RenderUiTemplateInput {
21656	s.UiTemplate = v
21657	return s
21658}
21659
21660type RenderUiTemplateOutput struct {
21661	_ struct{} `type:"structure"`
21662
21663	// A list of one or more RenderingError objects if any were encountered while
21664	// rendering the template. If there were no errors, the list is empty.
21665	//
21666	// Errors is a required field
21667	Errors []*RenderingError `type:"list" required:"true"`
21668
21669	// A Liquid template that renders the HTML for the worker UI.
21670	//
21671	// RenderedContent is a required field
21672	RenderedContent *string `type:"string" required:"true"`
21673}
21674
21675// String returns the string representation
21676func (s RenderUiTemplateOutput) String() string {
21677	return awsutil.Prettify(s)
21678}
21679
21680// GoString returns the string representation
21681func (s RenderUiTemplateOutput) GoString() string {
21682	return s.String()
21683}
21684
21685// SetErrors sets the Errors field's value.
21686func (s *RenderUiTemplateOutput) SetErrors(v []*RenderingError) *RenderUiTemplateOutput {
21687	s.Errors = v
21688	return s
21689}
21690
21691// SetRenderedContent sets the RenderedContent field's value.
21692func (s *RenderUiTemplateOutput) SetRenderedContent(v string) *RenderUiTemplateOutput {
21693	s.RenderedContent = &v
21694	return s
21695}
21696
21697// Contains input values for a task.
21698type RenderableTask struct {
21699	_ struct{} `type:"structure"`
21700
21701	// A JSON object that contains values for the variables defined in the template.
21702	// It is made available to the template under the substitution variable task.input.
21703	// For example, if you define a variable task.input.text in your template, you
21704	// can supply the variable in the JSON object as "text": "sample text".
21705	//
21706	// Input is a required field
21707	Input *string `min:"2" type:"string" required:"true"`
21708}
21709
21710// String returns the string representation
21711func (s RenderableTask) String() string {
21712	return awsutil.Prettify(s)
21713}
21714
21715// GoString returns the string representation
21716func (s RenderableTask) GoString() string {
21717	return s.String()
21718}
21719
21720// Validate inspects the fields of the type to determine if they are valid.
21721func (s *RenderableTask) Validate() error {
21722	invalidParams := request.ErrInvalidParams{Context: "RenderableTask"}
21723	if s.Input == nil {
21724		invalidParams.Add(request.NewErrParamRequired("Input"))
21725	}
21726	if s.Input != nil && len(*s.Input) < 2 {
21727		invalidParams.Add(request.NewErrParamMinLen("Input", 2))
21728	}
21729
21730	if invalidParams.Len() > 0 {
21731		return invalidParams
21732	}
21733	return nil
21734}
21735
21736// SetInput sets the Input field's value.
21737func (s *RenderableTask) SetInput(v string) *RenderableTask {
21738	s.Input = &v
21739	return s
21740}
21741
21742// A description of an error that occurred while rendering the template.
21743type RenderingError struct {
21744	_ struct{} `type:"structure"`
21745
21746	// A unique identifier for a specific class of errors.
21747	//
21748	// Code is a required field
21749	Code *string `type:"string" required:"true"`
21750
21751	// A human-readable message describing the error.
21752	//
21753	// Message is a required field
21754	Message *string `type:"string" required:"true"`
21755}
21756
21757// String returns the string representation
21758func (s RenderingError) String() string {
21759	return awsutil.Prettify(s)
21760}
21761
21762// GoString returns the string representation
21763func (s RenderingError) GoString() string {
21764	return s.String()
21765}
21766
21767// SetCode sets the Code field's value.
21768func (s *RenderingError) SetCode(v string) *RenderingError {
21769	s.Code = &v
21770	return s
21771}
21772
21773// SetMessage sets the Message field's value.
21774func (s *RenderingError) SetMessage(v string) *RenderingError {
21775	s.Message = &v
21776	return s
21777}
21778
21779// Describes the resources, including ML compute instances and ML storage volumes,
21780// to use for model training.
21781type ResourceConfig struct {
21782	_ struct{} `type:"structure"`
21783
21784	// The number of ML compute instances to use. For distributed training, provide
21785	// a value greater than 1.
21786	//
21787	// InstanceCount is a required field
21788	InstanceCount *int64 `min:"1" type:"integer" required:"true"`
21789
21790	// The ML compute instance type.
21791	//
21792	// InstanceType is a required field
21793	InstanceType *string `type:"string" required:"true" enum:"TrainingInstanceType"`
21794
21795	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
21796	// encrypt data on the storage volume attached to the ML compute instance(s)
21797	// that run the training job. The VolumeKmsKeyId can be any of the following
21798	// formats:
21799	//
21800	//    * // KMS Key ID "1234abcd-12ab-34cd-56ef-1234567890ab"
21801	//
21802	//    * // Amazon Resource Name (ARN) of a KMS Key "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
21803	VolumeKmsKeyId *string `type:"string"`
21804
21805	// The size of the ML storage volume that you want to provision.
21806	//
21807	// ML storage volumes store model artifacts and incremental states. Training
21808	// algorithms might also use the ML storage volume for scratch space. If you
21809	// want to store the training data in the ML storage volume, choose File as
21810	// the TrainingInputMode in the algorithm specification.
21811	//
21812	// You must specify sufficient ML storage for your scenario.
21813	//
21814	// Amazon SageMaker supports only the General Purpose SSD (gp2) ML storage volume
21815	// type.
21816	//
21817	// VolumeSizeInGB is a required field
21818	VolumeSizeInGB *int64 `min:"1" type:"integer" required:"true"`
21819}
21820
21821// String returns the string representation
21822func (s ResourceConfig) String() string {
21823	return awsutil.Prettify(s)
21824}
21825
21826// GoString returns the string representation
21827func (s ResourceConfig) GoString() string {
21828	return s.String()
21829}
21830
21831// Validate inspects the fields of the type to determine if they are valid.
21832func (s *ResourceConfig) Validate() error {
21833	invalidParams := request.ErrInvalidParams{Context: "ResourceConfig"}
21834	if s.InstanceCount == nil {
21835		invalidParams.Add(request.NewErrParamRequired("InstanceCount"))
21836	}
21837	if s.InstanceCount != nil && *s.InstanceCount < 1 {
21838		invalidParams.Add(request.NewErrParamMinValue("InstanceCount", 1))
21839	}
21840	if s.InstanceType == nil {
21841		invalidParams.Add(request.NewErrParamRequired("InstanceType"))
21842	}
21843	if s.VolumeSizeInGB == nil {
21844		invalidParams.Add(request.NewErrParamRequired("VolumeSizeInGB"))
21845	}
21846	if s.VolumeSizeInGB != nil && *s.VolumeSizeInGB < 1 {
21847		invalidParams.Add(request.NewErrParamMinValue("VolumeSizeInGB", 1))
21848	}
21849
21850	if invalidParams.Len() > 0 {
21851		return invalidParams
21852	}
21853	return nil
21854}
21855
21856// SetInstanceCount sets the InstanceCount field's value.
21857func (s *ResourceConfig) SetInstanceCount(v int64) *ResourceConfig {
21858	s.InstanceCount = &v
21859	return s
21860}
21861
21862// SetInstanceType sets the InstanceType field's value.
21863func (s *ResourceConfig) SetInstanceType(v string) *ResourceConfig {
21864	s.InstanceType = &v
21865	return s
21866}
21867
21868// SetVolumeKmsKeyId sets the VolumeKmsKeyId field's value.
21869func (s *ResourceConfig) SetVolumeKmsKeyId(v string) *ResourceConfig {
21870	s.VolumeKmsKeyId = &v
21871	return s
21872}
21873
21874// SetVolumeSizeInGB sets the VolumeSizeInGB field's value.
21875func (s *ResourceConfig) SetVolumeSizeInGB(v int64) *ResourceConfig {
21876	s.VolumeSizeInGB = &v
21877	return s
21878}
21879
21880// Specifies the maximum number of training jobs and parallel training jobs
21881// that a hyperparameter tuning job can launch.
21882type ResourceLimits struct {
21883	_ struct{} `type:"structure"`
21884
21885	// The maximum number of training jobs that a hyperparameter tuning job can
21886	// launch.
21887	//
21888	// MaxNumberOfTrainingJobs is a required field
21889	MaxNumberOfTrainingJobs *int64 `min:"1" type:"integer" required:"true"`
21890
21891	// The maximum number of concurrent training jobs that a hyperparameter tuning
21892	// job can launch.
21893	//
21894	// MaxParallelTrainingJobs is a required field
21895	MaxParallelTrainingJobs *int64 `min:"1" type:"integer" required:"true"`
21896}
21897
21898// String returns the string representation
21899func (s ResourceLimits) String() string {
21900	return awsutil.Prettify(s)
21901}
21902
21903// GoString returns the string representation
21904func (s ResourceLimits) GoString() string {
21905	return s.String()
21906}
21907
21908// Validate inspects the fields of the type to determine if they are valid.
21909func (s *ResourceLimits) Validate() error {
21910	invalidParams := request.ErrInvalidParams{Context: "ResourceLimits"}
21911	if s.MaxNumberOfTrainingJobs == nil {
21912		invalidParams.Add(request.NewErrParamRequired("MaxNumberOfTrainingJobs"))
21913	}
21914	if s.MaxNumberOfTrainingJobs != nil && *s.MaxNumberOfTrainingJobs < 1 {
21915		invalidParams.Add(request.NewErrParamMinValue("MaxNumberOfTrainingJobs", 1))
21916	}
21917	if s.MaxParallelTrainingJobs == nil {
21918		invalidParams.Add(request.NewErrParamRequired("MaxParallelTrainingJobs"))
21919	}
21920	if s.MaxParallelTrainingJobs != nil && *s.MaxParallelTrainingJobs < 1 {
21921		invalidParams.Add(request.NewErrParamMinValue("MaxParallelTrainingJobs", 1))
21922	}
21923
21924	if invalidParams.Len() > 0 {
21925		return invalidParams
21926	}
21927	return nil
21928}
21929
21930// SetMaxNumberOfTrainingJobs sets the MaxNumberOfTrainingJobs field's value.
21931func (s *ResourceLimits) SetMaxNumberOfTrainingJobs(v int64) *ResourceLimits {
21932	s.MaxNumberOfTrainingJobs = &v
21933	return s
21934}
21935
21936// SetMaxParallelTrainingJobs sets the MaxParallelTrainingJobs field's value.
21937func (s *ResourceLimits) SetMaxParallelTrainingJobs(v int64) *ResourceLimits {
21938	s.MaxParallelTrainingJobs = &v
21939	return s
21940}
21941
21942// Describes the S3 data source.
21943type S3DataSource struct {
21944	_ struct{} `type:"structure"`
21945
21946	// A list of one or more attribute names to use that are found in a specified
21947	// augmented manifest file.
21948	AttributeNames []*string `type:"list"`
21949
21950	// If you want Amazon SageMaker to replicate the entire dataset on each ML compute
21951	// instance that is launched for model training, specify FullyReplicated.
21952	//
21953	// If you want Amazon SageMaker to replicate a subset of data on each ML compute
21954	// instance that is launched for model training, specify ShardedByS3Key. If
21955	// there are n ML compute instances launched for a training job, each instance
21956	// gets approximately 1/n of the number of S3 objects. In this case, model training
21957	// on each machine uses only the subset of training data.
21958	//
21959	// Don't choose more ML compute instances for training than available S3 objects.
21960	// If you do, some nodes won't get any data and you will pay for nodes that
21961	// aren't getting any training data. This applies in both File and Pipe modes.
21962	// Keep this in mind when developing algorithms.
21963	//
21964	// In distributed training, where you use multiple ML compute EC2 instances,
21965	// you might choose ShardedByS3Key. If the algorithm requires copying training
21966	// data to the ML storage volume (when TrainingInputMode is set to File), this
21967	// copies 1/n of the number of objects.
21968	S3DataDistributionType *string `type:"string" enum:"S3DataDistribution"`
21969
21970	// If you choose S3Prefix, S3Uri identifies a key name prefix. Amazon SageMaker
21971	// uses all objects that match the specified key name prefix for model training.
21972	//
21973	// If you choose ManifestFile, S3Uri identifies an object that is a manifest
21974	// file containing a list of object keys that you want Amazon SageMaker to use
21975	// for model training.
21976	//
21977	// If you choose AugmentedManifestFile, S3Uri identifies an object that is an
21978	// augmented manifest file in JSON lines format. This file contains the data
21979	// you want to use for model training. AugmentedManifestFile can only be used
21980	// if the Channel's input mode is Pipe.
21981	//
21982	// S3DataType is a required field
21983	S3DataType *string `type:"string" required:"true" enum:"S3DataType"`
21984
21985	// Depending on the value specified for the S3DataType, identifies either a
21986	// key name prefix or a manifest. For example:
21987	//
21988	//    * A key name prefix might look like this: s3://bucketname/exampleprefix.
21989	//
21990	//    * A manifest might look like this: s3://bucketname/example.manifest The
21991	//    manifest is an S3 object which is a JSON file with the following format:
21992	//    [ {"prefix": "s3://customer_bucket/some/prefix/"}, "relative/path/to/custdata-1",
21993	//    "relative/path/custdata-2", ... ] The preceding JSON matches the following
21994	//    s3Uris: s3://customer_bucket/some/prefix/relative/path/to/custdata-1 s3://customer_bucket/some/prefix/relative/path/custdata-2
21995	//    ... The complete set of s3uris in this manifest is the input data for
21996	//    the channel for this datasource. The object that each s3uris points to
21997	//    must be readable by the IAM role that Amazon SageMaker uses to perform
21998	//    tasks on your behalf.
21999	//
22000	// S3Uri is a required field
22001	S3Uri *string `type:"string" required:"true"`
22002}
22003
22004// String returns the string representation
22005func (s S3DataSource) String() string {
22006	return awsutil.Prettify(s)
22007}
22008
22009// GoString returns the string representation
22010func (s S3DataSource) GoString() string {
22011	return s.String()
22012}
22013
22014// Validate inspects the fields of the type to determine if they are valid.
22015func (s *S3DataSource) Validate() error {
22016	invalidParams := request.ErrInvalidParams{Context: "S3DataSource"}
22017	if s.S3DataType == nil {
22018		invalidParams.Add(request.NewErrParamRequired("S3DataType"))
22019	}
22020	if s.S3Uri == nil {
22021		invalidParams.Add(request.NewErrParamRequired("S3Uri"))
22022	}
22023
22024	if invalidParams.Len() > 0 {
22025		return invalidParams
22026	}
22027	return nil
22028}
22029
22030// SetAttributeNames sets the AttributeNames field's value.
22031func (s *S3DataSource) SetAttributeNames(v []*string) *S3DataSource {
22032	s.AttributeNames = v
22033	return s
22034}
22035
22036// SetS3DataDistributionType sets the S3DataDistributionType field's value.
22037func (s *S3DataSource) SetS3DataDistributionType(v string) *S3DataSource {
22038	s.S3DataDistributionType = &v
22039	return s
22040}
22041
22042// SetS3DataType sets the S3DataType field's value.
22043func (s *S3DataSource) SetS3DataType(v string) *S3DataSource {
22044	s.S3DataType = &v
22045	return s
22046}
22047
22048// SetS3Uri sets the S3Uri field's value.
22049func (s *S3DataSource) SetS3Uri(v string) *S3DataSource {
22050	s.S3Uri = &v
22051	return s
22052}
22053
22054// A multi-expression that searches for the specified resource or resources
22055// in a search. All resource objects that satisfy the expression's condition
22056// are included in the search results. You must specify at least one subexpression,
22057// filter, or nested filter. A SearchExpression can contain up to twenty elements.
22058//
22059// A SearchExpression contains the following components:
22060//
22061//    * A list of Filter objects. Each filter defines a simple Boolean expression
22062//    comprised of a resource property name, Boolean operator, and value.
22063//
22064//    * A list of NestedFilter objects. Each nested filter defines a list of
22065//    Boolean expressions using a list of resource properties. A nested filter
22066//    is satisfied if a single object in the list satisfies all Boolean expressions.
22067//
22068//    * A list of SearchExpression objects. A search expression object can be
22069//    nested in a list of search expression objects.
22070//
22071//    * A Boolean operator: And or Or.
22072type SearchExpression struct {
22073	_ struct{} `type:"structure"`
22074
22075	// A list of filter objects.
22076	Filters []*Filter `min:"1" type:"list"`
22077
22078	// A list of nested filter objects.
22079	NestedFilters []*NestedFilters `min:"1" type:"list"`
22080
22081	// A Boolean operator used to evaluate the search expression. If you want every
22082	// conditional statement in all lists to be satisfied for the entire search
22083	// expression to be true, specify And. If only a single conditional statement
22084	// needs to be true for the entire search expression to be true, specify Or.
22085	// The default value is And.
22086	Operator *string `type:"string" enum:"BooleanOperator"`
22087
22088	// A list of search expression objects.
22089	SubExpressions []*SearchExpression `min:"1" type:"list"`
22090}
22091
22092// String returns the string representation
22093func (s SearchExpression) String() string {
22094	return awsutil.Prettify(s)
22095}
22096
22097// GoString returns the string representation
22098func (s SearchExpression) GoString() string {
22099	return s.String()
22100}
22101
22102// Validate inspects the fields of the type to determine if they are valid.
22103func (s *SearchExpression) Validate() error {
22104	invalidParams := request.ErrInvalidParams{Context: "SearchExpression"}
22105	if s.Filters != nil && len(s.Filters) < 1 {
22106		invalidParams.Add(request.NewErrParamMinLen("Filters", 1))
22107	}
22108	if s.NestedFilters != nil && len(s.NestedFilters) < 1 {
22109		invalidParams.Add(request.NewErrParamMinLen("NestedFilters", 1))
22110	}
22111	if s.SubExpressions != nil && len(s.SubExpressions) < 1 {
22112		invalidParams.Add(request.NewErrParamMinLen("SubExpressions", 1))
22113	}
22114	if s.Filters != nil {
22115		for i, v := range s.Filters {
22116			if v == nil {
22117				continue
22118			}
22119			if err := v.Validate(); err != nil {
22120				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "Filters", i), err.(request.ErrInvalidParams))
22121			}
22122		}
22123	}
22124	if s.NestedFilters != nil {
22125		for i, v := range s.NestedFilters {
22126			if v == nil {
22127				continue
22128			}
22129			if err := v.Validate(); err != nil {
22130				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "NestedFilters", i), err.(request.ErrInvalidParams))
22131			}
22132		}
22133	}
22134	if s.SubExpressions != nil {
22135		for i, v := range s.SubExpressions {
22136			if v == nil {
22137				continue
22138			}
22139			if err := v.Validate(); err != nil {
22140				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SubExpressions", i), err.(request.ErrInvalidParams))
22141			}
22142		}
22143	}
22144
22145	if invalidParams.Len() > 0 {
22146		return invalidParams
22147	}
22148	return nil
22149}
22150
22151// SetFilters sets the Filters field's value.
22152func (s *SearchExpression) SetFilters(v []*Filter) *SearchExpression {
22153	s.Filters = v
22154	return s
22155}
22156
22157// SetNestedFilters sets the NestedFilters field's value.
22158func (s *SearchExpression) SetNestedFilters(v []*NestedFilters) *SearchExpression {
22159	s.NestedFilters = v
22160	return s
22161}
22162
22163// SetOperator sets the Operator field's value.
22164func (s *SearchExpression) SetOperator(v string) *SearchExpression {
22165	s.Operator = &v
22166	return s
22167}
22168
22169// SetSubExpressions sets the SubExpressions field's value.
22170func (s *SearchExpression) SetSubExpressions(v []*SearchExpression) *SearchExpression {
22171	s.SubExpressions = v
22172	return s
22173}
22174
22175type SearchInput struct {
22176	_ struct{} `type:"structure"`
22177
22178	// The maximum number of results to return in a SearchResponse.
22179	MaxResults *int64 `min:"1" type:"integer"`
22180
22181	// If more than MaxResults resource objects match the specified SearchExpression,
22182	// the SearchResponse includes a NextToken. The NextToken can be passed to the
22183	// next SearchRequest to continue retrieving results for the specified SearchExpression
22184	// and Sort parameters.
22185	NextToken *string `type:"string"`
22186
22187	// The name of the Amazon SageMaker resource to search for. Currently, the only
22188	// valid Resource value is TrainingJob.
22189	//
22190	// Resource is a required field
22191	Resource *string `type:"string" required:"true" enum:"ResourceType"`
22192
22193	// A Boolean conditional statement. Resource objects must satisfy this condition
22194	// to be included in search results. You must provide at least one subexpression,
22195	// filter, or nested filter. The maximum number of recursive SubExpressions,
22196	// NestedFilters, and Filters that can be included in a SearchExpression object
22197	// is 50.
22198	SearchExpression *SearchExpression `type:"structure"`
22199
22200	// The name of the resource property used to sort the SearchResults. The default
22201	// is LastModifiedTime.
22202	SortBy *string `min:"1" type:"string"`
22203
22204	// How SearchResults are ordered. Valid values are Ascending or Descending.
22205	// The default is Descending.
22206	SortOrder *string `type:"string" enum:"SearchSortOrder"`
22207}
22208
22209// String returns the string representation
22210func (s SearchInput) String() string {
22211	return awsutil.Prettify(s)
22212}
22213
22214// GoString returns the string representation
22215func (s SearchInput) GoString() string {
22216	return s.String()
22217}
22218
22219// Validate inspects the fields of the type to determine if they are valid.
22220func (s *SearchInput) Validate() error {
22221	invalidParams := request.ErrInvalidParams{Context: "SearchInput"}
22222	if s.MaxResults != nil && *s.MaxResults < 1 {
22223		invalidParams.Add(request.NewErrParamMinValue("MaxResults", 1))
22224	}
22225	if s.Resource == nil {
22226		invalidParams.Add(request.NewErrParamRequired("Resource"))
22227	}
22228	if s.SortBy != nil && len(*s.SortBy) < 1 {
22229		invalidParams.Add(request.NewErrParamMinLen("SortBy", 1))
22230	}
22231	if s.SearchExpression != nil {
22232		if err := s.SearchExpression.Validate(); err != nil {
22233			invalidParams.AddNested("SearchExpression", err.(request.ErrInvalidParams))
22234		}
22235	}
22236
22237	if invalidParams.Len() > 0 {
22238		return invalidParams
22239	}
22240	return nil
22241}
22242
22243// SetMaxResults sets the MaxResults field's value.
22244func (s *SearchInput) SetMaxResults(v int64) *SearchInput {
22245	s.MaxResults = &v
22246	return s
22247}
22248
22249// SetNextToken sets the NextToken field's value.
22250func (s *SearchInput) SetNextToken(v string) *SearchInput {
22251	s.NextToken = &v
22252	return s
22253}
22254
22255// SetResource sets the Resource field's value.
22256func (s *SearchInput) SetResource(v string) *SearchInput {
22257	s.Resource = &v
22258	return s
22259}
22260
22261// SetSearchExpression sets the SearchExpression field's value.
22262func (s *SearchInput) SetSearchExpression(v *SearchExpression) *SearchInput {
22263	s.SearchExpression = v
22264	return s
22265}
22266
22267// SetSortBy sets the SortBy field's value.
22268func (s *SearchInput) SetSortBy(v string) *SearchInput {
22269	s.SortBy = &v
22270	return s
22271}
22272
22273// SetSortOrder sets the SortOrder field's value.
22274func (s *SearchInput) SetSortOrder(v string) *SearchInput {
22275	s.SortOrder = &v
22276	return s
22277}
22278
22279type SearchOutput struct {
22280	_ struct{} `type:"structure"`
22281
22282	// If the result of the previous Search request was truncated, the response
22283	// includes a NextToken. To retrieve the next set of results, use the token
22284	// in the next request.
22285	NextToken *string `type:"string"`
22286
22287	// A list of SearchResult objects.
22288	Results []*SearchRecord `type:"list"`
22289}
22290
22291// String returns the string representation
22292func (s SearchOutput) String() string {
22293	return awsutil.Prettify(s)
22294}
22295
22296// GoString returns the string representation
22297func (s SearchOutput) GoString() string {
22298	return s.String()
22299}
22300
22301// SetNextToken sets the NextToken field's value.
22302func (s *SearchOutput) SetNextToken(v string) *SearchOutput {
22303	s.NextToken = &v
22304	return s
22305}
22306
22307// SetResults sets the Results field's value.
22308func (s *SearchOutput) SetResults(v []*SearchRecord) *SearchOutput {
22309	s.Results = v
22310	return s
22311}
22312
22313// An individual search result record that contains a single resource object.
22314type SearchRecord struct {
22315	_ struct{} `type:"structure"`
22316
22317	// A TrainingJob object that is returned as part of a Search request.
22318	TrainingJob *TrainingJob `type:"structure"`
22319}
22320
22321// String returns the string representation
22322func (s SearchRecord) String() string {
22323	return awsutil.Prettify(s)
22324}
22325
22326// GoString returns the string representation
22327func (s SearchRecord) GoString() string {
22328	return s.String()
22329}
22330
22331// SetTrainingJob sets the TrainingJob field's value.
22332func (s *SearchRecord) SetTrainingJob(v *TrainingJob) *SearchRecord {
22333	s.TrainingJob = v
22334	return s
22335}
22336
22337// An array element of DescribeTrainingJobResponse$SecondaryStatusTransitions.
22338// It provides additional details about a status that the training job has transitioned
22339// through. A training job can be in one of several states, for example, starting,
22340// downloading, training, or uploading. Within each state, there are a number
22341// of intermediate states. For example, within the starting state, Amazon SageMaker
22342// could be starting the training job or launching the ML instances. These transitional
22343// states are referred to as the job's secondary status.
22344type SecondaryStatusTransition struct {
22345	_ struct{} `type:"structure"`
22346
22347	// A timestamp that shows when the training job transitioned out of this secondary
22348	// status state into another secondary status state or when the training job
22349	// has ended.
22350	EndTime *time.Time `type:"timestamp"`
22351
22352	// A timestamp that shows when the training job transitioned to the current
22353	// secondary status state.
22354	//
22355	// StartTime is a required field
22356	StartTime *time.Time `type:"timestamp" required:"true"`
22357
22358	// Contains a secondary status information from a training job.
22359	//
22360	// Status might be one of the following secondary statuses:
22361	//
22362	// InProgress
22363	//
22364	//    * Starting - Starting the training job.
22365	//
22366	//    * Downloading - An optional stage for algorithms that support File training
22367	//    input mode. It indicates that data is being downloaded to the ML storage
22368	//    volumes.
22369	//
22370	//    * Training - Training is in progress.
22371	//
22372	//    * Uploading - Training is complete and the model artifacts are being uploaded
22373	//    to the S3 location.
22374	//
22375	// Completed
22376	//
22377	//    * Completed - The training job has completed.
22378	//
22379	// Failed
22380	//
22381	//    * Failed - The training job has failed. The reason for the failure is
22382	//    returned in the FailureReason field of DescribeTrainingJobResponse.
22383	//
22384	// Stopped
22385	//
22386	//    * MaxRuntimeExceeded - The job stopped because it exceeded the maximum
22387	//    allowed runtime.
22388	//
22389	//    * Stopped - The training job has stopped.
22390	//
22391	// Stopping
22392	//
22393	//    * Stopping - Stopping the training job.
22394	//
22395	// We no longer support the following secondary statuses:
22396	//
22397	//    * LaunchingMLInstances
22398	//
22399	//    * PreparingTrainingStack
22400	//
22401	//    * DownloadingTrainingImage
22402	//
22403	// Status is a required field
22404	Status *string `type:"string" required:"true" enum:"SecondaryStatus"`
22405
22406	// A detailed description of the progress within a secondary status.
22407	//
22408	// Amazon SageMaker provides secondary statuses and status messages that apply
22409	// to each of them:
22410	//
22411	// Starting
22412	//
22413	//    * Starting the training job.
22414	//
22415	//    * Launching requested ML instances.
22416	//
22417	//    * Insufficient capacity error from EC2 while launching instances, retrying!
22418	//
22419	//    * Launched instance was unhealthy, replacing it!
22420	//
22421	//    * Preparing the instances for training.
22422	//
22423	// Training
22424	//
22425	//    * Downloading the training image.
22426	//
22427	//    * Training image download completed. Training in progress.
22428	//
22429	// Status messages are subject to change. Therefore, we recommend not including
22430	// them in code that programmatically initiates actions. For examples, don't
22431	// use status messages in if statements.
22432	//
22433	// To have an overview of your training job's progress, view TrainingJobStatus
22434	// and SecondaryStatus in DescribeTrainingJob, and StatusMessage together. For
22435	// example, at the start of a training job, you might see the following:
22436	//
22437	//    * TrainingJobStatus - InProgress
22438	//
22439	//    * SecondaryStatus - Training
22440	//
22441	//    * StatusMessage - Downloading the training image
22442	StatusMessage *string `type:"string"`
22443}
22444
22445// String returns the string representation
22446func (s SecondaryStatusTransition) String() string {
22447	return awsutil.Prettify(s)
22448}
22449
22450// GoString returns the string representation
22451func (s SecondaryStatusTransition) GoString() string {
22452	return s.String()
22453}
22454
22455// SetEndTime sets the EndTime field's value.
22456func (s *SecondaryStatusTransition) SetEndTime(v time.Time) *SecondaryStatusTransition {
22457	s.EndTime = &v
22458	return s
22459}
22460
22461// SetStartTime sets the StartTime field's value.
22462func (s *SecondaryStatusTransition) SetStartTime(v time.Time) *SecondaryStatusTransition {
22463	s.StartTime = &v
22464	return s
22465}
22466
22467// SetStatus sets the Status field's value.
22468func (s *SecondaryStatusTransition) SetStatus(v string) *SecondaryStatusTransition {
22469	s.Status = &v
22470	return s
22471}
22472
22473// SetStatusMessage sets the StatusMessage field's value.
22474func (s *SecondaryStatusTransition) SetStatusMessage(v string) *SecondaryStatusTransition {
22475	s.StatusMessage = &v
22476	return s
22477}
22478
22479// A configuration for a shuffle option for input data in a channel. If you
22480// use S3Prefix for S3DataType, the results of the S3 key prefix matches are
22481// shuffled. If you use ManifestFile, the order of the S3 object references
22482// in the ManifestFile is shuffled. If you use AugmentedManifestFile, the order
22483// of the JSON lines in the AugmentedManifestFile is shuffled. The shuffling
22484// order is determined using the Seed value.
22485//
22486// For Pipe input mode, shuffling is done at the start of every epoch. With
22487// large datasets, this ensures that the order of the training data is different
22488// for each epoch, and it helps reduce bias and possible overfitting. In a multi-node
22489// training job when ShuffleConfig is combined with S3DataDistributionType of
22490// ShardedByS3Key, the data is shuffled across nodes so that the content sent
22491// to a particular node on the first epoch might be sent to a different node
22492// on the second epoch.
22493type ShuffleConfig struct {
22494	_ struct{} `type:"structure"`
22495
22496	// Determines the shuffling order in ShuffleConfig value.
22497	//
22498	// Seed is a required field
22499	Seed *int64 `type:"long" required:"true"`
22500}
22501
22502// String returns the string representation
22503func (s ShuffleConfig) String() string {
22504	return awsutil.Prettify(s)
22505}
22506
22507// GoString returns the string representation
22508func (s ShuffleConfig) GoString() string {
22509	return s.String()
22510}
22511
22512// Validate inspects the fields of the type to determine if they are valid.
22513func (s *ShuffleConfig) Validate() error {
22514	invalidParams := request.ErrInvalidParams{Context: "ShuffleConfig"}
22515	if s.Seed == nil {
22516		invalidParams.Add(request.NewErrParamRequired("Seed"))
22517	}
22518
22519	if invalidParams.Len() > 0 {
22520		return invalidParams
22521	}
22522	return nil
22523}
22524
22525// SetSeed sets the Seed field's value.
22526func (s *ShuffleConfig) SetSeed(v int64) *ShuffleConfig {
22527	s.Seed = &v
22528	return s
22529}
22530
22531// Specifies an algorithm that was used to create the model package. The algorithm
22532// must be either an algorithm resource in your Amazon SageMaker account or
22533// an algorithm in AWS Marketplace that you are subscribed to.
22534type SourceAlgorithm struct {
22535	_ struct{} `type:"structure"`
22536
22537	// The name of an algorithm that was used to create the model package. The algorithm
22538	// must be either an algorithm resource in your Amazon SageMaker account or
22539	// an algorithm in AWS Marketplace that you are subscribed to.
22540	//
22541	// AlgorithmName is a required field
22542	AlgorithmName *string `min:"1" type:"string" required:"true"`
22543
22544	// The Amazon S3 path where the model artifacts, which result from model training,
22545	// are stored. This path must point to a single gzip compressed tar archive
22546	// (.tar.gz suffix).
22547	ModelDataUrl *string `type:"string"`
22548}
22549
22550// String returns the string representation
22551func (s SourceAlgorithm) String() string {
22552	return awsutil.Prettify(s)
22553}
22554
22555// GoString returns the string representation
22556func (s SourceAlgorithm) GoString() string {
22557	return s.String()
22558}
22559
22560// Validate inspects the fields of the type to determine if they are valid.
22561func (s *SourceAlgorithm) Validate() error {
22562	invalidParams := request.ErrInvalidParams{Context: "SourceAlgorithm"}
22563	if s.AlgorithmName == nil {
22564		invalidParams.Add(request.NewErrParamRequired("AlgorithmName"))
22565	}
22566	if s.AlgorithmName != nil && len(*s.AlgorithmName) < 1 {
22567		invalidParams.Add(request.NewErrParamMinLen("AlgorithmName", 1))
22568	}
22569
22570	if invalidParams.Len() > 0 {
22571		return invalidParams
22572	}
22573	return nil
22574}
22575
22576// SetAlgorithmName sets the AlgorithmName field's value.
22577func (s *SourceAlgorithm) SetAlgorithmName(v string) *SourceAlgorithm {
22578	s.AlgorithmName = &v
22579	return s
22580}
22581
22582// SetModelDataUrl sets the ModelDataUrl field's value.
22583func (s *SourceAlgorithm) SetModelDataUrl(v string) *SourceAlgorithm {
22584	s.ModelDataUrl = &v
22585	return s
22586}
22587
22588// A list of algorithms that were used to create a model package.
22589type SourceAlgorithmSpecification struct {
22590	_ struct{} `type:"structure"`
22591
22592	// A list of the algorithms that were used to create a model package.
22593	//
22594	// SourceAlgorithms is a required field
22595	SourceAlgorithms []*SourceAlgorithm `min:"1" type:"list" required:"true"`
22596}
22597
22598// String returns the string representation
22599func (s SourceAlgorithmSpecification) String() string {
22600	return awsutil.Prettify(s)
22601}
22602
22603// GoString returns the string representation
22604func (s SourceAlgorithmSpecification) GoString() string {
22605	return s.String()
22606}
22607
22608// Validate inspects the fields of the type to determine if they are valid.
22609func (s *SourceAlgorithmSpecification) Validate() error {
22610	invalidParams := request.ErrInvalidParams{Context: "SourceAlgorithmSpecification"}
22611	if s.SourceAlgorithms == nil {
22612		invalidParams.Add(request.NewErrParamRequired("SourceAlgorithms"))
22613	}
22614	if s.SourceAlgorithms != nil && len(s.SourceAlgorithms) < 1 {
22615		invalidParams.Add(request.NewErrParamMinLen("SourceAlgorithms", 1))
22616	}
22617	if s.SourceAlgorithms != nil {
22618		for i, v := range s.SourceAlgorithms {
22619			if v == nil {
22620				continue
22621			}
22622			if err := v.Validate(); err != nil {
22623				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SourceAlgorithms", i), err.(request.ErrInvalidParams))
22624			}
22625		}
22626	}
22627
22628	if invalidParams.Len() > 0 {
22629		return invalidParams
22630	}
22631	return nil
22632}
22633
22634// SetSourceAlgorithms sets the SourceAlgorithms field's value.
22635func (s *SourceAlgorithmSpecification) SetSourceAlgorithms(v []*SourceAlgorithm) *SourceAlgorithmSpecification {
22636	s.SourceAlgorithms = v
22637	return s
22638}
22639
22640type StartNotebookInstanceInput struct {
22641	_ struct{} `type:"structure"`
22642
22643	// The name of the notebook instance to start.
22644	//
22645	// NotebookInstanceName is a required field
22646	NotebookInstanceName *string `type:"string" required:"true"`
22647}
22648
22649// String returns the string representation
22650func (s StartNotebookInstanceInput) String() string {
22651	return awsutil.Prettify(s)
22652}
22653
22654// GoString returns the string representation
22655func (s StartNotebookInstanceInput) GoString() string {
22656	return s.String()
22657}
22658
22659// Validate inspects the fields of the type to determine if they are valid.
22660func (s *StartNotebookInstanceInput) Validate() error {
22661	invalidParams := request.ErrInvalidParams{Context: "StartNotebookInstanceInput"}
22662	if s.NotebookInstanceName == nil {
22663		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName"))
22664	}
22665
22666	if invalidParams.Len() > 0 {
22667		return invalidParams
22668	}
22669	return nil
22670}
22671
22672// SetNotebookInstanceName sets the NotebookInstanceName field's value.
22673func (s *StartNotebookInstanceInput) SetNotebookInstanceName(v string) *StartNotebookInstanceInput {
22674	s.NotebookInstanceName = &v
22675	return s
22676}
22677
22678type StartNotebookInstanceOutput struct {
22679	_ struct{} `type:"structure"`
22680}
22681
22682// String returns the string representation
22683func (s StartNotebookInstanceOutput) String() string {
22684	return awsutil.Prettify(s)
22685}
22686
22687// GoString returns the string representation
22688func (s StartNotebookInstanceOutput) GoString() string {
22689	return s.String()
22690}
22691
22692type StopCompilationJobInput struct {
22693	_ struct{} `type:"structure"`
22694
22695	// The name of the model compilation job to stop.
22696	//
22697	// CompilationJobName is a required field
22698	CompilationJobName *string `min:"1" type:"string" required:"true"`
22699}
22700
22701// String returns the string representation
22702func (s StopCompilationJobInput) String() string {
22703	return awsutil.Prettify(s)
22704}
22705
22706// GoString returns the string representation
22707func (s StopCompilationJobInput) GoString() string {
22708	return s.String()
22709}
22710
22711// Validate inspects the fields of the type to determine if they are valid.
22712func (s *StopCompilationJobInput) Validate() error {
22713	invalidParams := request.ErrInvalidParams{Context: "StopCompilationJobInput"}
22714	if s.CompilationJobName == nil {
22715		invalidParams.Add(request.NewErrParamRequired("CompilationJobName"))
22716	}
22717	if s.CompilationJobName != nil && len(*s.CompilationJobName) < 1 {
22718		invalidParams.Add(request.NewErrParamMinLen("CompilationJobName", 1))
22719	}
22720
22721	if invalidParams.Len() > 0 {
22722		return invalidParams
22723	}
22724	return nil
22725}
22726
22727// SetCompilationJobName sets the CompilationJobName field's value.
22728func (s *StopCompilationJobInput) SetCompilationJobName(v string) *StopCompilationJobInput {
22729	s.CompilationJobName = &v
22730	return s
22731}
22732
22733type StopCompilationJobOutput struct {
22734	_ struct{} `type:"structure"`
22735}
22736
22737// String returns the string representation
22738func (s StopCompilationJobOutput) String() string {
22739	return awsutil.Prettify(s)
22740}
22741
22742// GoString returns the string representation
22743func (s StopCompilationJobOutput) GoString() string {
22744	return s.String()
22745}
22746
22747type StopHyperParameterTuningJobInput struct {
22748	_ struct{} `type:"structure"`
22749
22750	// The name of the tuning job to stop.
22751	//
22752	// HyperParameterTuningJobName is a required field
22753	HyperParameterTuningJobName *string `min:"1" type:"string" required:"true"`
22754}
22755
22756// String returns the string representation
22757func (s StopHyperParameterTuningJobInput) String() string {
22758	return awsutil.Prettify(s)
22759}
22760
22761// GoString returns the string representation
22762func (s StopHyperParameterTuningJobInput) GoString() string {
22763	return s.String()
22764}
22765
22766// Validate inspects the fields of the type to determine if they are valid.
22767func (s *StopHyperParameterTuningJobInput) Validate() error {
22768	invalidParams := request.ErrInvalidParams{Context: "StopHyperParameterTuningJobInput"}
22769	if s.HyperParameterTuningJobName == nil {
22770		invalidParams.Add(request.NewErrParamRequired("HyperParameterTuningJobName"))
22771	}
22772	if s.HyperParameterTuningJobName != nil && len(*s.HyperParameterTuningJobName) < 1 {
22773		invalidParams.Add(request.NewErrParamMinLen("HyperParameterTuningJobName", 1))
22774	}
22775
22776	if invalidParams.Len() > 0 {
22777		return invalidParams
22778	}
22779	return nil
22780}
22781
22782// SetHyperParameterTuningJobName sets the HyperParameterTuningJobName field's value.
22783func (s *StopHyperParameterTuningJobInput) SetHyperParameterTuningJobName(v string) *StopHyperParameterTuningJobInput {
22784	s.HyperParameterTuningJobName = &v
22785	return s
22786}
22787
22788type StopHyperParameterTuningJobOutput struct {
22789	_ struct{} `type:"structure"`
22790}
22791
22792// String returns the string representation
22793func (s StopHyperParameterTuningJobOutput) String() string {
22794	return awsutil.Prettify(s)
22795}
22796
22797// GoString returns the string representation
22798func (s StopHyperParameterTuningJobOutput) GoString() string {
22799	return s.String()
22800}
22801
22802type StopLabelingJobInput struct {
22803	_ struct{} `type:"structure"`
22804
22805	// The name of the labeling job to stop.
22806	//
22807	// LabelingJobName is a required field
22808	LabelingJobName *string `min:"1" type:"string" required:"true"`
22809}
22810
22811// String returns the string representation
22812func (s StopLabelingJobInput) String() string {
22813	return awsutil.Prettify(s)
22814}
22815
22816// GoString returns the string representation
22817func (s StopLabelingJobInput) GoString() string {
22818	return s.String()
22819}
22820
22821// Validate inspects the fields of the type to determine if they are valid.
22822func (s *StopLabelingJobInput) Validate() error {
22823	invalidParams := request.ErrInvalidParams{Context: "StopLabelingJobInput"}
22824	if s.LabelingJobName == nil {
22825		invalidParams.Add(request.NewErrParamRequired("LabelingJobName"))
22826	}
22827	if s.LabelingJobName != nil && len(*s.LabelingJobName) < 1 {
22828		invalidParams.Add(request.NewErrParamMinLen("LabelingJobName", 1))
22829	}
22830
22831	if invalidParams.Len() > 0 {
22832		return invalidParams
22833	}
22834	return nil
22835}
22836
22837// SetLabelingJobName sets the LabelingJobName field's value.
22838func (s *StopLabelingJobInput) SetLabelingJobName(v string) *StopLabelingJobInput {
22839	s.LabelingJobName = &v
22840	return s
22841}
22842
22843type StopLabelingJobOutput struct {
22844	_ struct{} `type:"structure"`
22845}
22846
22847// String returns the string representation
22848func (s StopLabelingJobOutput) String() string {
22849	return awsutil.Prettify(s)
22850}
22851
22852// GoString returns the string representation
22853func (s StopLabelingJobOutput) GoString() string {
22854	return s.String()
22855}
22856
22857type StopNotebookInstanceInput struct {
22858	_ struct{} `type:"structure"`
22859
22860	// The name of the notebook instance to terminate.
22861	//
22862	// NotebookInstanceName is a required field
22863	NotebookInstanceName *string `type:"string" required:"true"`
22864}
22865
22866// String returns the string representation
22867func (s StopNotebookInstanceInput) String() string {
22868	return awsutil.Prettify(s)
22869}
22870
22871// GoString returns the string representation
22872func (s StopNotebookInstanceInput) GoString() string {
22873	return s.String()
22874}
22875
22876// Validate inspects the fields of the type to determine if they are valid.
22877func (s *StopNotebookInstanceInput) Validate() error {
22878	invalidParams := request.ErrInvalidParams{Context: "StopNotebookInstanceInput"}
22879	if s.NotebookInstanceName == nil {
22880		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName"))
22881	}
22882
22883	if invalidParams.Len() > 0 {
22884		return invalidParams
22885	}
22886	return nil
22887}
22888
22889// SetNotebookInstanceName sets the NotebookInstanceName field's value.
22890func (s *StopNotebookInstanceInput) SetNotebookInstanceName(v string) *StopNotebookInstanceInput {
22891	s.NotebookInstanceName = &v
22892	return s
22893}
22894
22895type StopNotebookInstanceOutput struct {
22896	_ struct{} `type:"structure"`
22897}
22898
22899// String returns the string representation
22900func (s StopNotebookInstanceOutput) String() string {
22901	return awsutil.Prettify(s)
22902}
22903
22904// GoString returns the string representation
22905func (s StopNotebookInstanceOutput) GoString() string {
22906	return s.String()
22907}
22908
22909type StopTrainingJobInput struct {
22910	_ struct{} `type:"structure"`
22911
22912	// The name of the training job to stop.
22913	//
22914	// TrainingJobName is a required field
22915	TrainingJobName *string `min:"1" type:"string" required:"true"`
22916}
22917
22918// String returns the string representation
22919func (s StopTrainingJobInput) String() string {
22920	return awsutil.Prettify(s)
22921}
22922
22923// GoString returns the string representation
22924func (s StopTrainingJobInput) GoString() string {
22925	return s.String()
22926}
22927
22928// Validate inspects the fields of the type to determine if they are valid.
22929func (s *StopTrainingJobInput) Validate() error {
22930	invalidParams := request.ErrInvalidParams{Context: "StopTrainingJobInput"}
22931	if s.TrainingJobName == nil {
22932		invalidParams.Add(request.NewErrParamRequired("TrainingJobName"))
22933	}
22934	if s.TrainingJobName != nil && len(*s.TrainingJobName) < 1 {
22935		invalidParams.Add(request.NewErrParamMinLen("TrainingJobName", 1))
22936	}
22937
22938	if invalidParams.Len() > 0 {
22939		return invalidParams
22940	}
22941	return nil
22942}
22943
22944// SetTrainingJobName sets the TrainingJobName field's value.
22945func (s *StopTrainingJobInput) SetTrainingJobName(v string) *StopTrainingJobInput {
22946	s.TrainingJobName = &v
22947	return s
22948}
22949
22950type StopTrainingJobOutput struct {
22951	_ struct{} `type:"structure"`
22952}
22953
22954// String returns the string representation
22955func (s StopTrainingJobOutput) String() string {
22956	return awsutil.Prettify(s)
22957}
22958
22959// GoString returns the string representation
22960func (s StopTrainingJobOutput) GoString() string {
22961	return s.String()
22962}
22963
22964type StopTransformJobInput struct {
22965	_ struct{} `type:"structure"`
22966
22967	// The name of the transform job to stop.
22968	//
22969	// TransformJobName is a required field
22970	TransformJobName *string `min:"1" type:"string" required:"true"`
22971}
22972
22973// String returns the string representation
22974func (s StopTransformJobInput) String() string {
22975	return awsutil.Prettify(s)
22976}
22977
22978// GoString returns the string representation
22979func (s StopTransformJobInput) GoString() string {
22980	return s.String()
22981}
22982
22983// Validate inspects the fields of the type to determine if they are valid.
22984func (s *StopTransformJobInput) Validate() error {
22985	invalidParams := request.ErrInvalidParams{Context: "StopTransformJobInput"}
22986	if s.TransformJobName == nil {
22987		invalidParams.Add(request.NewErrParamRequired("TransformJobName"))
22988	}
22989	if s.TransformJobName != nil && len(*s.TransformJobName) < 1 {
22990		invalidParams.Add(request.NewErrParamMinLen("TransformJobName", 1))
22991	}
22992
22993	if invalidParams.Len() > 0 {
22994		return invalidParams
22995	}
22996	return nil
22997}
22998
22999// SetTransformJobName sets the TransformJobName field's value.
23000func (s *StopTransformJobInput) SetTransformJobName(v string) *StopTransformJobInput {
23001	s.TransformJobName = &v
23002	return s
23003}
23004
23005type StopTransformJobOutput struct {
23006	_ struct{} `type:"structure"`
23007}
23008
23009// String returns the string representation
23010func (s StopTransformJobOutput) String() string {
23011	return awsutil.Prettify(s)
23012}
23013
23014// GoString returns the string representation
23015func (s StopTransformJobOutput) GoString() string {
23016	return s.String()
23017}
23018
23019// Specifies a limit to how long a model training or compilation job can run.
23020// When the job reaches the time limit, Amazon SageMaker ends the training or
23021// compilation job. Use this API to cap model training costs.
23022//
23023// To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal, which
23024// delays job termination for 120 seconds. Algorithms can use this 120-second
23025// window to save the model artifacts, so the results of training are not lost.
23026//
23027// The training algorithms provided by Amazon SageMaker automatically save the
23028// intermediate results of a model training job when possible. This attempt
23029// to save artifacts is only a best effort case as model might not be in a state
23030// from which it can be saved. For example, if training has just started, the
23031// model might not be ready to save. When saved, this intermediate data is a
23032// valid model artifact. You can use it to create a model with CreateModel.
23033//
23034// The Neural Topic Model (NTM) currently does not support saving intermediate
23035// model artifacts. When training NTMs, make sure that the maximum runtime is
23036// sufficient for the training job to complete.
23037type StoppingCondition struct {
23038	_ struct{} `type:"structure"`
23039
23040	// The maximum length of time, in seconds, that the training or compilation
23041	// job can run. If job does not complete during this time, Amazon SageMaker
23042	// ends the job. If value is not specified, default value is 1 day. The maximum
23043	// value is 28 days.
23044	MaxRuntimeInSeconds *int64 `min:"1" type:"integer"`
23045}
23046
23047// String returns the string representation
23048func (s StoppingCondition) String() string {
23049	return awsutil.Prettify(s)
23050}
23051
23052// GoString returns the string representation
23053func (s StoppingCondition) GoString() string {
23054	return s.String()
23055}
23056
23057// Validate inspects the fields of the type to determine if they are valid.
23058func (s *StoppingCondition) Validate() error {
23059	invalidParams := request.ErrInvalidParams{Context: "StoppingCondition"}
23060	if s.MaxRuntimeInSeconds != nil && *s.MaxRuntimeInSeconds < 1 {
23061		invalidParams.Add(request.NewErrParamMinValue("MaxRuntimeInSeconds", 1))
23062	}
23063
23064	if invalidParams.Len() > 0 {
23065		return invalidParams
23066	}
23067	return nil
23068}
23069
23070// SetMaxRuntimeInSeconds sets the MaxRuntimeInSeconds field's value.
23071func (s *StoppingCondition) SetMaxRuntimeInSeconds(v int64) *StoppingCondition {
23072	s.MaxRuntimeInSeconds = &v
23073	return s
23074}
23075
23076// Describes a work team of a vendor that does the a labelling job.
23077type SubscribedWorkteam struct {
23078	_ struct{} `type:"structure"`
23079
23080	ListingId *string `type:"string"`
23081
23082	// The description of the vendor from the Amazon Marketplace.
23083	MarketplaceDescription *string `min:"1" type:"string"`
23084
23085	// The title of the service provided by the vendor in the Amazon Marketplace.
23086	MarketplaceTitle *string `min:"1" type:"string"`
23087
23088	// The name of the vendor in the Amazon Marketplace.
23089	SellerName *string `type:"string"`
23090
23091	// The Amazon Resource Name (ARN) of the vendor that you have subscribed.
23092	//
23093	// WorkteamArn is a required field
23094	WorkteamArn *string `type:"string" required:"true"`
23095}
23096
23097// String returns the string representation
23098func (s SubscribedWorkteam) String() string {
23099	return awsutil.Prettify(s)
23100}
23101
23102// GoString returns the string representation
23103func (s SubscribedWorkteam) GoString() string {
23104	return s.String()
23105}
23106
23107// SetListingId sets the ListingId field's value.
23108func (s *SubscribedWorkteam) SetListingId(v string) *SubscribedWorkteam {
23109	s.ListingId = &v
23110	return s
23111}
23112
23113// SetMarketplaceDescription sets the MarketplaceDescription field's value.
23114func (s *SubscribedWorkteam) SetMarketplaceDescription(v string) *SubscribedWorkteam {
23115	s.MarketplaceDescription = &v
23116	return s
23117}
23118
23119// SetMarketplaceTitle sets the MarketplaceTitle field's value.
23120func (s *SubscribedWorkteam) SetMarketplaceTitle(v string) *SubscribedWorkteam {
23121	s.MarketplaceTitle = &v
23122	return s
23123}
23124
23125// SetSellerName sets the SellerName field's value.
23126func (s *SubscribedWorkteam) SetSellerName(v string) *SubscribedWorkteam {
23127	s.SellerName = &v
23128	return s
23129}
23130
23131// SetWorkteamArn sets the WorkteamArn field's value.
23132func (s *SubscribedWorkteam) SetWorkteamArn(v string) *SubscribedWorkteam {
23133	s.WorkteamArn = &v
23134	return s
23135}
23136
23137// Limits the property names that are included in the response.
23138type SuggestionQuery struct {
23139	_ struct{} `type:"structure"`
23140
23141	// A type of SuggestionQuery. Defines a property name hint. Only property names
23142	// that match the specified hint are included in the response.
23143	PropertyNameQuery *PropertyNameQuery `type:"structure"`
23144}
23145
23146// String returns the string representation
23147func (s SuggestionQuery) String() string {
23148	return awsutil.Prettify(s)
23149}
23150
23151// GoString returns the string representation
23152func (s SuggestionQuery) GoString() string {
23153	return s.String()
23154}
23155
23156// Validate inspects the fields of the type to determine if they are valid.
23157func (s *SuggestionQuery) Validate() error {
23158	invalidParams := request.ErrInvalidParams{Context: "SuggestionQuery"}
23159	if s.PropertyNameQuery != nil {
23160		if err := s.PropertyNameQuery.Validate(); err != nil {
23161			invalidParams.AddNested("PropertyNameQuery", err.(request.ErrInvalidParams))
23162		}
23163	}
23164
23165	if invalidParams.Len() > 0 {
23166		return invalidParams
23167	}
23168	return nil
23169}
23170
23171// SetPropertyNameQuery sets the PropertyNameQuery field's value.
23172func (s *SuggestionQuery) SetPropertyNameQuery(v *PropertyNameQuery) *SuggestionQuery {
23173	s.PropertyNameQuery = v
23174	return s
23175}
23176
23177// Describes a tag.
23178type Tag struct {
23179	_ struct{} `type:"structure"`
23180
23181	// The tag key.
23182	//
23183	// Key is a required field
23184	Key *string `min:"1" type:"string" required:"true"`
23185
23186	// The tag value.
23187	//
23188	// Value is a required field
23189	Value *string `type:"string" required:"true"`
23190}
23191
23192// String returns the string representation
23193func (s Tag) String() string {
23194	return awsutil.Prettify(s)
23195}
23196
23197// GoString returns the string representation
23198func (s Tag) GoString() string {
23199	return s.String()
23200}
23201
23202// Validate inspects the fields of the type to determine if they are valid.
23203func (s *Tag) Validate() error {
23204	invalidParams := request.ErrInvalidParams{Context: "Tag"}
23205	if s.Key == nil {
23206		invalidParams.Add(request.NewErrParamRequired("Key"))
23207	}
23208	if s.Key != nil && len(*s.Key) < 1 {
23209		invalidParams.Add(request.NewErrParamMinLen("Key", 1))
23210	}
23211	if s.Value == nil {
23212		invalidParams.Add(request.NewErrParamRequired("Value"))
23213	}
23214
23215	if invalidParams.Len() > 0 {
23216		return invalidParams
23217	}
23218	return nil
23219}
23220
23221// SetKey sets the Key field's value.
23222func (s *Tag) SetKey(v string) *Tag {
23223	s.Key = &v
23224	return s
23225}
23226
23227// SetValue sets the Value field's value.
23228func (s *Tag) SetValue(v string) *Tag {
23229	s.Value = &v
23230	return s
23231}
23232
23233// Contains information about a training job.
23234type TrainingJob struct {
23235	_ struct{} `type:"structure"`
23236
23237	// Information about the algorithm used for training, and algorithm metadata.
23238	AlgorithmSpecification *AlgorithmSpecification `type:"structure"`
23239
23240	// A timestamp that indicates when the training job was created.
23241	CreationTime *time.Time `type:"timestamp"`
23242
23243	// To encrypt all communications between ML compute instances in distributed
23244	// training, choose True. Encryption provides greater security for distributed
23245	// training, but training might take longer. How long it takes depends on the
23246	// amount of communication between compute instances, especially if you use
23247	// a deep learning algorithm in distributed training.
23248	EnableInterContainerTrafficEncryption *bool `type:"boolean"`
23249
23250	// If the TrainingJob was created with network isolation, the value is set to
23251	// true. If network isolation is enabled, nodes can't communicate beyond the
23252	// VPC they run in.
23253	EnableNetworkIsolation *bool `type:"boolean"`
23254
23255	// If the training job failed, the reason it failed.
23256	FailureReason *string `type:"string"`
23257
23258	// A list of final metric values that are set when the training job completes.
23259	// Used only if the training job was configured to use metrics.
23260	FinalMetricDataList []*MetricData `type:"list"`
23261
23262	// Algorithm-specific parameters.
23263	HyperParameters map[string]*string `type:"map"`
23264
23265	// An array of Channel objects that describes each data input channel.
23266	InputDataConfig []*Channel `min:"1" type:"list"`
23267
23268	// The Amazon Resource Name (ARN) of the labeling job.
23269	LabelingJobArn *string `type:"string"`
23270
23271	// A timestamp that indicates when the status of the training job was last modified.
23272	LastModifiedTime *time.Time `type:"timestamp"`
23273
23274	// Information about the Amazon S3 location that is configured for storing model
23275	// artifacts.
23276	ModelArtifacts *ModelArtifacts `type:"structure"`
23277
23278	// The S3 path where model artifacts that you configured when creating the job
23279	// are stored. Amazon SageMaker creates subfolders for model artifacts.
23280	OutputDataConfig *OutputDataConfig `type:"structure"`
23281
23282	// Resources, including ML compute instances and ML storage volumes, that are
23283	// configured for model training.
23284	ResourceConfig *ResourceConfig `type:"structure"`
23285
23286	// The AWS Identity and Access Management (IAM) role configured for the training
23287	// job.
23288	RoleArn *string `min:"20" type:"string"`
23289
23290	// Provides detailed information about the state of the training job. For detailed
23291	// information about the secondary status of the training job, see StatusMessage
23292	// under SecondaryStatusTransition.
23293	//
23294	// Amazon SageMaker provides primary statuses and secondary statuses that apply
23295	// to each of them:
23296	//
23297	// InProgress
23298	//
23299	//    * Starting - Starting the training job.
23300	//
23301	//    * Downloading - An optional stage for algorithms that support File training
23302	//    input mode. It indicates that data is being downloaded to the ML storage
23303	//    volumes.
23304	//
23305	//    * Training - Training is in progress.
23306	//
23307	//    * Uploading - Training is complete and the model artifacts are being uploaded
23308	//    to the S3 location.
23309	//
23310	// Completed
23311	//
23312	//    * Completed - The training job has completed.
23313	//
23314	// Failed
23315	//
23316	//    * Failed - The training job has failed. The reason for the failure is
23317	//    returned in the FailureReason field of DescribeTrainingJobResponse.
23318	//
23319	// Stopped
23320	//
23321	//    * MaxRuntimeExceeded - The job stopped because it exceeded the maximum
23322	//    allowed runtime.
23323	//
23324	//    * Stopped - The training job has stopped.
23325	//
23326	// Stopping
23327	//
23328	//    * Stopping - Stopping the training job.
23329	//
23330	// Valid values for SecondaryStatus are subject to change.
23331	//
23332	// We no longer support the following secondary statuses:
23333	//
23334	//    * LaunchingMLInstances
23335	//
23336	//    * PreparingTrainingStack
23337	//
23338	//    * DownloadingTrainingImage
23339	SecondaryStatus *string `type:"string" enum:"SecondaryStatus"`
23340
23341	// A history of all of the secondary statuses that the training job has transitioned
23342	// through.
23343	SecondaryStatusTransitions []*SecondaryStatusTransition `type:"list"`
23344
23345	// Specifies a limit to how long a model training job can run. When the job
23346	// reaches the time limit, Amazon SageMaker ends the training job. Use this
23347	// API to cap model training costs.
23348	//
23349	// To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal, which
23350	// delays job termination for 120 seconds. Algorithms can use this 120-second
23351	// window to save the model artifacts, so the results of training are not lost.
23352	StoppingCondition *StoppingCondition `type:"structure"`
23353
23354	// An array of key-value pairs. For more information, see Using Cost Allocation
23355	// Tags (https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-alloc-tags.html#allocation-what)
23356	// in the AWS Billing and Cost Management User Guide.
23357	Tags []*Tag `type:"list"`
23358
23359	// Indicates the time when the training job ends on training instances. You
23360	// are billed for the time interval between the value of TrainingStartTime and
23361	// this time. For successful jobs and stopped jobs, this is the time after model
23362	// artifacts are uploaded. For failed jobs, this is the time when Amazon SageMaker
23363	// detects a job failure.
23364	TrainingEndTime *time.Time `type:"timestamp"`
23365
23366	// The Amazon Resource Name (ARN) of the training job.
23367	TrainingJobArn *string `type:"string"`
23368
23369	// The name of the training job.
23370	TrainingJobName *string `min:"1" type:"string"`
23371
23372	// The status of the training job.
23373	//
23374	// Training job statuses are:
23375	//
23376	//    * InProgress - The training is in progress.
23377	//
23378	//    * Completed - The training job has completed.
23379	//
23380	//    * Failed - The training job has failed. To see the reason for the failure,
23381	//    see the FailureReason field in the response to a DescribeTrainingJobResponse
23382	//    call.
23383	//
23384	//    * Stopping - The training job is stopping.
23385	//
23386	//    * Stopped - The training job has stopped.
23387	//
23388	// For more detailed information, see SecondaryStatus.
23389	TrainingJobStatus *string `type:"string" enum:"TrainingJobStatus"`
23390
23391	// Indicates the time when the training job starts on training instances. You
23392	// are billed for the time interval between this time and the value of TrainingEndTime.
23393	// The start time in CloudWatch Logs might be later than this time. The difference
23394	// is due to the time it takes to download the training data and to the size
23395	// of the training container.
23396	TrainingStartTime *time.Time `type:"timestamp"`
23397
23398	// The Amazon Resource Name (ARN) of the associated hyperparameter tuning job
23399	// if the training job was launched by a hyperparameter tuning job.
23400	TuningJobArn *string `type:"string"`
23401
23402	// A VpcConfig object that specifies the VPC that this training job has access
23403	// to. For more information, see Protect Training Jobs by Using an Amazon Virtual
23404	// Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html).
23405	VpcConfig *VpcConfig `type:"structure"`
23406}
23407
23408// String returns the string representation
23409func (s TrainingJob) String() string {
23410	return awsutil.Prettify(s)
23411}
23412
23413// GoString returns the string representation
23414func (s TrainingJob) GoString() string {
23415	return s.String()
23416}
23417
23418// SetAlgorithmSpecification sets the AlgorithmSpecification field's value.
23419func (s *TrainingJob) SetAlgorithmSpecification(v *AlgorithmSpecification) *TrainingJob {
23420	s.AlgorithmSpecification = v
23421	return s
23422}
23423
23424// SetCreationTime sets the CreationTime field's value.
23425func (s *TrainingJob) SetCreationTime(v time.Time) *TrainingJob {
23426	s.CreationTime = &v
23427	return s
23428}
23429
23430// SetEnableInterContainerTrafficEncryption sets the EnableInterContainerTrafficEncryption field's value.
23431func (s *TrainingJob) SetEnableInterContainerTrafficEncryption(v bool) *TrainingJob {
23432	s.EnableInterContainerTrafficEncryption = &v
23433	return s
23434}
23435
23436// SetEnableNetworkIsolation sets the EnableNetworkIsolation field's value.
23437func (s *TrainingJob) SetEnableNetworkIsolation(v bool) *TrainingJob {
23438	s.EnableNetworkIsolation = &v
23439	return s
23440}
23441
23442// SetFailureReason sets the FailureReason field's value.
23443func (s *TrainingJob) SetFailureReason(v string) *TrainingJob {
23444	s.FailureReason = &v
23445	return s
23446}
23447
23448// SetFinalMetricDataList sets the FinalMetricDataList field's value.
23449func (s *TrainingJob) SetFinalMetricDataList(v []*MetricData) *TrainingJob {
23450	s.FinalMetricDataList = v
23451	return s
23452}
23453
23454// SetHyperParameters sets the HyperParameters field's value.
23455func (s *TrainingJob) SetHyperParameters(v map[string]*string) *TrainingJob {
23456	s.HyperParameters = v
23457	return s
23458}
23459
23460// SetInputDataConfig sets the InputDataConfig field's value.
23461func (s *TrainingJob) SetInputDataConfig(v []*Channel) *TrainingJob {
23462	s.InputDataConfig = v
23463	return s
23464}
23465
23466// SetLabelingJobArn sets the LabelingJobArn field's value.
23467func (s *TrainingJob) SetLabelingJobArn(v string) *TrainingJob {
23468	s.LabelingJobArn = &v
23469	return s
23470}
23471
23472// SetLastModifiedTime sets the LastModifiedTime field's value.
23473func (s *TrainingJob) SetLastModifiedTime(v time.Time) *TrainingJob {
23474	s.LastModifiedTime = &v
23475	return s
23476}
23477
23478// SetModelArtifacts sets the ModelArtifacts field's value.
23479func (s *TrainingJob) SetModelArtifacts(v *ModelArtifacts) *TrainingJob {
23480	s.ModelArtifacts = v
23481	return s
23482}
23483
23484// SetOutputDataConfig sets the OutputDataConfig field's value.
23485func (s *TrainingJob) SetOutputDataConfig(v *OutputDataConfig) *TrainingJob {
23486	s.OutputDataConfig = v
23487	return s
23488}
23489
23490// SetResourceConfig sets the ResourceConfig field's value.
23491func (s *TrainingJob) SetResourceConfig(v *ResourceConfig) *TrainingJob {
23492	s.ResourceConfig = v
23493	return s
23494}
23495
23496// SetRoleArn sets the RoleArn field's value.
23497func (s *TrainingJob) SetRoleArn(v string) *TrainingJob {
23498	s.RoleArn = &v
23499	return s
23500}
23501
23502// SetSecondaryStatus sets the SecondaryStatus field's value.
23503func (s *TrainingJob) SetSecondaryStatus(v string) *TrainingJob {
23504	s.SecondaryStatus = &v
23505	return s
23506}
23507
23508// SetSecondaryStatusTransitions sets the SecondaryStatusTransitions field's value.
23509func (s *TrainingJob) SetSecondaryStatusTransitions(v []*SecondaryStatusTransition) *TrainingJob {
23510	s.SecondaryStatusTransitions = v
23511	return s
23512}
23513
23514// SetStoppingCondition sets the StoppingCondition field's value.
23515func (s *TrainingJob) SetStoppingCondition(v *StoppingCondition) *TrainingJob {
23516	s.StoppingCondition = v
23517	return s
23518}
23519
23520// SetTags sets the Tags field's value.
23521func (s *TrainingJob) SetTags(v []*Tag) *TrainingJob {
23522	s.Tags = v
23523	return s
23524}
23525
23526// SetTrainingEndTime sets the TrainingEndTime field's value.
23527func (s *TrainingJob) SetTrainingEndTime(v time.Time) *TrainingJob {
23528	s.TrainingEndTime = &v
23529	return s
23530}
23531
23532// SetTrainingJobArn sets the TrainingJobArn field's value.
23533func (s *TrainingJob) SetTrainingJobArn(v string) *TrainingJob {
23534	s.TrainingJobArn = &v
23535	return s
23536}
23537
23538// SetTrainingJobName sets the TrainingJobName field's value.
23539func (s *TrainingJob) SetTrainingJobName(v string) *TrainingJob {
23540	s.TrainingJobName = &v
23541	return s
23542}
23543
23544// SetTrainingJobStatus sets the TrainingJobStatus field's value.
23545func (s *TrainingJob) SetTrainingJobStatus(v string) *TrainingJob {
23546	s.TrainingJobStatus = &v
23547	return s
23548}
23549
23550// SetTrainingStartTime sets the TrainingStartTime field's value.
23551func (s *TrainingJob) SetTrainingStartTime(v time.Time) *TrainingJob {
23552	s.TrainingStartTime = &v
23553	return s
23554}
23555
23556// SetTuningJobArn sets the TuningJobArn field's value.
23557func (s *TrainingJob) SetTuningJobArn(v string) *TrainingJob {
23558	s.TuningJobArn = &v
23559	return s
23560}
23561
23562// SetVpcConfig sets the VpcConfig field's value.
23563func (s *TrainingJob) SetVpcConfig(v *VpcConfig) *TrainingJob {
23564	s.VpcConfig = v
23565	return s
23566}
23567
23568// Defines the input needed to run a training job using the algorithm.
23569type TrainingJobDefinition struct {
23570	_ struct{} `type:"structure"`
23571
23572	// The hyperparameters used for the training job.
23573	HyperParameters map[string]*string `type:"map"`
23574
23575	// An array of Channel objects, each of which specifies an input source.
23576	//
23577	// InputDataConfig is a required field
23578	InputDataConfig []*Channel `min:"1" type:"list" required:"true"`
23579
23580	// the path to the S3 bucket where you want to store model artifacts. Amazon
23581	// SageMaker creates subfolders for the artifacts.
23582	//
23583	// OutputDataConfig is a required field
23584	OutputDataConfig *OutputDataConfig `type:"structure" required:"true"`
23585
23586	// The resources, including the ML compute instances and ML storage volumes,
23587	// to use for model training.
23588	//
23589	// ResourceConfig is a required field
23590	ResourceConfig *ResourceConfig `type:"structure" required:"true"`
23591
23592	// Specifies a limit to how long a model training job can run. When the job
23593	// reaches the time limit, Amazon SageMaker ends the training job. Use this
23594	// API to cap model training costs.
23595	//
23596	// To stop a job, Amazon SageMaker sends the algorithm the SIGTERM signal, which
23597	// delays job termination for 120 seconds. Algorithms can use this 120-second
23598	// window to save the model artifacts.
23599	//
23600	// StoppingCondition is a required field
23601	StoppingCondition *StoppingCondition `type:"structure" required:"true"`
23602
23603	// The input mode used by the algorithm for the training job. For the input
23604	// modes that Amazon SageMaker algorithms support, see Algorithms (https://docs.aws.amazon.com/sagemaker/latest/dg/algos.html).
23605	//
23606	// If an algorithm supports the File input mode, Amazon SageMaker downloads
23607	// the training data from S3 to the provisioned ML storage Volume, and mounts
23608	// the directory to docker volume for training container. If an algorithm supports
23609	// the Pipe input mode, Amazon SageMaker streams data directly from S3 to the
23610	// container.
23611	//
23612	// TrainingInputMode is a required field
23613	TrainingInputMode *string `type:"string" required:"true" enum:"TrainingInputMode"`
23614}
23615
23616// String returns the string representation
23617func (s TrainingJobDefinition) String() string {
23618	return awsutil.Prettify(s)
23619}
23620
23621// GoString returns the string representation
23622func (s TrainingJobDefinition) GoString() string {
23623	return s.String()
23624}
23625
23626// Validate inspects the fields of the type to determine if they are valid.
23627func (s *TrainingJobDefinition) Validate() error {
23628	invalidParams := request.ErrInvalidParams{Context: "TrainingJobDefinition"}
23629	if s.InputDataConfig == nil {
23630		invalidParams.Add(request.NewErrParamRequired("InputDataConfig"))
23631	}
23632	if s.InputDataConfig != nil && len(s.InputDataConfig) < 1 {
23633		invalidParams.Add(request.NewErrParamMinLen("InputDataConfig", 1))
23634	}
23635	if s.OutputDataConfig == nil {
23636		invalidParams.Add(request.NewErrParamRequired("OutputDataConfig"))
23637	}
23638	if s.ResourceConfig == nil {
23639		invalidParams.Add(request.NewErrParamRequired("ResourceConfig"))
23640	}
23641	if s.StoppingCondition == nil {
23642		invalidParams.Add(request.NewErrParamRequired("StoppingCondition"))
23643	}
23644	if s.TrainingInputMode == nil {
23645		invalidParams.Add(request.NewErrParamRequired("TrainingInputMode"))
23646	}
23647	if s.InputDataConfig != nil {
23648		for i, v := range s.InputDataConfig {
23649			if v == nil {
23650				continue
23651			}
23652			if err := v.Validate(); err != nil {
23653				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "InputDataConfig", i), err.(request.ErrInvalidParams))
23654			}
23655		}
23656	}
23657	if s.OutputDataConfig != nil {
23658		if err := s.OutputDataConfig.Validate(); err != nil {
23659			invalidParams.AddNested("OutputDataConfig", err.(request.ErrInvalidParams))
23660		}
23661	}
23662	if s.ResourceConfig != nil {
23663		if err := s.ResourceConfig.Validate(); err != nil {
23664			invalidParams.AddNested("ResourceConfig", err.(request.ErrInvalidParams))
23665		}
23666	}
23667	if s.StoppingCondition != nil {
23668		if err := s.StoppingCondition.Validate(); err != nil {
23669			invalidParams.AddNested("StoppingCondition", err.(request.ErrInvalidParams))
23670		}
23671	}
23672
23673	if invalidParams.Len() > 0 {
23674		return invalidParams
23675	}
23676	return nil
23677}
23678
23679// SetHyperParameters sets the HyperParameters field's value.
23680func (s *TrainingJobDefinition) SetHyperParameters(v map[string]*string) *TrainingJobDefinition {
23681	s.HyperParameters = v
23682	return s
23683}
23684
23685// SetInputDataConfig sets the InputDataConfig field's value.
23686func (s *TrainingJobDefinition) SetInputDataConfig(v []*Channel) *TrainingJobDefinition {
23687	s.InputDataConfig = v
23688	return s
23689}
23690
23691// SetOutputDataConfig sets the OutputDataConfig field's value.
23692func (s *TrainingJobDefinition) SetOutputDataConfig(v *OutputDataConfig) *TrainingJobDefinition {
23693	s.OutputDataConfig = v
23694	return s
23695}
23696
23697// SetResourceConfig sets the ResourceConfig field's value.
23698func (s *TrainingJobDefinition) SetResourceConfig(v *ResourceConfig) *TrainingJobDefinition {
23699	s.ResourceConfig = v
23700	return s
23701}
23702
23703// SetStoppingCondition sets the StoppingCondition field's value.
23704func (s *TrainingJobDefinition) SetStoppingCondition(v *StoppingCondition) *TrainingJobDefinition {
23705	s.StoppingCondition = v
23706	return s
23707}
23708
23709// SetTrainingInputMode sets the TrainingInputMode field's value.
23710func (s *TrainingJobDefinition) SetTrainingInputMode(v string) *TrainingJobDefinition {
23711	s.TrainingInputMode = &v
23712	return s
23713}
23714
23715// The numbers of training jobs launched by a hyperparameter tuning job, categorized
23716// by status.
23717type TrainingJobStatusCounters struct {
23718	_ struct{} `type:"structure"`
23719
23720	// The number of completed training jobs launched by the hyperparameter tuning
23721	// job.
23722	Completed *int64 `type:"integer"`
23723
23724	// The number of in-progress training jobs launched by a hyperparameter tuning
23725	// job.
23726	InProgress *int64 `type:"integer"`
23727
23728	// The number of training jobs that failed and can't be retried. A failed training
23729	// job can't be retried if it failed because a client error occurred.
23730	NonRetryableError *int64 `type:"integer"`
23731
23732	// The number of training jobs that failed, but can be retried. A failed training
23733	// job can be retried only if it failed because an internal service error occurred.
23734	RetryableError *int64 `type:"integer"`
23735
23736	// The number of training jobs launched by a hyperparameter tuning job that
23737	// were manually stopped.
23738	Stopped *int64 `type:"integer"`
23739}
23740
23741// String returns the string representation
23742func (s TrainingJobStatusCounters) String() string {
23743	return awsutil.Prettify(s)
23744}
23745
23746// GoString returns the string representation
23747func (s TrainingJobStatusCounters) GoString() string {
23748	return s.String()
23749}
23750
23751// SetCompleted sets the Completed field's value.
23752func (s *TrainingJobStatusCounters) SetCompleted(v int64) *TrainingJobStatusCounters {
23753	s.Completed = &v
23754	return s
23755}
23756
23757// SetInProgress sets the InProgress field's value.
23758func (s *TrainingJobStatusCounters) SetInProgress(v int64) *TrainingJobStatusCounters {
23759	s.InProgress = &v
23760	return s
23761}
23762
23763// SetNonRetryableError sets the NonRetryableError field's value.
23764func (s *TrainingJobStatusCounters) SetNonRetryableError(v int64) *TrainingJobStatusCounters {
23765	s.NonRetryableError = &v
23766	return s
23767}
23768
23769// SetRetryableError sets the RetryableError field's value.
23770func (s *TrainingJobStatusCounters) SetRetryableError(v int64) *TrainingJobStatusCounters {
23771	s.RetryableError = &v
23772	return s
23773}
23774
23775// SetStopped sets the Stopped field's value.
23776func (s *TrainingJobStatusCounters) SetStopped(v int64) *TrainingJobStatusCounters {
23777	s.Stopped = &v
23778	return s
23779}
23780
23781// Provides summary information about a training job.
23782type TrainingJobSummary struct {
23783	_ struct{} `type:"structure"`
23784
23785	// A timestamp that shows when the training job was created.
23786	//
23787	// CreationTime is a required field
23788	CreationTime *time.Time `type:"timestamp" required:"true"`
23789
23790	// Timestamp when the training job was last modified.
23791	LastModifiedTime *time.Time `type:"timestamp"`
23792
23793	// A timestamp that shows when the training job ended. This field is set only
23794	// if the training job has one of the terminal statuses (Completed, Failed,
23795	// or Stopped).
23796	TrainingEndTime *time.Time `type:"timestamp"`
23797
23798	// The Amazon Resource Name (ARN) of the training job.
23799	//
23800	// TrainingJobArn is a required field
23801	TrainingJobArn *string `type:"string" required:"true"`
23802
23803	// The name of the training job that you want a summary for.
23804	//
23805	// TrainingJobName is a required field
23806	TrainingJobName *string `min:"1" type:"string" required:"true"`
23807
23808	// The status of the training job.
23809	//
23810	// TrainingJobStatus is a required field
23811	TrainingJobStatus *string `type:"string" required:"true" enum:"TrainingJobStatus"`
23812}
23813
23814// String returns the string representation
23815func (s TrainingJobSummary) String() string {
23816	return awsutil.Prettify(s)
23817}
23818
23819// GoString returns the string representation
23820func (s TrainingJobSummary) GoString() string {
23821	return s.String()
23822}
23823
23824// SetCreationTime sets the CreationTime field's value.
23825func (s *TrainingJobSummary) SetCreationTime(v time.Time) *TrainingJobSummary {
23826	s.CreationTime = &v
23827	return s
23828}
23829
23830// SetLastModifiedTime sets the LastModifiedTime field's value.
23831func (s *TrainingJobSummary) SetLastModifiedTime(v time.Time) *TrainingJobSummary {
23832	s.LastModifiedTime = &v
23833	return s
23834}
23835
23836// SetTrainingEndTime sets the TrainingEndTime field's value.
23837func (s *TrainingJobSummary) SetTrainingEndTime(v time.Time) *TrainingJobSummary {
23838	s.TrainingEndTime = &v
23839	return s
23840}
23841
23842// SetTrainingJobArn sets the TrainingJobArn field's value.
23843func (s *TrainingJobSummary) SetTrainingJobArn(v string) *TrainingJobSummary {
23844	s.TrainingJobArn = &v
23845	return s
23846}
23847
23848// SetTrainingJobName sets the TrainingJobName field's value.
23849func (s *TrainingJobSummary) SetTrainingJobName(v string) *TrainingJobSummary {
23850	s.TrainingJobName = &v
23851	return s
23852}
23853
23854// SetTrainingJobStatus sets the TrainingJobStatus field's value.
23855func (s *TrainingJobSummary) SetTrainingJobStatus(v string) *TrainingJobSummary {
23856	s.TrainingJobStatus = &v
23857	return s
23858}
23859
23860// Defines how the algorithm is used for a training job.
23861type TrainingSpecification struct {
23862	_ struct{} `type:"structure"`
23863
23864	// A list of MetricDefinition objects, which are used for parsing metrics generated
23865	// by the algorithm.
23866	MetricDefinitions []*MetricDefinition `type:"list"`
23867
23868	// A list of the HyperParameterSpecification objects, that define the supported
23869	// hyperparameters. This is required if the algorithm supports automatic model
23870	// tuning.>
23871	SupportedHyperParameters []*HyperParameterSpecification `type:"list"`
23872
23873	// A list of the instance types that this algorithm can use for training.
23874	//
23875	// SupportedTrainingInstanceTypes is a required field
23876	SupportedTrainingInstanceTypes []*string `type:"list" required:"true"`
23877
23878	// A list of the metrics that the algorithm emits that can be used as the objective
23879	// metric in a hyperparameter tuning job.
23880	SupportedTuningJobObjectiveMetrics []*HyperParameterTuningJobObjective `type:"list"`
23881
23882	// Indicates whether the algorithm supports distributed training. If set to
23883	// false, buyers can’t request more than one instance during training.
23884	SupportsDistributedTraining *bool `type:"boolean"`
23885
23886	// A list of ChannelSpecification objects, which specify the input sources to
23887	// be used by the algorithm.
23888	//
23889	// TrainingChannels is a required field
23890	TrainingChannels []*ChannelSpecification `min:"1" type:"list" required:"true"`
23891
23892	// The Amazon ECR registry path of the Docker image that contains the training
23893	// algorithm.
23894	//
23895	// TrainingImage is a required field
23896	TrainingImage *string `type:"string" required:"true"`
23897
23898	// An MD5 hash of the training algorithm that identifies the Docker image used
23899	// for training.
23900	TrainingImageDigest *string `type:"string"`
23901}
23902
23903// String returns the string representation
23904func (s TrainingSpecification) String() string {
23905	return awsutil.Prettify(s)
23906}
23907
23908// GoString returns the string representation
23909func (s TrainingSpecification) GoString() string {
23910	return s.String()
23911}
23912
23913// Validate inspects the fields of the type to determine if they are valid.
23914func (s *TrainingSpecification) Validate() error {
23915	invalidParams := request.ErrInvalidParams{Context: "TrainingSpecification"}
23916	if s.SupportedTrainingInstanceTypes == nil {
23917		invalidParams.Add(request.NewErrParamRequired("SupportedTrainingInstanceTypes"))
23918	}
23919	if s.TrainingChannels == nil {
23920		invalidParams.Add(request.NewErrParamRequired("TrainingChannels"))
23921	}
23922	if s.TrainingChannels != nil && len(s.TrainingChannels) < 1 {
23923		invalidParams.Add(request.NewErrParamMinLen("TrainingChannels", 1))
23924	}
23925	if s.TrainingImage == nil {
23926		invalidParams.Add(request.NewErrParamRequired("TrainingImage"))
23927	}
23928	if s.MetricDefinitions != nil {
23929		for i, v := range s.MetricDefinitions {
23930			if v == nil {
23931				continue
23932			}
23933			if err := v.Validate(); err != nil {
23934				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MetricDefinitions", i), err.(request.ErrInvalidParams))
23935			}
23936		}
23937	}
23938	if s.SupportedHyperParameters != nil {
23939		for i, v := range s.SupportedHyperParameters {
23940			if v == nil {
23941				continue
23942			}
23943			if err := v.Validate(); err != nil {
23944				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SupportedHyperParameters", i), err.(request.ErrInvalidParams))
23945			}
23946		}
23947	}
23948	if s.SupportedTuningJobObjectiveMetrics != nil {
23949		for i, v := range s.SupportedTuningJobObjectiveMetrics {
23950			if v == nil {
23951				continue
23952			}
23953			if err := v.Validate(); err != nil {
23954				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "SupportedTuningJobObjectiveMetrics", i), err.(request.ErrInvalidParams))
23955			}
23956		}
23957	}
23958	if s.TrainingChannels != nil {
23959		for i, v := range s.TrainingChannels {
23960			if v == nil {
23961				continue
23962			}
23963			if err := v.Validate(); err != nil {
23964				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "TrainingChannels", i), err.(request.ErrInvalidParams))
23965			}
23966		}
23967	}
23968
23969	if invalidParams.Len() > 0 {
23970		return invalidParams
23971	}
23972	return nil
23973}
23974
23975// SetMetricDefinitions sets the MetricDefinitions field's value.
23976func (s *TrainingSpecification) SetMetricDefinitions(v []*MetricDefinition) *TrainingSpecification {
23977	s.MetricDefinitions = v
23978	return s
23979}
23980
23981// SetSupportedHyperParameters sets the SupportedHyperParameters field's value.
23982func (s *TrainingSpecification) SetSupportedHyperParameters(v []*HyperParameterSpecification) *TrainingSpecification {
23983	s.SupportedHyperParameters = v
23984	return s
23985}
23986
23987// SetSupportedTrainingInstanceTypes sets the SupportedTrainingInstanceTypes field's value.
23988func (s *TrainingSpecification) SetSupportedTrainingInstanceTypes(v []*string) *TrainingSpecification {
23989	s.SupportedTrainingInstanceTypes = v
23990	return s
23991}
23992
23993// SetSupportedTuningJobObjectiveMetrics sets the SupportedTuningJobObjectiveMetrics field's value.
23994func (s *TrainingSpecification) SetSupportedTuningJobObjectiveMetrics(v []*HyperParameterTuningJobObjective) *TrainingSpecification {
23995	s.SupportedTuningJobObjectiveMetrics = v
23996	return s
23997}
23998
23999// SetSupportsDistributedTraining sets the SupportsDistributedTraining field's value.
24000func (s *TrainingSpecification) SetSupportsDistributedTraining(v bool) *TrainingSpecification {
24001	s.SupportsDistributedTraining = &v
24002	return s
24003}
24004
24005// SetTrainingChannels sets the TrainingChannels field's value.
24006func (s *TrainingSpecification) SetTrainingChannels(v []*ChannelSpecification) *TrainingSpecification {
24007	s.TrainingChannels = v
24008	return s
24009}
24010
24011// SetTrainingImage sets the TrainingImage field's value.
24012func (s *TrainingSpecification) SetTrainingImage(v string) *TrainingSpecification {
24013	s.TrainingImage = &v
24014	return s
24015}
24016
24017// SetTrainingImageDigest sets the TrainingImageDigest field's value.
24018func (s *TrainingSpecification) SetTrainingImageDigest(v string) *TrainingSpecification {
24019	s.TrainingImageDigest = &v
24020	return s
24021}
24022
24023// Describes the location of the channel data.
24024type TransformDataSource struct {
24025	_ struct{} `type:"structure"`
24026
24027	// The S3 location of the data source that is associated with a channel.
24028	//
24029	// S3DataSource is a required field
24030	S3DataSource *TransformS3DataSource `type:"structure" required:"true"`
24031}
24032
24033// String returns the string representation
24034func (s TransformDataSource) String() string {
24035	return awsutil.Prettify(s)
24036}
24037
24038// GoString returns the string representation
24039func (s TransformDataSource) GoString() string {
24040	return s.String()
24041}
24042
24043// Validate inspects the fields of the type to determine if they are valid.
24044func (s *TransformDataSource) Validate() error {
24045	invalidParams := request.ErrInvalidParams{Context: "TransformDataSource"}
24046	if s.S3DataSource == nil {
24047		invalidParams.Add(request.NewErrParamRequired("S3DataSource"))
24048	}
24049	if s.S3DataSource != nil {
24050		if err := s.S3DataSource.Validate(); err != nil {
24051			invalidParams.AddNested("S3DataSource", err.(request.ErrInvalidParams))
24052		}
24053	}
24054
24055	if invalidParams.Len() > 0 {
24056		return invalidParams
24057	}
24058	return nil
24059}
24060
24061// SetS3DataSource sets the S3DataSource field's value.
24062func (s *TransformDataSource) SetS3DataSource(v *TransformS3DataSource) *TransformDataSource {
24063	s.S3DataSource = v
24064	return s
24065}
24066
24067// Describes the input source of a transform job and the way the transform job
24068// consumes it.
24069type TransformInput struct {
24070	_ struct{} `type:"structure"`
24071
24072	// If your transform data is compressed, specify the compression type. Amazon
24073	// SageMaker automatically decompresses the data for the transform job accordingly.
24074	// The default value is None.
24075	CompressionType *string `type:"string" enum:"CompressionType"`
24076
24077	// The multipurpose internet mail extension (MIME) type of the data. Amazon
24078	// SageMaker uses the MIME type with each http call to transfer data to the
24079	// transform job.
24080	ContentType *string `type:"string"`
24081
24082	// Describes the location of the channel data, which is, the S3 location of
24083	// the input data that the model can consume.
24084	//
24085	// DataSource is a required field
24086	DataSource *TransformDataSource `type:"structure" required:"true"`
24087
24088	// The method to use to split the transform job's data files into smaller batches.
24089	// Splitting is necessary when the total size of each object is too large to
24090	// fit in a single request. You can also use data splitting to improve performance
24091	// by processing multiple concurrent mini-batches. The default value for SplitType
24092	// is None, which indicates that input data files are not split, and request
24093	// payloads contain the entire contents of an input object. Set the value of
24094	// this parameter to Line to split records on a newline character boundary.
24095	// SplitType also supports a number of record-oriented binary data formats.
24096	//
24097	// When splitting is enabled, the size of a mini-batch depends on the values
24098	// of the BatchStrategy and MaxPayloadInMB parameters. When the value of BatchStrategy
24099	// is MultiRecord, Amazon SageMaker sends the maximum number of records in each
24100	// request, up to the MaxPayloadInMB limit. If the value of BatchStrategy is
24101	// SingleRecord, Amazon SageMaker sends individual records in each request.
24102	//
24103	// Some data formats represent a record as a binary payload wrapped with extra
24104	// padding bytes. When splitting is applied to a binary data format, padding
24105	// is removed if the value of BatchStrategy is set to SingleRecord. Padding
24106	// is not removed if the value of BatchStrategy is set to MultiRecord.
24107	//
24108	// For more information about the RecordIO, see Data Format (http://mxnet.io/architecture/note_data_loading.html#data-format)
24109	// in the MXNet documentation. For more information about the TFRecord, see
24110	// Consuming TFRecord data (https://www.tensorflow.org/guide/datasets#consuming_tfrecord_data)
24111	// in the TensorFlow documentation.
24112	SplitType *string `type:"string" enum:"SplitType"`
24113}
24114
24115// String returns the string representation
24116func (s TransformInput) String() string {
24117	return awsutil.Prettify(s)
24118}
24119
24120// GoString returns the string representation
24121func (s TransformInput) GoString() string {
24122	return s.String()
24123}
24124
24125// Validate inspects the fields of the type to determine if they are valid.
24126func (s *TransformInput) Validate() error {
24127	invalidParams := request.ErrInvalidParams{Context: "TransformInput"}
24128	if s.DataSource == nil {
24129		invalidParams.Add(request.NewErrParamRequired("DataSource"))
24130	}
24131	if s.DataSource != nil {
24132		if err := s.DataSource.Validate(); err != nil {
24133			invalidParams.AddNested("DataSource", err.(request.ErrInvalidParams))
24134		}
24135	}
24136
24137	if invalidParams.Len() > 0 {
24138		return invalidParams
24139	}
24140	return nil
24141}
24142
24143// SetCompressionType sets the CompressionType field's value.
24144func (s *TransformInput) SetCompressionType(v string) *TransformInput {
24145	s.CompressionType = &v
24146	return s
24147}
24148
24149// SetContentType sets the ContentType field's value.
24150func (s *TransformInput) SetContentType(v string) *TransformInput {
24151	s.ContentType = &v
24152	return s
24153}
24154
24155// SetDataSource sets the DataSource field's value.
24156func (s *TransformInput) SetDataSource(v *TransformDataSource) *TransformInput {
24157	s.DataSource = v
24158	return s
24159}
24160
24161// SetSplitType sets the SplitType field's value.
24162func (s *TransformInput) SetSplitType(v string) *TransformInput {
24163	s.SplitType = &v
24164	return s
24165}
24166
24167// Defines the input needed to run a transform job using the inference specification
24168// specified in the algorithm.
24169type TransformJobDefinition struct {
24170	_ struct{} `type:"structure"`
24171
24172	// A string that determines the number of records included in a single mini-batch.
24173	//
24174	// SingleRecord means only one record is used per mini-batch. MultiRecord means
24175	// a mini-batch is set to contain as many records that can fit within the MaxPayloadInMB
24176	// limit.
24177	BatchStrategy *string `type:"string" enum:"BatchStrategy"`
24178
24179	// The environment variables to set in the Docker container. We support up to
24180	// 16 key and values entries in the map.
24181	Environment map[string]*string `type:"map"`
24182
24183	// The maximum number of parallel requests that can be sent to each instance
24184	// in a transform job. The default value is 1.
24185	MaxConcurrentTransforms *int64 `type:"integer"`
24186
24187	// The maximum payload size allowed, in MB. A payload is the data portion of
24188	// a record (without metadata).
24189	MaxPayloadInMB *int64 `type:"integer"`
24190
24191	// A description of the input source and the way the transform job consumes
24192	// it.
24193	//
24194	// TransformInput is a required field
24195	TransformInput *TransformInput `type:"structure" required:"true"`
24196
24197	// Identifies the Amazon S3 location where you want Amazon SageMaker to save
24198	// the results from the transform job.
24199	//
24200	// TransformOutput is a required field
24201	TransformOutput *TransformOutput `type:"structure" required:"true"`
24202
24203	// Identifies the ML compute instances for the transform job.
24204	//
24205	// TransformResources is a required field
24206	TransformResources *TransformResources `type:"structure" required:"true"`
24207}
24208
24209// String returns the string representation
24210func (s TransformJobDefinition) String() string {
24211	return awsutil.Prettify(s)
24212}
24213
24214// GoString returns the string representation
24215func (s TransformJobDefinition) GoString() string {
24216	return s.String()
24217}
24218
24219// Validate inspects the fields of the type to determine if they are valid.
24220func (s *TransformJobDefinition) Validate() error {
24221	invalidParams := request.ErrInvalidParams{Context: "TransformJobDefinition"}
24222	if s.TransformInput == nil {
24223		invalidParams.Add(request.NewErrParamRequired("TransformInput"))
24224	}
24225	if s.TransformOutput == nil {
24226		invalidParams.Add(request.NewErrParamRequired("TransformOutput"))
24227	}
24228	if s.TransformResources == nil {
24229		invalidParams.Add(request.NewErrParamRequired("TransformResources"))
24230	}
24231	if s.TransformInput != nil {
24232		if err := s.TransformInput.Validate(); err != nil {
24233			invalidParams.AddNested("TransformInput", err.(request.ErrInvalidParams))
24234		}
24235	}
24236	if s.TransformOutput != nil {
24237		if err := s.TransformOutput.Validate(); err != nil {
24238			invalidParams.AddNested("TransformOutput", err.(request.ErrInvalidParams))
24239		}
24240	}
24241	if s.TransformResources != nil {
24242		if err := s.TransformResources.Validate(); err != nil {
24243			invalidParams.AddNested("TransformResources", err.(request.ErrInvalidParams))
24244		}
24245	}
24246
24247	if invalidParams.Len() > 0 {
24248		return invalidParams
24249	}
24250	return nil
24251}
24252
24253// SetBatchStrategy sets the BatchStrategy field's value.
24254func (s *TransformJobDefinition) SetBatchStrategy(v string) *TransformJobDefinition {
24255	s.BatchStrategy = &v
24256	return s
24257}
24258
24259// SetEnvironment sets the Environment field's value.
24260func (s *TransformJobDefinition) SetEnvironment(v map[string]*string) *TransformJobDefinition {
24261	s.Environment = v
24262	return s
24263}
24264
24265// SetMaxConcurrentTransforms sets the MaxConcurrentTransforms field's value.
24266func (s *TransformJobDefinition) SetMaxConcurrentTransforms(v int64) *TransformJobDefinition {
24267	s.MaxConcurrentTransforms = &v
24268	return s
24269}
24270
24271// SetMaxPayloadInMB sets the MaxPayloadInMB field's value.
24272func (s *TransformJobDefinition) SetMaxPayloadInMB(v int64) *TransformJobDefinition {
24273	s.MaxPayloadInMB = &v
24274	return s
24275}
24276
24277// SetTransformInput sets the TransformInput field's value.
24278func (s *TransformJobDefinition) SetTransformInput(v *TransformInput) *TransformJobDefinition {
24279	s.TransformInput = v
24280	return s
24281}
24282
24283// SetTransformOutput sets the TransformOutput field's value.
24284func (s *TransformJobDefinition) SetTransformOutput(v *TransformOutput) *TransformJobDefinition {
24285	s.TransformOutput = v
24286	return s
24287}
24288
24289// SetTransformResources sets the TransformResources field's value.
24290func (s *TransformJobDefinition) SetTransformResources(v *TransformResources) *TransformJobDefinition {
24291	s.TransformResources = v
24292	return s
24293}
24294
24295// Provides a summary of a transform job. Multiple TransformJobSummary objects
24296// are returned as a list after in response to a ListTransformJobs call.
24297type TransformJobSummary struct {
24298	_ struct{} `type:"structure"`
24299
24300	// A timestamp that shows when the transform Job was created.
24301	//
24302	// CreationTime is a required field
24303	CreationTime *time.Time `type:"timestamp" required:"true"`
24304
24305	// If the transform job failed, the reason it failed.
24306	FailureReason *string `type:"string"`
24307
24308	// Indicates when the transform job was last modified.
24309	LastModifiedTime *time.Time `type:"timestamp"`
24310
24311	// Indicates when the transform job ends on compute instances. For successful
24312	// jobs and stopped jobs, this is the exact time recorded after the results
24313	// are uploaded. For failed jobs, this is when Amazon SageMaker detected that
24314	// the job failed.
24315	TransformEndTime *time.Time `type:"timestamp"`
24316
24317	// The Amazon Resource Name (ARN) of the transform job.
24318	//
24319	// TransformJobArn is a required field
24320	TransformJobArn *string `type:"string" required:"true"`
24321
24322	// The name of the transform job.
24323	//
24324	// TransformJobName is a required field
24325	TransformJobName *string `min:"1" type:"string" required:"true"`
24326
24327	// The status of the transform job.
24328	//
24329	// TransformJobStatus is a required field
24330	TransformJobStatus *string `type:"string" required:"true" enum:"TransformJobStatus"`
24331}
24332
24333// String returns the string representation
24334func (s TransformJobSummary) String() string {
24335	return awsutil.Prettify(s)
24336}
24337
24338// GoString returns the string representation
24339func (s TransformJobSummary) GoString() string {
24340	return s.String()
24341}
24342
24343// SetCreationTime sets the CreationTime field's value.
24344func (s *TransformJobSummary) SetCreationTime(v time.Time) *TransformJobSummary {
24345	s.CreationTime = &v
24346	return s
24347}
24348
24349// SetFailureReason sets the FailureReason field's value.
24350func (s *TransformJobSummary) SetFailureReason(v string) *TransformJobSummary {
24351	s.FailureReason = &v
24352	return s
24353}
24354
24355// SetLastModifiedTime sets the LastModifiedTime field's value.
24356func (s *TransformJobSummary) SetLastModifiedTime(v time.Time) *TransformJobSummary {
24357	s.LastModifiedTime = &v
24358	return s
24359}
24360
24361// SetTransformEndTime sets the TransformEndTime field's value.
24362func (s *TransformJobSummary) SetTransformEndTime(v time.Time) *TransformJobSummary {
24363	s.TransformEndTime = &v
24364	return s
24365}
24366
24367// SetTransformJobArn sets the TransformJobArn field's value.
24368func (s *TransformJobSummary) SetTransformJobArn(v string) *TransformJobSummary {
24369	s.TransformJobArn = &v
24370	return s
24371}
24372
24373// SetTransformJobName sets the TransformJobName field's value.
24374func (s *TransformJobSummary) SetTransformJobName(v string) *TransformJobSummary {
24375	s.TransformJobName = &v
24376	return s
24377}
24378
24379// SetTransformJobStatus sets the TransformJobStatus field's value.
24380func (s *TransformJobSummary) SetTransformJobStatus(v string) *TransformJobSummary {
24381	s.TransformJobStatus = &v
24382	return s
24383}
24384
24385// Describes the results of a transform job.
24386type TransformOutput struct {
24387	_ struct{} `type:"structure"`
24388
24389	// The MIME type used to specify the output data. Amazon SageMaker uses the
24390	// MIME type with each http call to transfer data from the transform job.
24391	Accept *string `type:"string"`
24392
24393	// Defines how to assemble the results of the transform job as a single S3 object.
24394	// Choose a format that is most convenient to you. To concatenate the results
24395	// in binary format, specify None. To add a newline character at the end of
24396	// every transformed record, specify Line.
24397	AssembleWith *string `type:"string" enum:"AssemblyType"`
24398
24399	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
24400	// encrypt the model artifacts at rest using Amazon S3 server-side encryption.
24401	// The KmsKeyId can be any of the following formats:
24402	//
24403	//    * // KMS Key ID "1234abcd-12ab-34cd-56ef-1234567890ab"
24404	//
24405	//    * // Amazon Resource Name (ARN) of a KMS Key "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
24406	//
24407	//    * // KMS Key Alias "alias/ExampleAlias"
24408	//
24409	//    * // Amazon Resource Name (ARN) of a KMS Key Alias "arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias"
24410	//
24411	// If you don't provide a KMS key ID, Amazon SageMaker uses the default KMS
24412	// key for Amazon S3 for your role's account. For more information, see KMS-Managed
24413	// Encryption Keys (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingKMSEncryption.html)
24414	// in the Amazon Simple Storage Service Developer Guide.
24415	//
24416	// The KMS key policy must grant permission to the IAM role that you specify
24417	// in your CreateTramsformJob request. For more information, see Using Key Policies
24418	// in AWS KMS (http://docs.aws.amazon.com/kms/latest/developerguide/key-policies.html)
24419	// in the AWS Key Management Service Developer Guide.
24420	KmsKeyId *string `type:"string"`
24421
24422	// The Amazon S3 path where you want Amazon SageMaker to store the results of
24423	// the transform job. For example, s3://bucket-name/key-name-prefix.
24424	//
24425	// For every S3 object used as input for the transform job, batch transform
24426	// stores the transformed data with an .out suffix in a corresponding subfolder
24427	// in the location in the output prefix. For example, for the input data stored
24428	// at s3://bucket-name/input-name-prefix/dataset01/data.csv, batch transform
24429	// stores the transformed data at s3://bucket-name/output-name-prefix/input-name-prefix/data.csv.out.
24430	// Batch transform doesn't upload partially processed objects. For an input
24431	// S3 object that contains multiple records, it creates an .out file only if
24432	// the transform job succeeds on the entire file. When the input contains multiple
24433	// S3 objects, the batch transform job processes the listed S3 objects and uploads
24434	// only the output for successfully processed objects. If any object fails in
24435	// the transform job batch transform marks the job as failed to prompt investigation.
24436	//
24437	// S3OutputPath is a required field
24438	S3OutputPath *string `type:"string" required:"true"`
24439}
24440
24441// String returns the string representation
24442func (s TransformOutput) String() string {
24443	return awsutil.Prettify(s)
24444}
24445
24446// GoString returns the string representation
24447func (s TransformOutput) GoString() string {
24448	return s.String()
24449}
24450
24451// Validate inspects the fields of the type to determine if they are valid.
24452func (s *TransformOutput) Validate() error {
24453	invalidParams := request.ErrInvalidParams{Context: "TransformOutput"}
24454	if s.S3OutputPath == nil {
24455		invalidParams.Add(request.NewErrParamRequired("S3OutputPath"))
24456	}
24457
24458	if invalidParams.Len() > 0 {
24459		return invalidParams
24460	}
24461	return nil
24462}
24463
24464// SetAccept sets the Accept field's value.
24465func (s *TransformOutput) SetAccept(v string) *TransformOutput {
24466	s.Accept = &v
24467	return s
24468}
24469
24470// SetAssembleWith sets the AssembleWith field's value.
24471func (s *TransformOutput) SetAssembleWith(v string) *TransformOutput {
24472	s.AssembleWith = &v
24473	return s
24474}
24475
24476// SetKmsKeyId sets the KmsKeyId field's value.
24477func (s *TransformOutput) SetKmsKeyId(v string) *TransformOutput {
24478	s.KmsKeyId = &v
24479	return s
24480}
24481
24482// SetS3OutputPath sets the S3OutputPath field's value.
24483func (s *TransformOutput) SetS3OutputPath(v string) *TransformOutput {
24484	s.S3OutputPath = &v
24485	return s
24486}
24487
24488// Describes the resources, including ML instance types and ML instance count,
24489// to use for transform job.
24490type TransformResources struct {
24491	_ struct{} `type:"structure"`
24492
24493	// The number of ML compute instances to use in the transform job. For distributed
24494	// transform jobs, specify a value greater than 1. The default value is 1.
24495	//
24496	// InstanceCount is a required field
24497	InstanceCount *int64 `min:"1" type:"integer" required:"true"`
24498
24499	// The ML compute instance type for the transform job. If you are using built-in
24500	// algorithms to transform moderately sized datasets, we recommend using ml.m4.xlarge
24501	// or ml.m5.largeinstance types.
24502	//
24503	// InstanceType is a required field
24504	InstanceType *string `type:"string" required:"true" enum:"TransformInstanceType"`
24505
24506	// The AWS Key Management Service (AWS KMS) key that Amazon SageMaker uses to
24507	// encrypt data on the storage volume attached to the ML compute instance(s)
24508	// that run the batch transform job. The VolumeKmsKeyId can be any of the following
24509	// formats:
24510	//
24511	//    * // KMS Key ID "1234abcd-12ab-34cd-56ef-1234567890ab"
24512	//
24513	//    * // Amazon Resource Name (ARN) of a KMS Key "arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
24514	VolumeKmsKeyId *string `type:"string"`
24515}
24516
24517// String returns the string representation
24518func (s TransformResources) String() string {
24519	return awsutil.Prettify(s)
24520}
24521
24522// GoString returns the string representation
24523func (s TransformResources) GoString() string {
24524	return s.String()
24525}
24526
24527// Validate inspects the fields of the type to determine if they are valid.
24528func (s *TransformResources) Validate() error {
24529	invalidParams := request.ErrInvalidParams{Context: "TransformResources"}
24530	if s.InstanceCount == nil {
24531		invalidParams.Add(request.NewErrParamRequired("InstanceCount"))
24532	}
24533	if s.InstanceCount != nil && *s.InstanceCount < 1 {
24534		invalidParams.Add(request.NewErrParamMinValue("InstanceCount", 1))
24535	}
24536	if s.InstanceType == nil {
24537		invalidParams.Add(request.NewErrParamRequired("InstanceType"))
24538	}
24539
24540	if invalidParams.Len() > 0 {
24541		return invalidParams
24542	}
24543	return nil
24544}
24545
24546// SetInstanceCount sets the InstanceCount field's value.
24547func (s *TransformResources) SetInstanceCount(v int64) *TransformResources {
24548	s.InstanceCount = &v
24549	return s
24550}
24551
24552// SetInstanceType sets the InstanceType field's value.
24553func (s *TransformResources) SetInstanceType(v string) *TransformResources {
24554	s.InstanceType = &v
24555	return s
24556}
24557
24558// SetVolumeKmsKeyId sets the VolumeKmsKeyId field's value.
24559func (s *TransformResources) SetVolumeKmsKeyId(v string) *TransformResources {
24560	s.VolumeKmsKeyId = &v
24561	return s
24562}
24563
24564// Describes the S3 data source.
24565type TransformS3DataSource struct {
24566	_ struct{} `type:"structure"`
24567
24568	// If you choose S3Prefix, S3Uri identifies a key name prefix. Amazon SageMaker
24569	// uses all objects with the specified key name prefix for batch transform.
24570	//
24571	// If you choose ManifestFile, S3Uri identifies an object that is a manifest
24572	// file containing a list of object keys that you want Amazon SageMaker to use
24573	// for batch transform.
24574	//
24575	// The following values are compatible: ManifestFile, S3Prefix
24576	//
24577	// The following value is not compatible: AugmentedManifestFile
24578	//
24579	// S3DataType is a required field
24580	S3DataType *string `type:"string" required:"true" enum:"S3DataType"`
24581
24582	// Depending on the value specified for the S3DataType, identifies either a
24583	// key name prefix or a manifest. For example:
24584	//
24585	//    * A key name prefix might look like this: s3://bucketname/exampleprefix.
24586	//
24587	//    * A manifest might look like this: s3://bucketname/example.manifest The
24588	//    manifest is an S3 object which is a JSON file with the following format:
24589	//    [ {"prefix": "s3://customer_bucket/some/prefix/"}, "relative/path/to/custdata-1",
24590	//    "relative/path/custdata-2", ... ] The preceding JSON matches the following
24591	//    S3Uris: s3://customer_bucket/some/prefix/relative/path/to/custdata-1 s3://customer_bucket/some/prefix/relative/path/custdata-1
24592	//    ... The complete set of S3Uris in this manifest constitutes the input
24593	//    data for the channel for this datasource. The object that each S3Uris
24594	//    points to must be readable by the IAM role that Amazon SageMaker uses
24595	//    to perform tasks on your behalf.
24596	//
24597	// S3Uri is a required field
24598	S3Uri *string `type:"string" required:"true"`
24599}
24600
24601// String returns the string representation
24602func (s TransformS3DataSource) String() string {
24603	return awsutil.Prettify(s)
24604}
24605
24606// GoString returns the string representation
24607func (s TransformS3DataSource) GoString() string {
24608	return s.String()
24609}
24610
24611// Validate inspects the fields of the type to determine if they are valid.
24612func (s *TransformS3DataSource) Validate() error {
24613	invalidParams := request.ErrInvalidParams{Context: "TransformS3DataSource"}
24614	if s.S3DataType == nil {
24615		invalidParams.Add(request.NewErrParamRequired("S3DataType"))
24616	}
24617	if s.S3Uri == nil {
24618		invalidParams.Add(request.NewErrParamRequired("S3Uri"))
24619	}
24620
24621	if invalidParams.Len() > 0 {
24622		return invalidParams
24623	}
24624	return nil
24625}
24626
24627// SetS3DataType sets the S3DataType field's value.
24628func (s *TransformS3DataSource) SetS3DataType(v string) *TransformS3DataSource {
24629	s.S3DataType = &v
24630	return s
24631}
24632
24633// SetS3Uri sets the S3Uri field's value.
24634func (s *TransformS3DataSource) SetS3Uri(v string) *TransformS3DataSource {
24635	s.S3Uri = &v
24636	return s
24637}
24638
24639// Represents an amount of money in United States dollars/
24640type USD struct {
24641	_ struct{} `type:"structure"`
24642
24643	// The fractional portion, in cents, of the amount.
24644	Cents *int64 `type:"integer"`
24645
24646	// The whole number of dollars in the amount.
24647	Dollars *int64 `type:"integer"`
24648
24649	// Fractions of a cent, in tenths.
24650	TenthFractionsOfACent *int64 `type:"integer"`
24651}
24652
24653// String returns the string representation
24654func (s USD) String() string {
24655	return awsutil.Prettify(s)
24656}
24657
24658// GoString returns the string representation
24659func (s USD) GoString() string {
24660	return s.String()
24661}
24662
24663// SetCents sets the Cents field's value.
24664func (s *USD) SetCents(v int64) *USD {
24665	s.Cents = &v
24666	return s
24667}
24668
24669// SetDollars sets the Dollars field's value.
24670func (s *USD) SetDollars(v int64) *USD {
24671	s.Dollars = &v
24672	return s
24673}
24674
24675// SetTenthFractionsOfACent sets the TenthFractionsOfACent field's value.
24676func (s *USD) SetTenthFractionsOfACent(v int64) *USD {
24677	s.TenthFractionsOfACent = &v
24678	return s
24679}
24680
24681// Provided configuration information for the worker UI for a labeling job.
24682type UiConfig struct {
24683	_ struct{} `type:"structure"`
24684
24685	// The Amazon S3 bucket location of the UI template. For more information about
24686	// the contents of a UI template, see Creating Your Custom Labeling Task Template
24687	// (http://docs.aws.amazon.com/sagemaker/latest/dg/sms-custom-templates-step2.html).
24688	//
24689	// UiTemplateS3Uri is a required field
24690	UiTemplateS3Uri *string `type:"string" required:"true"`
24691}
24692
24693// String returns the string representation
24694func (s UiConfig) String() string {
24695	return awsutil.Prettify(s)
24696}
24697
24698// GoString returns the string representation
24699func (s UiConfig) GoString() string {
24700	return s.String()
24701}
24702
24703// Validate inspects the fields of the type to determine if they are valid.
24704func (s *UiConfig) Validate() error {
24705	invalidParams := request.ErrInvalidParams{Context: "UiConfig"}
24706	if s.UiTemplateS3Uri == nil {
24707		invalidParams.Add(request.NewErrParamRequired("UiTemplateS3Uri"))
24708	}
24709
24710	if invalidParams.Len() > 0 {
24711		return invalidParams
24712	}
24713	return nil
24714}
24715
24716// SetUiTemplateS3Uri sets the UiTemplateS3Uri field's value.
24717func (s *UiConfig) SetUiTemplateS3Uri(v string) *UiConfig {
24718	s.UiTemplateS3Uri = &v
24719	return s
24720}
24721
24722// The Liquid template for the worker user interface.
24723type UiTemplate struct {
24724	_ struct{} `type:"structure"`
24725
24726	// The content of the Liquid template for the worker user interface.
24727	//
24728	// Content is a required field
24729	Content *string `min:"1" type:"string" required:"true"`
24730}
24731
24732// String returns the string representation
24733func (s UiTemplate) String() string {
24734	return awsutil.Prettify(s)
24735}
24736
24737// GoString returns the string representation
24738func (s UiTemplate) GoString() string {
24739	return s.String()
24740}
24741
24742// Validate inspects the fields of the type to determine if they are valid.
24743func (s *UiTemplate) Validate() error {
24744	invalidParams := request.ErrInvalidParams{Context: "UiTemplate"}
24745	if s.Content == nil {
24746		invalidParams.Add(request.NewErrParamRequired("Content"))
24747	}
24748	if s.Content != nil && len(*s.Content) < 1 {
24749		invalidParams.Add(request.NewErrParamMinLen("Content", 1))
24750	}
24751
24752	if invalidParams.Len() > 0 {
24753		return invalidParams
24754	}
24755	return nil
24756}
24757
24758// SetContent sets the Content field's value.
24759func (s *UiTemplate) SetContent(v string) *UiTemplate {
24760	s.Content = &v
24761	return s
24762}
24763
24764type UpdateCodeRepositoryInput struct {
24765	_ struct{} `type:"structure"`
24766
24767	// The name of the Git repository to update.
24768	//
24769	// CodeRepositoryName is a required field
24770	CodeRepositoryName *string `min:"1" type:"string" required:"true"`
24771
24772	// The configuration of the git repository, including the URL and the Amazon
24773	// Resource Name (ARN) of the AWS Secrets Manager secret that contains the credentials
24774	// used to access the repository. The secret must have a staging label of AWSCURRENT
24775	// and must be in the following format:
24776	//
24777	// {"username": UserName, "password": Password}
24778	GitConfig *GitConfigForUpdate `type:"structure"`
24779}
24780
24781// String returns the string representation
24782func (s UpdateCodeRepositoryInput) String() string {
24783	return awsutil.Prettify(s)
24784}
24785
24786// GoString returns the string representation
24787func (s UpdateCodeRepositoryInput) GoString() string {
24788	return s.String()
24789}
24790
24791// Validate inspects the fields of the type to determine if they are valid.
24792func (s *UpdateCodeRepositoryInput) Validate() error {
24793	invalidParams := request.ErrInvalidParams{Context: "UpdateCodeRepositoryInput"}
24794	if s.CodeRepositoryName == nil {
24795		invalidParams.Add(request.NewErrParamRequired("CodeRepositoryName"))
24796	}
24797	if s.CodeRepositoryName != nil && len(*s.CodeRepositoryName) < 1 {
24798		invalidParams.Add(request.NewErrParamMinLen("CodeRepositoryName", 1))
24799	}
24800	if s.GitConfig != nil {
24801		if err := s.GitConfig.Validate(); err != nil {
24802			invalidParams.AddNested("GitConfig", err.(request.ErrInvalidParams))
24803		}
24804	}
24805
24806	if invalidParams.Len() > 0 {
24807		return invalidParams
24808	}
24809	return nil
24810}
24811
24812// SetCodeRepositoryName sets the CodeRepositoryName field's value.
24813func (s *UpdateCodeRepositoryInput) SetCodeRepositoryName(v string) *UpdateCodeRepositoryInput {
24814	s.CodeRepositoryName = &v
24815	return s
24816}
24817
24818// SetGitConfig sets the GitConfig field's value.
24819func (s *UpdateCodeRepositoryInput) SetGitConfig(v *GitConfigForUpdate) *UpdateCodeRepositoryInput {
24820	s.GitConfig = v
24821	return s
24822}
24823
24824type UpdateCodeRepositoryOutput struct {
24825	_ struct{} `type:"structure"`
24826
24827	// The ARN of the Git repository.
24828	//
24829	// CodeRepositoryArn is a required field
24830	CodeRepositoryArn *string `min:"1" type:"string" required:"true"`
24831}
24832
24833// String returns the string representation
24834func (s UpdateCodeRepositoryOutput) String() string {
24835	return awsutil.Prettify(s)
24836}
24837
24838// GoString returns the string representation
24839func (s UpdateCodeRepositoryOutput) GoString() string {
24840	return s.String()
24841}
24842
24843// SetCodeRepositoryArn sets the CodeRepositoryArn field's value.
24844func (s *UpdateCodeRepositoryOutput) SetCodeRepositoryArn(v string) *UpdateCodeRepositoryOutput {
24845	s.CodeRepositoryArn = &v
24846	return s
24847}
24848
24849type UpdateEndpointInput struct {
24850	_ struct{} `type:"structure"`
24851
24852	// The name of the new endpoint configuration.
24853	//
24854	// EndpointConfigName is a required field
24855	EndpointConfigName *string `type:"string" required:"true"`
24856
24857	// The name of the endpoint whose configuration you want to update.
24858	//
24859	// EndpointName is a required field
24860	EndpointName *string `type:"string" required:"true"`
24861}
24862
24863// String returns the string representation
24864func (s UpdateEndpointInput) String() string {
24865	return awsutil.Prettify(s)
24866}
24867
24868// GoString returns the string representation
24869func (s UpdateEndpointInput) GoString() string {
24870	return s.String()
24871}
24872
24873// Validate inspects the fields of the type to determine if they are valid.
24874func (s *UpdateEndpointInput) Validate() error {
24875	invalidParams := request.ErrInvalidParams{Context: "UpdateEndpointInput"}
24876	if s.EndpointConfigName == nil {
24877		invalidParams.Add(request.NewErrParamRequired("EndpointConfigName"))
24878	}
24879	if s.EndpointName == nil {
24880		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
24881	}
24882
24883	if invalidParams.Len() > 0 {
24884		return invalidParams
24885	}
24886	return nil
24887}
24888
24889// SetEndpointConfigName sets the EndpointConfigName field's value.
24890func (s *UpdateEndpointInput) SetEndpointConfigName(v string) *UpdateEndpointInput {
24891	s.EndpointConfigName = &v
24892	return s
24893}
24894
24895// SetEndpointName sets the EndpointName field's value.
24896func (s *UpdateEndpointInput) SetEndpointName(v string) *UpdateEndpointInput {
24897	s.EndpointName = &v
24898	return s
24899}
24900
24901type UpdateEndpointOutput struct {
24902	_ struct{} `type:"structure"`
24903
24904	// The Amazon Resource Name (ARN) of the endpoint.
24905	//
24906	// EndpointArn is a required field
24907	EndpointArn *string `min:"20" type:"string" required:"true"`
24908}
24909
24910// String returns the string representation
24911func (s UpdateEndpointOutput) String() string {
24912	return awsutil.Prettify(s)
24913}
24914
24915// GoString returns the string representation
24916func (s UpdateEndpointOutput) GoString() string {
24917	return s.String()
24918}
24919
24920// SetEndpointArn sets the EndpointArn field's value.
24921func (s *UpdateEndpointOutput) SetEndpointArn(v string) *UpdateEndpointOutput {
24922	s.EndpointArn = &v
24923	return s
24924}
24925
24926type UpdateEndpointWeightsAndCapacitiesInput struct {
24927	_ struct{} `type:"structure"`
24928
24929	// An object that provides new capacity and weight values for a variant.
24930	//
24931	// DesiredWeightsAndCapacities is a required field
24932	DesiredWeightsAndCapacities []*DesiredWeightAndCapacity `min:"1" type:"list" required:"true"`
24933
24934	// The name of an existing Amazon SageMaker endpoint.
24935	//
24936	// EndpointName is a required field
24937	EndpointName *string `type:"string" required:"true"`
24938}
24939
24940// String returns the string representation
24941func (s UpdateEndpointWeightsAndCapacitiesInput) String() string {
24942	return awsutil.Prettify(s)
24943}
24944
24945// GoString returns the string representation
24946func (s UpdateEndpointWeightsAndCapacitiesInput) GoString() string {
24947	return s.String()
24948}
24949
24950// Validate inspects the fields of the type to determine if they are valid.
24951func (s *UpdateEndpointWeightsAndCapacitiesInput) Validate() error {
24952	invalidParams := request.ErrInvalidParams{Context: "UpdateEndpointWeightsAndCapacitiesInput"}
24953	if s.DesiredWeightsAndCapacities == nil {
24954		invalidParams.Add(request.NewErrParamRequired("DesiredWeightsAndCapacities"))
24955	}
24956	if s.DesiredWeightsAndCapacities != nil && len(s.DesiredWeightsAndCapacities) < 1 {
24957		invalidParams.Add(request.NewErrParamMinLen("DesiredWeightsAndCapacities", 1))
24958	}
24959	if s.EndpointName == nil {
24960		invalidParams.Add(request.NewErrParamRequired("EndpointName"))
24961	}
24962	if s.DesiredWeightsAndCapacities != nil {
24963		for i, v := range s.DesiredWeightsAndCapacities {
24964			if v == nil {
24965				continue
24966			}
24967			if err := v.Validate(); err != nil {
24968				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "DesiredWeightsAndCapacities", i), err.(request.ErrInvalidParams))
24969			}
24970		}
24971	}
24972
24973	if invalidParams.Len() > 0 {
24974		return invalidParams
24975	}
24976	return nil
24977}
24978
24979// SetDesiredWeightsAndCapacities sets the DesiredWeightsAndCapacities field's value.
24980func (s *UpdateEndpointWeightsAndCapacitiesInput) SetDesiredWeightsAndCapacities(v []*DesiredWeightAndCapacity) *UpdateEndpointWeightsAndCapacitiesInput {
24981	s.DesiredWeightsAndCapacities = v
24982	return s
24983}
24984
24985// SetEndpointName sets the EndpointName field's value.
24986func (s *UpdateEndpointWeightsAndCapacitiesInput) SetEndpointName(v string) *UpdateEndpointWeightsAndCapacitiesInput {
24987	s.EndpointName = &v
24988	return s
24989}
24990
24991type UpdateEndpointWeightsAndCapacitiesOutput struct {
24992	_ struct{} `type:"structure"`
24993
24994	// The Amazon Resource Name (ARN) of the updated endpoint.
24995	//
24996	// EndpointArn is a required field
24997	EndpointArn *string `min:"20" type:"string" required:"true"`
24998}
24999
25000// String returns the string representation
25001func (s UpdateEndpointWeightsAndCapacitiesOutput) String() string {
25002	return awsutil.Prettify(s)
25003}
25004
25005// GoString returns the string representation
25006func (s UpdateEndpointWeightsAndCapacitiesOutput) GoString() string {
25007	return s.String()
25008}
25009
25010// SetEndpointArn sets the EndpointArn field's value.
25011func (s *UpdateEndpointWeightsAndCapacitiesOutput) SetEndpointArn(v string) *UpdateEndpointWeightsAndCapacitiesOutput {
25012	s.EndpointArn = &v
25013	return s
25014}
25015
25016type UpdateNotebookInstanceInput struct {
25017	_ struct{} `type:"structure"`
25018
25019	// A list of the Elastic Inference (EI) instance types to associate with this
25020	// notebook instance. Currently only one EI instance type can be associated
25021	// with a notebook instance. For more information, see Using Elastic Inference
25022	// in Amazon SageMaker (http://docs.aws.amazon.com/sagemaker/latest/dg/ei.html).
25023	AcceleratorTypes []*string `type:"list"`
25024
25025	// An array of up to three Git repositories to associate with the notebook instance.
25026	// These can be either the names of Git repositories stored as resources in
25027	// your account, or the URL of Git repositories in AWS CodeCommit (http://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html)
25028	// or in any other Git repository. These repositories are cloned at the same
25029	// level as the default repository of your notebook instance. For more information,
25030	// see Associating Git Repositories with Amazon SageMaker Notebook Instances
25031	// (http://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).
25032	AdditionalCodeRepositories []*string `type:"list"`
25033
25034	// The Git repository to associate with the notebook instance as its default
25035	// code repository. This can be either the name of a Git repository stored as
25036	// a resource in your account, or the URL of a Git repository in AWS CodeCommit
25037	// (http://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html) or
25038	// in any other Git repository. When you open a notebook instance, it opens
25039	// in the directory that contains this repository. For more information, see
25040	// Associating Git Repositories with Amazon SageMaker Notebook Instances (http://docs.aws.amazon.com/sagemaker/latest/dg/nbi-git-repo.html).
25041	DefaultCodeRepository *string `min:"1" type:"string"`
25042
25043	// A list of the Elastic Inference (EI) instance types to remove from this notebook
25044	// instance. This operation is idempotent. If you specify an accelerator type
25045	// that is not associated with the notebook instance when you call this method,
25046	// it does not throw an error.
25047	DisassociateAcceleratorTypes *bool `type:"boolean"`
25048
25049	// A list of names or URLs of the default Git repositories to remove from this
25050	// notebook instance. This operation is idempotent. If you specify a Git repository
25051	// that is not associated with the notebook instance when you call this method,
25052	// it does not throw an error.
25053	DisassociateAdditionalCodeRepositories *bool `type:"boolean"`
25054
25055	// The name or URL of the default Git repository to remove from this notebook
25056	// instance. This operation is idempotent. If you specify a Git repository that
25057	// is not associated with the notebook instance when you call this method, it
25058	// does not throw an error.
25059	DisassociateDefaultCodeRepository *bool `type:"boolean"`
25060
25061	// Set to true to remove the notebook instance lifecycle configuration currently
25062	// associated with the notebook instance. This operation is idempotent. If you
25063	// specify a lifecycle configuration that is not associated with the notebook
25064	// instance when you call this method, it does not throw an error.
25065	DisassociateLifecycleConfig *bool `type:"boolean"`
25066
25067	// The Amazon ML compute instance type.
25068	InstanceType *string `type:"string" enum:"InstanceType"`
25069
25070	// The name of a lifecycle configuration to associate with the notebook instance.
25071	// For information about lifestyle configurations, see Step 2.1: (Optional)
25072	// Customize a Notebook Instance (https://docs.aws.amazon.com/sagemaker/latest/dg/notebook-lifecycle-config.html).
25073	LifecycleConfigName *string `type:"string"`
25074
25075	// The name of the notebook instance to update.
25076	//
25077	// NotebookInstanceName is a required field
25078	NotebookInstanceName *string `type:"string" required:"true"`
25079
25080	// The Amazon Resource Name (ARN) of the IAM role that Amazon SageMaker can
25081	// assume to access the notebook instance. For more information, see Amazon
25082	// SageMaker Roles (https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-roles.html).
25083	//
25084	// To be able to pass this role to Amazon SageMaker, the caller of this API
25085	// must have the iam:PassRole permission.
25086	RoleArn *string `min:"20" type:"string"`
25087
25088	// Whether root access is enabled or disabled for users of the notebook instance.
25089	// The default value is Enabled.
25090	//
25091	// If you set this to Disabled, users don't have root access on the notebook
25092	// instance, but lifecycle configuration scripts still run with root permissions.
25093	RootAccess *string `type:"string" enum:"RootAccess"`
25094
25095	// The size, in GB, of the ML storage volume to attach to the notebook instance.
25096	// The default value is 5 GB. ML storage volumes are encrypted, so Amazon SageMaker
25097	// can't determine the amount of available free space on the volume. Because
25098	// of this, you can increase the volume size when you update a notebook instance,
25099	// but you can't decrease the volume size. If you want to decrease the size
25100	// of the ML storage volume in use, create a new notebook instance with the
25101	// desired size.
25102	VolumeSizeInGB *int64 `min:"5" type:"integer"`
25103}
25104
25105// String returns the string representation
25106func (s UpdateNotebookInstanceInput) String() string {
25107	return awsutil.Prettify(s)
25108}
25109
25110// GoString returns the string representation
25111func (s UpdateNotebookInstanceInput) GoString() string {
25112	return s.String()
25113}
25114
25115// Validate inspects the fields of the type to determine if they are valid.
25116func (s *UpdateNotebookInstanceInput) Validate() error {
25117	invalidParams := request.ErrInvalidParams{Context: "UpdateNotebookInstanceInput"}
25118	if s.DefaultCodeRepository != nil && len(*s.DefaultCodeRepository) < 1 {
25119		invalidParams.Add(request.NewErrParamMinLen("DefaultCodeRepository", 1))
25120	}
25121	if s.NotebookInstanceName == nil {
25122		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceName"))
25123	}
25124	if s.RoleArn != nil && len(*s.RoleArn) < 20 {
25125		invalidParams.Add(request.NewErrParamMinLen("RoleArn", 20))
25126	}
25127	if s.VolumeSizeInGB != nil && *s.VolumeSizeInGB < 5 {
25128		invalidParams.Add(request.NewErrParamMinValue("VolumeSizeInGB", 5))
25129	}
25130
25131	if invalidParams.Len() > 0 {
25132		return invalidParams
25133	}
25134	return nil
25135}
25136
25137// SetAcceleratorTypes sets the AcceleratorTypes field's value.
25138func (s *UpdateNotebookInstanceInput) SetAcceleratorTypes(v []*string) *UpdateNotebookInstanceInput {
25139	s.AcceleratorTypes = v
25140	return s
25141}
25142
25143// SetAdditionalCodeRepositories sets the AdditionalCodeRepositories field's value.
25144func (s *UpdateNotebookInstanceInput) SetAdditionalCodeRepositories(v []*string) *UpdateNotebookInstanceInput {
25145	s.AdditionalCodeRepositories = v
25146	return s
25147}
25148
25149// SetDefaultCodeRepository sets the DefaultCodeRepository field's value.
25150func (s *UpdateNotebookInstanceInput) SetDefaultCodeRepository(v string) *UpdateNotebookInstanceInput {
25151	s.DefaultCodeRepository = &v
25152	return s
25153}
25154
25155// SetDisassociateAcceleratorTypes sets the DisassociateAcceleratorTypes field's value.
25156func (s *UpdateNotebookInstanceInput) SetDisassociateAcceleratorTypes(v bool) *UpdateNotebookInstanceInput {
25157	s.DisassociateAcceleratorTypes = &v
25158	return s
25159}
25160
25161// SetDisassociateAdditionalCodeRepositories sets the DisassociateAdditionalCodeRepositories field's value.
25162func (s *UpdateNotebookInstanceInput) SetDisassociateAdditionalCodeRepositories(v bool) *UpdateNotebookInstanceInput {
25163	s.DisassociateAdditionalCodeRepositories = &v
25164	return s
25165}
25166
25167// SetDisassociateDefaultCodeRepository sets the DisassociateDefaultCodeRepository field's value.
25168func (s *UpdateNotebookInstanceInput) SetDisassociateDefaultCodeRepository(v bool) *UpdateNotebookInstanceInput {
25169	s.DisassociateDefaultCodeRepository = &v
25170	return s
25171}
25172
25173// SetDisassociateLifecycleConfig sets the DisassociateLifecycleConfig field's value.
25174func (s *UpdateNotebookInstanceInput) SetDisassociateLifecycleConfig(v bool) *UpdateNotebookInstanceInput {
25175	s.DisassociateLifecycleConfig = &v
25176	return s
25177}
25178
25179// SetInstanceType sets the InstanceType field's value.
25180func (s *UpdateNotebookInstanceInput) SetInstanceType(v string) *UpdateNotebookInstanceInput {
25181	s.InstanceType = &v
25182	return s
25183}
25184
25185// SetLifecycleConfigName sets the LifecycleConfigName field's value.
25186func (s *UpdateNotebookInstanceInput) SetLifecycleConfigName(v string) *UpdateNotebookInstanceInput {
25187	s.LifecycleConfigName = &v
25188	return s
25189}
25190
25191// SetNotebookInstanceName sets the NotebookInstanceName field's value.
25192func (s *UpdateNotebookInstanceInput) SetNotebookInstanceName(v string) *UpdateNotebookInstanceInput {
25193	s.NotebookInstanceName = &v
25194	return s
25195}
25196
25197// SetRoleArn sets the RoleArn field's value.
25198func (s *UpdateNotebookInstanceInput) SetRoleArn(v string) *UpdateNotebookInstanceInput {
25199	s.RoleArn = &v
25200	return s
25201}
25202
25203// SetRootAccess sets the RootAccess field's value.
25204func (s *UpdateNotebookInstanceInput) SetRootAccess(v string) *UpdateNotebookInstanceInput {
25205	s.RootAccess = &v
25206	return s
25207}
25208
25209// SetVolumeSizeInGB sets the VolumeSizeInGB field's value.
25210func (s *UpdateNotebookInstanceInput) SetVolumeSizeInGB(v int64) *UpdateNotebookInstanceInput {
25211	s.VolumeSizeInGB = &v
25212	return s
25213}
25214
25215type UpdateNotebookInstanceLifecycleConfigInput struct {
25216	_ struct{} `type:"structure"`
25217
25218	// The name of the lifecycle configuration.
25219	//
25220	// NotebookInstanceLifecycleConfigName is a required field
25221	NotebookInstanceLifecycleConfigName *string `type:"string" required:"true"`
25222
25223	// The shell script that runs only once, when you create a notebook instance
25224	OnCreate []*NotebookInstanceLifecycleHook `type:"list"`
25225
25226	// The shell script that runs every time you start a notebook instance, including
25227	// when you create the notebook instance.
25228	OnStart []*NotebookInstanceLifecycleHook `type:"list"`
25229}
25230
25231// String returns the string representation
25232func (s UpdateNotebookInstanceLifecycleConfigInput) String() string {
25233	return awsutil.Prettify(s)
25234}
25235
25236// GoString returns the string representation
25237func (s UpdateNotebookInstanceLifecycleConfigInput) GoString() string {
25238	return s.String()
25239}
25240
25241// Validate inspects the fields of the type to determine if they are valid.
25242func (s *UpdateNotebookInstanceLifecycleConfigInput) Validate() error {
25243	invalidParams := request.ErrInvalidParams{Context: "UpdateNotebookInstanceLifecycleConfigInput"}
25244	if s.NotebookInstanceLifecycleConfigName == nil {
25245		invalidParams.Add(request.NewErrParamRequired("NotebookInstanceLifecycleConfigName"))
25246	}
25247	if s.OnCreate != nil {
25248		for i, v := range s.OnCreate {
25249			if v == nil {
25250				continue
25251			}
25252			if err := v.Validate(); err != nil {
25253				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OnCreate", i), err.(request.ErrInvalidParams))
25254			}
25255		}
25256	}
25257	if s.OnStart != nil {
25258		for i, v := range s.OnStart {
25259			if v == nil {
25260				continue
25261			}
25262			if err := v.Validate(); err != nil {
25263				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "OnStart", i), err.(request.ErrInvalidParams))
25264			}
25265		}
25266	}
25267
25268	if invalidParams.Len() > 0 {
25269		return invalidParams
25270	}
25271	return nil
25272}
25273
25274// SetNotebookInstanceLifecycleConfigName sets the NotebookInstanceLifecycleConfigName field's value.
25275func (s *UpdateNotebookInstanceLifecycleConfigInput) SetNotebookInstanceLifecycleConfigName(v string) *UpdateNotebookInstanceLifecycleConfigInput {
25276	s.NotebookInstanceLifecycleConfigName = &v
25277	return s
25278}
25279
25280// SetOnCreate sets the OnCreate field's value.
25281func (s *UpdateNotebookInstanceLifecycleConfigInput) SetOnCreate(v []*NotebookInstanceLifecycleHook) *UpdateNotebookInstanceLifecycleConfigInput {
25282	s.OnCreate = v
25283	return s
25284}
25285
25286// SetOnStart sets the OnStart field's value.
25287func (s *UpdateNotebookInstanceLifecycleConfigInput) SetOnStart(v []*NotebookInstanceLifecycleHook) *UpdateNotebookInstanceLifecycleConfigInput {
25288	s.OnStart = v
25289	return s
25290}
25291
25292type UpdateNotebookInstanceLifecycleConfigOutput struct {
25293	_ struct{} `type:"structure"`
25294}
25295
25296// String returns the string representation
25297func (s UpdateNotebookInstanceLifecycleConfigOutput) String() string {
25298	return awsutil.Prettify(s)
25299}
25300
25301// GoString returns the string representation
25302func (s UpdateNotebookInstanceLifecycleConfigOutput) GoString() string {
25303	return s.String()
25304}
25305
25306type UpdateNotebookInstanceOutput struct {
25307	_ struct{} `type:"structure"`
25308}
25309
25310// String returns the string representation
25311func (s UpdateNotebookInstanceOutput) String() string {
25312	return awsutil.Prettify(s)
25313}
25314
25315// GoString returns the string representation
25316func (s UpdateNotebookInstanceOutput) GoString() string {
25317	return s.String()
25318}
25319
25320type UpdateWorkteamInput struct {
25321	_ struct{} `type:"structure"`
25322
25323	// An updated description for the work team.
25324	Description *string `min:"1" type:"string"`
25325
25326	// A list of MemberDefinition objects that contain the updated work team members.
25327	MemberDefinitions []*MemberDefinition `min:"1" type:"list"`
25328
25329	// Configures SNS topic notifications for available or expiring work items
25330	NotificationConfiguration *NotificationConfiguration `type:"structure"`
25331
25332	// The name of the work team to update.
25333	//
25334	// WorkteamName is a required field
25335	WorkteamName *string `min:"1" type:"string" required:"true"`
25336}
25337
25338// String returns the string representation
25339func (s UpdateWorkteamInput) String() string {
25340	return awsutil.Prettify(s)
25341}
25342
25343// GoString returns the string representation
25344func (s UpdateWorkteamInput) GoString() string {
25345	return s.String()
25346}
25347
25348// Validate inspects the fields of the type to determine if they are valid.
25349func (s *UpdateWorkteamInput) Validate() error {
25350	invalidParams := request.ErrInvalidParams{Context: "UpdateWorkteamInput"}
25351	if s.Description != nil && len(*s.Description) < 1 {
25352		invalidParams.Add(request.NewErrParamMinLen("Description", 1))
25353	}
25354	if s.MemberDefinitions != nil && len(s.MemberDefinitions) < 1 {
25355		invalidParams.Add(request.NewErrParamMinLen("MemberDefinitions", 1))
25356	}
25357	if s.WorkteamName == nil {
25358		invalidParams.Add(request.NewErrParamRequired("WorkteamName"))
25359	}
25360	if s.WorkteamName != nil && len(*s.WorkteamName) < 1 {
25361		invalidParams.Add(request.NewErrParamMinLen("WorkteamName", 1))
25362	}
25363	if s.MemberDefinitions != nil {
25364		for i, v := range s.MemberDefinitions {
25365			if v == nil {
25366				continue
25367			}
25368			if err := v.Validate(); err != nil {
25369				invalidParams.AddNested(fmt.Sprintf("%s[%v]", "MemberDefinitions", i), err.(request.ErrInvalidParams))
25370			}
25371		}
25372	}
25373
25374	if invalidParams.Len() > 0 {
25375		return invalidParams
25376	}
25377	return nil
25378}
25379
25380// SetDescription sets the Description field's value.
25381func (s *UpdateWorkteamInput) SetDescription(v string) *UpdateWorkteamInput {
25382	s.Description = &v
25383	return s
25384}
25385
25386// SetMemberDefinitions sets the MemberDefinitions field's value.
25387func (s *UpdateWorkteamInput) SetMemberDefinitions(v []*MemberDefinition) *UpdateWorkteamInput {
25388	s.MemberDefinitions = v
25389	return s
25390}
25391
25392// SetNotificationConfiguration sets the NotificationConfiguration field's value.
25393func (s *UpdateWorkteamInput) SetNotificationConfiguration(v *NotificationConfiguration) *UpdateWorkteamInput {
25394	s.NotificationConfiguration = v
25395	return s
25396}
25397
25398// SetWorkteamName sets the WorkteamName field's value.
25399func (s *UpdateWorkteamInput) SetWorkteamName(v string) *UpdateWorkteamInput {
25400	s.WorkteamName = &v
25401	return s
25402}
25403
25404type UpdateWorkteamOutput struct {
25405	_ struct{} `type:"structure"`
25406
25407	// A Workteam object that describes the updated work team.
25408	//
25409	// Workteam is a required field
25410	Workteam *Workteam `type:"structure" required:"true"`
25411}
25412
25413// String returns the string representation
25414func (s UpdateWorkteamOutput) String() string {
25415	return awsutil.Prettify(s)
25416}
25417
25418// GoString returns the string representation
25419func (s UpdateWorkteamOutput) GoString() string {
25420	return s.String()
25421}
25422
25423// SetWorkteam sets the Workteam field's value.
25424func (s *UpdateWorkteamOutput) SetWorkteam(v *Workteam) *UpdateWorkteamOutput {
25425	s.Workteam = v
25426	return s
25427}
25428
25429// Specifies a VPC that your training jobs and hosted models have access to.
25430// Control access to and from your training and model containers by configuring
25431// the VPC. For more information, see Protect Endpoints by Using an Amazon Virtual
25432// Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/host-vpc.html)
25433// and Protect Training Jobs by Using an Amazon Virtual Private Cloud (https://docs.aws.amazon.com/sagemaker/latest/dg/train-vpc.html).
25434type VpcConfig struct {
25435	_ struct{} `type:"structure"`
25436
25437	// The VPC security group IDs, in the form sg-xxxxxxxx. Specify the security
25438	// groups for the VPC that is specified in the Subnets field.
25439	//
25440	// SecurityGroupIds is a required field
25441	SecurityGroupIds []*string `min:"1" type:"list" required:"true"`
25442
25443	// The ID of the subnets in the VPC to which you want to connect your training
25444	// job or model.
25445	//
25446	// Amazon EC2 P3 accelerated computing instances are not available in the c/d/e
25447	// availability zones of region us-east-1. If you want to create endpoints with
25448	// P3 instances in VPC mode in region us-east-1, create subnets in a/b/f availability
25449	// zones instead.
25450	//
25451	// Subnets is a required field
25452	Subnets []*string `min:"1" type:"list" required:"true"`
25453}
25454
25455// String returns the string representation
25456func (s VpcConfig) String() string {
25457	return awsutil.Prettify(s)
25458}
25459
25460// GoString returns the string representation
25461func (s VpcConfig) GoString() string {
25462	return s.String()
25463}
25464
25465// Validate inspects the fields of the type to determine if they are valid.
25466func (s *VpcConfig) Validate() error {
25467	invalidParams := request.ErrInvalidParams{Context: "VpcConfig"}
25468	if s.SecurityGroupIds == nil {
25469		invalidParams.Add(request.NewErrParamRequired("SecurityGroupIds"))
25470	}
25471	if s.SecurityGroupIds != nil && len(s.SecurityGroupIds) < 1 {
25472		invalidParams.Add(request.NewErrParamMinLen("SecurityGroupIds", 1))
25473	}
25474	if s.Subnets == nil {
25475		invalidParams.Add(request.NewErrParamRequired("Subnets"))
25476	}
25477	if s.Subnets != nil && len(s.Subnets) < 1 {
25478		invalidParams.Add(request.NewErrParamMinLen("Subnets", 1))
25479	}
25480
25481	if invalidParams.Len() > 0 {
25482		return invalidParams
25483	}
25484	return nil
25485}
25486
25487// SetSecurityGroupIds sets the SecurityGroupIds field's value.
25488func (s *VpcConfig) SetSecurityGroupIds(v []*string) *VpcConfig {
25489	s.SecurityGroupIds = v
25490	return s
25491}
25492
25493// SetSubnets sets the Subnets field's value.
25494func (s *VpcConfig) SetSubnets(v []*string) *VpcConfig {
25495	s.Subnets = v
25496	return s
25497}
25498
25499// Provides details about a labeling work team.
25500type Workteam struct {
25501	_ struct{} `type:"structure"`
25502
25503	// The date and time that the work team was created (timestamp).
25504	CreateDate *time.Time `type:"timestamp"`
25505
25506	// A description of the work team.
25507	//
25508	// Description is a required field
25509	Description *string `min:"1" type:"string" required:"true"`
25510
25511	// The date and time that the work team was last updated (timestamp).
25512	LastUpdatedDate *time.Time `type:"timestamp"`
25513
25514	// The Amazon Cognito user groups that make up the work team.
25515	//
25516	// MemberDefinitions is a required field
25517	MemberDefinitions []*MemberDefinition `min:"1" type:"list" required:"true"`
25518
25519	// Configures SNS notifications of available or expiring work items for work
25520	// teams.
25521	NotificationConfiguration *NotificationConfiguration `type:"structure"`
25522
25523	// The Amazon Marketplace identifier for a vendor's work team.
25524	ProductListingIds []*string `type:"list"`
25525
25526	// The URI of the labeling job's user interface. Workers open this URI to start
25527	// labeling your data objects.
25528	SubDomain *string `type:"string"`
25529
25530	// The Amazon Resource Name (ARN) that identifies the work team.
25531	//
25532	// WorkteamArn is a required field
25533	WorkteamArn *string `type:"string" required:"true"`
25534
25535	// The name of the work team.
25536	//
25537	// WorkteamName is a required field
25538	WorkteamName *string `min:"1" type:"string" required:"true"`
25539}
25540
25541// String returns the string representation
25542func (s Workteam) String() string {
25543	return awsutil.Prettify(s)
25544}
25545
25546// GoString returns the string representation
25547func (s Workteam) GoString() string {
25548	return s.String()
25549}
25550
25551// SetCreateDate sets the CreateDate field's value.
25552func (s *Workteam) SetCreateDate(v time.Time) *Workteam {
25553	s.CreateDate = &v
25554	return s
25555}
25556
25557// SetDescription sets the Description field's value.
25558func (s *Workteam) SetDescription(v string) *Workteam {
25559	s.Description = &v
25560	return s
25561}
25562
25563// SetLastUpdatedDate sets the LastUpdatedDate field's value.
25564func (s *Workteam) SetLastUpdatedDate(v time.Time) *Workteam {
25565	s.LastUpdatedDate = &v
25566	return s
25567}
25568
25569// SetMemberDefinitions sets the MemberDefinitions field's value.
25570func (s *Workteam) SetMemberDefinitions(v []*MemberDefinition) *Workteam {
25571	s.MemberDefinitions = v
25572	return s
25573}
25574
25575// SetNotificationConfiguration sets the NotificationConfiguration field's value.
25576func (s *Workteam) SetNotificationConfiguration(v *NotificationConfiguration) *Workteam {
25577	s.NotificationConfiguration = v
25578	return s
25579}
25580
25581// SetProductListingIds sets the ProductListingIds field's value.
25582func (s *Workteam) SetProductListingIds(v []*string) *Workteam {
25583	s.ProductListingIds = v
25584	return s
25585}
25586
25587// SetSubDomain sets the SubDomain field's value.
25588func (s *Workteam) SetSubDomain(v string) *Workteam {
25589	s.SubDomain = &v
25590	return s
25591}
25592
25593// SetWorkteamArn sets the WorkteamArn field's value.
25594func (s *Workteam) SetWorkteamArn(v string) *Workteam {
25595	s.WorkteamArn = &v
25596	return s
25597}
25598
25599// SetWorkteamName sets the WorkteamName field's value.
25600func (s *Workteam) SetWorkteamName(v string) *Workteam {
25601	s.WorkteamName = &v
25602	return s
25603}
25604
25605const (
25606	// AlgorithmSortByName is a AlgorithmSortBy enum value
25607	AlgorithmSortByName = "Name"
25608
25609	// AlgorithmSortByCreationTime is a AlgorithmSortBy enum value
25610	AlgorithmSortByCreationTime = "CreationTime"
25611)
25612
25613const (
25614	// AlgorithmStatusPending is a AlgorithmStatus enum value
25615	AlgorithmStatusPending = "Pending"
25616
25617	// AlgorithmStatusInProgress is a AlgorithmStatus enum value
25618	AlgorithmStatusInProgress = "InProgress"
25619
25620	// AlgorithmStatusCompleted is a AlgorithmStatus enum value
25621	AlgorithmStatusCompleted = "Completed"
25622
25623	// AlgorithmStatusFailed is a AlgorithmStatus enum value
25624	AlgorithmStatusFailed = "Failed"
25625
25626	// AlgorithmStatusDeleting is a AlgorithmStatus enum value
25627	AlgorithmStatusDeleting = "Deleting"
25628)
25629
25630const (
25631	// AssemblyTypeNone is a AssemblyType enum value
25632	AssemblyTypeNone = "None"
25633
25634	// AssemblyTypeLine is a AssemblyType enum value
25635	AssemblyTypeLine = "Line"
25636)
25637
25638const (
25639	// BatchStrategyMultiRecord is a BatchStrategy enum value
25640	BatchStrategyMultiRecord = "MultiRecord"
25641
25642	// BatchStrategySingleRecord is a BatchStrategy enum value
25643	BatchStrategySingleRecord = "SingleRecord"
25644)
25645
25646const (
25647	// BooleanOperatorAnd is a BooleanOperator enum value
25648	BooleanOperatorAnd = "And"
25649
25650	// BooleanOperatorOr is a BooleanOperator enum value
25651	BooleanOperatorOr = "Or"
25652)
25653
25654const (
25655	// CodeRepositorySortByName is a CodeRepositorySortBy enum value
25656	CodeRepositorySortByName = "Name"
25657
25658	// CodeRepositorySortByCreationTime is a CodeRepositorySortBy enum value
25659	CodeRepositorySortByCreationTime = "CreationTime"
25660
25661	// CodeRepositorySortByLastModifiedTime is a CodeRepositorySortBy enum value
25662	CodeRepositorySortByLastModifiedTime = "LastModifiedTime"
25663)
25664
25665const (
25666	// CodeRepositorySortOrderAscending is a CodeRepositorySortOrder enum value
25667	CodeRepositorySortOrderAscending = "Ascending"
25668
25669	// CodeRepositorySortOrderDescending is a CodeRepositorySortOrder enum value
25670	CodeRepositorySortOrderDescending = "Descending"
25671)
25672
25673const (
25674	// CompilationJobStatusInprogress is a CompilationJobStatus enum value
25675	CompilationJobStatusInprogress = "INPROGRESS"
25676
25677	// CompilationJobStatusCompleted is a CompilationJobStatus enum value
25678	CompilationJobStatusCompleted = "COMPLETED"
25679
25680	// CompilationJobStatusFailed is a CompilationJobStatus enum value
25681	CompilationJobStatusFailed = "FAILED"
25682
25683	// CompilationJobStatusStarting is a CompilationJobStatus enum value
25684	CompilationJobStatusStarting = "STARTING"
25685
25686	// CompilationJobStatusStopping is a CompilationJobStatus enum value
25687	CompilationJobStatusStopping = "STOPPING"
25688
25689	// CompilationJobStatusStopped is a CompilationJobStatus enum value
25690	CompilationJobStatusStopped = "STOPPED"
25691)
25692
25693const (
25694	// CompressionTypeNone is a CompressionType enum value
25695	CompressionTypeNone = "None"
25696
25697	// CompressionTypeGzip is a CompressionType enum value
25698	CompressionTypeGzip = "Gzip"
25699)
25700
25701const (
25702	// ContentClassifierFreeOfPersonallyIdentifiableInformation is a ContentClassifier enum value
25703	ContentClassifierFreeOfPersonallyIdentifiableInformation = "FreeOfPersonallyIdentifiableInformation"
25704
25705	// ContentClassifierFreeOfAdultContent is a ContentClassifier enum value
25706	ContentClassifierFreeOfAdultContent = "FreeOfAdultContent"
25707)
25708
25709const (
25710	// DetailedAlgorithmStatusNotStarted is a DetailedAlgorithmStatus enum value
25711	DetailedAlgorithmStatusNotStarted = "NotStarted"
25712
25713	// DetailedAlgorithmStatusInProgress is a DetailedAlgorithmStatus enum value
25714	DetailedAlgorithmStatusInProgress = "InProgress"
25715
25716	// DetailedAlgorithmStatusCompleted is a DetailedAlgorithmStatus enum value
25717	DetailedAlgorithmStatusCompleted = "Completed"
25718
25719	// DetailedAlgorithmStatusFailed is a DetailedAlgorithmStatus enum value
25720	DetailedAlgorithmStatusFailed = "Failed"
25721)
25722
25723const (
25724	// DetailedModelPackageStatusNotStarted is a DetailedModelPackageStatus enum value
25725	DetailedModelPackageStatusNotStarted = "NotStarted"
25726
25727	// DetailedModelPackageStatusInProgress is a DetailedModelPackageStatus enum value
25728	DetailedModelPackageStatusInProgress = "InProgress"
25729
25730	// DetailedModelPackageStatusCompleted is a DetailedModelPackageStatus enum value
25731	DetailedModelPackageStatusCompleted = "Completed"
25732
25733	// DetailedModelPackageStatusFailed is a DetailedModelPackageStatus enum value
25734	DetailedModelPackageStatusFailed = "Failed"
25735)
25736
25737const (
25738	// DirectInternetAccessEnabled is a DirectInternetAccess enum value
25739	DirectInternetAccessEnabled = "Enabled"
25740
25741	// DirectInternetAccessDisabled is a DirectInternetAccess enum value
25742	DirectInternetAccessDisabled = "Disabled"
25743)
25744
25745const (
25746	// EndpointConfigSortKeyName is a EndpointConfigSortKey enum value
25747	EndpointConfigSortKeyName = "Name"
25748
25749	// EndpointConfigSortKeyCreationTime is a EndpointConfigSortKey enum value
25750	EndpointConfigSortKeyCreationTime = "CreationTime"
25751)
25752
25753const (
25754	// EndpointSortKeyName is a EndpointSortKey enum value
25755	EndpointSortKeyName = "Name"
25756
25757	// EndpointSortKeyCreationTime is a EndpointSortKey enum value
25758	EndpointSortKeyCreationTime = "CreationTime"
25759
25760	// EndpointSortKeyStatus is a EndpointSortKey enum value
25761	EndpointSortKeyStatus = "Status"
25762)
25763
25764const (
25765	// EndpointStatusOutOfService is a EndpointStatus enum value
25766	EndpointStatusOutOfService = "OutOfService"
25767
25768	// EndpointStatusCreating is a EndpointStatus enum value
25769	EndpointStatusCreating = "Creating"
25770
25771	// EndpointStatusUpdating is a EndpointStatus enum value
25772	EndpointStatusUpdating = "Updating"
25773
25774	// EndpointStatusSystemUpdating is a EndpointStatus enum value
25775	EndpointStatusSystemUpdating = "SystemUpdating"
25776
25777	// EndpointStatusRollingBack is a EndpointStatus enum value
25778	EndpointStatusRollingBack = "RollingBack"
25779
25780	// EndpointStatusInService is a EndpointStatus enum value
25781	EndpointStatusInService = "InService"
25782
25783	// EndpointStatusDeleting is a EndpointStatus enum value
25784	EndpointStatusDeleting = "Deleting"
25785
25786	// EndpointStatusFailed is a EndpointStatus enum value
25787	EndpointStatusFailed = "Failed"
25788)
25789
25790const (
25791	// FrameworkTensorflow is a Framework enum value
25792	FrameworkTensorflow = "TENSORFLOW"
25793
25794	// FrameworkMxnet is a Framework enum value
25795	FrameworkMxnet = "MXNET"
25796
25797	// FrameworkOnnx is a Framework enum value
25798	FrameworkOnnx = "ONNX"
25799
25800	// FrameworkPytorch is a Framework enum value
25801	FrameworkPytorch = "PYTORCH"
25802
25803	// FrameworkXgboost is a Framework enum value
25804	FrameworkXgboost = "XGBOOST"
25805)
25806
25807const (
25808	// HyperParameterScalingTypeAuto is a HyperParameterScalingType enum value
25809	HyperParameterScalingTypeAuto = "Auto"
25810
25811	// HyperParameterScalingTypeLinear is a HyperParameterScalingType enum value
25812	HyperParameterScalingTypeLinear = "Linear"
25813
25814	// HyperParameterScalingTypeLogarithmic is a HyperParameterScalingType enum value
25815	HyperParameterScalingTypeLogarithmic = "Logarithmic"
25816
25817	// HyperParameterScalingTypeReverseLogarithmic is a HyperParameterScalingType enum value
25818	HyperParameterScalingTypeReverseLogarithmic = "ReverseLogarithmic"
25819)
25820
25821const (
25822	// HyperParameterTuningJobObjectiveTypeMaximize is a HyperParameterTuningJobObjectiveType enum value
25823	HyperParameterTuningJobObjectiveTypeMaximize = "Maximize"
25824
25825	// HyperParameterTuningJobObjectiveTypeMinimize is a HyperParameterTuningJobObjectiveType enum value
25826	HyperParameterTuningJobObjectiveTypeMinimize = "Minimize"
25827)
25828
25829const (
25830	// HyperParameterTuningJobSortByOptionsName is a HyperParameterTuningJobSortByOptions enum value
25831	HyperParameterTuningJobSortByOptionsName = "Name"
25832
25833	// HyperParameterTuningJobSortByOptionsStatus is a HyperParameterTuningJobSortByOptions enum value
25834	HyperParameterTuningJobSortByOptionsStatus = "Status"
25835
25836	// HyperParameterTuningJobSortByOptionsCreationTime is a HyperParameterTuningJobSortByOptions enum value
25837	HyperParameterTuningJobSortByOptionsCreationTime = "CreationTime"
25838)
25839
25840const (
25841	// HyperParameterTuningJobStatusCompleted is a HyperParameterTuningJobStatus enum value
25842	HyperParameterTuningJobStatusCompleted = "Completed"
25843
25844	// HyperParameterTuningJobStatusInProgress is a HyperParameterTuningJobStatus enum value
25845	HyperParameterTuningJobStatusInProgress = "InProgress"
25846
25847	// HyperParameterTuningJobStatusFailed is a HyperParameterTuningJobStatus enum value
25848	HyperParameterTuningJobStatusFailed = "Failed"
25849
25850	// HyperParameterTuningJobStatusStopped is a HyperParameterTuningJobStatus enum value
25851	HyperParameterTuningJobStatusStopped = "Stopped"
25852
25853	// HyperParameterTuningJobStatusStopping is a HyperParameterTuningJobStatus enum value
25854	HyperParameterTuningJobStatusStopping = "Stopping"
25855)
25856
25857// The strategy hyperparameter tuning uses to find the best combination of hyperparameters
25858// for your model. Currently, the only supported value is Bayesian.
25859const (
25860	// HyperParameterTuningJobStrategyTypeBayesian is a HyperParameterTuningJobStrategyType enum value
25861	HyperParameterTuningJobStrategyTypeBayesian = "Bayesian"
25862
25863	// HyperParameterTuningJobStrategyTypeRandom is a HyperParameterTuningJobStrategyType enum value
25864	HyperParameterTuningJobStrategyTypeRandom = "Random"
25865)
25866
25867const (
25868	// HyperParameterTuningJobWarmStartTypeIdenticalDataAndAlgorithm is a HyperParameterTuningJobWarmStartType enum value
25869	HyperParameterTuningJobWarmStartTypeIdenticalDataAndAlgorithm = "IdenticalDataAndAlgorithm"
25870
25871	// HyperParameterTuningJobWarmStartTypeTransferLearning is a HyperParameterTuningJobWarmStartType enum value
25872	HyperParameterTuningJobWarmStartTypeTransferLearning = "TransferLearning"
25873)
25874
25875const (
25876	// InstanceTypeMlT2Medium is a InstanceType enum value
25877	InstanceTypeMlT2Medium = "ml.t2.medium"
25878
25879	// InstanceTypeMlT2Large is a InstanceType enum value
25880	InstanceTypeMlT2Large = "ml.t2.large"
25881
25882	// InstanceTypeMlT2Xlarge is a InstanceType enum value
25883	InstanceTypeMlT2Xlarge = "ml.t2.xlarge"
25884
25885	// InstanceTypeMlT22xlarge is a InstanceType enum value
25886	InstanceTypeMlT22xlarge = "ml.t2.2xlarge"
25887
25888	// InstanceTypeMlT3Medium is a InstanceType enum value
25889	InstanceTypeMlT3Medium = "ml.t3.medium"
25890
25891	// InstanceTypeMlT3Large is a InstanceType enum value
25892	InstanceTypeMlT3Large = "ml.t3.large"
25893
25894	// InstanceTypeMlT3Xlarge is a InstanceType enum value
25895	InstanceTypeMlT3Xlarge = "ml.t3.xlarge"
25896
25897	// InstanceTypeMlT32xlarge is a InstanceType enum value
25898	InstanceTypeMlT32xlarge = "ml.t3.2xlarge"
25899
25900	// InstanceTypeMlM4Xlarge is a InstanceType enum value
25901	InstanceTypeMlM4Xlarge = "ml.m4.xlarge"
25902
25903	// InstanceTypeMlM42xlarge is a InstanceType enum value
25904	InstanceTypeMlM42xlarge = "ml.m4.2xlarge"
25905
25906	// InstanceTypeMlM44xlarge is a InstanceType enum value
25907	InstanceTypeMlM44xlarge = "ml.m4.4xlarge"
25908
25909	// InstanceTypeMlM410xlarge is a InstanceType enum value
25910	InstanceTypeMlM410xlarge = "ml.m4.10xlarge"
25911
25912	// InstanceTypeMlM416xlarge is a InstanceType enum value
25913	InstanceTypeMlM416xlarge = "ml.m4.16xlarge"
25914
25915	// InstanceTypeMlM5Xlarge is a InstanceType enum value
25916	InstanceTypeMlM5Xlarge = "ml.m5.xlarge"
25917
25918	// InstanceTypeMlM52xlarge is a InstanceType enum value
25919	InstanceTypeMlM52xlarge = "ml.m5.2xlarge"
25920
25921	// InstanceTypeMlM54xlarge is a InstanceType enum value
25922	InstanceTypeMlM54xlarge = "ml.m5.4xlarge"
25923
25924	// InstanceTypeMlM512xlarge is a InstanceType enum value
25925	InstanceTypeMlM512xlarge = "ml.m5.12xlarge"
25926
25927	// InstanceTypeMlM524xlarge is a InstanceType enum value
25928	InstanceTypeMlM524xlarge = "ml.m5.24xlarge"
25929
25930	// InstanceTypeMlC4Xlarge is a InstanceType enum value
25931	InstanceTypeMlC4Xlarge = "ml.c4.xlarge"
25932
25933	// InstanceTypeMlC42xlarge is a InstanceType enum value
25934	InstanceTypeMlC42xlarge = "ml.c4.2xlarge"
25935
25936	// InstanceTypeMlC44xlarge is a InstanceType enum value
25937	InstanceTypeMlC44xlarge = "ml.c4.4xlarge"
25938
25939	// InstanceTypeMlC48xlarge is a InstanceType enum value
25940	InstanceTypeMlC48xlarge = "ml.c4.8xlarge"
25941
25942	// InstanceTypeMlC5Xlarge is a InstanceType enum value
25943	InstanceTypeMlC5Xlarge = "ml.c5.xlarge"
25944
25945	// InstanceTypeMlC52xlarge is a InstanceType enum value
25946	InstanceTypeMlC52xlarge = "ml.c5.2xlarge"
25947
25948	// InstanceTypeMlC54xlarge is a InstanceType enum value
25949	InstanceTypeMlC54xlarge = "ml.c5.4xlarge"
25950
25951	// InstanceTypeMlC59xlarge is a InstanceType enum value
25952	InstanceTypeMlC59xlarge = "ml.c5.9xlarge"
25953
25954	// InstanceTypeMlC518xlarge is a InstanceType enum value
25955	InstanceTypeMlC518xlarge = "ml.c5.18xlarge"
25956
25957	// InstanceTypeMlC5dXlarge is a InstanceType enum value
25958	InstanceTypeMlC5dXlarge = "ml.c5d.xlarge"
25959
25960	// InstanceTypeMlC5d2xlarge is a InstanceType enum value
25961	InstanceTypeMlC5d2xlarge = "ml.c5d.2xlarge"
25962
25963	// InstanceTypeMlC5d4xlarge is a InstanceType enum value
25964	InstanceTypeMlC5d4xlarge = "ml.c5d.4xlarge"
25965
25966	// InstanceTypeMlC5d9xlarge is a InstanceType enum value
25967	InstanceTypeMlC5d9xlarge = "ml.c5d.9xlarge"
25968
25969	// InstanceTypeMlC5d18xlarge is a InstanceType enum value
25970	InstanceTypeMlC5d18xlarge = "ml.c5d.18xlarge"
25971
25972	// InstanceTypeMlP2Xlarge is a InstanceType enum value
25973	InstanceTypeMlP2Xlarge = "ml.p2.xlarge"
25974
25975	// InstanceTypeMlP28xlarge is a InstanceType enum value
25976	InstanceTypeMlP28xlarge = "ml.p2.8xlarge"
25977
25978	// InstanceTypeMlP216xlarge is a InstanceType enum value
25979	InstanceTypeMlP216xlarge = "ml.p2.16xlarge"
25980
25981	// InstanceTypeMlP32xlarge is a InstanceType enum value
25982	InstanceTypeMlP32xlarge = "ml.p3.2xlarge"
25983
25984	// InstanceTypeMlP38xlarge is a InstanceType enum value
25985	InstanceTypeMlP38xlarge = "ml.p3.8xlarge"
25986
25987	// InstanceTypeMlP316xlarge is a InstanceType enum value
25988	InstanceTypeMlP316xlarge = "ml.p3.16xlarge"
25989)
25990
25991const (
25992	// JoinSourceInput is a JoinSource enum value
25993	JoinSourceInput = "Input"
25994
25995	// JoinSourceNone is a JoinSource enum value
25996	JoinSourceNone = "None"
25997)
25998
25999const (
26000	// LabelingJobStatusInProgress is a LabelingJobStatus enum value
26001	LabelingJobStatusInProgress = "InProgress"
26002
26003	// LabelingJobStatusCompleted is a LabelingJobStatus enum value
26004	LabelingJobStatusCompleted = "Completed"
26005
26006	// LabelingJobStatusFailed is a LabelingJobStatus enum value
26007	LabelingJobStatusFailed = "Failed"
26008
26009	// LabelingJobStatusStopping is a LabelingJobStatus enum value
26010	LabelingJobStatusStopping = "Stopping"
26011
26012	// LabelingJobStatusStopped is a LabelingJobStatus enum value
26013	LabelingJobStatusStopped = "Stopped"
26014)
26015
26016const (
26017	// ListCompilationJobsSortByName is a ListCompilationJobsSortBy enum value
26018	ListCompilationJobsSortByName = "Name"
26019
26020	// ListCompilationJobsSortByCreationTime is a ListCompilationJobsSortBy enum value
26021	ListCompilationJobsSortByCreationTime = "CreationTime"
26022
26023	// ListCompilationJobsSortByStatus is a ListCompilationJobsSortBy enum value
26024	ListCompilationJobsSortByStatus = "Status"
26025)
26026
26027const (
26028	// ListLabelingJobsForWorkteamSortByOptionsCreationTime is a ListLabelingJobsForWorkteamSortByOptions enum value
26029	ListLabelingJobsForWorkteamSortByOptionsCreationTime = "CreationTime"
26030)
26031
26032const (
26033	// ListWorkteamsSortByOptionsName is a ListWorkteamsSortByOptions enum value
26034	ListWorkteamsSortByOptionsName = "Name"
26035
26036	// ListWorkteamsSortByOptionsCreateDate is a ListWorkteamsSortByOptions enum value
26037	ListWorkteamsSortByOptionsCreateDate = "CreateDate"
26038)
26039
26040const (
26041	// ModelPackageSortByName is a ModelPackageSortBy enum value
26042	ModelPackageSortByName = "Name"
26043
26044	// ModelPackageSortByCreationTime is a ModelPackageSortBy enum value
26045	ModelPackageSortByCreationTime = "CreationTime"
26046)
26047
26048const (
26049	// ModelPackageStatusPending is a ModelPackageStatus enum value
26050	ModelPackageStatusPending = "Pending"
26051
26052	// ModelPackageStatusInProgress is a ModelPackageStatus enum value
26053	ModelPackageStatusInProgress = "InProgress"
26054
26055	// ModelPackageStatusCompleted is a ModelPackageStatus enum value
26056	ModelPackageStatusCompleted = "Completed"
26057
26058	// ModelPackageStatusFailed is a ModelPackageStatus enum value
26059	ModelPackageStatusFailed = "Failed"
26060
26061	// ModelPackageStatusDeleting is a ModelPackageStatus enum value
26062	ModelPackageStatusDeleting = "Deleting"
26063)
26064
26065const (
26066	// ModelSortKeyName is a ModelSortKey enum value
26067	ModelSortKeyName = "Name"
26068
26069	// ModelSortKeyCreationTime is a ModelSortKey enum value
26070	ModelSortKeyCreationTime = "CreationTime"
26071)
26072
26073const (
26074	// NotebookInstanceAcceleratorTypeMlEia1Medium is a NotebookInstanceAcceleratorType enum value
26075	NotebookInstanceAcceleratorTypeMlEia1Medium = "ml.eia1.medium"
26076
26077	// NotebookInstanceAcceleratorTypeMlEia1Large is a NotebookInstanceAcceleratorType enum value
26078	NotebookInstanceAcceleratorTypeMlEia1Large = "ml.eia1.large"
26079
26080	// NotebookInstanceAcceleratorTypeMlEia1Xlarge is a NotebookInstanceAcceleratorType enum value
26081	NotebookInstanceAcceleratorTypeMlEia1Xlarge = "ml.eia1.xlarge"
26082)
26083
26084const (
26085	// NotebookInstanceLifecycleConfigSortKeyName is a NotebookInstanceLifecycleConfigSortKey enum value
26086	NotebookInstanceLifecycleConfigSortKeyName = "Name"
26087
26088	// NotebookInstanceLifecycleConfigSortKeyCreationTime is a NotebookInstanceLifecycleConfigSortKey enum value
26089	NotebookInstanceLifecycleConfigSortKeyCreationTime = "CreationTime"
26090
26091	// NotebookInstanceLifecycleConfigSortKeyLastModifiedTime is a NotebookInstanceLifecycleConfigSortKey enum value
26092	NotebookInstanceLifecycleConfigSortKeyLastModifiedTime = "LastModifiedTime"
26093)
26094
26095const (
26096	// NotebookInstanceLifecycleConfigSortOrderAscending is a NotebookInstanceLifecycleConfigSortOrder enum value
26097	NotebookInstanceLifecycleConfigSortOrderAscending = "Ascending"
26098
26099	// NotebookInstanceLifecycleConfigSortOrderDescending is a NotebookInstanceLifecycleConfigSortOrder enum value
26100	NotebookInstanceLifecycleConfigSortOrderDescending = "Descending"
26101)
26102
26103const (
26104	// NotebookInstanceSortKeyName is a NotebookInstanceSortKey enum value
26105	NotebookInstanceSortKeyName = "Name"
26106
26107	// NotebookInstanceSortKeyCreationTime is a NotebookInstanceSortKey enum value
26108	NotebookInstanceSortKeyCreationTime = "CreationTime"
26109
26110	// NotebookInstanceSortKeyStatus is a NotebookInstanceSortKey enum value
26111	NotebookInstanceSortKeyStatus = "Status"
26112)
26113
26114const (
26115	// NotebookInstanceSortOrderAscending is a NotebookInstanceSortOrder enum value
26116	NotebookInstanceSortOrderAscending = "Ascending"
26117
26118	// NotebookInstanceSortOrderDescending is a NotebookInstanceSortOrder enum value
26119	NotebookInstanceSortOrderDescending = "Descending"
26120)
26121
26122const (
26123	// NotebookInstanceStatusPending is a NotebookInstanceStatus enum value
26124	NotebookInstanceStatusPending = "Pending"
26125
26126	// NotebookInstanceStatusInService is a NotebookInstanceStatus enum value
26127	NotebookInstanceStatusInService = "InService"
26128
26129	// NotebookInstanceStatusStopping is a NotebookInstanceStatus enum value
26130	NotebookInstanceStatusStopping = "Stopping"
26131
26132	// NotebookInstanceStatusStopped is a NotebookInstanceStatus enum value
26133	NotebookInstanceStatusStopped = "Stopped"
26134
26135	// NotebookInstanceStatusFailed is a NotebookInstanceStatus enum value
26136	NotebookInstanceStatusFailed = "Failed"
26137
26138	// NotebookInstanceStatusDeleting is a NotebookInstanceStatus enum value
26139	NotebookInstanceStatusDeleting = "Deleting"
26140
26141	// NotebookInstanceStatusUpdating is a NotebookInstanceStatus enum value
26142	NotebookInstanceStatusUpdating = "Updating"
26143)
26144
26145const (
26146	// ObjectiveStatusSucceeded is a ObjectiveStatus enum value
26147	ObjectiveStatusSucceeded = "Succeeded"
26148
26149	// ObjectiveStatusPending is a ObjectiveStatus enum value
26150	ObjectiveStatusPending = "Pending"
26151
26152	// ObjectiveStatusFailed is a ObjectiveStatus enum value
26153	ObjectiveStatusFailed = "Failed"
26154)
26155
26156const (
26157	// OperatorEquals is a Operator enum value
26158	OperatorEquals = "Equals"
26159
26160	// OperatorNotEquals is a Operator enum value
26161	OperatorNotEquals = "NotEquals"
26162
26163	// OperatorGreaterThan is a Operator enum value
26164	OperatorGreaterThan = "GreaterThan"
26165
26166	// OperatorGreaterThanOrEqualTo is a Operator enum value
26167	OperatorGreaterThanOrEqualTo = "GreaterThanOrEqualTo"
26168
26169	// OperatorLessThan is a Operator enum value
26170	OperatorLessThan = "LessThan"
26171
26172	// OperatorLessThanOrEqualTo is a Operator enum value
26173	OperatorLessThanOrEqualTo = "LessThanOrEqualTo"
26174
26175	// OperatorContains is a Operator enum value
26176	OperatorContains = "Contains"
26177)
26178
26179const (
26180	// OrderKeyAscending is a OrderKey enum value
26181	OrderKeyAscending = "Ascending"
26182
26183	// OrderKeyDescending is a OrderKey enum value
26184	OrderKeyDescending = "Descending"
26185)
26186
26187const (
26188	// ParameterTypeInteger is a ParameterType enum value
26189	ParameterTypeInteger = "Integer"
26190
26191	// ParameterTypeContinuous is a ParameterType enum value
26192	ParameterTypeContinuous = "Continuous"
26193
26194	// ParameterTypeCategorical is a ParameterType enum value
26195	ParameterTypeCategorical = "Categorical"
26196
26197	// ParameterTypeFreeText is a ParameterType enum value
26198	ParameterTypeFreeText = "FreeText"
26199)
26200
26201const (
26202	// ProductionVariantAcceleratorTypeMlEia1Medium is a ProductionVariantAcceleratorType enum value
26203	ProductionVariantAcceleratorTypeMlEia1Medium = "ml.eia1.medium"
26204
26205	// ProductionVariantAcceleratorTypeMlEia1Large is a ProductionVariantAcceleratorType enum value
26206	ProductionVariantAcceleratorTypeMlEia1Large = "ml.eia1.large"
26207
26208	// ProductionVariantAcceleratorTypeMlEia1Xlarge is a ProductionVariantAcceleratorType enum value
26209	ProductionVariantAcceleratorTypeMlEia1Xlarge = "ml.eia1.xlarge"
26210)
26211
26212const (
26213	// ProductionVariantInstanceTypeMlT2Medium is a ProductionVariantInstanceType enum value
26214	ProductionVariantInstanceTypeMlT2Medium = "ml.t2.medium"
26215
26216	// ProductionVariantInstanceTypeMlT2Large is a ProductionVariantInstanceType enum value
26217	ProductionVariantInstanceTypeMlT2Large = "ml.t2.large"
26218
26219	// ProductionVariantInstanceTypeMlT2Xlarge is a ProductionVariantInstanceType enum value
26220	ProductionVariantInstanceTypeMlT2Xlarge = "ml.t2.xlarge"
26221
26222	// ProductionVariantInstanceTypeMlT22xlarge is a ProductionVariantInstanceType enum value
26223	ProductionVariantInstanceTypeMlT22xlarge = "ml.t2.2xlarge"
26224
26225	// ProductionVariantInstanceTypeMlM4Xlarge is a ProductionVariantInstanceType enum value
26226	ProductionVariantInstanceTypeMlM4Xlarge = "ml.m4.xlarge"
26227
26228	// ProductionVariantInstanceTypeMlM42xlarge is a ProductionVariantInstanceType enum value
26229	ProductionVariantInstanceTypeMlM42xlarge = "ml.m4.2xlarge"
26230
26231	// ProductionVariantInstanceTypeMlM44xlarge is a ProductionVariantInstanceType enum value
26232	ProductionVariantInstanceTypeMlM44xlarge = "ml.m4.4xlarge"
26233
26234	// ProductionVariantInstanceTypeMlM410xlarge is a ProductionVariantInstanceType enum value
26235	ProductionVariantInstanceTypeMlM410xlarge = "ml.m4.10xlarge"
26236
26237	// ProductionVariantInstanceTypeMlM416xlarge is a ProductionVariantInstanceType enum value
26238	ProductionVariantInstanceTypeMlM416xlarge = "ml.m4.16xlarge"
26239
26240	// ProductionVariantInstanceTypeMlM5Large is a ProductionVariantInstanceType enum value
26241	ProductionVariantInstanceTypeMlM5Large = "ml.m5.large"
26242
26243	// ProductionVariantInstanceTypeMlM5Xlarge is a ProductionVariantInstanceType enum value
26244	ProductionVariantInstanceTypeMlM5Xlarge = "ml.m5.xlarge"
26245
26246	// ProductionVariantInstanceTypeMlM52xlarge is a ProductionVariantInstanceType enum value
26247	ProductionVariantInstanceTypeMlM52xlarge = "ml.m5.2xlarge"
26248
26249	// ProductionVariantInstanceTypeMlM54xlarge is a ProductionVariantInstanceType enum value
26250	ProductionVariantInstanceTypeMlM54xlarge = "ml.m5.4xlarge"
26251
26252	// ProductionVariantInstanceTypeMlM512xlarge is a ProductionVariantInstanceType enum value
26253	ProductionVariantInstanceTypeMlM512xlarge = "ml.m5.12xlarge"
26254
26255	// ProductionVariantInstanceTypeMlM524xlarge is a ProductionVariantInstanceType enum value
26256	ProductionVariantInstanceTypeMlM524xlarge = "ml.m5.24xlarge"
26257
26258	// ProductionVariantInstanceTypeMlC4Large is a ProductionVariantInstanceType enum value
26259	ProductionVariantInstanceTypeMlC4Large = "ml.c4.large"
26260
26261	// ProductionVariantInstanceTypeMlC4Xlarge is a ProductionVariantInstanceType enum value
26262	ProductionVariantInstanceTypeMlC4Xlarge = "ml.c4.xlarge"
26263
26264	// ProductionVariantInstanceTypeMlC42xlarge is a ProductionVariantInstanceType enum value
26265	ProductionVariantInstanceTypeMlC42xlarge = "ml.c4.2xlarge"
26266
26267	// ProductionVariantInstanceTypeMlC44xlarge is a ProductionVariantInstanceType enum value
26268	ProductionVariantInstanceTypeMlC44xlarge = "ml.c4.4xlarge"
26269
26270	// ProductionVariantInstanceTypeMlC48xlarge is a ProductionVariantInstanceType enum value
26271	ProductionVariantInstanceTypeMlC48xlarge = "ml.c4.8xlarge"
26272
26273	// ProductionVariantInstanceTypeMlP2Xlarge is a ProductionVariantInstanceType enum value
26274	ProductionVariantInstanceTypeMlP2Xlarge = "ml.p2.xlarge"
26275
26276	// ProductionVariantInstanceTypeMlP28xlarge is a ProductionVariantInstanceType enum value
26277	ProductionVariantInstanceTypeMlP28xlarge = "ml.p2.8xlarge"
26278
26279	// ProductionVariantInstanceTypeMlP216xlarge is a ProductionVariantInstanceType enum value
26280	ProductionVariantInstanceTypeMlP216xlarge = "ml.p2.16xlarge"
26281
26282	// ProductionVariantInstanceTypeMlP32xlarge is a ProductionVariantInstanceType enum value
26283	ProductionVariantInstanceTypeMlP32xlarge = "ml.p3.2xlarge"
26284
26285	// ProductionVariantInstanceTypeMlP38xlarge is a ProductionVariantInstanceType enum value
26286	ProductionVariantInstanceTypeMlP38xlarge = "ml.p3.8xlarge"
26287
26288	// ProductionVariantInstanceTypeMlP316xlarge is a ProductionVariantInstanceType enum value
26289	ProductionVariantInstanceTypeMlP316xlarge = "ml.p3.16xlarge"
26290
26291	// ProductionVariantInstanceTypeMlC5Large is a ProductionVariantInstanceType enum value
26292	ProductionVariantInstanceTypeMlC5Large = "ml.c5.large"
26293
26294	// ProductionVariantInstanceTypeMlC5Xlarge is a ProductionVariantInstanceType enum value
26295	ProductionVariantInstanceTypeMlC5Xlarge = "ml.c5.xlarge"
26296
26297	// ProductionVariantInstanceTypeMlC52xlarge is a ProductionVariantInstanceType enum value
26298	ProductionVariantInstanceTypeMlC52xlarge = "ml.c5.2xlarge"
26299
26300	// ProductionVariantInstanceTypeMlC54xlarge is a ProductionVariantInstanceType enum value
26301	ProductionVariantInstanceTypeMlC54xlarge = "ml.c5.4xlarge"
26302
26303	// ProductionVariantInstanceTypeMlC59xlarge is a ProductionVariantInstanceType enum value
26304	ProductionVariantInstanceTypeMlC59xlarge = "ml.c5.9xlarge"
26305
26306	// ProductionVariantInstanceTypeMlC518xlarge is a ProductionVariantInstanceType enum value
26307	ProductionVariantInstanceTypeMlC518xlarge = "ml.c5.18xlarge"
26308)
26309
26310const (
26311	// RecordWrapperNone is a RecordWrapper enum value
26312	RecordWrapperNone = "None"
26313
26314	// RecordWrapperRecordIo is a RecordWrapper enum value
26315	RecordWrapperRecordIo = "RecordIO"
26316)
26317
26318const (
26319	// ResourceTypeTrainingJob is a ResourceType enum value
26320	ResourceTypeTrainingJob = "TrainingJob"
26321)
26322
26323const (
26324	// RootAccessEnabled is a RootAccess enum value
26325	RootAccessEnabled = "Enabled"
26326
26327	// RootAccessDisabled is a RootAccess enum value
26328	RootAccessDisabled = "Disabled"
26329)
26330
26331const (
26332	// S3DataDistributionFullyReplicated is a S3DataDistribution enum value
26333	S3DataDistributionFullyReplicated = "FullyReplicated"
26334
26335	// S3DataDistributionShardedByS3key is a S3DataDistribution enum value
26336	S3DataDistributionShardedByS3key = "ShardedByS3Key"
26337)
26338
26339const (
26340	// S3DataTypeManifestFile is a S3DataType enum value
26341	S3DataTypeManifestFile = "ManifestFile"
26342
26343	// S3DataTypeS3prefix is a S3DataType enum value
26344	S3DataTypeS3prefix = "S3Prefix"
26345
26346	// S3DataTypeAugmentedManifestFile is a S3DataType enum value
26347	S3DataTypeAugmentedManifestFile = "AugmentedManifestFile"
26348)
26349
26350const (
26351	// SearchSortOrderAscending is a SearchSortOrder enum value
26352	SearchSortOrderAscending = "Ascending"
26353
26354	// SearchSortOrderDescending is a SearchSortOrder enum value
26355	SearchSortOrderDescending = "Descending"
26356)
26357
26358const (
26359	// SecondaryStatusStarting is a SecondaryStatus enum value
26360	SecondaryStatusStarting = "Starting"
26361
26362	// SecondaryStatusLaunchingMlinstances is a SecondaryStatus enum value
26363	SecondaryStatusLaunchingMlinstances = "LaunchingMLInstances"
26364
26365	// SecondaryStatusPreparingTrainingStack is a SecondaryStatus enum value
26366	SecondaryStatusPreparingTrainingStack = "PreparingTrainingStack"
26367
26368	// SecondaryStatusDownloading is a SecondaryStatus enum value
26369	SecondaryStatusDownloading = "Downloading"
26370
26371	// SecondaryStatusDownloadingTrainingImage is a SecondaryStatus enum value
26372	SecondaryStatusDownloadingTrainingImage = "DownloadingTrainingImage"
26373
26374	// SecondaryStatusTraining is a SecondaryStatus enum value
26375	SecondaryStatusTraining = "Training"
26376
26377	// SecondaryStatusUploading is a SecondaryStatus enum value
26378	SecondaryStatusUploading = "Uploading"
26379
26380	// SecondaryStatusStopping is a SecondaryStatus enum value
26381	SecondaryStatusStopping = "Stopping"
26382
26383	// SecondaryStatusStopped is a SecondaryStatus enum value
26384	SecondaryStatusStopped = "Stopped"
26385
26386	// SecondaryStatusMaxRuntimeExceeded is a SecondaryStatus enum value
26387	SecondaryStatusMaxRuntimeExceeded = "MaxRuntimeExceeded"
26388
26389	// SecondaryStatusCompleted is a SecondaryStatus enum value
26390	SecondaryStatusCompleted = "Completed"
26391
26392	// SecondaryStatusFailed is a SecondaryStatus enum value
26393	SecondaryStatusFailed = "Failed"
26394)
26395
26396const (
26397	// SortByName is a SortBy enum value
26398	SortByName = "Name"
26399
26400	// SortByCreationTime is a SortBy enum value
26401	SortByCreationTime = "CreationTime"
26402
26403	// SortByStatus is a SortBy enum value
26404	SortByStatus = "Status"
26405)
26406
26407const (
26408	// SortOrderAscending is a SortOrder enum value
26409	SortOrderAscending = "Ascending"
26410
26411	// SortOrderDescending is a SortOrder enum value
26412	SortOrderDescending = "Descending"
26413)
26414
26415const (
26416	// SplitTypeNone is a SplitType enum value
26417	SplitTypeNone = "None"
26418
26419	// SplitTypeLine is a SplitType enum value
26420	SplitTypeLine = "Line"
26421
26422	// SplitTypeRecordIo is a SplitType enum value
26423	SplitTypeRecordIo = "RecordIO"
26424
26425	// SplitTypeTfrecord is a SplitType enum value
26426	SplitTypeTfrecord = "TFRecord"
26427)
26428
26429const (
26430	// TargetDeviceLambda is a TargetDevice enum value
26431	TargetDeviceLambda = "lambda"
26432
26433	// TargetDeviceMlM4 is a TargetDevice enum value
26434	TargetDeviceMlM4 = "ml_m4"
26435
26436	// TargetDeviceMlM5 is a TargetDevice enum value
26437	TargetDeviceMlM5 = "ml_m5"
26438
26439	// TargetDeviceMlC4 is a TargetDevice enum value
26440	TargetDeviceMlC4 = "ml_c4"
26441
26442	// TargetDeviceMlC5 is a TargetDevice enum value
26443	TargetDeviceMlC5 = "ml_c5"
26444
26445	// TargetDeviceMlP2 is a TargetDevice enum value
26446	TargetDeviceMlP2 = "ml_p2"
26447
26448	// TargetDeviceMlP3 is a TargetDevice enum value
26449	TargetDeviceMlP3 = "ml_p3"
26450
26451	// TargetDeviceJetsonTx1 is a TargetDevice enum value
26452	TargetDeviceJetsonTx1 = "jetson_tx1"
26453
26454	// TargetDeviceJetsonTx2 is a TargetDevice enum value
26455	TargetDeviceJetsonTx2 = "jetson_tx2"
26456
26457	// TargetDeviceJetsonNano is a TargetDevice enum value
26458	TargetDeviceJetsonNano = "jetson_nano"
26459
26460	// TargetDeviceRasp3b is a TargetDevice enum value
26461	TargetDeviceRasp3b = "rasp3b"
26462
26463	// TargetDeviceDeeplens is a TargetDevice enum value
26464	TargetDeviceDeeplens = "deeplens"
26465
26466	// TargetDeviceRk3399 is a TargetDevice enum value
26467	TargetDeviceRk3399 = "rk3399"
26468
26469	// TargetDeviceRk3288 is a TargetDevice enum value
26470	TargetDeviceRk3288 = "rk3288"
26471
26472	// TargetDeviceSbeC is a TargetDevice enum value
26473	TargetDeviceSbeC = "sbe_c"
26474)
26475
26476const (
26477	// TrainingInputModePipe is a TrainingInputMode enum value
26478	TrainingInputModePipe = "Pipe"
26479
26480	// TrainingInputModeFile is a TrainingInputMode enum value
26481	TrainingInputModeFile = "File"
26482)
26483
26484const (
26485	// TrainingInstanceTypeMlM4Xlarge is a TrainingInstanceType enum value
26486	TrainingInstanceTypeMlM4Xlarge = "ml.m4.xlarge"
26487
26488	// TrainingInstanceTypeMlM42xlarge is a TrainingInstanceType enum value
26489	TrainingInstanceTypeMlM42xlarge = "ml.m4.2xlarge"
26490
26491	// TrainingInstanceTypeMlM44xlarge is a TrainingInstanceType enum value
26492	TrainingInstanceTypeMlM44xlarge = "ml.m4.4xlarge"
26493
26494	// TrainingInstanceTypeMlM410xlarge is a TrainingInstanceType enum value
26495	TrainingInstanceTypeMlM410xlarge = "ml.m4.10xlarge"
26496
26497	// TrainingInstanceTypeMlM416xlarge is a TrainingInstanceType enum value
26498	TrainingInstanceTypeMlM416xlarge = "ml.m4.16xlarge"
26499
26500	// TrainingInstanceTypeMlM5Large is a TrainingInstanceType enum value
26501	TrainingInstanceTypeMlM5Large = "ml.m5.large"
26502
26503	// TrainingInstanceTypeMlM5Xlarge is a TrainingInstanceType enum value
26504	TrainingInstanceTypeMlM5Xlarge = "ml.m5.xlarge"
26505
26506	// TrainingInstanceTypeMlM52xlarge is a TrainingInstanceType enum value
26507	TrainingInstanceTypeMlM52xlarge = "ml.m5.2xlarge"
26508
26509	// TrainingInstanceTypeMlM54xlarge is a TrainingInstanceType enum value
26510	TrainingInstanceTypeMlM54xlarge = "ml.m5.4xlarge"
26511
26512	// TrainingInstanceTypeMlM512xlarge is a TrainingInstanceType enum value
26513	TrainingInstanceTypeMlM512xlarge = "ml.m5.12xlarge"
26514
26515	// TrainingInstanceTypeMlM524xlarge is a TrainingInstanceType enum value
26516	TrainingInstanceTypeMlM524xlarge = "ml.m5.24xlarge"
26517
26518	// TrainingInstanceTypeMlC4Xlarge is a TrainingInstanceType enum value
26519	TrainingInstanceTypeMlC4Xlarge = "ml.c4.xlarge"
26520
26521	// TrainingInstanceTypeMlC42xlarge is a TrainingInstanceType enum value
26522	TrainingInstanceTypeMlC42xlarge = "ml.c4.2xlarge"
26523
26524	// TrainingInstanceTypeMlC44xlarge is a TrainingInstanceType enum value
26525	TrainingInstanceTypeMlC44xlarge = "ml.c4.4xlarge"
26526
26527	// TrainingInstanceTypeMlC48xlarge is a TrainingInstanceType enum value
26528	TrainingInstanceTypeMlC48xlarge = "ml.c4.8xlarge"
26529
26530	// TrainingInstanceTypeMlP2Xlarge is a TrainingInstanceType enum value
26531	TrainingInstanceTypeMlP2Xlarge = "ml.p2.xlarge"
26532
26533	// TrainingInstanceTypeMlP28xlarge is a TrainingInstanceType enum value
26534	TrainingInstanceTypeMlP28xlarge = "ml.p2.8xlarge"
26535
26536	// TrainingInstanceTypeMlP216xlarge is a TrainingInstanceType enum value
26537	TrainingInstanceTypeMlP216xlarge = "ml.p2.16xlarge"
26538
26539	// TrainingInstanceTypeMlP32xlarge is a TrainingInstanceType enum value
26540	TrainingInstanceTypeMlP32xlarge = "ml.p3.2xlarge"
26541
26542	// TrainingInstanceTypeMlP38xlarge is a TrainingInstanceType enum value
26543	TrainingInstanceTypeMlP38xlarge = "ml.p3.8xlarge"
26544
26545	// TrainingInstanceTypeMlP316xlarge is a TrainingInstanceType enum value
26546	TrainingInstanceTypeMlP316xlarge = "ml.p3.16xlarge"
26547
26548	// TrainingInstanceTypeMlC5Xlarge is a TrainingInstanceType enum value
26549	TrainingInstanceTypeMlC5Xlarge = "ml.c5.xlarge"
26550
26551	// TrainingInstanceTypeMlC52xlarge is a TrainingInstanceType enum value
26552	TrainingInstanceTypeMlC52xlarge = "ml.c5.2xlarge"
26553
26554	// TrainingInstanceTypeMlC54xlarge is a TrainingInstanceType enum value
26555	TrainingInstanceTypeMlC54xlarge = "ml.c5.4xlarge"
26556
26557	// TrainingInstanceTypeMlC59xlarge is a TrainingInstanceType enum value
26558	TrainingInstanceTypeMlC59xlarge = "ml.c5.9xlarge"
26559
26560	// TrainingInstanceTypeMlC518xlarge is a TrainingInstanceType enum value
26561	TrainingInstanceTypeMlC518xlarge = "ml.c5.18xlarge"
26562)
26563
26564const (
26565	// TrainingJobEarlyStoppingTypeOff is a TrainingJobEarlyStoppingType enum value
26566	TrainingJobEarlyStoppingTypeOff = "Off"
26567
26568	// TrainingJobEarlyStoppingTypeAuto is a TrainingJobEarlyStoppingType enum value
26569	TrainingJobEarlyStoppingTypeAuto = "Auto"
26570)
26571
26572const (
26573	// TrainingJobSortByOptionsName is a TrainingJobSortByOptions enum value
26574	TrainingJobSortByOptionsName = "Name"
26575
26576	// TrainingJobSortByOptionsCreationTime is a TrainingJobSortByOptions enum value
26577	TrainingJobSortByOptionsCreationTime = "CreationTime"
26578
26579	// TrainingJobSortByOptionsStatus is a TrainingJobSortByOptions enum value
26580	TrainingJobSortByOptionsStatus = "Status"
26581
26582	// TrainingJobSortByOptionsFinalObjectiveMetricValue is a TrainingJobSortByOptions enum value
26583	TrainingJobSortByOptionsFinalObjectiveMetricValue = "FinalObjectiveMetricValue"
26584)
26585
26586const (
26587	// TrainingJobStatusInProgress is a TrainingJobStatus enum value
26588	TrainingJobStatusInProgress = "InProgress"
26589
26590	// TrainingJobStatusCompleted is a TrainingJobStatus enum value
26591	TrainingJobStatusCompleted = "Completed"
26592
26593	// TrainingJobStatusFailed is a TrainingJobStatus enum value
26594	TrainingJobStatusFailed = "Failed"
26595
26596	// TrainingJobStatusStopping is a TrainingJobStatus enum value
26597	TrainingJobStatusStopping = "Stopping"
26598
26599	// TrainingJobStatusStopped is a TrainingJobStatus enum value
26600	TrainingJobStatusStopped = "Stopped"
26601)
26602
26603const (
26604	// TransformInstanceTypeMlM4Xlarge is a TransformInstanceType enum value
26605	TransformInstanceTypeMlM4Xlarge = "ml.m4.xlarge"
26606
26607	// TransformInstanceTypeMlM42xlarge is a TransformInstanceType enum value
26608	TransformInstanceTypeMlM42xlarge = "ml.m4.2xlarge"
26609
26610	// TransformInstanceTypeMlM44xlarge is a TransformInstanceType enum value
26611	TransformInstanceTypeMlM44xlarge = "ml.m4.4xlarge"
26612
26613	// TransformInstanceTypeMlM410xlarge is a TransformInstanceType enum value
26614	TransformInstanceTypeMlM410xlarge = "ml.m4.10xlarge"
26615
26616	// TransformInstanceTypeMlM416xlarge is a TransformInstanceType enum value
26617	TransformInstanceTypeMlM416xlarge = "ml.m4.16xlarge"
26618
26619	// TransformInstanceTypeMlC4Xlarge is a TransformInstanceType enum value
26620	TransformInstanceTypeMlC4Xlarge = "ml.c4.xlarge"
26621
26622	// TransformInstanceTypeMlC42xlarge is a TransformInstanceType enum value
26623	TransformInstanceTypeMlC42xlarge = "ml.c4.2xlarge"
26624
26625	// TransformInstanceTypeMlC44xlarge is a TransformInstanceType enum value
26626	TransformInstanceTypeMlC44xlarge = "ml.c4.4xlarge"
26627
26628	// TransformInstanceTypeMlC48xlarge is a TransformInstanceType enum value
26629	TransformInstanceTypeMlC48xlarge = "ml.c4.8xlarge"
26630
26631	// TransformInstanceTypeMlP2Xlarge is a TransformInstanceType enum value
26632	TransformInstanceTypeMlP2Xlarge = "ml.p2.xlarge"
26633
26634	// TransformInstanceTypeMlP28xlarge is a TransformInstanceType enum value
26635	TransformInstanceTypeMlP28xlarge = "ml.p2.8xlarge"
26636
26637	// TransformInstanceTypeMlP216xlarge is a TransformInstanceType enum value
26638	TransformInstanceTypeMlP216xlarge = "ml.p2.16xlarge"
26639
26640	// TransformInstanceTypeMlP32xlarge is a TransformInstanceType enum value
26641	TransformInstanceTypeMlP32xlarge = "ml.p3.2xlarge"
26642
26643	// TransformInstanceTypeMlP38xlarge is a TransformInstanceType enum value
26644	TransformInstanceTypeMlP38xlarge = "ml.p3.8xlarge"
26645
26646	// TransformInstanceTypeMlP316xlarge is a TransformInstanceType enum value
26647	TransformInstanceTypeMlP316xlarge = "ml.p3.16xlarge"
26648
26649	// TransformInstanceTypeMlC5Xlarge is a TransformInstanceType enum value
26650	TransformInstanceTypeMlC5Xlarge = "ml.c5.xlarge"
26651
26652	// TransformInstanceTypeMlC52xlarge is a TransformInstanceType enum value
26653	TransformInstanceTypeMlC52xlarge = "ml.c5.2xlarge"
26654
26655	// TransformInstanceTypeMlC54xlarge is a TransformInstanceType enum value
26656	TransformInstanceTypeMlC54xlarge = "ml.c5.4xlarge"
26657
26658	// TransformInstanceTypeMlC59xlarge is a TransformInstanceType enum value
26659	TransformInstanceTypeMlC59xlarge = "ml.c5.9xlarge"
26660
26661	// TransformInstanceTypeMlC518xlarge is a TransformInstanceType enum value
26662	TransformInstanceTypeMlC518xlarge = "ml.c5.18xlarge"
26663
26664	// TransformInstanceTypeMlM5Large is a TransformInstanceType enum value
26665	TransformInstanceTypeMlM5Large = "ml.m5.large"
26666
26667	// TransformInstanceTypeMlM5Xlarge is a TransformInstanceType enum value
26668	TransformInstanceTypeMlM5Xlarge = "ml.m5.xlarge"
26669
26670	// TransformInstanceTypeMlM52xlarge is a TransformInstanceType enum value
26671	TransformInstanceTypeMlM52xlarge = "ml.m5.2xlarge"
26672
26673	// TransformInstanceTypeMlM54xlarge is a TransformInstanceType enum value
26674	TransformInstanceTypeMlM54xlarge = "ml.m5.4xlarge"
26675
26676	// TransformInstanceTypeMlM512xlarge is a TransformInstanceType enum value
26677	TransformInstanceTypeMlM512xlarge = "ml.m5.12xlarge"
26678
26679	// TransformInstanceTypeMlM524xlarge is a TransformInstanceType enum value
26680	TransformInstanceTypeMlM524xlarge = "ml.m5.24xlarge"
26681)
26682
26683const (
26684	// TransformJobStatusInProgress is a TransformJobStatus enum value
26685	TransformJobStatusInProgress = "InProgress"
26686
26687	// TransformJobStatusCompleted is a TransformJobStatus enum value
26688	TransformJobStatusCompleted = "Completed"
26689
26690	// TransformJobStatusFailed is a TransformJobStatus enum value
26691	TransformJobStatusFailed = "Failed"
26692
26693	// TransformJobStatusStopping is a TransformJobStatus enum value
26694	TransformJobStatusStopping = "Stopping"
26695
26696	// TransformJobStatusStopped is a TransformJobStatus enum value
26697	TransformJobStatusStopped = "Stopped"
26698)
26699